2.3.2: Writing Equations for Lines
- Page ID
- 35703
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)
( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\id}{\mathrm{id}}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\kernel}{\mathrm{null}\,}\)
\( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\)
\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\)
\( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)
\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)
\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)
\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vectorC}[1]{\textbf{#1}} \)
\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)
\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)
\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)Lesson
Let's explore the relationship between points on a line and the slope of the line.
Exercise \(\PageIndex{1}\): Coordinates and Lengths in the Coordinate Plane

Find each of the following and explain your reasoning:
- The length of segment \(BE\).
- The coordinates of \(E\).
Exercise \(\PageIndex{2}\): What We Mean by an Equation of a Line
Line \(j\) is shown in the coordinate plane.
- What are the coordinates of \(B\) and \(D\)?
- Is point \((20, 15)\) on line \(j\)? Explain how you know.
- Is point \((100, 75)\) on line \(j\)? Explain how you know.
- Is point \((90, 68)\) on line \(j\)? Explain how you know.
- Suppose you know the \(x\)- and \(y\)-coordinates of a point. Write a rule that would allow you to test whether the point is on line \(j\).

Exercise \(\PageIndex{3}\): Writing Relationships from Slope Triangles
Here are two diagrams:
- Complete each diagram so that all vertical and horizontal segments have expressions for their lengths.
- Use what you know about similar triangles to find an equation for the quotient of the vertical and horizontal side lengths of \(\Delta DFE\) in each diagram.


Are you ready for more?
- Find the area of the shaded region by summing the areas of the shaded triangles.
- Find the area of the shaded region by subtracting the area of the unshaded region from the large triangle.
- What is going on here?

Summary
Here are the points \(A\), \(C\), and \(E\) on the same line. Triangles \(ABC\) and \(ADE\) are slope triangles for the line so we know they are similar triangles. Let’s use their similarity to better understand the relationship between \(x\) and \(y\), which make up the coordinates of point \(E\).

The slope for triangle \(ABC\) is \(\frac{2}{1}\) since the vertical side has length 2 and the horizontal side has length 1. The slope we find for triangle \(ADE\) is \(\frac{y}{x}\) because the vertical side has length \(y\) and the horizontal side has length \(x\). These two slopes must be equal since they are from slope triangles for the same line, and so: \(\frac{2}{1}=\frac{y}{x}\).
Since \(\frac{2}{1}=2\) this means that the value of \(y\) is twice the value of \(x\), or that \(y=2x\). This equation is true for any point \((x,y)\) on the line!
Here are two different slope triangles. We can use the same reasoning to describe the relationship between \(x\) and \(y\) for this point \(E\).

The slope for triangle \(ABC\) is \(\frac{2}{1}\) since the vertical side has length 2 and the horizontal side has length 1. For triangle \(ADE\), the horizontal side has length \(x\). The vertical side has length \(y-1\) because the distance from \((x,y)\) to the \(x\)-axis is \(y\) but the vertical side of the triangle stops 1 unit short of the \(x\)-axis. So the slope we find for triangle \(ADE\) is \(\frac{y-1}{x}\). The slopes for the two slope triangles are equal, meaning: \(\frac{2}{1}=\frac{y-1}{x}\)
Since \(y-1\) is twice \(x\), another way to write this equation is \(y-1=2x\). This equation is true for any point \((x,y)\) on the line!
Glossary Entries
Definition: Similar
Two figures are similar if one can fit exactly over the other after rigid transformations and dilations.
In this figure, triangle \(ABC\) is similar to triangle \(DEF\).
If \(ABC\) is rotated around point \(B\) and then dilated with center point \(O\), then it will fit exactly over \(DEF\). This means that they are similar.

Definition: Slope
The slope of a line is a number we can calculate using any two points on the line. To find the slope, divide the vertical distance between the points by the horizontal distance.
The slope of this line is 2 divided by 3 or \(\frac{2}{3}\).

Practice
Exercise \(\PageIndex{4}\)
For each pair of points, find the slope of the line that passes through both points. If you get stuck, try plotting the points on graph paper and drawing the line through them with a ruler.
- \((1,1)\) and \((7,5)\)
- \((1,1)\) and \((5,7)\)
- \((2,5)\) and \((-1,2)\)
- \((2,5)\) and \((-7,-4)\)
Exercise \(\PageIndex{5}\)
Line \(l\) is shown in the coordinate plane.
- What are the coordinates of points \(B\) and \(D\)?
- Is the point \((16,20)\) on line \(l\)? Explain how you know.
- Is the point \((20,24)\) on line \(l\)? Explain how you know.
- Is the point \((80,100)\) on line \(l\)? Explain how you know.
- Write a rule that would allow you to test whether \((x,y)\) is on line \(l\).

Exercise \(\PageIndex{6}\)
Consider the graphed line.

Mai uses Triangle A and says the slope of this line is \(\frac{6}{4}\). Elena uses Triangle B and says no, the slope of this line is 1.5. Do you agree with either of them? Explain.
Exercise \(\PageIndex{7}\)
A rectangle has length 6 and height 4.
Which of these would tell you that quadrilateral \(ABCD\) is definitely not similar to this rectangle? Select all that apply.
- \(AB=BC\)
- \(m\angle ABC=105^{\circ}\)
- \(AB=8\)
- \(BC=8\)
- \(BC=2\cdot AB\)
- \(2\cdot AB=3\cdot BC\)
(From Unit 2.2.1)