Lesson 22 — Equation of a Line
Slope-intercept form y = mx + n, general form Ax + By + C = 0, point-slope and parametric. Slope as tangent of inclination angle. Parallel, perpendicular, point-to-line distance and real applications.
Used in: 1st year HS (15–16 years) · Equiv. Math I Japanese §直線の方程式 · Equiv. Class 10 Analytic Geometry German
The equation of a line admits three equivalent forms: slope-intercept form , general form , and point-slope form . The slope measures how much changes per unit of .
Rigorous notation, full derivation, hypotheses
Rigorous definition
Slope
"The slope of a line passing through two points and is , assuming ." — OpenStax College Algebra 2e, §4.1
Forms of the line equation
"The general equation of a line is , where and are not both zero. [...] If , the equation can be put in slope-intercept form ." — Stitz–Zeager Precalculus, §2.1
Figure: the four positions of a line
Four positions of a line in the plane. Vertical lines have undefined slope.
Parallelism and perpendicularity
Distance from a point to a line
Worked Examples
Exercise list
45 exercises · 11 with worked solution (25%)
- Ex. 22.1Application
Terry is skiing down a steep hill. Terry's elevation, , in feet after seconds, is given by . What is Terry's initial elevation (the value of when )?
Show solution
Substituting in the formula, , so Terry's initial elevation is 3000 feet.Show step-by-step (with the why)
- Write the expression .
- Set in the expression.
- Calculate .
- Conclude that feet.
- Ex. 22.2Application
Jessica is walking home from a friend's house. After 2 minutes, she is 1.4 miles from home. Twelve minutes after leaving, she is 0.9 miles from home. What is her speed in miles per hour?
Show solution
The change in distance is miles in minutes (). Converting minutes to hours ( h), the speed is miles/h.Show step-by-step (with the why)
- Calculate the difference in distance: miles.
- Calculate the difference in time: minutes.
- Convert 10 minutes to hours: hour.
- Divide distance by time: miles/h.
- Ex. 22.3ApplicationAnswer key
A boat is 100 miles from the marina, sailing directly toward it at 10 miles per hour. Write an equation for the distance from the boat to the marina after hours.
Show solution
Each hour the distance decreases by 10 miles, so . - Ex. 22.4Application
Find the slope of the line passing through points and .
Show solution
The change in is and in is , so .Show step-by-step (with the why)
- Calculate $\Delta y = y_2-y_1 = 10-4 = 6$.
- Calculate $\Delta x = x_2-x_1 = 4-2 = 2$.
- Divide $\Delta y$ by $\Delta x$: $6/2 = 3$.
- The slope of the line is .
- Ex. 22.5Application
Find the slope of the line passing through points and .
Show solution
The change in is , in is , so . - Ex. 22.6ApplicationAnswer key
Find the slope of the line passing through points and .
Show solution
The change in is , in is , so . - Ex. 22.7Application
Find the slope of the line passing through points and .
Show solution
The change in is , in is , so . - Ex. 22.8Application
Find the slope of the line passing through points and .
Show solution
The change in is , in is , so . - Ex. 22.9Modeling
Find the linear equation satisfying and .
Show solution
The slope is . Using y+4 = rac{3}{5}(x+5) we get y = rac{3}{5}x -1.Show step-by-step (with the why)
- Calculate the slope: .
- Choose a point, say , and write point-slope form: y+4 = rac{3}{5}(x+5).
- Distribute and isolate : y = rac{3}{5}x -1.
- Check by substituting both given points.
- Ex. 22.10Modeling
Find the linear equation satisfying and .
Show solution
The slope is . With y-4 = -rac{1}{2}(x+1) we get y = -rac{1}{2}x + rac{7}{2}. - Ex. 22.11Modeling
Find the equation of the line passing through points and .
Show solution
The slope is . Substituting in gives , so and . - Ex. 22.12ModelingAnswer key
Find the equation of the line passing through points and .
Show solution
The slope is . Using and point : , so . - Ex. 22.13Modeling
Find the equation of the line passing through points and .
Show solution
The slope is . With y = -rac{1}{3}x + b and : 4 = rac{1}{3} + b, so . - Ex. 22.14Modeling
Find the equation of the line passing through points and .
Show solution
The slope is . Using y = -rac{1}{3}x + b and : 8 = rac{2}{3} + b, so . - Ex. 22.15Modeling
Find the equation of the line whose intercepts are (x-axis) and (y-axis).
Show solution
The slope is m = rac{-3-0}{0-(-2)} = -3/2. Using with , we get y = -rac{3}{2}x - 3. - Ex. 22.16Application
Determine whether the lines and are parallel, perpendicular, or neither.
Show solution
Rewriting: y = rac{4}{7}x - rac{10}{7} and y = -rac{7}{4}x + rac{1}{4}. Since rac{4}{7}\cdot(-rac{7}{4}) = -1, the lines are perpendicular. - Ex. 22.17Application
Determine whether the lines and are parallel, perpendicular, or neither.
Show solution
First: y = 4 - rac{1}{3}x (slope ). Second: (slope ). Slopes are different and product is not , so neither parallel nor perpendicular. - Ex. 22.18ApplicationAnswer key
Determine whether the lines and are parallel, perpendicular, or neither.
Show solution
First: y = 4 - rac{4}{3}x (slope ). Second: y = -rac{4}{3}x - rac{1}{6} (same slope). Since slopes are equal and intercepts differ, the lines are parallel. - Ex. 22.19Application
Determine whether the lines and are parallel, perpendicular, or neither.
Show solution
First: y = rac{2}{3}x - rac{10}{9} (slope ). Second: y = -rac{3}{2}x + rac{1}{2} (slope ). Since , the lines are perpendicular. - Ex. 22.20ApplicationAnswer key
Find the x and y intercepts of the line .
Show solution
For , . For , . Thus and .Show step-by-step (with the why)
- Set and solve → .
- Set and calculate → .
- Write the intercept points: and .
- Ex. 22.21Application
Find the x and y intercepts of the line .
Show solution
For , . For , . Thus and . - Ex. 22.22Application
Find the x and y intercepts of the line .
Show solution
For , . For , . Thus and . - Ex. 22.23ApplicationAnswer key
Find the x and y intercepts of the line .
Show solution
For , . For , . Thus and . - Ex. 22.24Application
Find the x and y intercepts of the line .
Show solution
For , . For , . Thus and . - Ex. 22.25ApplicationAnswer key
Find the x and y intercepts of the line .
Show solution
For , . For , . Thus and . - Ex. 22.26Application
Find the slopes of the lines: Line 1 passes through and ; Line 2 passes through and . Are the lines parallel, perpendicular, or neither?
Show solution
Slope of Line 1: . Slope of Line 2: . Since , the lines are parallel. - Ex. 22.27ApplicationAnswer key
Find the slopes of the lines: Line 1 passes through and ; Line 2 passes through and . Are the lines parallel, perpendicular, or neither?
Show solution
Slope of Line 1: . Slope of Line 2: . Since and , the lines are neither parallel nor perpendicular. - Ex. 22.28Application
Find the slopes of the lines: Line 1 passes through and ; Line 2 passes through and . Are the lines parallel, perpendicular, or neither?
Show solution
Slope of Line 1: . Slope of Line 2: . Since and , the lines are neither parallel nor perpendicular. - Ex. 22.29ApplicationAnswer key
Find the slopes of the lines: Line 1 passes through and ; Line 2 passes through and . Are the lines parallel, perpendicular, or neither?
Show solution
Slope of Line 1: . Slope of Line 2: . Since , the lines are perpendicular. - Ex. 22.30Application
Find the slopes of the lines: Line 1 passes through and ; Line 2 passes through and . Are the lines parallel, perpendicular, or neither?
Show solution
Slope of Line 1: . Slope of Line 2: . Since , the lines are parallel. - Ex. 22.31ApplicationAnswer key
Write the equation of the line parallel to passing through .
Show solution
The slope is . Using point : . - Ex. 22.32Application
Write the equation of the line parallel to passing through .
Show solution
The slope is . With point : . - Ex. 22.33Application
Write the equation of the line perpendicular to passing through .
Show solution
The original slope is , so the perpendicular slope is rac{1}{2}. Using : y+1 = rac{1}{2}(x+4) \Rightarrow y = rac{1}{2}x + 1. - Ex. 22.34Application
Write the equation of the line perpendicular to passing through .
Show solution
The original slope is , so the perpendicular slope is . With : y-1 = -rac{1}{3}(x-3) \Rightarrow y = -rac{1}{3}x + 2. - Ex. 22.35Challenge
Which of the descriptions below corresponds to the graph of the function ?
Show solution
The function has slope , so the line is decreasing and intersects the y-axis at .Show step-by-step (with the why)
- Identify the slope: (negative slope).
- Identify the constant term: (y-intercept).
- Conclude that the line descends from left to right and crosses the y-axis at .
- Choose the option that describes this behavior.
- Ex. 22.36Challenge
Which of the descriptions below corresponds to the graph of the function ?
Show solution
The slope indicates negative slope with greater magnitude than , so the line is steeper and decreasing, crossing the y-axis at .Show step-by-step (with the why)
- Slope → negative slope.
- Constant term → y-intercept at .
- The magnitude indicates steeper slope than .
- Select the alternative that describes this line.
- Ex. 22.37Understanding
If two lines are perpendicular, how do their slopes relate?
Show solution
For perpendicular lines, .Show step-by-step (with the why)
- Denote the slopes and .
- Use the geometric property of right angles.
- Conclude that .
- Ex. 22.38Understanding
What intersection point results from combining a horizontal line and a vertical line ?
Show solution
The horizontal line has , the vertical has , so the intersection is . - Ex. 22.39Understanding
Can the equation be written as a linear function?
Show solution
The form characterizes linear functions; therefore the equation represents a line. - Ex. 22.40Understanding
Can the equation be written as a linear function?
Show solution
The expression has the standard form , so it is linear. - Ex. 22.41UnderstandingAnswer key
Does the equation represent a linear function?
Show solution
The presence of the term makes the relation nonlinear. - Ex. 22.42Understanding
Can the equation be written as a linear function?
Show solution
Isolating : 5y = -3x + 15 \Rightarrow y = -rac{3}{5}x + 3, linear form. - Ex. 22.43Understanding
Does the equation represent a linear function?
Show solution
The term prevents the relation from being linear. - Ex. 22.44Proof
Sketch the graph of the function .
Show solution
With and , the line descends two units in for each unit advanced in .Show step-by-step (with the why)
- Identify the slope (negative slope).
- Identify the y-intercept at .
- Mark the points and .
- Draw a straight line through these points.
- Ex. 22.45Proof
Sketch the graph of the function .
Show solution
The y-intercept is $y=2$ and the slope is $-3$, indicating a line that descends three units in $y$ for each unit advanced in $x$.Show step-by-step (with the why)
- Slope (negative slope).
- y-intercept at .
- Mark and .
- Draw the line through these points.
Fontes
- OpenStax College Algebra 2e — Jay Abramson et al. (OpenStax) · 2022 · EN · CC-BY 4.0 · §4.1 Linear Functions, §4.2 Modeling with Linear Functions, §4.3 Fitting Linear Models to Data. Primary source.
- Stitz–Zeager Precalculus — Carl Stitz & Jeff Zeager · 2013 · EN · CC-BY-NC-SA · §2.1 Linear Functions, §2.2 Absolute Value Functions.
- OpenStax Algebra and Trigonometry 2e — OpenStax · 2022 · EN · CC-BY 4.0 · §2.2 Graphs of Linear Functions.