[cite: 1] [cite: 1]
Examples on how to find the equations of lines given their graphs. Examples and exercises are presented along with their detailed solutions and answers.
The following formulas for slopes and equations of lines are used to solve the examples below:
Find the equation of the line whose graph is shown below and write it in slope-intercept form.
Use two points \((2, 2)\) and \((3, 4)\) from the graph to find the slope \(m\):
\[ m = \dfrac{4 - 2}{3 - 2} = 2 \]Using a point and the slope in point-slope form:
\[ y - 2 = 2(x - 2) \]Simplifying to slope-intercept form:
\[ y = 2x - 2 \]Find the equation of the line whose graph, including the rise and run, is shown below.
The slope of the line is given by:
\[ m = \dfrac{\text{rise}}{\text{run}} = \dfrac{\Delta y}{\Delta x} = \dfrac{2}{2} = 1 \]The \(y\)-intercept is the point \((0, -\frac{3}{2})\).
The equation in slope-intercept form is:
\[ y = x - \frac{3}{2} \]Find the equation, in slope-intercept form, of the line whose graph, including the fall and run, is shown below.
The slope of the line is given by:
\[ m = \dfrac{\text{fall}}{\text{run}} = \dfrac{\Delta y}{\Delta x} = \dfrac{-4.5}{3} = -1.5 \]Given the point \((1, -5)\) and slope, use point-slope form:
\[ y - (-5) = -1.5(x - 1) \]In slope-intercept form:
\[ y = -1.5x - 3.5 \]Find the equation of the horizontal line whose graph is shown below.
The equation of the horizontal line passing through \((0, -3)\) is:
\[ y = -3 \]Find the equation of the vertical line whose graph is shown below.
The equation of the vertical line passing through \((2, 0)\) is:
\[ x = 2 \]Find the slope-intercept form of the equation of line \(L_2\) that is perpendicular to line \(L_1\) as shown below.
First, find the slope \(m_1\) of line \(L_1\) passing through points like \((-4, 0)\) and \((2, 2)\):
\[ m_1 = \dfrac{2 - 0}{2 - (-4)} = \dfrac{2}{6} = \dfrac{1}{3} \]Since \(L_1\) and \(L_2\) are perpendicular, their slopes satisfy \(m_1 \cdot m_2 = -1\):
\[ m_2 = -\dfrac{1}{m_1} = -\dfrac{1}{1/3} = -3 \]Using point \((-4, 0)\) on \(L_2\) and slope \(m_2 = -3\):
\[ y - 0 = -3(x - (-4)) \implies y = -3x - 12 \]Find the equations of the lines \(L_1\), \(L_2\), \(L_3\), and \(L_4\) such that \(L_2\) is parallel to \(L_1\), \(L_3\) is perpendicular to \(L_1\), and \(L_4\) is a horizontal line.