Teacher Boen Resource Library · Kenya CBC/CBE
Grade 9 · Mathematics

2.2 Equations of Straight Lines

Strand 2 Algebra

1. Meaning of a straight-line graph

A straight-line graph represents a linear relationship between two variables.

The equation of a non-vertical straight line can be written as:

y=mx+c

Where:

  • m = gradient.
  • c = y-intercept.
  • x = independent variable.
  • y = dependent variable.

2. Meaning of gradient

The gradient measures the steepness and direction of a straight line.

m=ChangeinyChangeinx

For two points (x1,y1) and (x2,y2):

m=y2-y1x2-x1

The denominator must not be zero.

Gradient of a straight line

Gradient = Rise ÷ Run

3. Calculating gradient from two points

Worked example

Find the gradient of the line passing through (2,3) and (6,11).

m=11-36-2

=84=2

4. Finding the equation of a line from its gradient and one point

Use:

y-y1=m(x-x1)

Example

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

y-5=3(x-2)

y-5=3x-6

y=3x-1

5. Finding the equation of a line through two points

Example

Find the equation of a line passing through (1,4) and (3,10).

Step 1: Find the gradient.

m=10-43-1=62=3

Step 2: Use point-gradient form.

y-4=3(x-1)

y-4=3x-3

y=3x+1

6. Intercepts of a straight line

The y-intercept is where a graph crosses the y-axis. At this point, x=0.

The x-intercept is where a graph crosses the x-axis. At this point, y=0.

Example

Find the intercepts of:

y=2x-6

For the y-intercept, set x=0:

y=-6

Therefore, the y-intercept is (0,-6).

For the x-intercept, set y=0:

0=2x-6

x=3

Therefore, the x-intercept is (3,0).

7. Applications of straight-line equations

Linear equations can represent:

  • Taxi fares with a fixed starting charge and a cost per kilometre.
  • Wages based on hours worked.
  • Cost of purchasing identical items.
  • Water charges with fixed and variable components.
  • Constant-speed motion.

Example

A delivery service charges KSh 150 plus KSh 40 per kilometre.

C=40d+150

For 8 km:

C=40(8)+150=KSh470

Exercise 2.2

  1. Find the gradient through (1,2) and (5,10).
  2. Find the equation of a line with gradient 4 passing through (2,3).
  3. Find the equation through (0,5) and (2,9).
  4. Find the x- and y-intercepts of y=3x-12.
  5. Interpret the gradient and intercept in C=25x+100.