EQUATION OF STRAIGHT LINES Notes, Quizzes & Revision
π Revision Notes β’ π Quizzes β’ π Past Papers
Mathematics β ALGEBRA
Subtopic: Equation of Straight Lines (Age ~14, Kenya)
In algebra, a straight line on the coordinate plane can be described by an equation. These notes explain common forms, how to find the equation from points or slope, and how to sketch a line.
- Horizontal axis = x-axis, vertical axis = y-axis.
- Each point has coordinates written as (x, y).
1. Slope (Gradient) of a line
The slope m tells how steep a line is. For two points (x1, y1) and (x2, y2):
m = (y2 β y1) / (x2 β x1)
Example: points (1, 2) and (4, 5)
m = (5 β 2) / (4 β 1) = 3 / 3 = 1
2. Common forms of a straight line
y = mx + c
- m is the slope (gradient).
- c is the y-intercept (point where the line crosses the y-axis).
y β y1 = m(x β x1)
- Use when you know a point (x1, y1) and the slope m.
Example: slope 3 through point (2, β1): y + 1 = 3(x β 2).
If you know two points (x1, y1) and (x2, y2):
(y β y1) / (x β x1) = (y2 β y1) / (x2 β x1)
Rearranged it becomes point-slope with slope computed from the two points.
ax + by + c = 0 (a, b, c are constants).
You can rearrange between general form and slope-intercept: y = mx + c.
3. Finding the equation from two points β worked example
Find the equation of the line through A(1, 2) and B(4, 5).
- Find slope: m = (5 β 2)/(4 β 1) = 3/3 = 1.
- Use point-slope with point A(1,2): y β 2 = 1(x β 1).
- Simplify: y β 2 = x β 1 β y = x + 1.
4. Intercepts
- y-intercept: set x = 0, solve for y (gives point (0, c) in y = mx + c).
- x-intercept: set y = 0, solve for x (solve 0 = mx + c β x = βc/m if m β 0).
5. Parallel and perpendicular lines
- Parallel lines have the same slope. Example: y = 2x + 1 and y = 2x β 3 are parallel.
- Perpendicular lines have slopes that multiply to β1. If one slope is m, the perpendicular slope is β1/m. Example: slope 2 β perpendicular slope β1/2.
6. Simple graph illustration
Below is a small sketch of the line y = 0.5x + 1 (for visual understanding):
7. Short practice (try these)
- Find the slope of the line through (2, 3) and (5, 9).
- Write the equation of the line with slope β2 that passes through (1, 4).
- Find the equation of the line through (0, β2) and (3, 1).
- Are the lines y = 3x + 5 and y = 3x β 2 parallel, perpendicular or neither?
- Slope = (9 β 3)/(5 β 2) = 6/3 = 2.
- Use y β 4 = β2(x β 1) β y β 4 = β2x + 2 β y = β2x + 6.
- Slope = (1 β (β2)) / (3 β 0) = 3/3 = 1 β y = x β 2.
- Parallel (same slope 3).
8. Tips for exams (KCSE/School tests)
- Always calculate slope carefully; swap subtraction order consistently (y2βy1)/(x2βx1).
- To graph quickly from y = mx + c: start at (0, c) then use rise/run = m.
- Check special cases: vertical lines (x = k) have no slope (undefined); horizontal lines (y = k) have slope 0.
If you want, I can make more worked examples, printable exercise sheets, or short quizzes on equations of straight lines tailored to the Kenyan syllabusβtell me which you prefer.
π§ Quick 5-question quiz
Test what you have just learned from EQUATION OF STRAIGHT LINES. No account is needed to try it. Your attempt is saved only when you submit. After this browser has passed its first human check, returning visits open the quiz directly.