Graphing Linear Functions

30 min
0/4 practice checks

Every straight-line graph can be written as

y=mx+cy = mx + c

where mm is the gradient (steepness and direction) and cc is the yy-intercept (where the line crosses the yy-axis, i.e. the value of yy when x=0x = 0).

Reading a line's equation. For y=2x+1y = 2x + 1: the gradient is 22 and the line crosses the yy-axis at (0,1)(0, 1).

Intercepts are the anchor points for sketching:

  • yy-intercept: set x=0x = 0.
  • xx-intercept: set y=0y = 0 and solve for xx.

Worked example. For y=2x6y = 2x - 6, the yy-intercept is 6-6. For the xx-intercept, set y=0y = 0: 0=2x60 = 2x - 6, so 2x=62x = 6 and x=3x = 3. The line passes through (0,6)(0, -6) and (3,0)(3, 0).

What is the yy-intercept of the line y=3x4y = 3x - 4?

For the line y=3x4y = 3x - 4, find the value of yy when x=2x = 2.

For the line y=2x+1y = 2x + 1, find the value of yy when x=4x = 4.

The height of water draining from a tank is h=204th = 20 - 4t (h in cm, t in minutes). After how many minutes is the tank empty (h=0h = 0)?