Grade 9 Math • Geometry

Writing Lines from Geometry — I can write an equation of a line from geometric information (point, slope, parallel/perpendicular).

Turn geometric clues like points, slopes, and angle relationships into precise linear equations.

Grade 9 Math emblem with a calculator, geometric shapes, and line graph
Inside this lesson 10 sections 5 questions 9 figures

SECTION 1

Historical Context & Motivation

For thousands of years, geometry and algebra were treated as completely separate subjects. Ancient Greek mathematicians like Euclid studied shapes, angles, and lines using only drawings and logical arguments — no equations at all. Meanwhile, algebra developed independently in the Middle East and Asia as a system for solving numerical puzzles. It wasn't until the 1600s that a French mathematician fused these two worlds together, forever changing how we describe geometric objects.

~300 BCE • Euclid's Elements

Euclid defined lines, points, and parallel lines using pure geometric reasoning — no numbers, no coordinates, no equations.

~825 CE • Al-Khwarizmi's Algebra

The Persian mathematician al-Khwarizmi formalized algebra as a discipline, introducing systematic methods for solving equations — but without connecting them to geometry.

1637 • Descartes' Coordinate System

René Descartes published La Géométrie, introducing the coordinate plane. For the first time, every geometric line could be described by an algebraic equation.

1800s • Analytic Geometry Matures

Mathematicians standardized slope-intercept form (y = mx + b) and point-slope form, making it routine to convert geometric information into equations.

Today, writing the equation of a line from geometric information — a point it passes through, its slope, or its relationship to another line — is a foundational skill. It bridges what you can see on a diagram with what you can calculate and prove using algebra. The central question of this lesson is: Given geometric clues about a line, how do you write its equation?

SECTION 2

Core Principles & Definitions

Before you can write equations from geometric information, you need to understand a few key ideas. Every line in the coordinate plane is fully determined by two pieces of information: a direction (slope) and a location (a point on the line). Different geometric clues — like knowing the line is parallel or perpendicular to another line — are really just indirect ways of telling you the slope.

1

Slope (m)

The slope measures steepness: m = (y₂ − y₁) / (x₂ − x₁). A positive slope rises left to right; a negative slope falls.
2

Point-Slope Form

Point-slope form is y − y₁ = m(x − x₁). Use it when you know a point (x₁, y₁) and the slope m. It's the go-to form for writing equations from geometry.
3

Slope-Intercept Form

Slope-intercept form is y = mx + b, where b is the y-intercept. It's great for graphing and is often the 'final answer' form your teacher expects.
4

Parallel Lines

Parallel lines never intersect and have the exact same slope. If line ℓ has slope m, any line parallel to ℓ also has slope m.
5

Perpendicular Lines

Perpendicular lines intersect at 90°. Their slopes are negative reciprocals: if one slope is m, the other is −1/m. Multiplied together, they equal −1.
✦

KEY TAKEAWAY

Think of writing a line equation like giving driving directions. You need two things: which direction to go (the slope) and a starting landmark (a point on the line). Saying a line is 'parallel to another line' is like saying 'drive the same direction as Highway 10.' Saying 'perpendicular' is like saying 'turn 90° from Highway 10.' Either way, the geometric clue tells you the slope, and then the point pins down exactly which line you mean.

SECTION 3

Visual Explanation

Parallel and Perpendicular Lines on the Coordinate Plane

Parallel & Perpendicular Linesxyℓ₁: y = −½x + 5ℓ₂ ∥ ℓ₁ (m = −½)ℓ₃ ⊥ ℓ₁ (m = 2)(0, 0)90°Parallel lines: same slope (−½)Perpendicular lines: slopes multiply to −1 → (−½)(2) = −1
Lines ℓ₁ and ℓ₂ are parallel — they share the same slope of −½ but have different y-intercepts. Line ℓ₃ is perpendicular to ℓ₁ — its slope of 2 is the negative reciprocal of −½. Notice the small square at the intersection indicating a 90° angle.

This diagram captures the two most important geometric relationships for this lesson. When two lines are parallel, they travel in the exact same direction — same slope, different position. When two lines are perpendicular, one line's slope is flipped and negated compared to the other. Specifically, if one line has slope m, the perpendicular line has slope −1/m. These relationships let you extract a slope from geometric context even when no slope number is explicitly stated.

SECTION 4

Mathematical Framework

The equations below are your toolkit. Each one translates a different combination of geometric inputs — a point, a slope, two points, or a relationship to another line — into a usable equation.

SLOPE-INTERCEPT FORM

y=mx+by = mx + b

m = slope of the line; b = y-intercept (the y-value where the line crosses the y-axis). Best used when you already know the slope and the intercept.

POINT-SLOPE FORM

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

(x₁, y₁) = a known point on the line; m = slope. This is your most versatile form — use it whenever you know a point and a slope.

SLOPE FROM TWO POINTS

m=(y2−y1)/(x2−x1)m = (y₂ − y₁) / (x₂ − x₁)

Given two points (x₁, y₁) and (x₂, y₁), compute the rise over run. Then plug m and either point into point-slope form.

PARALLEL & PERPENDICULAR SLOPE RULES

Parallel:m2=m1Perpendicular:m2=−1/m1Parallel: m₂ = m₁ Perpendicular: m₂ = −1/m₁

For parallel lines, copy the slope directly. For perpendicular lines, take the negative reciprocal (flip the fraction and change the sign). Check: m₁ × m₂ = −1.

💡

Strategy Flowchart

Step 1 → Identify what slope information you have (given directly, two points, or a parallel/perpendicular relationship). Step 2 → Determine the slope m. Step 3 → Identify a point on the target line. Step 4 → Plug into point-slope form. Step 5 → Simplify to slope-intercept form if required.

SECTION 5

Detailed Breakdown — Types of Geometric Clues

The problems you'll encounter can be grouped by the type of geometric information given. Each type requires a slightly different first step, but they all converge on the same goal: find the slope, find a point, and write the equation. The diagram below illustrates the four main scenarios side by side.

Four Scenarios for Writing a Line EquationScenario APoint + Slope(2,3)m=2Given: point & slope→ Plug into point-slopeScenario BTwo Points(1,2)(4,5)Given: two points→ Compute slope, thenScenario CParallel + PointpointGiven: ∥ line + point→ Copy slope, thenScenario DPerpendicular + PointGiven: ⊥ line + point→ Negative reciprocalAll Four Converge Here1. Determine the slope m (given, calculated, copied, or flipped).2. Identify a point (x₁, y₁) on the new line.3. Substitute into y − y₁ = m(x − x₁), then simplify.Yellow dots = known points on the target lineDashed lines = reference lines (given); Solid lines = target lines (to find)
The four common scenarios for writing a line equation from geometric data. Regardless of the starting clue, every problem reduces to: find slope + find point → plug into point-slope form.
ScenarioGiven InformationHow to Find the SlopeHow to Find the Point
A — Point + SlopeA point (x₁, y₁) and a slope mAlready givenAlready given
B — Two PointsTwo points (x₁, y₁) and (x₂, y₂)m = (y₂ − y₁) / (x₂ − x₁)Use either given point
C — Parallel + PointEquation of a parallel line + a point on the new lineCopy the slope from the parallel lineUse the given point
D — Perpendicular + PointEquation of a perpendicular line + a point on the new lineNegative reciprocal: m = −1/m₁Use the given point

Summary of the four main scenarios for writing line equations

SECTION 6

Worked Example

Let's walk through a perpendicular-line problem from start to finish. These are often the most challenging because they require multiple transformations of the slope.

Finding the Equation of a Perpendicular Line

  1. 1

    Step 1 — Read the Problem

    Write the equation of the line that passes through the point (4, −1) and is perpendicular to the line y = 3x + 7. Give your answer in slope-intercept form.
  2. 2

    Step 2 — Identify the Slope of the Given Line

    The given line is y = 3x + 7, which is already in slope-intercept form. The slope of this line is m₁ = 3.
    m₁ = 3
  3. 3

    Step 3 — Find the Perpendicular Slope

    Perpendicular lines have slopes that are negative reciprocals of each other. Take the reciprocal of 3 (which is 1/3) and change the sign. So the new slope is m₂ = −1/3.
    m₂ = −1/3
  4. 4

    Step 4 — Plug into Point-Slope Form

    Using the point (4, −1) and slope m = −1/3, substitute into y − y₁ = m(x − x₁): y − (−1) = −1/3 (x − 4) which simplifies to y + 1 = −1/3 (x − 4).
    y + 1 = −1/3 (x − 4)
  5. 5

    Step 5 — Distribute and Simplify

    Distribute −1/3 across (x − 4): y + 1 = −1/3 × x + 4/3. Subtract 1 from both sides: y = −1/3 × x + 4/3 − 1. Convert 1 to thirds: 1 = 3/3. So y = −1/3 × x + 4/3 − 3/3 = −1/3 × x + 1/3.
    y = −1/3 x + 1/3
  6. 6

    Step 6 — Verify

    Check 1: Does (4, −1) satisfy y = −1/3 (4) + 1/3 = −4/3 + 1/3 = −3/3 = −1? ✓ Yes. Check 2: Is the product of slopes −1? 3 × (−1/3) = −1 ✓ The answer is confirmed.

SECTION 7

Comparing the Equation Forms

You may wonder when to use point-slope form versus slope-intercept form. Each form has advantages depending on what information you start with and what your problem is asking for.

FeaturePoint-Slope FormSlope-Intercept Form
Formulay − y₁ = m(x − x₁)y = mx + b
Best When You KnowA point and a slopeThe slope and the y-intercept
StrengthNo extra algebra needed; just plug in directlyEasy to graph; immediately see steepness and y-crossing
LimitationNot as easy to graph from directlyRequires extra algebra if you don't already know b
Typical UseGeometry problems with parallel/perpendicular linesGraphing, identifying intercepts, and final answers

Comparison of Point-Slope and Slope-Intercept Forms

✦

KEY TAKEAWAY

Point-slope form is your Swiss Army knife for geometry problems. Start there, then convert to slope-intercept form as a final step if the problem asks for it. Think of point-slope form as writing a rough draft and slope-intercept form as the polished final copy — different stages of the same process.

SECTION 8

Connection to Advanced Topics

The skill of writing line equations from geometric clues doesn't end here — it's a stepping stone to more advanced math. In Algebra 2, you'll encounter systems of linear equations where you solve for intersection points of lines. In precalculus, you'll use these concepts with vectors and parametric equations. And in calculus, the idea of perpendicular slopes becomes essential when working with normal lines to curves — lines perpendicular to a curve's tangent at a given point.

This Lesson (Geometry)Where It Leads
Writing a line through a point with a given slopeTangent lines in calculus: the slope is the derivative at a point
Parallel lines (same slope)Translating functions: shifting a graph up/down changes b, not m
Perpendicular lines (negative reciprocal slopes)Normal lines to curves, orthogonality in linear algebra
Slope from two pointsAverage rate of change — a precursor to the derivative

How today's skills connect to future math courses

For now, focus on mastering the three-step process: identify the slope, identify a point, and plug into point-slope form. This pattern will repeat in increasingly complex settings throughout your math career.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

Line A has a slope of 4. Line B is perpendicular to Line A. What is the slope of Line B? Explain your reasoning.
Show answer
The slope of Line B is −1/4. Perpendicular lines have slopes that are negative reciprocals of each other. To find the negative reciprocal, you flip the fraction (4 becomes 1/4) and change the sign (positive becomes negative). You can verify: 4 × (−1/4) = −1, which confirms the lines are perpendicular.

Question 2: BASIC CALCULATION

Write the equation of the line that passes through the point (2, 5) with a slope of 3. Give your answer in slope-intercept form.
Show answer
Start with point-slope form: y − 5 = 3(x − 2). Distribute: y − 5 = 3x − 6. Add 5 to both sides: y = 3x − 1. The equation in slope-intercept form is y = 3x − 1. You can verify by substituting (2, 5): 3(2) − 1 = 6 − 1 = 5 ✓.

Question 3: INTERMEDIATE

Write the equation of the line that passes through (−3, 4) and is parallel to the line y = −2x + 9. Give your answer in slope-intercept form.
Show answer
Since the new line is parallel to y = −2x + 9, it has the same slope: m = −2. Use point-slope form with the point (−3, 4): y − 4 = −2(x − (−3)), which becomes y − 4 = −2(x + 3). Distribute: y − 4 = −2x − 6. Add 4: y = −2x − 2. The final answer is y = −2x − 2. Both lines have slope −2 but different y-intercepts (9 vs. −2), confirming they are parallel.

Question 4: APPLIED

A city planner is designing a new road that must cross an existing road at a right angle. The existing road follows the line y = (2/5)x + 3. The new road must pass through the intersection point (5, 5). Write the equation of the new road in slope-intercept form.
Show answer
The existing road has slope 2/5. A road crossing at a right angle is perpendicular, so the new road's slope is the negative reciprocal: m = −5/2. Using point-slope form with (5, 5): y − 5 = −5/2(x − 5). Distribute: y − 5 = −5/2 × x + 25/2. Add 5 (= 10/2): y = −5/2 × x + 25/2 + 10/2 = −5/2 × x + 35/2. The equation is y = −5/2 x + 35/2. Verification: (2/5)(−5/2) = −1 ✓, and plugging in x = 5 gives y = −25/2 + 35/2 = 10/2 = 5 ✓.

Question 5: CRITICAL THINKING

Two lines are perpendicular. One line passes through (1, 2) and (3, 8). The other line passes through (3, 8) and an unknown point (x, 10). Find the value of x.
Show answer
First, find the slope of the first line: m₁ = (8 − 2)/(3 − 1) = 6/2 = 3. Since the lines are perpendicular, the second line has slope m₂ = −1/3. Now use the slope formula with the second line's two points (3, 8) and (x, 10): m₂ = (10 − 8)/(x − 3) = 2/(x − 3). Set this equal to −1/3: 2/(x − 3) = −1/3. Cross-multiply: 6 = −1(x − 3), so 6 = −x + 3, giving x = −3. Verify: slope of second line = (10 − 8)/(−3 − 3) = 2/(−6) = −1/3, and 3 × (−1/3) = −1 ✓.

SUMMARY

Lesson Summary

Summary

Writing a line equation from geometric information always follows the same core process. First, determine the slope — either it's given directly, calculated from two points using m = (y₂ − y₁)/(x₂ − x₁), copied from a parallel line, or found as the negative reciprocal of a perpendicular line's slope. Second, identify a point on the target line. Third, substitute both into point-slope form y − y₁ = m(x − x₁) and simplify to slope-intercept form y = mx + b if needed.

Remember the key geometric relationships: parallel lines share the same slope, while perpendicular lines have slopes whose product is −1. Mastering this three-step workflow — find slope, find point, plug in — gives you a reliable method for every linear equation problem you'll encounter in geometry and beyond.

Varsity Tutors • Grade 9 Math • Writing Lines from Geometry