๐Ÿ“– 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โ‚)

๐Ÿ“ 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)?
A) 2
B) 3
C) 4
D) 5
โœ“ Answer: C
m = (14 โˆ’ 2) / (4 โˆ’ 0) = 12 / 4 = 3
๐Ÿ“ Solution: m = (14 โˆ’ 2)/(4 โˆ’ 0) = 12/4 = 3
Question 6
Find the x-intercept: y = 5x โˆ’ 20
A) x = 2
B) x = 4
C) x = 5
D) x = 10
โœ“ Answer: B
Set y = 0: 0 = 5x โˆ’ 20 โ†’ 5x = 20 โ†’ x = 4
๐Ÿ“ Solution: 0 = 5x โˆ’ 20 โ†’ 5x = 20 โ†’ x = 4
Question 7
Which equation has slope 5 and y-intercept โˆ’2?
A) y = 5x + 2
B) y = โˆ’5x + 2
C) y = 5x โˆ’ 2
D) y = โˆ’5x โˆ’ 2
โœ“ Answer: C
y = mx + b โ†’ m = 5, b = โˆ’2 โ†’ y = 5x โˆ’ 2
๐Ÿ“ Solution: y = 5x โˆ’ 2
Question 8
Find the slope between (โˆ’2, 1) and (3, 6)
A) 1
B) 2
C) 3
D) 4
โœ“ Answer: A
m = (6 โˆ’ 1) / (3 โˆ’ (โˆ’2)) = 5 / 5 = 1
๐Ÿ“ Solution: m = (6 โˆ’ 1)/(3 + 2) = 5/5 = 1
Question 9
What is the slope of y = 7?
A) 0
B) 1
C) 7
D) Undefined
โœ“ Answer: A
y = 7 is a horizontal line โ†’ slope = 0
๐Ÿ“ Solution: y = 7 โ†’ y = 0x + 7 โ†’ slope = 0
Question 10
Which line is parallel to y = 2x + 3?
A) y = โˆ’2x + 5
B) y = 2x โˆ’ 1
C) y = 3x + 2
D) y = โˆ’3x โˆ’ 4
โœ“ Answer: B
Parallel lines have the same slope. y = 2x + 3 has slope 2. y = 2x โˆ’ 1 also has slope 2.
๐Ÿ“ Solution: Slope = 2 โ†’ y = 2x โˆ’ 1 is parallel.
๐ŸŽ‰ WELL DONE!

You've completed the Linear Equations in Two Variables lesson. You now know how to work with slopes, intercepts, and graph interpretation.

โ† Back to Topic List ๐Ÿ“– Previous: Linear Equations in One Variable ๐Ÿ“– Next: Systems of Linear Equations โ†’