Skip to main content
Mathematics LibreTexts

1.6: Applications

  • Page ID
    165317
  • \( \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}\)

    Learning Objectives

    In this section, you will learn to use linear functions to model real-world applications

    Now that we have learned to determine equations of lines, we get to apply these ideas in a variety of real-life situations.

    Read the problem carefully. Highlight important information. Keep track of which values correspond to the independent variable (x) and which correspond to the dependent variable (y).

    Example \(\PageIndex{1}\)

    A taxi service charges $0.50 per mile plus a $5 flat fee. What will be the cost of traveling 20 miles? What will be cost of traveling \(x\) miles?

    Solution

    \(x\) = distance traveled, in miles and \(y\) = cost in dollars

    The cost of traveling 20 miles is

    \[y = (0.50)(20) + 5 = 10 + 5 = 15 \nonumber \]

    The cost of traveling \(x\) miles is

    \[y = (0.50)(x) + 5 = 0.50x + 5 \nonumber \]

    In this problem, $0.50 per mile is referred to as the variable cost, and the flat charge $5 as the fixed cost. Now if we look at our cost equation \(y = .50x + 5\), we can see that the variable cost corresponds to the slope and the fixed cost to the \(y\)-intercept.

    Example \(\PageIndex{2}\)

    The variable cost to manufacture a product is $10 per item and the fixed cost $2500. If \(x\) represents the number of items manufactured and \(y\) represents the total cost, write the cost function.

    Solution

    • The variable cost of $10 per item tells us that \(m = 10\).
    • The fixed cost represents the \(y\)-intercept. So \(b = 2500\).

    Therefore, the cost equation is \(y = 10x + 2500\).

    Example \(\PageIndex{3}\)

    It costs $750 to manufacture 25 items, and $1000 to manufacture 50 items. Assuming a linear relationship holds, find the cost equation, and use this function to predict the cost of 100 items.

    Solution

    We let \(x\) = the number of items manufactured, and let \(y\) = the cost.

    Solving this problem is equivalent to finding an equation of a line that passes through the points (25, 750) and (50, 1000).

    \[ m = \frac{1000-750}{50-25} = 10 \nonumber \]

    Therefore, the partial equation is \(y = 10x + b\)

    By substituting one of the points in the equation, we get \(b = 500\)

    Therefore, the cost equation is \(y = 10x + 500\)

    To find the cost of 100 items, substitute \(x = 100\) in the equation \(y = 10x + 500\)

    So the cost is

    \[y = 10(100) + 500 = 1500 \nonumber \]

    It costs $1500 to manufacture 100 items.

    Example \(\PageIndex{4}\)

    The freezing temperature of water in Celsius is 0 degrees and in Fahrenheit 32 degrees. And the boiling temperatures of water in Celsius, and Fahrenheit are 100 degrees, and 212 degrees, respectively. Write a conversion equation from Celsius to Fahrenheit and use this equation to convert 30 degrees Celsius into Fahrenheit.

    Solution

    Let us look at what is given.

    Celsius Fahrenheit
    0 32
    100 212

    Again, solving this problem is equivalent to finding an equation of a line that passes through the points (0, 32) and (100, 212).

    Since we are finding a linear relationship, we are looking for an equation \(y = mx + b\), or in this case \(F = mC + b\), where \(x\) or \(C\) represent the temperature in Celsius, and y or F the temperature in Fahrenheit.

    \[ \text{slope m } = \frac{312-32}{100-0} = \frac{9}{5} \nonumber \]

    The equation is \(F = \frac{9}{5}C + b\)

    Substituting the point (0, 32), we get

    \[F = \frac{9}{5}C + 32 \nonumber. \nonumber \]

    To convert 30 degrees Celsius into Fahrenheit, substitute \(C = 30\) in the equation

    \begin{aligned}
    &\mathrm{F}=\frac{9}{5} \mathrm{C}+32\\
    &\mathrm{F}=\frac{9}{5}(30)+32=86
    \end{aligned}

    Example \(\PageIndex{5}\)

    The population of Canada in the year 1980 was 24.5 million, and in the year 2010 it was 34 million. The population of Canada over that time period can be approximately modelled by a linear function. Let x represent time as the number of years after 1980 and let y represent the size of the population.

    1. Write the linear function that gives a relationship between the time and the population.
    2. Assuming the population continues to grow linearly in the future, use this equation to predict the population of Canada in the year 2025.

    Solution

    The problem can be made easier by using 1980 as the base year, that is, we choose the year 1980 as the year zero. This will mean that the year 2010 will correspond to year 30. Now we look at the information we have:

    Year Population
    0 (1980) 24.5 million
    30 (2010) 34 million

    a. Solving this problem is equivalent to finding an equation of a line that passes through the points (0, 24.5) and (30, 34). We use these two points to find the slope:

    \[ m = \frac{34-24.5}{30-0}=\frac{9.5}{30} = 0.32 \nonumber \]

    The \(y\)-intercept occurs when \(x = 0\), so \(b = 24.5\)

    \[ y =0.32x + 24.5 \nonumber \]

    b. Now to predict the population in the year 2025, we let \(x=2025-1980=45\)

    \begin{aligned}
    &y=0.32 x+24.5\\
    &y=0.32(45)+24.5=38.9
    \end{aligned}

    In the year 2025, we predict that the population of Canada will be 38.9 million people.

    Note that we assumed the population trend will continue to be linear. Therefore if population trends change and this assumption does not continue to be true in the future, this prediction may not be accurate.


    This page titled 1.6: Applications is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Rupinder Sekhon and Roberta Bloom via source content that was edited to the style and standards of the LibreTexts platform.