Emzini weCodeUmhlahlandlelaMathematics 11.4 · Coordinates, Graphs and Functions NoticesAll books

Chapter 11/11.4Foundationabout 5 min

The equation y = mx + c

Try this first

Draw the graphs of y = 2x, y = 2x + 3 and y = 2x − 1 on one grid, for x from −2 to 3. What is the same about them? What is different? Where does each cross the y axis?

All three lines have gradient 2, so they are parallel. They cross the y axis at 0, 3 and −1, the numbers added on the end.

Definition

y intercept The y intercept of a line is the y coordinate of the point where it crosses the y axis. For example, the y intercept of y = 2x + 3 is 3.

Key fact

The equation of a straight line. The line with gradient m and y intercept c has equation y = mx + c.

Proof

The line passes through (0, c). Let (x, y) be any other point on it. Going from (0, c) to (x, y), the run is x and the rise is y − c. Since the gradient is the same everywhere, y − c/x = m. Multiply both sides by x: y − c = mx, so y = mx + c. Every point on the line fits the equation, and the reverse argument shows that every point that fits the equation is on the line.

So an equation in this form can be read like a sentence: "start at height c on the y axis, and climb m for every 1 across".

Worked example 11.4
  1. (a)A line passes through (0, −1) and (2, 3). Find its equation.
  2. (b)Draw the line y = −2/3x + 4.
(a)
It crosses the y axis at −1
so c = −1
Gradient = 3 − (−1)/2 − 0 = 2.
The equation is y = 2x − 1.
(b)
Start at (0, 4).
The gradient −2/3 means 3 across and 2 down, which reaches (3, 2) and then (6, 0).
Join the points with a ruler and extend the line.

Now try one yourself

Rearranging first. The equation 2x + 3y = 12 is a straight line too. Make y the subject, as in Chapter 8: 3y = 12 − 2x, so y = −2/3x + 4. It is the line of Worked example 11.4(b). A quicker way to draw it is to find where it meets each axis. Put x = 0 to get y = 4, and put y = 0 to get x = 6. Join (0, 4) to (6, 0).

Common mistake

Reading the gradient of 2x + 3y = 12 as 2. The gradient is the coefficient of x only when the equation is written as y = mx + c. Rearrange first.

Check your understanding 11.4

  1. State the gradient and y intercept:
    1. (a)y = 5x − 3
    2. (b)y = 7 − x
    3. (c)y = x/2
    4. (d)2y = 6x + 8
    Show answerHide answer
    1. (a)5, −3
    2. (b)−1, 7
    3. (c)1/2, 0
    4. (d)y = 3x + 4: 3, 4
  2. Write the equation of the line with
    1. (a)gradient 3 and y intercept −2
    2. (b)gradient −1/2 and y intercept 5.
    Show answerHide answer
    1. (a)y = 3x − 2
    2. (b)y = −1/2x + 5
  3. Find where 3x + 4y = 24 crosses each axis, and find its gradient.
    Show answerHide answer
    (8, 0) and (0, 6). Gradient = −6/8 = −3/4.
  4. A line has y intercept 1 and passes through (4, 9). Find its equation.
    Show answerHide answer
    Gradient = 9 − 1/4 − 0 = 2, so y = 2x + 1.