Skip to content

Straight Line Graphs โ€‹

Spec reference: Algebra - Graphs
Key idea: Plot and interpret straight line graphs; find gradients and equations of lines.


y=mx+c โ€‹

The equation of a straight line is y=mx+c where:

  • m is the gradient (steepness)
  • c is the y-intercept (where the line crosses the y-axis)

Gradient โ€‹

m=riserun=y2โˆ’y1x2โˆ’x1
  • Positive gradient: line goes up left to right
  • Negative gradient: line goes down left to right

Example

Find the gradient between (1,3) and (4,9).

m=9โˆ’34โˆ’1=63=2

Drawing a straight line โ€‹

Method 1: Use a table of values.

Example

Draw y=2xโˆ’1

x0123
y-1135

Plot the points and join them.

Method 2: Use gradient and y-intercept directly.


Finding the equation of a line โ€‹

Example

A line has gradient 3 and passes through (2,7).

y=mx+c7=3(2)+cc=7โˆ’6=1y=3x+1

Parallel and perpendicular lines โ€‹

  • Parallel lines have the same gradient
  • Perpendicular lines have gradients that multiply to โˆ’1: m1ร—m2=โˆ’1

Example

A line has gradient 2. A perpendicular line has gradient โˆ’12.


Special lines โ€‹

LineEquation
Horizontal line through (0,k)y=k
Vertical line through (k,0)x=k

Test Yourself โ€‹

Question 1 of 5

Gradient of y=3xโˆ’7y = 3x - 7?

Ad

PassMaven - revision made simple.