(This topic is also in Section 1.3 in Finite Mathematics, Applied Calculus and Finite Mathematics and Applied Calculus)
For best viewing, adjust the window width to at least the length of the line below.
In the last tutorial we studied the meaning of the slope, m, and intercept, b, of a linear function f(x) = mx + b.
Q How do I get the equation of a linear function?
A That depends on the information you have about the linear function. If, for example, you know the slope and intercept, then you can simply write down the function without the need for any computation.
Example The linear equation with slope 5 and y-intercept -3 is
Q What if I am not given the slope and intercept?
A The most systematic way of obtaining the equation of a line -- and this is a method that always works -- is to use the slope-intercept formula, for which we need to know two things about the line:
(This is the minimum information we need to know: knowing the slope tells us the direction of the line, and knowing a point fixes its position in space.)
Q Where does that formula come from?
A Look at the following picture of a straight line passing through (x1, y1) with slope m.
From the picture, we see that, if (x, y) is any other point on the line, then
Slope = m = | x - x1 | . |
Multiplying both sides by the denominator (x - x1) gives
Actually, this is another form of the point-slope formula. Continuing, write it as
m | = | y1 + m(x - x1) |
= | y1 + mx - mx1 | |
= | mx + y1 - mx1 |
In other words, b is given by y1 - mx1.
Often, you will need to find the line when you are given the "point and slope" information less directly. For instance, you may be given two points and asked to find the line through them. The way to treat them is to first find a point and the slope, and then to proceed as above.
Now try some of the exercises in Section 1.3 of the textbook, or press "Review Exercises" on the sidebar to see a collection of exercises that covers the whole of Chapter 1.