Skip to main content
Mathematics LibreTexts

2.2: Linear Functions and Their Graphs

  • Page ID
    6234
    • Anonymous
    • LibreTexts
    \( \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}}\)

    Learning Objectives

    • Graph a line by plotting points.
    • Determine the slope of a line.
    • Identify and graph a linear function using the slope and \(y\)-intercept.
    • Interpret solutions to linear equations and inequalities graphically.

    A Review of Graphing Lines

    Recall that the set of all solutions to a linear equation can be represented on a rectangular coordinate plane using a straight line through at least two points; this line is called its graph. For example, to graph the linear equation \(8x + 4y = 12\) we would first solve for \(y\).

    \(\begin{aligned} 8 x + 4 y & = 12 \quad\quad\quad\quad \color{Cerulean}{Subtract\: 8x\: on\: both\: sides.} \\ 4 y & = - 8 x + 12 \quad \color{Cerulean}{Divide\: both\: sides\: by\: 4.} \\ y & = \frac { - 8 x + 12 } { 4 }\quad \color{Cerulean}{Simplify.} \\ y & = \frac { - 8 x } { 4 } + \frac { 12 } { 4 } \\ y & = - 2 x + 3 \end{aligned}\)

    Written in this form, we can see that \(y\) depends on \(x\); in other words, \(x\) is the independent variable18 and \(y\) is the dependent variable19. Choose at least two \(x\)-values and find the corresponding \(y\)-values. It is a good practice to choose zero, some negative numbers, as well as some positive numbers. Here we will choose five \(x\)-values, determine the corresponding \(y\)-values, and then form a representative set of ordered pair solutions.

    \(x\) \(y\) \(y=-2x+3\) Solutions

    \(−2\)

    \(7\)

    \(y=−2(\color{Cerulean}{−2}\color{Black}{)}+3=4+3=7\)

    \((−2, 7)\)

    \(−1\)

    \(5\)

    \(y=−2(\color{Cerulean}{−1}\color{Black}{)}+3=2+3=5\)

    \((−1, 5)\)

    \(0\)

    \(3\)

    \(y=−2(\color{Cerulean}{0}\color{Black}{)}+3=0+3=3\)

    \((0, 3)\)

    \(4\)

    \(−5\)

    \(y=−2(\color{Cerulean}{4}\color{Black}{)}+3=−8+3=−5\)

    \((4, −5)\)

    \(6\)

    \(−9\)

    \(y=−2(\color{Cerulean}{6}\color{Black}{)}+3=−12+3=−9\)

    \((6, −9)\)

    Table \(\PageIndex{1}\)

    Plot the points and draw a line through the points with a straightedge. Be sure to add arrows on either end to indicate that the graph extends indefinitely.

    0244f9b50115f258989e40e7e426dc63.png
    Figure \(\PageIndex{1}\)

    The resulting line represents all solutions to \(8x+4y=12\), of which there are infinitely many. The above process describes the technique for graphing known as plotting points20. This technique will be used to graph more complicated functions as we progress in this course.

    The steepness of any incline can be measured as the ratio of the vertical change to the horizontal change. For example, a \(5\)% incline can be written as \(\frac{5}{100}\), which means that for every \(100\) feet forward, the height increases \(5\) feet.

    44f82796f7f071a80cad03b3a908622e.png
    Figure \(\PageIndex{2}\)

    In mathematics, we call the incline of a line the slope21, denoted by the letter m. The vertical change is called the rise22 and the horizontal change is called the run23. Given any two points \((x1, y1)\) and \((x2, y2)\), we can obtain the rise and run by subtracting the corresponding coordinates.

    fbf2e7be33395f3360392a9bb9c72aa8.png
    Figure \(\PageIndex{3}\)

    This leads us to the slope formula24. Given any two points \((x1, y1)\) and \((x2, y2)\), the slope is given by:

    \(\color{Cerulean}{Slope} \:\:\:\color{Black}{m} = \frac {rise} {run} = \frac { y _ { 2 } - y _ { 1 } } { x _ { 2 } - x _ { 1 } } = \frac { \Delta y } { \Delta x } \quad \begin{array} { l l } { \color{Cerulean} { \gets\:\: Change\: in\: } y } \\ { \color{Cerulean} {\gets\:\: Change\: in\: } x } \end{array}\)

    The Greek letter delta (\(Δ\)) is often used to describe the change in a quantity. Therefore, the slope is sometimes described using the notation \(\frac{Δy}{Δx}\), which represents the change in \(y\) divided by the change in \(x\).

    Example \(\PageIndex{1}\):

    Find the slope of the line passing through \((−3, −5)\) and \((2, 1)\).

    Solution

    Given \((−3, −5)\) and \((2, 1)\), calculate the difference of the \(y\)-values divided by the difference of the x-values. Take care to be consistent when subtracting the coordinates:

    \(\begin{array} { l l } { \left( x _ { 1 } , y _ { 1 } \right) } & { \left( x _ { 2 } , y _ { 2 } \right) } \\ { ( - 3 , - 5 ) } & { ( 2,1 ) } \end{array}\)

    \(\begin{aligned} m & = \frac { y _ { 2 } - y _ { 1 } } { x _ { 2 } - x _ { 1 } } \\ & = \frac { 1 - ( - 5 ) } { 2 - ( - 3 ) } \\ & = \frac { 1 + 5 } { 2 + 3 } \\ & = \frac { 6 } { 5 } \end{aligned}\)

    It does not matter which point you consider to be the first and second. However, because subtraction is not commutative, you must take care to subtract the coordinates of the first point from the coordinates of the second point in the same order. For example, we obtain the same result if we apply the slope formula with the points switched:

    \(\begin{array} { l } { \left( x _ { 1 } , y _ { 1 } \right) \quad \left( x _ { 2 } , y _ { 2 } \right) } \\ { ( 2,1 ) \quad ( - 3 , - 5 ) } \end{array}\)

    \(\begin{aligned} m & = \frac { y _ { 2 } - y _ { 1 } } { x _ { 2 } - x _ { 1 } } \\ & = \frac { - 5 - 1 } { - 3 - 2 } \\ & = \frac { - 6 } { - 5 } \\ & = \frac { 6 } { 5 } \end{aligned}\)

    Answer:

    \(m=\frac{6}{5}\)

    Verify that the slope is \(\frac{6}{5}\) by graphing the line described in the previous example.

    47a6a3a8626ad58361ab3f4f7f4db808.png
    Figure \(\PageIndex{4}\)

    Certainly the graph is optional; the beauty of the slope formula is that, given any two points, we can obtain the slope using only algebra.

    Example \(\PageIndex{2}\):

    Find the \(y\)-value for which the slope of the line passing through \((6, −3)\) and \((−9, y)\) is \(−\frac{2}{3}\).

    Solution

    Substitute the given information into the slope formula.

    \(\begin{array} { l l } { \text { Slope } } & { \left( x _ { 1 } , y _ { 1 } \right) } & { \left( x _ { 2 } , y _ { 2 } \right) } \\ { m = - \frac { 2 } { 3 } } & { ( 6 , - 3 ) } & { ( - 9 , y ) } \end{array}\)

    \(\begin{aligned} m & = \frac { y _ { 2 } - y _ { 1 } } { x _ { 2 } - x _ { 1 } } \\ - \frac { 2 } { 3 } & = \frac { y - ( - 3 ) } { - 9 - 6 } \\ - \frac { 2 } { 3 } & = \frac { y + 3 } { - 15 } \end{aligned}\)

    After substituting in the given information, the only variable left is \(y\). Solve.

    \(\begin{aligned} \color{Cerulean}{- 15}\color{Black}{ \left( - \frac { 2 } { 3 } \right)} & = \color{Cerulean}{- 15}\color{Black}{ \left( - \frac { y + 3 } { 15 } \right)} \\ 10 & = y + 3 \\ 7 & = y \end{aligned}\)

    Answer:

    \(y=7\)

    There are four geometric cases for the value of the slope.

    1937e900a5722c4c34b039ba0cc01e05.png
    Figure \(\PageIndex{5}\)

    Reading the graph from left to right, lines with an upward incline have positive slopes and lines with a downward incline have negative slopes. The other two cases involve horizontal and vertical lines. Recall that if \(k\) is a real number we have

    \(\begin{array} { l } { y = k \color{Cerulean} { Horizontal line } } \\ { x = k \color{Cerulean} { Vertical line } } \end{array}\)

    For example, if we graph \(y=2\) we obtain a horizontal line, and if we graph \(x=−4\) we obtain a vertical line.

    c9a3bfd24ed1288a534c5597f0e47413.png
    Figure \(\PageIndex{6}\)

    From the graphs we can determine two points and calculate the slope using the slope formula.

    Horizontal Line Vertical Line

    \(\begin{array} { l l } { \left( x _ { 1 } , y _ { 1 } \right) } & { \left( x _ { 2 } , y _ { 2 } \right) } \\ { ( - 3,2 ) } & { ( 3,2 ) } \end{array}\)

    \(\begin{aligned} m & = \frac { y _ { 2 } - y _ { 1 } } { x _ { 2 } - x _ { 1 } } \\ & = \frac { 2 - ( 2 ) } { 3 - ( - 3 ) } \\ & = \frac { 2 - 2 } { 3 + 3 } \\ & = \frac { 0 } { 6 } = 0 \end{aligned}\)

    \(\begin{array} { c c } { \left( x _ { 1 } , y _ { 1 } \right) } & { \left( x _ { 2 } , y _ { 2 } \right) } \\ { ( - 4 , - 1 ) } & { ( - 4,1 ) } \end{array}\)

    \(\begin{aligned} m & = \frac { y _ { 2 } - y _ { 1 } } { x _ { 2 } - x _ { 1 } } \\ & = \frac { 1 - ( - 1 ) } { - 4 - ( - 4 ) } \\ & = \frac { 1 + 1 } { - 4 + 4 } \\ & = \frac { 2 } { 0 } \quad\quad\quad\quad \color{Cerulean} { Undefined } \end{aligned}\)

    Table \(\PageIndex{2}\)

    Notice that the points on the horizontal line share the same \(y\)-values. Therefore, the rise is zero and hence the slope is zero. The points on the vertical line share the same \(x\)-values. Consequently, the run is zero, leading to an undefined slope. In general,

    a7c8b429b81c4191b69e332116d192b5.png
    Figure \(\PageIndex{7}\)

    Linear Functions

    Given any linear equation in standard form25, \(ax + by = c\), we can solve for \(y\) to obtain slope-intercept form26, \(y = mx + b\). For example,

    \(\begin{aligned} 3 x - 4 y & = 8\quad\quad\quad\color{Cerulean}{\gets \:\:Standard\: form} \\ - 4 y & = - 3 x + 8 \\ y & = \frac { - 3 x + 8 } { - 4 } \\ y & = \frac { - 3 x } { - 4 } + \frac { 8 } { - 4 } \\ y & = \frac { 3 } { 4 } x - 2 \quad\color{Cerulean} {\gets\:\: Slope-lntercept\: Form } \end{aligned}\)

    Where \(x=0\), we can see that \(y=−2\) and thus \((0,−2)\) is an ordered pair solution. This is the point where the graph intersects the \(y\)-axis and is called the \(y\)-intercept27. We can use this point and the slope as a means to quickly graph a line. For example, to graph \(y=\frac{3}{4}x−2\), start at the \(y\)-intercept \((0,−2)\) and mark off the slope to find a second point. Then use these points to graph the line as follows:

    6b9765d69c08031feace9f698f6a8887.png
    Figure \(\PageIndex{8}\)

    The vertical line test indicates that this graph represents a function. Furthermore, the domain and range consists of all real numbers.

    8c6a1121fa317dd71ca28ba409ab2c41.png
    Figure \(\PageIndex{9}\)

    In general, a linear function28 is a function that can be written in the form

    \(f ( x ) = m x + b\:\:\color{Cerulean}{Linear\:Function}\)

    where the slope \(m\) and \(b\) represent any real numbers. Because \(y = f (x)\), we can use \(y\) and \(f (x)\) interchangeably, and ordered pair solutions on the graph \((x, y)\) can be written in the form \((x, f (x))\).

    \(( x , y ) \quad \color{Cerulean}{\Leftrightarrow} \quad \color{Black}{(} x , f ( x ) )\)

    We know that any \(y\)-intercept will have an \(x\)-value equal to zero. Therefore, the \(y\)-intercept can be expressed as the ordered pair \((0, f (0))\).For linear functions,

    \(\begin{aligned} f ( \color{Cerulean}{0}\color{Black}{ )} & = m ( \color{Cerulean}{0}\color{Black}{ )} + b \\ & = b \end{aligned}\)

    Hence, the \(y\)-intercept of any linear function is \((0, b)\).To find the x-intercept29, the point where the function intersects the \(x\)-axis, we find \(x\) where \(y = 0\) or \(f (x) = 0\).

    Example \(\PageIndex{3}\):

    Graph the linear function \(f(x)=−\frac{5}{3}x+6\) and label the \(x\)-intercept.

    Solution

    From the function, we see that \(f(0)=6\) (or \(b=6\)) and thus the \(y\)-intercept is \((0, 6)\). Also, we can see that the slope \(m=−\frac{5}{3}=−\frac{5}{3}=\frac{rise}{run}\). Starting from the \(y\)-intercept, mark a second point down \(5\) units and right \(3\) units. Draw the line passing through these two points with a straightedge.

    d4830fed42f5b2eb4ba09b1c9a93dfd6.png
    Figure \(\PageIndex{10}\)

    To determine the \(x\)-intercept, find the \(x\)-value where the function is equal to zero. In other words, determine \(x\) where \(f(x)=0\).

    \(\begin{aligned} f ( x ) & = - \frac { 5 } { 3 } x + 6 \\ 0 & = - \frac { 5 } { 3 } x + 6 \\ \frac { 5 } { 3 } x & = 6 \\ \left( \color{Cerulean}{\frac { 3 } { 5 }} \right) \frac { 5 } { 3 } x & = \left( \color{Cerulean}{\frac { 3 } { 5 }} \right) 6 \\ x & = \frac { 18 } { 5 } = 3 \frac { 3 } { 5 } \end{aligned}\)

    Therefore, the \(x\)-intercept is \((\frac{18}{5},0)\). The general rule is to label all important points that cannot be clearly read from the graph.

    Answer:

    d31fac765e2408cdd6a02ff500472947.png
    Figure \(\PageIndex{11}\)

    Example \(\PageIndex{4}\):

    Determine a linear function that defines the given graph and find the \(x\)-intercept.

    7c2d4bce240f9afd2d0d5c28ab2cee2c.png
    Figure \(\PageIndex{12}\)

    Solution

    We begin by reading the slope from the graph. In this case, two points are given and we can see that,

    \(m = \frac { r i s e } { r u n } = \frac { - 2 } { 3 }\)

    In addition, the \(y\)-intercept is \((0, 3)\) and thus \(b=3\). We can substitute into the equation for any linear function.

    \(\begin{array} { c } { g ( x ) = m x + b } \\ \quad\quad\quad\color{Cerulean}{\downarrow\quad\quad\downarrow} \\ { g ( x ) = - \frac { 2 } { 3 } x + 3 } \end{array}\)

    To find the \(x\)-intercept, we set \(g(x)=0\) and solve for \(x\).

    \(\begin{aligned} g ( x ) & = - \frac { 2 } { 3 } x + 3 \\ 0 & = - \frac { 2 } { 3 } x + 3 \\ \frac { 2 } { 3 } x & = 3 \\ \left( \color{Cerulean}{\frac { 3 } { 2 }} \right) \frac { 2 } { 3 } x & = \left( \color{Cerulean}{\frac { 3 } { 2 }} \right) 3 \\ x & = \frac { 9 } { 2 } = 4 \frac { 1 } { 2 } \end{aligned}\)

    Answer:

    \(g(x)=−\frac{2}{3}x+3\); \(x\)-intercept: \((\frac{9}{2},0)\)

    Next, consider horizontal and vertical lines. Use the vertical line test to see that any horizontal line represents a function, and that a vertical line does not.

    5ad671aeecab21526320fced06da0ecf.png
    Figure \(\PageIndex{13}\)

    Given any horizontal line, the vertical line test shows that every \(x\)-value in the domain corresponds to exactly one \(y\)-value in the range; it is a function. A vertical line, on the other hand, fails the vertical line test; it is not a function. A vertical line represents a set of ordered pairs where all of the elements in the domain are the same. This violates the requirement that functions must associate exactly one element in the range to each element in the domain. We summarize as follows:

    Horizontal Line Vertical Line
    Equation: \(y=2\) \(x=-3\)
    \(x\)-intercept: None \((-3,0)\)
    \(y\)-intercept: \((0,2)\) None
    Domain: \(( - \infty , \infty )\) \(\{ - 3 \}\)
    Range: \(\{ 2 \}\) \(( - \infty , \infty )\)
    Function: Yes No
    Table \(\PageIndex{3}\)

    A horizontal line is often called a constant function. Given any real number \(c\),

    \(f ( x ) = c\:\:\:\color{Cerulean}{Constant\: Function}\)

    Example \(\PageIndex{5}\):

    Graph the constant function \(g(x)=−2\) and state the domain and range.

    Solution

    Here we are given a constant function that is equivalent to \(y=−2\). This defines a horizontal line through \((0,−2)\).

    a90d830abb8ae95ee20344c4f4eec389.png
    Figure \(\PageIndex{14}\)

    Answer:

    Domain: \(ℝ\); range: \(\{−2\}\)

    Exercise \(\PageIndex{1}\)

    Graph \(f(x)=3x−2\) and label the \(x\)-intercept.

    Answer
    802ac96a297617787cf6a402dc3d2545.png
    Figure \(\PageIndex{15}\)

    www.youtube.com/v/iyePPmPaMlA

    Linear Equations and Inequalities: A Graphical Interpretation

    We can use the ideas in this section to develop a geometric understanding of what it means to solve equations of the form \(f (x) = g (x)\), where \(f\) and \(g\) are linear functions. Using algebra, we can solve the linear equation \(\frac{1}{2} x + 1 = 3\) as follows:

    \(\begin{aligned} \frac { 1 } { 2 } x + 1 & = 3 \\ \frac { 1 } { 2 } x & = 2 \\ (\color{Cerulean}{ 2 }\color{Black}{)} \frac { 1 } { 2 } x & = ( \color{Cerulean}{2}\color{Black}{)} 2 \\ x & = 4 \end{aligned}\)

    The solution to this equation is \(x = 4\). Geometrically, this is the \(x\)-value of the intersection of the two graphs \(f (x) = \frac{1}{2} x + 1\) and \(g (x) = 3\). The idea is to graph the linear functions on either side of the equation and determine where the graphs coincide.

    Example \(\PageIndex{6}\):

    Graph  \(f(x)=\frac{1}{2}x+1\) and \(g(x)=3\) on the same set of axes and determine where \(f(x)=g(x)\).

    Solution

    Here \(f\) is a linear function with slope \(\frac{1}{2}\) and \(y\)-intercept \((0,1)\). The function \(g\) is a constant function and represents a horizontal line. Graph both of these functions on the same set of axes.

    9c0d4ecab240afdf9d8c4a8f0d387f29.png
    Figure \(\PageIndex{16}\)

    From the graph we can see that \(f(x)=g(x)\) where \(x=4\). In other words, \(\frac{1}{2}x+1=3\) where \(x=4\).

    Answer:

    \(x = 4\)

    We can extend the geometric interpretation a bit further to solve inequalities. For example, we can solve the linear inequality \(\frac{1}{2} x + 1 ≥ 3\), using algebra, as follows:

    \(\begin{array} { c } { \frac { 1 } { 2 } x + 1 \geq 3 } \\ { \quad \frac { 1 } { 2 } x \geq 2 } \\ ({ \color{Cerulean}{ 2}\color{Black}{)} \frac { 1 } { 2 } x \geq ( \color{Cerulean}{2}\color{Black}{ )} 2 } \\ { x \geq 4 } \end{array}\)

    The solution set consists of all real numbers greater than or equal to \(4\). Geometrically, these are the \(x\)-values for which the graph \(f (x) = 1 2 x + 1\) lies above the graph of \(g (x) = 3\).

    Example \(\PageIndex{7}\):

    Graph \(f(x)=\frac{1}{2}x+1\) and \(g(x)=3\) on the same set of axes and determine where \(f(x)≥g(x)\).

    Solution

    On the graph we can see this shaded.

    3c382de66a8835a4c11154dee0841ead.png
    Figure \(\PageIndex{17}\)

    From the graph we can see that \(f(x)≥g(x)\) or \(\frac{1}{2}x+1≥3\) where \(x≥4\).

    Answer:

    The \(x\)-values that solve the inequality, in interval notation, are \([4,∞)\).

    Key Takeaways

    • We can graph lines by plotting points. Choose a few values for \(x\), find the corresponding \(y\)-values, and then plot the resulting ordered pair solutions. Draw a line through the points with a straightedge to complete the graph.
    • Given any two points on a line, we can calculate the slope algebraically using the slope formula, \(m = \frac{rise}{run} = \frac{y_{2}−y_{1}}{x_{2}−x_{1}} = \frac{Δy}{Δx}\).
    • Use slope-intercept form \(y = mx + b\) to quickly sketch the graph of a line. From the \(y\)-intercept \((0, b)\), mark off the slope to determine a second point. Since two points determine a line, draw a line through these two points with a straightedge to complete the graph.
    • Linear functions have the form \(f (x) = mx + b\), where the slope \(m\) and \(b\) are real numbers. To find the \(x\)-intercept, if one exists, set \(f (x) = 0\: \)and solve for \(x\).
    • Since \(y = f (x)\) we can use \(y\) and \(f (x)\) interchangeably. Any point on the graph of a function can be expressed using function notation \((x, f (x))\).

    Exercise \(\PageIndex{2}\)

    Find five ordered pair solutions and graph.

    1. \(y = 3x − 6\)
    2. \(y = 2x − 4\)
    3. \(y = −5x + 15\)
    4. \(y = −3x + 18\)
    5. \(y = \frac{1}{2} x + 8\)
    6. \(y = \frac{2}{3} x + 2\)
    7. \(y = −\frac{3}{5} x + 1\)
    8. \(y = −\frac{3}{2} x + 4\)
    9. \(y = \frac{1}{4} x\)
    10. \(y = −\frac{2}{5} x\)
    11. \(y = 10\)
    12. \(x = −1\)
    13. \(6x + 3y = 18\)
    14. \(8x − 2y = 16\)
    15. \(−2x + 4y = 8\)
    16. \(−x + 3y = 18\)
    17. \(\frac{1}{2} x − \frac{1}{5} y = 1\)
    18. \(\frac{1}{6} x − \frac{2}{3} y = 2\)
    19. \(x + y = 0\)
    20. \(−x + y = 0\)
    Answer

    1.

    f3d050fa1174f80fdcd15b1b0a9785d1.png
    Figure \(\PageIndex{18}\)

    3.

    17848b86dfcb89c8761e39a24ef7d418.png
    Figure \(\PageIndex{19}\)

    5.

    Figure \(\PageIndex{20}\)

    7.

    Figure \(\PageIndex{21}\)

    9.

    Figure \(\PageIndex{22}\)

    11.

    dc3db788e84c9672afa8978b2e5f918d.png
    Figure \(\PageIndex{23}\)

    13.

    5cd7756525987be0ec84a932537d44a0.png
    Figure \(\PageIndex{24}\)

    15.

    8b942d6e42365130c616b1d4d43c26dc.png
    Figure \(\PageIndex{25}\)

    17.

    0ae2c1dfd4af8723fa52d9b5ae6dabf3.png
    Figure \(\PageIndex{26}\)

    19.

    38b6ccf78ba14dc25d4a6ffabfefd10b.png
    Figure \(\PageIndex{27}\)

    Exercise \(\PageIndex{3}\)

    Find the slope of the line passing through the given points.

    1. \((-2, -4)\) and \((1, -1)\)
    2. \((-3,0)\) and \((3, -4)\)
    3. \((-\frac{5}{2}, \frac{1}{4})\) and \((-\frac{1}{2}, \frac{5}{4})\)
    4. \((-4, -3)\) and \((-2, -3)\)
    5. \((9, -5)\) and \((9, -6)\)
    6. \((\frac{1}{2}, -1)\) and \((-1, -\frac{3}{2})\)
    Answer

    1. \(1\)

    3. \(\frac{1}{2}\)

    5. Undefined

    Exercise \(\PageIndex{4}\)

    Find the \(y\)-value for which the slope of the line passing through given points has the given slope.

    1. \(m = \frac { 3 } { 2 } ; ( 6,10 ) , ( - 4 , y )\)
    2. \(m = - \frac { 1 } { 3 } ; ( - 6,4 ) , ( 9 , y )\)
    3. \(m = - 4 ; ( - 2,5 ) , ( - 1 , y )\)
    4. \(m = 3 ; ( 1 , - 2 ) , ( - 2 , y )\)
    5. \(m = \frac { 1 } { 5 } ; ( 1 , y ) , \left( 6 , \frac { 1 } { 5 } \right)\)
    6. \(m = - \frac { 3 } { 4 } ; ( - 1 , y ) , ( - 4,5 )\)
    Answer

    1. \(y=-5\)

    3. \(y=1\)

    5. \(y=-\frac{4}{5}\)

    Exercise \(\PageIndex{5}\)

    Given the graph, determine the slope.

    1.

    956d7b6b4031a799fc9b6d12b722e140.png
    Figure \(\PageIndex{28}\)

    2.

    434dbaf198fb18199a9cfa2c0e8d0766.png
    Figure \(\PageIndex{29}\)

    3.

    7b5a473ccbc9dd7057897771a874bf53.png
    Figure \(\PageIndex{30}\)

    4.

    db48810d3eacf46e19d2ba15ac9155cc.png
    Figure \(\PageIndex{31}\)

    5.

    41661f8a2aab3b531eada7499f707111.png
    Figure \(\PageIndex{32}\)

    6.

    c0c8eedb901784cb201bb1cae119cc52.png
    Figure \(\PageIndex{33}\)

    7.

    833b9adf04e15e6f72a3801336f5cf4c.png
    Figure \(\PageIndex{34}\)

    8.

    224ad953d35f57d53c40bb241498714a.png
    Figure \(\PageIndex{35}\)
    Answer

    1. \(m = \frac { 1 } { 3 }\)

    3. \(m = - \frac { 7 } { 3 }\)

    5. \(m = \frac { 4 } { 3 }\)

    7. \(m=0\)

    Exercise \(\PageIndex{6}\)

    Find the \(x\)- and \(y\)-intercepts and use them to graph the following functions.

    1. \(6x − 3y = 18\)
    2. \(8x − 2y = 8\)
    3. \(−x + 12y = 6\)
    4. \(−2x − 6y = 8\)
    5. \(x − 2y = 5\)
    6. \(−x + 3y = 1\)
    7. \(2x + 3y = 2\)
    8. \(5x − 4y = 2\)
    9. \(9x − 4y = 30\)
    10. \(−8x + 3y = 28\)
    11. \(\frac{1}{3} x + \frac{1}{2} y = −3\)
    12. \(\frac{1}{4} x − \frac{1}{3} y = 3\)
    13. \(\frac{7}{9} x − \frac{2}{3} y = \frac{14}{3}\)
    14. \(\frac{1}{8} x − \frac{1}{6} y = −\frac{3}{2}\)
    15. \(−\frac{1}{6} x + \frac{2}{9} y = \frac{4}{3}\)
    16. \(\frac{2}{15} x + \frac{1}{6} y = \frac{4}{3}\)
    17. \(y = −\frac{1}{4} x + \frac{1}{2}\)
    18. \(y = \frac{3}{8} x −\frac{3}{2}\)
    19. \(y = \frac{2}{3} x + \frac{1}{2}\)
    20. \(y = \frac{4}{5} x + 1\)
    Answer

    1.

    992eaaf11a61abf03fccaeccc3f01458.png
    Figure \(\PageIndex{36}\)

    3.

    Figure \(\PageIndex{37}\)

    5.

    900dfd5a1cc6392dea8acb72dc6b707c.png
    Figure \(\PageIndex{38}\)

    7.

    48cb73c2a7361fb36f93d6933ee39647.png
    Figure \(\PageIndex{39}\)

    9.

    3342ec55327f78c5a765e0ee78566bb9.png
    Figure \(\PageIndex{40}\)

    11.

    930f03c60e52b7f02283f576335651f6.png
    Figure \(\PageIndex{41}\)

    13.

    Figure \(\PageIndex{42}\)

    15.

    15936a0d88f867dc2f0834671aefe080.png
    Figure \(\PageIndex{43}\)

    17.

    93d09e6ed625d6abf125a6380d755554.png
    Figure \(\PageIndex{44}\)

    19.

    6ffa3512fc631f2ec6e3dc8d84412a9a.png
    Figure \(\PageIndex{45}\)

    Exercise \(\PageIndex{7}\)

    Graph the linear function and label the \(x\)-intercept.

    1. \(f (x) = −5x + 15\)
    2. \(f (x) = −2x + 6\)
    3. \(f (x) = −x − 2\)
    4. \(f (x) = x + 3\)
    5. \(f (x) = \frac{1}{3} x + 2\)
    6. \(f (x) = \frac{5}{2} x + 10\)
    7. \(f (x) = \frac{5}{3} x + 2\)
    8. \(f (x) = \frac{2}{5} x − 3\)
    9. \(f (x) = −\frac{5}{6} x + 2\)
    10. \(f (x) = −\frac{4}{3} x + 3\)
    11. \(f (x) = 2x\)
    12. \(f (x) = 3\)
    Answer

    1.

    faf9741c466215738bf97b09c7b2777c.png
    Figure \(\PageIndex{46}\)

    3.

    5705befb59614c1fd8f502c6f52f3a6e.png
    Figure \(\PageIndex{47}\)

    5.

    464e8f67c6df03be65cef45439709db6.png
    Figure \(\PageIndex{48}\)

    7.

    865b2200699bb6077f960c1286608d84.png
    Figure \(\PageIndex{49}\)

    9.

    a2f239d85db2fefae9d44a7fc1976e71.png
    Figure \(\PageIndex{50}\)

    11.

    f773609b911ff31fa9451294a5f559f4.png
    Figure \(\PageIndex{51}\)

    Exercise \(\PageIndex{8}\)

    Determine the linear function that defines the given graph and find the \(x\)-intercept.

    1.

    f1637826b168fe76cf0fc6cf7860d9a8.png
    Figure \(\PageIndex{52}\)

    2.

    1e327adbdf8b40a7199a50c77886b3ee.png
    Figure \(\PageIndex{53}\)

    3.

    cc4269012d902ffad867ca47e7df3c91.png
    Figure \(\PageIndex{54}\)

    4.

    Figure \(\PageIndex{55}\)

    5.

    eb753f457bbee549fb53bf9881b36b7d.png
    Figure \(\PageIndex{56}\)

    6.

    Figure \(\PageIndex{57}\)

    7.

    Figure \(\PageIndex{58}\)

    8.

    a8870e33cc8e3acf2fffdd515b1d986f.png
    Figure \(\PageIndex{59}\)
    Answer

    1. \(f (x) = x + 1; (−1, 0)\)

    3. \(f (x) = −\frac{3}{2} x; (0, 0)\)

    5. \(f (x) = −9;\) none

    7. \(f (x) = \frac{1}{3} x + 1; (−3, 0)\)

    Exercise \(\PageIndex{9}\)

    Graph the functions \(f\) and \(g\) on the same set of axes and determine where \(f(x)=g(x)\). Verify your answer algebraically.

    1. \(f (x) = \frac{1}{2} x − 3, g (x) = 1\)
    2. \(f (x) = \frac{1}{3} x + 2, g (x) = −1\)
    3. \(f (x) = 3x − 2 , g (x) = −5\)
    4. \(f (x) = x + 2, g (x) = −3\)
    5. \(f (x) = −\frac{2}{3} x + 4, g (x) = 2\)
    6. \(f (x) = −\frac{5}{2} x + 6, g (x) = 1\)
    7. \(f (x) = 3x − 2 , g (x) = −2x + 3\)
    8. \(f (x) = −x + 6, g (x) = x + 2\)
    9. \(f (x) = −\frac{1}{3} x, g (x) = −\frac{2}{3} x + 1\)
    10. \(f (x) = \frac{2}{3} x − 1, g (x) = −\frac{4}{3} x − 3\)
    Answer

    1. \(x = 8\)

    3. \(x = −1\)

    5. \(x = 3\)

    7. \(x = 1\)

    9. \(x = 3\)

    Exercise \(\PageIndex{10}\)

    Graph the functions \(f\) and \(g\) on the same set of axes and determine where \(f(x)\geq g(x)\). Verify your answer algebraically.

    1. \(f (x) = 3x + 7 , g (x) = 1\)
    2. \(f (x) = 5x − 3 , g (x) = 2\)
    3. \(f (x) = \frac{2}{3} x − 3, g (x) = −3\)
    4. \(f (x) = \frac{3}{4} x + 2, g (x) = −1\)
    5. \(f (x) = −x + 1, g (x) = −3\)
    6. \(f (x) = −4x + 4 , g (x) = 8\)
    7. \(f (x) = x − 2, g (x) = −x + 4\)
    8. \(f (x) = 4x − 5 , g (x) = x + 1\)
    Answer

    1. \([ - 2 , \infty )\)

    3. \([ 0 , \infty )\)

    5. \(( - \infty , 4 ]\)

    7. \([ 3 , \infty )\)

    Exercise \(\PageIndex{11}\)

    Graph the functions \(f\) and \(g\) on the same set of axes and determine where \(f(x)<g(x)\). Verify your answer algebraically.

    1. \(f (x) = x + 5, g (x) = −1\)
    2. \(f (x) = 3x − 3 , g (x) = 6\)
    3. \(f (x) = −\frac{4}{5} x, g (x) = −8\)
    4. \(f (x) = −\frac{3}{2} x + 6, g (x) = −3\)
    5. \(f (x) = \frac{1}{4} x + 1, g (x) = 0\)
    6. \(f (x) = \frac{3}{5} x − 6, g (x) = 0\)
    7. \(f (x) = \frac{1}{3} x + 2, g (x) = − \frac{1}{3} x\)
    8. \(f (x) = \frac{3}{2} x + 3, g (x) = −\frac{3}{2} x − 3\)
    Answer

    1. \(( - \infty , - 6 )\)

    3. \(( 10 , \infty )\)

    5. \(( - \infty , - 4 )\)

    7. \(( - \infty , - 3 )\)

    Exercise \(\PageIndex{12}\)

    1. Do all linear functions have \(y\)-intercepts? Do all linear functions have \(x\)-intercepts? Explain.
    2. Can a function have more than one \(y\)-intercept? Explain.
    3. How does the vertical line test show that a vertical line is not a function?
    Answer

    1. Answer may vary

    3. Answer may vary

    Footnotes

    18The variable that determines the values of other variables. Usually we think of the \(x\)-value of an ordered pair \((x, y)\) as the independent variable.

    19The variable whose value is determined by the value of the independent variable. Usually we think of the \(y\)-value of an ordered pair \((x, y)\) as the dependent variable.

    20A way of determining a graph using a finite number of representative ordered pair solutions.

    21The incline of a line measured as the ratio of the vertical change to the horizontal change, often referred to as “rise over run.”

    22The vertical change between any two points on a line.

    23The horizontal change between any two points on a line.

    24The slope of the line through the points \((x1, y1)\) and \((x2, y2)\) is given by the formula \(m = \frac{y2−y1}{x2−x1}\).

    25Any nonvertical line can be written in the standard form \(ax + by = c\).

    26Any nonvertical line can be written in the form \(y = mx + b\), where \(m\) is the slope and \((0, b)\) is the \(y\)-intercept.

    27The point (or points) where a graph intersects the y-axis, expressed as an ordered pair \((0, y)\).

    28Any function that can be written in the form f (x) = mx + b

    29The point (or points) where a graph intersects the x-axis, expressed as an ordered pair (x, 0).


    This page titled 2.2: Linear Functions and Their Graphs is shared under a CC BY-NC-SA 3.0 license and was authored, remixed, and/or curated by Anonymous via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.