Gradient and Y-Intercept

Table of contents

  1. The linear equation, y = mx + c

1. The linear equation, y = mx + c

1.1 Gradient-intercept form

The equation of a straight line can be written in gradient-intercept form, which is y=mx+cy = mx + c. In this form:

  • m represents the gradient of the line.
  • c represents the y-intercept, which is the point where the line crosses the y-axis 1.

The gradient (m) indicates the steepness and direction of the line. A positive gradient means the line rises from left to right, while a negative gradient means it falls.

The y-intercept (c) is the value of y when x is 0 1.

1.2 Writing equations from properties

To write the equation of a straight line in gradient-intercept form, you need to know its gradient and y-intercept. You can then substitute these values directly into the y=mx+cy = mx + c formula 1.

📝 For the equation y=3x+4y = 3x + 4, the gradient is 3 and the y-intercept is 4 1.

1.3 Example 1: Write a rule (in gradient-intercept form) for a straight line with the given properties.

a) Gradient = 2, y-intercept = 5 The equation is y=2x+5y = 2x + 5 1.

b) Gradient = –5, y-intercept = –3 The equation is y=−5x−3y = -5x - 3 1.

c) Gradient = 12\frac{1}{2}, y-intercept = 0 The equation is y=12xy = \frac{1}{2}x 1.

📝 For a straight line with gradient = 12\frac{1}{2} and y-intercept = 0, the equation is y=12xy = \frac{1}{2}x 1.

1.4 Identifying gradient and y-intercept from equations

Given a linear equation in the form y=mx+cy = mx + c, you can easily identify the gradient (m) and the y-intercept (c). The coefficient of x is the gradient, and the constant term is the y-intercept 1.

1.5 Example 2: State the gradient and y-intercept for the following linear equations.

a) y=3x+4y = 3x + 4

  • Gradient: 3
  • y-intercept: 4 1.

b) y=2.3xy = 2.3x

  • Gradient: 2.3
  • y-intercept: 0 (since there is no constant term, it is assumed to be 0) 1.

c) y=−x−1y = -x - 1

  • Gradient: -1
  • y-intercept: -1 1.

1.6 Matching equations to graphs

By examining the gradient and y-intercept of a line on a graph, you can match it to its corresponding equation. The y-intercept is where the line crosses the y-axis, and the gradient can be calculated by observing the "rise over run" between two points on the line 2.

1.7 Example 3: Match the following equations to the straight lines shown. 2

EquationLine
y = 3Line A
y = –2x – 1Line B
y = –2x – 4Line C
y = x + 3Line D
x = 2Line E
y = x + 2Line F

1.8 Finding the equation from a graph

To find the equation of a line from its graph, first identify the y-intercept (c) by seeing where the line crosses the y-axis. Then, choose two distinct points on the line and calculate the gradient (m) using the formula m=change in ychange in xm = \frac{\text{change in } y}{\text{change in } x}.

Finally, substitute these values into the gradient-intercept form y=mx+cy = mx + c 3.

1.9 Example 4: Find the equation of the following graphs in gradient-intercept form.

  • For the first graph, the y-intercept is 2 and the gradient is 1. The equation is y=x+2y = x + 2.
  • For the second graph, the y-intercept is -3 and the gradient is -2. The equation is y=−2x−3y = -2x - 3.
  • For the third graph, the y-intercept is 0 and the gradient is 12\frac{1}{2}. The equation is y=12xy = \frac{1}{2}x 3.

1.10 Example 5: Find the equation of each line.

  • Line 1: y-intercept = 1, gradient = 2. Equation: y=2x+1y = 2x + 1.
  • Line 2: y-intercept = -2, gradient = -1. Equation: y=−x−2y = -x - 2.
  • Line 3: y-intercept = 3, gradient = 13\frac{1}{3}. Equation: y=13x+3y = \frac{1}{3}x + 3 3.

1.11 Example 6: Find the equation of this line.

The y-intercept is 4. Two points on the line are (0, 4) and (2, 0).

Gradient m=0−42−0=−42=−2m = \frac{0 - 4}{2 - 0} = \frac{-4}{2} = -2. The equation is y=−2x+4y = -2x + 4 4.

1.12 Testing if a point lies on a line

To test if a point (x,y)(x, y) lies on a given line, substitute the x and y coordinates of the point into the equation of the line. If the equation holds true (i.e., the left side equals the right side), then the point lies on the line 4.

1.13 Example 7: Test whether each point lies on the line y=2x+3y = 2x + 3.

a) (3, 9) Substitute x = 3 and y = 9 into the equation: 9=2(3)+39 = 2(3) + 3 9=6+39 = 6 + 3 9=99 = 9 Since the equation is true, the point (3, 9) lies on the line 4.

b) (8, –4) Substitute x = 8 and y = –4 into the equation: −4=2(8)+3-4 = 2(8) + 3 −4=16+3-4 = 16 + 3 −4=19-4 = 19 Since the equation is false, the point (8, –4) does not lie on the line 4.

📝 To test if point (3, 9) lies on the line y=2x+3y = 2x + 3, substitute: 9=2(3)+39 = 2(3) + 3, which simplifies to 9=99 = 9. Thus, the point lies on the line 4.

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also