Solved Exercises on Slope of a Line

Master coordinate geometry: calculating slope, identifying parallel/perpendicular lines, and applications through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Basic Slope Calculation
Exercise 1
Find the slope of the line passing through points A(2, 3) and B(6, 7)
Use the slope formula and interpret the result.
Definitions:

Slope Formula: \(m = \frac{y_2-y_1}{x_2-x_1}\)

Slope: The rate of change of y with respect to x, or "rise over run"

Positive Slope: Line rises from left to right

Negative Slope: Line falls from left to right

Slope Calculation Method:
  1. Identify coordinates of two points: (x₁, y₁) and (x₂, y₂)
  2. Substitute into slope formula: \(m = \frac{y_2-y_1}{x_2-x_1}\)
  3. Calculate the difference in y-values (rise)
  4. Calculate the difference in x-values (run)
  5. Divide rise by run to get the slope
Formula
\(m = \frac{y_2-y_1}{x_2-x_1}\)
Substitute
\(m = \frac{7-3}{6-2}\)
Calculate
\(m = \frac{4}{4} = 1\)
Step 1: Identify coordinates

Point A: (x₁, y₁) = (2, 3)

Point B: (x₂, y₂) = (6, 7)

Step 2: Apply slope formula

\(m = \frac{y_2-y_1}{x_2-x_1} = \frac{7-3}{6-2}\)

Step 3: Calculate numerator (rise)

\(y_2-y_1 = 7-3 = 4\)

Step 4: Calculate denominator (run)

\(x_2-x_1 = 6-2 = 4\)

Step 5: Compute the slope

\(m = \frac{4}{4} = 1\)

Slope = 1 (positive slope, 45° angle)
Final answer:

The slope of the line passing through points A(2, 3) and B(6, 7) is 1.

Applied rules:

• Slope Formula: Consistent order of subtraction (y₂ - y₁)/(x₂ - x₁)

• Positive Slope: When both numerator and denominator have same sign

• Interpretation: Slope of 1 means the line rises 1 unit for every 1 unit moved right

2 Parallel and Perpendicular Lines
Exercise 2
Determine if the lines through points P(1, 2) and Q(4, 6), and through points R(2, 1) and S(5, 5) are parallel, perpendicular, or neither.
Definitions:

Parallel Lines: Lines with equal slopes (m₁ = m₂)

Perpendicular Lines: Lines with slopes that are negative reciprocals (m₁ × m₂ = -1)

Slope-Intercept Form: y = mx + b, where m is the slope

Line 1 Slope
\(m_1 = \frac{6-2}{4-1} = \frac{4}{3}\)
Line 2 Slope
\(m_2 = \frac{5-1}{5-2} = \frac{4}{3}\)
Relationship
\(m_1 = m_2\)
Step 1: Calculate slope of line PQ

P(1, 2), Q(4, 6)

\(m_1 = \frac{6-2}{4-1} = \frac{4}{3}\)

Step 2: Calculate slope of line RS

R(2, 1), S(5, 5)

\(m_2 = \frac{5-1}{5-2} = \frac{4}{3}\)

Step 3: Compare slopes

\(m_1 = \frac{4}{3}\) and \(m_2 = \frac{4}{3}\)

Since \(m_1 = m_2\), the lines are parallel

Step 4: Check for perpendicularity

For perpendicular lines: \(m_1 \times m_2 = -1\)

\(\frac{4}{3} \times \frac{4}{3} = \frac{16}{9} \neq -1\)

So the lines are not perpendicular

Lines are parallel (same slope: 4/3)
Final answer:

The lines through points P(1, 2) and Q(4, 6), and through points R(2, 1) and S(5, 5) are parallel since both have slope 4/3.

Applied rules:

• Parallel Lines: Equal slopes indicate parallel lines

• Perpendicular Lines: Slopes are negative reciprocals (product = -1)

• Comparison: Always compare slopes to determine line relationships

3 Special Cases
Exercise 3
Find the slope of the line through points C(3, 5) and D(3, 9). Then find the slope of the line through points E(2, 4) and F(7, 4).
Explain what these special cases represent.
Definitions:

Vertical Line: A line with undefined slope (division by zero)

Horizontal Line: A line with zero slope (no rise)

Undefined Slope: Occurs when x-coordinates are equal (denominator = 0)

Vertical Line
\(m = \frac{9-5}{3-3} = \frac{4}{0}\)
Horizontal Line
\(m = \frac{4-4}{7-2} = \frac{0}{5} = 0\)
Results
Undefined & 0
Step 1: Calculate slope of line CD

C(3, 5), D(3, 9)

\(m_1 = \frac{9-5}{3-3} = \frac{4}{0}\)

Division by zero means the slope is undefined

Step 2: Calculate slope of line EF

E(2, 4), F(7, 4)

\(m_2 = \frac{4-4}{7-2} = \frac{0}{5} = 0\)

The slope is 0

Step 3: Interpret the results

Line CD: x-coordinates are the same (both 3), so it's a vertical line with undefined slope

Line EF: y-coordinates are the same (both 4), so it's a horizontal line with slope 0

Step 4: Identify the special cases

Vertical line (CD): Goes straight up and down, no horizontal change

Horizontal line (EF): Goes straight left and right, no vertical change

CD: Undefined slope (vertical line), EF: Slope = 0 (horizontal line)
Final answer:

The line through C(3, 5) and D(3, 9) has undefined slope (vertical line). The line through E(2, 4) and F(7, 4) has slope 0 (horizontal line).

Applied rules:

• Vertical Line: x₁ = x₂ → undefined slope

• Horizontal Line: y₁ = y₂ → slope = 0

• Special Cases: Division by zero is undefined in mathematics

Slope of a Line Rules and Properties
\(m = \frac{y_2-y_1}{x_2-x_1}\)
Slope Formula
Standard
\(m = \frac{y_2-y_1}{x_2-x_1}\)
Slope formula
Parallel
\(m_1 = m_2\)
Equal slopes
Perp.
\(m_1 \cdot m_2 = -1\)
Negative reciprocals
Key definitions:

Slope: The measure of steepness of a line, calculated as the ratio of vertical change to horizontal change

Rate of Change: How much y changes for each unit change in x

Gradient: Another term for slope in mathematics

Rise over Run: Informal way to remember slope calculation

Slope Calculation Method:
  1. Identify points: Locate two points on the line (x₁, y₁) and (x₂, y₂)
  2. Apply formula: Use \(m = \frac{y_2-y_1}{x_2-x_1}\)
  3. Calculate differences: Find (y₂ - y₁) and (x₂ - x₁)
  4. Divide: Divide the y-difference by the x-difference
  5. Interpret: Determine if slope is positive, negative, zero, or undefined
Tip 1: Always subtract in the same order: (y₂ - y₁)/(x₂ - x₁) or (y₁ - y₂)/(x₁ - x₂).
Tip 2: Positive slope means the line rises from left to right.
Tip 3: Negative slope means the line falls from left to right.
Tip 4: Horizontal lines have slope 0; vertical lines have undefined slope.
Common errors: Mixing up x and y in the formula, dividing by zero without recognizing it's undefined, inconsistent subtraction order.
Exam preparation: Memorize slope relationships for parallel and perpendicular lines, practice with various point combinations.
Essential Rules:

• Slope Formula: \(m = \frac{y_2-y_1}{x_2-x_1}\)

• Parallel Lines: \(m_1 = m_2\)

• Perpendicular Lines: \(m_1 \cdot m_2 = -1\)

• Vertical Line: Undefined slope when \(x_1 = x_2\)

• Horizontal Line: Zero slope when \(y_1 = y_2\)

Solution: Exercises 4 to 5
4 Geometric Applications
Exercise 4
Given triangle ABC with vertices A(1, 1), B(4, 5), and C(7, 2), determine if it is a right triangle using slope analysis.
Definition:

Right Triangle: A triangle with one 90° angle

Perpendicular Lines: Lines that meet at a 90° angle

Pythagorean Theorem: Alternative method to verify right triangles

Side AB
\(m_{AB} = \frac{5-1}{4-1} = \frac{4}{3}\)
Side BC
\(m_{BC} = \frac{2-5}{7-4} = \frac{-3}{3} = -1\)
Side AC
\(m_{AC} = \frac{2-1}{7-1} = \frac{1}{6}\)
Step 1: Calculate slope of side AB

A(1, 1), B(4, 5)

\(m_{AB} = \frac{5-1}{4-1} = \frac{4}{3}\)

Step 2: Calculate slope of side BC

B(4, 5), C(7, 2)

\(m_{BC} = \frac{2-5}{7-4} = \frac{-3}{3} = -1\)

Step 3: Calculate slope of side AC

A(1, 1), C(7, 2)

\(m_{AC} = \frac{2-1}{7-1} = \frac{1}{6}\)

Step 4: Check for perpendicular sides

For perpendicular lines: \(m_1 \cdot m_2 = -1\)

\(m_{AB} \cdot m_{BC} = \frac{4}{3} \times (-1) = -\frac{4}{3} \neq -1\)

\(m_{BC} \cdot m_{AC} = (-1) \times \frac{1}{6} = -\frac{1}{6} \neq -1\)

\(m_{AB} \cdot m_{AC} = \frac{4}{3} \times \frac{1}{6} = \frac{4}{18} = \frac{2}{9} \neq -1\)

Step 5: Draw conclusion

Since none of the products of slopes equals -1, no sides are perpendicular

Therefore, triangle ABC is not a right triangle

Triangle ABC is not a right triangle (no perpendicular sides)
Final answer:

No, triangle ABC with vertices A(1, 1), B(4, 5), and C(7, 2) is not a right triangle because none of its sides are perpendicular.

Applied rules:

• Slope Calculation: Apply formula to each side of the triangle

• Perpendicular Test: Check if product of any two slopes equals -1

• Geometric Verification: Use slopes to determine if angles are 90°

5 Real-World Application
Exercise 5
A road rises 150 feet over a horizontal distance of 1000 feet. Calculate the slope of the road and express it as a percentage grade.
Also, find the angle of elevation of the road.
Definition:

Grade: Slope expressed as a percentage

Angle of Elevation: The angle between the horizontal and the incline

Trigonometry: Relationship between slope and angle using tangent

Slope
\(m = \frac{150}{1000} = 0.15\)
Grade %
\(0.15 \times 100 = 15\%\)
Angle
\(\theta = \arctan(0.15) \approx 8.53°\)
Step 1: Calculate the slope

Rise = 150 feet, Run = 1000 feet

Slope = Rise ÷ Run = 150 ÷ 1000 = 0.15

Step 2: Convert to percentage grade

Grade = Slope × 100%

Grade = 0.15 × 100% = 15%

Step 3: Find the angle of elevation

The slope equals the tangent of the angle of elevation

\(m = \tan(\theta)\), so \(\theta = \arctan(m)\)

\(\theta = \arctan(0.15) \approx 8.53°\)

Step 4: Interpret the results

Slope of 0.15 means the road rises 0.15 feet for every 1 foot of horizontal distance

Grade of 15% is commonly used in construction and transportation

Angle of 8.53° indicates a moderate incline

Slope: 0.15, Grade: 15%, Angle: ~8.53°
Final answer:

The slope of the road is 0.15, the grade is 15%, and the angle of elevation is approximately 8.53°.

Applied rules:

• Slope Formula: Rise over run

• Percentage Grade: Slope × 100%

• Trigonometry: Slope = tan(angle), so angle = arctan(slope)

Complete Slope of a Line Reference Guide
\(m = \frac{y_2-y_1}{x_2-x_1}\)
Slope Formula
Key definitions:

Slope: A measure of the steepness of a line, calculated as the ratio of vertical change (rise) to horizontal change (run)

Rate of Change: How much the dependent variable (y) changes per unit change in the independent variable (x)

Linear Function: A function whose graph is a straight line, with constant slope

Gradient: The vector pointing in the direction of greatest increase of a function

Complete Slope Analysis Method:
  1. Identify points: Locate two distinct points on the line
  2. Apply formula: Substitute coordinates into \(m = \frac{y_2-y_1}{x_2-x_1}\)
  3. Calculate: Perform the arithmetic to find the slope value
  4. Interpret: Determine the meaning of the slope value
  5. Apply: Use slope relationships to solve geometric problems
Tip 1: Always maintain consistent order when subtracting coordinates.
Tip 2: Slope of 1 means the line rises at a 45° angle.
Tip 3: Parallel lines have identical slopes.
Tip 4: Perpendicular lines have slopes that multiply to -1.
Common errors: Incorrect order of subtraction, dividing by zero without recognition, confusing parallel and perpendicular slope relationships.
Exam preparation: Memorize slope relationships, practice with different point orders, understand special cases.
Essential Rules:

• Slope Formula: \(m = \frac{y_2-y_1}{x_2-x_1}\)

• Parallel Lines: \(m_1 = m_2\)

• Perpendicular Lines: \(m_1 \cdot m_2 = -1\)

• Vertical Line: Undefined slope when \(x_1 = x_2\)

• Horizontal Line: Zero slope when \(y_1 = y_2\)

• Angle of Inclination: \(\theta = \arctan(m)\)

Slope Applications in Real Life
Slope in Various Contexts
Applications of slope in real-world scenarios:
Construction, engineering, physics, economics, and data analysis
Example: Road grades, roof pitches, rate of change in business metrics

Analysis: The chart demonstrates how slope calculations are essential in various practical applications.

  • Construction: Roof pitch and road gradients
  • Engineering: Stress-strain relationships
  • Economics: Rate of growth in financial data

Questions & Answers

Question: Why does the slope formula have the y-coordinates in the numerator and x-coordinates in the denominator? Could we reverse it?

Answer: The slope formula is designed as \(m = \frac{y_2-y_1}{x_2-x_1}\) for important reasons:

  • Conceptual Meaning: Slope measures "rise over run" - how much y changes (rise) per unit change in x (run)
  • Mathematical Convention: In the coordinate plane, y is typically the dependent variable and x is the independent variable
  • Function Analysis: We often ask "how does y change when x changes?"
  • Units: If x is in meters and y is in seconds, slope would be in seconds per meter

If we reversed it to \(\frac{x_2-x_1}{y_2-y_1}\), we'd be calculating "run over rise," which doesn't represent the standard concept of steepness. While mathematically possible, it would be the reciprocal of the conventional slope and wouldn't match standard interpretations of line steepness.

Question: How do I remember that perpendicular lines have slopes that multiply to -1?

Answer: Here are several ways to remember that perpendicular slopes multiply to -1:

  • Visual Memory: When one line has slope 2, the perpendicular line has slope -1/2. Notice how 2 × (-1/2) = -1
  • Reciprocal Rule: Perpendicular slopes are negative reciprocals of each other
  • Rotation Concept: Rotating a line 90° changes its slope to the negative reciprocal
  • Example Pattern: If one line has slope a/b, perpendicular line has slope -b/a, and (a/b) × (-b/a) = -1

Quick examples:

  • Slopes 3 and -1/3: 3 × (-1/3) = -1 ✓
  • Slopes -2 and 1/2: (-2) × (1/2) = -1 ✓
  • Slopes 1/4 and -4: (1/4) × (-4) = -1 ✓

The key insight is that perpendicular lines have slopes that are negative reciprocals of each other.

Question: Why is the slope of a vertical line undefined rather than infinity?

Answer: The slope of a vertical line is undefined, not infinity, for important mathematical reasons:

  • Division by Zero: Using the slope formula, a vertical line has the same x-coordinate for both points, so the denominator (x₂ - x₁) = 0
  • Mathematical Definition: Division by zero is undefined in mathematics, not infinity
  • Conceptual Meaning: A vertical line rises infinitely steeply, so the rate of change is infinite in a sense, but this doesn't correspond to a finite number
  • Consistency: Treating it as undefined maintains mathematical rigor and prevents contradictions

While it's tempting to say the slope is "infinity," mathematically we say it's undefined. This distinction is important because infinity is not a real number, whereas undefined means the operation cannot be performed within the real number system.

Question: How do I convert slope to percentage grade? What's the relationship?

Answer: Converting slope to percentage grade is straightforward:

  • Formula: Percentage grade = Slope × 100%
  • Example: If slope = 0.15, then grade = 0.15 × 100% = 15%
  • Interpretation: A 15% grade means the road rises 15 feet for every 100 feet of horizontal distance

Practical applications:

  • Road construction: Maximum grades for safety
  • Railway engineering: Uphill/downhill sections
  • Roofing: Pitch requirements for water drainage
  • Accessibility: Ramp grades for wheelchair access

Percentage grade is commonly used in construction and transportation because it's easier to visualize than decimal slopes.

Question: How is the slope of a line related to the angle it makes with the x-axis?

Answer: The slope of a line is directly related to the angle it makes with the positive x-axis through trigonometry:

  • Relationship: If θ is the angle of inclination, then slope m = tan(θ)
  • Conversely: θ = arctan(m) or θ = tan⁻¹(m)
  • Example: If slope m = 1, then θ = arctan(1) = 45°
  • Example: If θ = 30°, then m = tan(30°) = 1/√3 ≈ 0.577

Special cases:

  • Horizontal line: m = 0, θ = 0°
  • 45° line: m = 1, θ = 45°
  • Vertical line: m = undefined, θ = 90°

This relationship is fundamental in connecting algebraic representations of lines with their geometric properties.