WAEC WAEC Nigeria General Mathematics

Revision Notes

Topic navigation panel

Topic navigation panel

(Straight Lines)

Equation of a Line

Conquering Linear Equations: Crafting y=mx+cy = mx + c

In mathematics, the story of a straight line is captured by the equation y=mx+cy = mx + c. Here’s how you can find these crucial components and craft the equation of your line.

 

straight line graph annotation

 

Determining the Gradient (mm)

The gradient or slope of a line measures its steepness and direction. If you know two points on the line, let’s say (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2), you can calculate the gradient (mm) using the formula:

m=y2y1x2x1m = \frac{y_2 - y_1}{x_2 - x_1}

This formula gives you a numerical value representing how many units the line goes up (or down) for each unit it goes to the right.

Finding the Y-intercept (cc)

The y-intercept is the point where the line crosses the y-axis. To find cc when you know the gradient and at least one point on the line (xx, yy), you can substitute the values into the equation y=mx+cy = mx + c and solve for cc.

Piecing Together y=mx+cy = mx + c

Once you have mm and cc, you can write the equation of the line. This equation tells you the vertical position (yy) of any point on the line, based on its horizontal position (xx), its steepness (mm), and where it intersects the y-axis (cc).

 

Example

Given points (4,7)(4, 7) and (9,17)(9, 17) on a line, find the equation of the line.

 

straight line question graph diagram

 

Solution

Step 1: First find the gradient of the line m=17794  m=105 =2 m=2m = \frac{17 - 7}{9 - 4}  \to  m = \frac{10}{5}  = 2  \therefore m = 2

Step 2: Now use the gradient and the general equation to find the +c+c. Pick a coordinate on the line and substitue in to the equation and solve for c i.e y=2x+c (I will use first coordinate)7=2(4)+c7=8+c78=c1=cc=1Solution y=2x1y = 2x + c \\  \to \text{(I will use first coordinate)} 7 = 2(4) + c \\ 7 = 8 + c \to 7-8 = c \to -1 = c \therefore c = -1 \\ \text{Solution}  y = 2x - 1

 

solving linear equation example

 

 

Worked Example

Worked Example: Finding the Equation of a Line

Given points (2, 3) and (4, 7) on a line, find the equation of the line.

 

 

Tuity Tip

Hover me!

Always plot the points and sketch the line if possible. A visual can help verify your calculations.

Remember, the process of finding mm and cc is interconnected. Understand each step clearly to master finding the equation of any line.

Choose Your Study Plan

MonthlyAnnualSave 20%

Plus

£4.99/month
  • Everything in Free plus...
  • Unlimited revision resources access
  • AI assistance (Within usage limits)
  • Enhanced progress tracking
  • New features soon...

Pro

£9.99/month
  • Everything in Plus plus...
  • Unlimited AI assistance
  • Unlimited questions marked
  • Detailed feedback and explanations
  • Comprehensive progress tracking
  • New features soon...
Most Popular