Math Prep 3 – Unit 3 – Lesson 7: Equation of the Straight Line

GRADE 9 – 2027

Equation of the Straight Line

Mathematics – Unit 3: Geometry – Lesson 7

Understand the equation, calculate the slope and solve mathematical problems.

Learning Objectives

By the end of this lesson, you should be able to:

  • Understand the equation of a straight line.
  • Identify the slope and the y-intercept.
  • Write the equation of a line using its slope and a point.
  • Find the equation of a line passing through two given points.
  • Find the x-intercept and y-intercept.
  • Use slopes to identify parallel and perpendicular lines.

1. Introduction: What Is the Equation of a Straight Line?

A straight line can be represented algebraically by an equation connecting the x-coordinate and the y-coordinate of every point on that line.

One of the most common forms is:

y = mx + c

Where:

  • m: The slope (gradient) of the straight line.
  • c: The y-intercept, where the line intersects the y-axis.
  • x: The independent variable.
  • y: The dependent variable.
Remember: In the equation y = mx + c, the coefficient of x represents the slope, and the constant term represents the y-intercept.

Example 1: Identify the slope and y-intercept

Given the equation:

y = 3x + 2
Compare it with y = mx + c.

Therefore:

m = 3     c = 2
The slope is 3 and the y-intercept is 2.

2. Understanding the Slope and the Y-Intercept

The Slope (m)

The slope describes how steep a straight line is and whether it rises or falls as x increases.

m = (y₂ − y₁) / (x₂ − x₁)

The Y-intercept (c)

The y-intercept is the value of y when x = 0.

When x = 0, y = c
c = 1 y = 2x + 1 x y O

Illustrative graph showing a positive slope and a positive y-intercept.

Example 2: Find the slope and y-intercept

Find the slope and y-intercept of:

y = −2x + 5

Comparing with y = mx + c:

m = −2     c = 5
Slope = −2 and y-intercept = 5.

3. Finding the Equation When the Slope and One Point Are Given

If the slope m and a point (x₁, y₁) are known, use the point-slope form:

y − y₁ = m(x − x₁)

Example 3

Find the equation of a straight line with slope 2 passing through the point (3, 5).

Step 1: Identify the given information.

m = 2, x₁ = 3, y₁ = 5

Step 2: Substitute in the point-slope formula.
y − 5 = 2(x − 3)
Step 3: Expand the brackets.
y − 5 = 2x − 6
Step 4: Make y the subject.
y = 2x − 1
Final Answer: y = 2x − 1.
Check: Substitute x = 3. We get y = 6 − 1 = 5, so the line passes through (3, 5).

4. Finding the Equation Using Two Points

If two points on a straight line are given, follow these steps:

  1. Calculate the slope using the two-point formula.
  2. Substitute the slope and one point into the point-slope formula.
  3. Simplify to obtain the equation.

Example 4

Find the equation of the straight line passing through A(1, 3) and B(3, 7).

Step 1: Calculate the slope.
m = (7 − 3) / (3 − 1)
m = 4 / 2 = 2
Step 2: Use point A(1, 3).
y − 3 = 2(x − 1)
Step 3: Simplify.
y − 3 = 2x − 2
y = 2x + 1
The equation of the line is y = 2x + 1.

5. Finding the X-intercept and Y-intercept

The intercepts are the points where a straight line crosses the coordinate axes.

The Y-intercept

To find the y-intercept, put x = 0.

The X-intercept

To find the x-intercept, put y = 0.

Example 5

Find the x-intercept and y-intercept of:

2x + 3y = 6

First: Find the x-intercept.

Put y = 0:

2x + 3(0) = 6
x = 3

The x-intercept is (3, 0).

Second: Find the y-intercept.

Put x = 0:

2(0) + 3y = 6
y = 2

The y-intercept is (0, 2).

The line crosses the x-axis at (3, 0) and the y-axis at (0, 2).
(0, 2) (3, 0) x y O

6. The General Form of a Straight Line

A straight line can also be written in the standard form:

Ax + By = C

Where A, B and C are constants.

Example 6: Convert to slope-intercept form

Given:

2x + 3y = 6

Make y the subject:

3y = −2x + 6
y = −(2/3)x + 2

Therefore:

m = −2/3     c = 2
When B is not zero, the standard form Ax + By = C can be rearranged into y = mx + c.

7. Parallel and Perpendicular Straight Lines

Parallel Lines

Two distinct non-vertical parallel lines have equal slopes.

m₁ = m₂

Example 7

Find the equation of a line parallel to y = 3x − 2 and passing through (1, 4).

Parallel lines have equal slopes, so m = 3.

y − 4 = 3(x − 1)
y − 4 = 3x − 3
y = 3x + 1
The required equation is y = 3x + 1.

Perpendicular Lines

For two non-vertical lines to be perpendicular, the product of their slopes equals −1.

m₁ × m₂ = −1

Example 8

Find the equation of a line perpendicular to y = 2x + 3 and passing through (2, 1).

The given slope is 2. Therefore, the perpendicular slope is:

m = −1/2

Use the point-slope formula:

y − 1 = −(1/2)(x − 2)
y − 1 = −x/2 + 1
y = −x/2 + 2
The required equation is y = −x/2 + 2.

8. Special Straight Lines

TypeEquationSlope
Horizontal liney = k0
Vertical linex = kUndefined
X-axisy = 00
Y-axisx = 0Undefined
A vertical line cannot be written in the form y = mx + c because its slope is undefined.

9. Common Mistakes to Avoid

  • Wrong order: When calculating the slope, keep the order of subtraction consistent in both numerator and denominator.
  • Forgetting the negative sign: A perpendicular slope is the negative reciprocal, not just the reciprocal.
  • Confusing m and c: In y = mx + c, m is the slope and c is the y-intercept.
  • Incorrect substitution: Always substitute both coordinates of the given point correctly.
  • Mixing intercepts: Set y = 0 for the x-intercept and x = 0 for the y-intercept.

10. Practice – Try It Yourself

Question 1: Find the slope and y-intercept of y = 5x − 4.
m = 5 and c = −4.
Question 2: Find the equation of a line with slope 3 passing through (2, 5).
y − 5 = 3(x − 2), so y = 3x − 1.
Question 3: Find the equation of the line passing through (1, 2) and (3, 6).
m = (6 − 2)/(3 − 1) = 2. Therefore y − 2 = 2(x − 1), so y = 2x.
Question 4: Find the intercepts of x + 2y = 4.
Put y = 0: x = 4. Put x = 0: y = 2. Intercepts: (4, 0) and (0, 2).

11. Homework

  1. Identify the slope and y-intercept of y = −4x + 7.
  2. Find the equation of a line with slope 5 passing through (2, 3).
  3. Find the equation of the line passing through A(0, 2) and B(2, 6).
  4. Find the x-intercept and y-intercept of 3x + 2y = 12.
  5. Find the equation of a line parallel to y = 2x + 1 and passing through (1, 5).
  6. Find the equation of a line perpendicular to y = 4x − 3 and passing through (0, 2).
  1. m = −4, c = 7.
  2. y − 3 = 5(x − 2), so y = 5x − 7.
  3. m = (6 − 2)/(2 − 0) = 2, so y = 2x + 2.
  4. x-intercept = (4, 0), y-intercept = (0, 6).
  5. m = 2, so y − 5 = 2(x − 1), giving y = 2x + 3.
  6. Perpendicular slope = −1/4. Therefore y = −x/4 + 2.

12. Interactive Quiz – 12 Questions

Choose the correct answer for each question, then click Submit Answers.

1. What is the slope in y = 4x + 3?

2. What is the y-intercept in y = 2x − 5?

3. What is the slope of a line passing through (1, 2) and (3, 8)?

4. Which formula represents the point-slope form?

5. The x-intercept is found by putting:

6. The y-intercept is found by putting:

7. What is the equation of a line with slope 2 and y-intercept 3?

8. What is the slope of a line parallel to y = −3x + 4?

9. What is the slope of a line perpendicular to a line with slope 2?

10. What is the equation of a horizontal line passing through y = 5?

11. What is the equation of the line passing through (0, 2) with slope 3?

12. What are the intercepts of 2x + 2y = 4?

Your Quiz Result

Final Revision

ConceptFormula / Rule
Slopem = (y₂ − y₁)/(x₂ − x₁)
Slope-intercept formy = mx + c
Point-slope formy − y₁ = m(x − x₁)
Standard formAx + By = C
Parallel linesm₁ = m₂
Perpendicular linesm₁ × m₂ = −1
Well done! You have completed Unit 3 – Geometry. Review the formulas and practise solving different types of questions.

Learning for the Future | Learn • Practise • Test

No comments:

Post a Comment

التصنيفات

```html ```html ```