Chapter 1: Lines, Slopes,Circles
Straight Lines
Much of the mathematics in this chapter will be a review for you.
In the (
) coordinate system we normally write the
-axis horizontally, with positive numbers to the right of the origin, and the
-axis vertically, with positive numbers above the origin. That is, unless stated otherwise, we take ``rightward'' to be the positive x-direction and ``upward'' to be the positive
-direction. We normally choose the same scale for the
and
-axes. For example, the line joining the origin to the point (
) makes an angle of
with the
-axis (and also with the
-axis).
But in applications, more descriptive variable names are used, and often different scales are chosen along the two axes. In fact, the quantities represented by the two variables can be so different that the same scale has no meaning! For example, suppose you drop something from a window, and you want to study how its height above the ground changes from second to second. It is natural to let the letter t denote the time (the number of seconds since the object was released) and to let the letter s denote the height in meters. For each t (say, at one-second intervals) you have a corresponding height s. This information can be tabulated, and then plotted on the (t,s) coordinate plane. Here is an example:
code for above diagrams
x =
,
y =
.
If we have two points
and
, then we can draw one and only one line through both points. By the
slope
of this line we mean the ratio of
to
x. The slope is often denoted m: m=
=
. For example, the line joining the points A and B in the last paragraph has slope 2.
Note that
this slope does not depend on which two points on the line are taken or on the order in which they are taken
. For instance, if we take the change from B to A, then we will get the ratio of
which still evaluates to 2.
There is a very simple procedure to find all points on the line joining
and
. Any point P(x,y) on the line has coordinates {
,
where t is any real number}.
Note
: This way of describing the points on the line between A and B can be represented symbolically as
. Here
and we add points by adding their coordinates.
Convince yourself (with
pencil and paper
!) that t=0 gives the point A, t=1 gives the point B and values of
between
give the line segment from
to B. You should investigate how the different values of t correspond to various subdivisions of the segment
. Also verify once and for all that the slope is the same if we choose the points A,B or A,P, regardless of the value of t.
The importance of thinking of lines this way cannot be overemphasized since when we want to represent lines in dimensions other than two (e.g. in three dimensions) then this works while there is no longer a simple "point-slope" form. For instance if B(3,-2,4) and A(-1,5,7) are points in space then the points on the line connecting them are exactly the points
where
ranges over all real numbers. As before
gives
,
gives
,
gives the point midway between the points
and
and
gives the point
of the way from
to
. You can easily prove this by calculating the distance from the point corresponding to
from
and
. If the assertion is correct then one of these should be twice the other and their total should be the distance from
to
.
Solution
code for above diagram
Slopes
In general the equation of a line can be expressed as a linear relation of the form
where at least one of the coefficients
are nonzero. You should convince yourself that every possible line has such an equation and conversely such an equation always gives a line for its graph.
A convenient way of writing the final equation of a line thru two points (
) and (
) is:
(
)(
)=(
)(
)
You should verify that this is correct by checking that the equation is satisfied by both the points and that it has the correct form for the equation of a line. This is enough justification! For example, if we want to find the equation of the line joining our earlier points
and
, we can use this formula:
so that
, i.e.
.
The slope m of a line in the form
tells us the direction in which the line is pointing. If
is positive, the line goes into the
quadrant as you go from left to right. If m is large and positive, it has a steep incline; while if
is small and positive, then the line has a small angle of inclination. If
is negative, the line goes into the
quadrant as you go from left to right. If
is a large negative number (large in absolute value), then the line points steeply downward; while if
is negative but near zero, then it points only a little downward. These four possibilities are illustrated in the following graphs.
code for graphs above
If
, then the line is horizontal: its equation is simply
.
Example 1.2: Slopes and Intercepts
Solution
The graph of y versus t is a straight line, because you are traveling at constant speed. The line passes through the two points (
) and (
). So its slope is
=
. The meaning of the slope is that you are traveling at a
velocity
of
mph. The slope m is negative because you are traveling toward Seattle, i.e., your distance y is decreasing. The word ``velocity'' is often used for
, when we want to indicate direction, while the word ``speed'' refers to the magnitude (absolute value) of velocity, which is
mph. To find the equation of the line, we use the point-slope formula:
, so that
so that
.
The meaning of the y-intercept
is that when t=0 (when you started the trip) you were
miles from Seattle. To find the t-intercept, set
, so that
=
. The meaning of the t-intercept is: the time when you'll be in Seattle. After traveling
hrs
min, your distance
from Seattle will be
.
Distance Between Two Points; Circles
Given two points (
) and (
), recall that their horizontal distance from one another is
, and their vertical distance from one another is
. The actual distance from one point to the other is the hypotenuse of a right triangle with legs
and
:
code for figure
distance =
=
.
For example, the distance between our two points
and
is equal to
= 2.236 ...
distance(A,B) =
You should be able to write down (and calculate with) the formula for the distance between two points in four space, five-space, etc.
As a special case of the distance formula, suppose we want to know the distance of a point (x,y) to the origin. According to the distance formula, this is equal to
.
A point (
) is at a distance
from the origin if and only if
, or, if we square both sides:
. This is the
equation of the circle of radius r centered at the origin
. The special case
is called the unit circle its equation is
. Similarly, if
is any fixed point, then a point (
) is at a distance r from the point C if and only if
, i.e., if and only if
.