Complete lesson: slope-intercept form, graphing, interpretation, and 10 practice questions with solutions.
๐ What Is a Linear Equation in Two Variables?
A linear equation in two variables is an equation that can be written in the form:
y = mx + b
where m is the slope and b is the y-intercept. This is called slope-intercept form.
๐ Key Concept
The graph of a linear equation is a straight line. The slope (m) tells you how steep the line is, and the y-intercept (b) tells you where it crosses the y-axis.
๐ Slope (m)
The slope measures the steepness of a line. It is calculated as:
m = (yโ โ yโ) / (xโ โ xโ)
Positive slope: Line goes up from left to right
Negative slope: Line goes down from left to right
Zero slope: Horizontal line
Undefined slope: Vertical line
๐ y-Intercept (b)
The y-intercept is the point where the line crosses the y-axis (where x = 0).
โก 3-Step Strategy
STEP 1
Identify the Form
Is it in slope-intercept form (y = mx + b)? If not, rearrange it.
STEP 2
Extract Information
Identify the slope (m) and y-intercept (b) from the equation.
STEP 3
Graph or Interpret
Plot the y-intercept, use slope to find another point, draw the line.
๐ก Key Strategy
Always convert to y = mx + b form first. Then the slope and y-intercept are immediately visible.
๐ Solved Examples
Study these examples carefully. Each shows the step-by-step solution process.
EXAMPLE 1
Find the slope and y-intercept: y = 3x + 5
Step 1: Compare to y = mx + b
Step 2: m = 3 (slope), b = 5 (y-intercept)
โ Slope = 3, y-intercept = 5
๐ก Tip: The line rises 3 units for every 1 unit it moves right.
EXAMPLE 2
Find the slope and y-intercept: 2x + y = 6
Step 1: Solve for y: y = โ2x + 6
Step 2: m = โ2, b = 6
โ Slope = โ2, y-intercept = 6
๐ก Tip: A negative slope means the line goes down from left to right.
EXAMPLE 3
Find the slope between points (2, 3) and (5, 9)
Step 1: Use the slope formula: m = (yโ โ yโ) / (xโ โ xโ)
Step 2: m = (9 โ 3) / (5 โ 2) = 6 / 3 = 2
โ Slope = 2
๐ก Tip: Positive slope means the line is increasing.
EXAMPLE 4
Write the equation of a line with slope = 4 and y-intercept = โ2
Step 1: Use y = mx + b
Step 2: Substitute m = 4, b = โ2 โ y = 4x โ 2
โ y = 4x โ 2
๐ก Tip: Always write the equation in the form y = mx + b.
EXAMPLE 5
Find the x-intercept of the line: y = 2x โ 6
Step 1: To find x-intercept, set y = 0
Step 2: 0 = 2x โ 6 โ 2x = 6 โ x = 3
โ x-intercept = 3
๐ก Tip: The x-intercept is where the line crosses the x-axis (y = 0).
๐งช Practice Questions
Solve each problem. Click "Show Answer" to see the full solution.
Question 1
Find the slope and y-intercept: y = 4x โ 7
A) Slope = โ4, y-intercept = 7
B) Slope = 4, y-intercept = โ7
C) Slope = 7, y-intercept = 4
D) Slope = โ7, y-intercept = 4
โ Answer: B
y = 4x โ 7 โ m = 4, b = โ7
๐ Solution: Compare to y = mx + b โ m = 4, b = โ7
Question 2
Find the slope between points (1, 4) and (3, 10)
A) 2
B) 3
C) 4
D) 5
โ Answer: C
m = (10 โ 4) / (3 โ 1) = 6 / 2 = 3
๐ Solution: m = (10 โ 4)/(3 โ 1) = 6/2 = 3
Question 3
What is the y-intercept of 3x + y = 9?
A) 3
B) 6
C) 8
D) 9
โ Answer: D
3x + y = 9 โ y = โ3x + 9 โ b = 9
๐ Solution: y = โ3x + 9 โ y-intercept = 9
Question 4
Write the equation of a line with slope = โ2 and y-intercept = 3
A) y = 2x + 3
B) y = โ2x + 3
C) y = 3x โ 2
D) y = โ2x โ 3
โ Answer: B
y = mx + b โ y = โ2x + 3
๐ Solution: Substitute m = โ2, b = 3 โ y = โ2x + 3
Question 5
What is the slope of the line passing through (0, 2) and (4, 14)?