This is “Modeling Linear Functions”, section 2.3 from the book Advanced Algebra (v. 1.0). For details on it (including licensing), click here.
For more information on the source of this book, or why it is available for free, please see the project's home page. You can browse or download additional books there. To download a .zip file containing this book to use offline, simply click here.
Given the algebraic equation of a line, we can graph it in a number of ways. In this section, we will be given a geometric description of a line and find the algebraic equation. Finding the equation of a line can be accomplished in a number of ways. The following example makes use of slope-intercept form, $y=mx+b$, or using function notation, $f\left(x\right)=mx+b.$ If we can determine the slope, m, and the y-intercept, (0, b), we can then construct the equation.
Find the equation of the line passing through $\left(-3,6\right)$ and $\left(5,-4\right).$
Solution:
We begin by finding the slope. Given two points, we can find the slope using the slope formula.
$$\begin{array}{cc}\begin{array}{l}({x}_{1},\hspace{0.17em}{y}_{1})\text{\hspace{0.17em}}\\ (-3,6)\text{\hspace{0.17em}}\end{array}& \begin{array}{l}\text{\hspace{0.17em}}({x}_{2},\hspace{0.17em}{y}_{2})\\ \text{\hspace{0.17em}}(5,-4)\end{array}\end{array}$$
$$\begin{array}{ccc}\hfill m& =& \frac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}}\hfill \\ \hfill & =& \frac{-4-\left(6\right)}{5-\left(-3\right)}\hfill \\ \hfill & =& \frac{-4-6}{5+3}\hfill \\ \hfill & =& \frac{-10}{8}\hfill \\ \hfill & =& -\frac{5}{4}\hfill \end{array}$$
Here $m=-\frac{5}{4}$ and we have
$$\begin{array}{ccc}\hfill f\left(x\right)& =& mx+b\hfill \\ \hfill f\left(x\right)& =& -\frac{5}{4}x+b\hfill \end{array}$$
To find b, substitute either one of the given points through which the line passes. Here we will use $\left(-3,6\right)$, but $\left(5,-4\right)$ would work just as well:
$$\begin{array}{ccc}\hfill f\left(x\right)& =& -\frac{5}{4}x+b\text{\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}}{Use\text{\hspace{0.17em}}\left(x,\text{\hspace{0.17em}}f\left(x\right)\right)=\left(-3,6\right)}\hfill \\ \hfill {6}& =& -\frac{5}{4}\left({-3}\right)+b\hfill \\ \hfill 6& =& \frac{15}{4}+b\hfill \\ \hfill \frac{6\cdot {4}}{1\cdot {4}}-\frac{15}{4}& =& b\hfill \\ \hfill \frac{24-15}{4}& =& b\hfill \\ \hfill \frac{9}{4}& =& b\hfill \end{array}$$
Therefore, the equation of the line passing through the two given points is:
$$\begin{array}{ccccc}\hfill f\left(x\right)& =& mx\hfill & +& b\\ & & {\downarrow}& & {\downarrow}\\ \hfill f\left(x\right)& =& -\frac{5}{4}x\hfill & +& \frac{9}{4}\end{array}$$
Answer: $f\left(x\right)=-\frac{5}{4}x+\frac{9}{4}$
Next, we outline an alternative method for finding equations of lines. Begin by applying the slope formula with a given point $({x}_{1},\hspace{0.17em}{y}_{1})$ and a variable point $(x,\hspace{0.17em}y).$
$$\begin{array}{ccc}\hfill m& =& \frac{y-{y}_{1}}{x-{x}_{1}}\hfill \\ \hfill \frac{m}{1}& =& \frac{y-{y}_{1}}{x-{x}_{1}}\text{\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}}{Cross\text{\hspace{0.17em}}multiply.}\hfill \\ \hfill m\left(x-{x}_{1}\right)& =& y-{y}_{1}\text{\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}}{Apply\text{\hspace{0.17em}}the\text{\hspace{0.17em}}symmetric\text{\hspace{0.17em}}property.}\hfill \\ \hfill y-{y}_{1}& =& m\left(x-{x}_{1}\right)\hfill \end{array}$$
Therefore, the equation of a nonvertical line can be written in point-slope formAny nonvertical line can be written in the form $y-{y}_{1}=\text{\hspace{0.17em}}m\left(x-{x}_{1}\right)$, where m is the slope and $({x}_{1},\hspace{0.17em}{y}_{1})$ is any point on the line.:
$$y-{y}_{1}=\text{\hspace{0.17em}}m\left(x-{x}_{1}\right)\text{\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}{Point\text{-}slope\text{\hspace{0.17em}}form.}$$
Point-slope form is particularly useful for finding the equation of a line given the slope and any ordered pair solution. After finding the slope, $-\frac{5}{4}$ in the previous example, we could use this form to find the equation.
$$\begin{array}{l}{Point\text{\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}Slope}\\ \left({x}_{1},{y}_{1}\right)\\ \left(-3,6\right)\text{\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}m=-\frac{5}{4}\end{array}$$
Substitute as follows.
$$\begin{array}{ccc}\hfill y-{y}_{1}& =& \text{\hspace{0.17em}}{m}\left(x-{x}_{1}\right)\hfill \\ \hfill y-({6})& =& {-\frac{5}{4}}\left(x-\left({-3}\right)\right)\text{\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}}\text{\hspace{0.17em}}{Solve\text{\hspace{0.17em}}for\text{\hspace{0.17em}}y.}\hfill \\ \hfill y-6& =& -\frac{5}{4}\left(x+3\right)\text{\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}}{Distribute.}\hfill \\ \hfill y-6& =& -\frac{5}{4}x-\frac{15}{4}\hfill \\ \hfill y& =& -\frac{5}{4}x-\frac{15}{4}+6\hfill \\ \hfill y& =& -\frac{5}{4}x+\frac{9}{4}\hfill \end{array}$$
Notice that we obtain the same linear function $\text{\hspace{0.17em}}f\left(x\right)=-\frac{5}{4}x+\frac{9}{4}.$
Note: Sometimes a variable is not expressed explicitly in terms of another; however, it is still assumed that one variable is dependent on the other. For example, the equation $2x+3y=6$ implicitly represents the function $f\left(x\right)=-\frac{2}{3}x+2.$ You should become comfortable with working with functions in either form.
Find the equation of the following linear function:
Solution:
From the graph we can determine two points (−1, −2) and (4, 1). Use these points to read the slope from the graph. The rise is 3 units and the run is 5 units.
Therefore, we have the slope and a point. (It does not matter which of the given points we use, the result will be the same.)
$$\begin{array}{l}{Point\text{\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}Slope}\\ \left(-1,-2\right)\text{\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}m=\frac{3}{5}\end{array}$$
Use point-slope form to determine the equation of the line.
$$\begin{array}{ccc}\hfill y-{y}_{1}& =& \text{\hspace{0.17em}}{m}\left(x-{x}_{1}\right)\hfill \\ \hfill y-({-2})& =& {\frac{3}{5}}\left(x-\left({-1}\right)\right)\text{\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}}{Solve\text{\hspace{0.17em}}for\text{\hspace{0.17em}}y.}\hfill \\ \hfill y+2& =& \frac{3}{5}\left(x+1\right)\hfill \\ \hfill y+2& =& \frac{3}{5}x+\frac{3}{5}\hfill \\ \hfill y& =& \frac{3}{5}x+\frac{3}{5}-2\hfill \\ \hfill y& =& \frac{3}{5}x-\frac{7}{5}\hfill \end{array}$$
Answer: $\text{\hspace{0.17em}}f\left(x\right)=\frac{3}{5}x-\frac{7}{5}$
Recall that parallel linesLines in the same plane that do not intersect; their slopes are the same. are lines in the same plane that never intersect. Two non-vertical lines in the same plane with slopes ${m}_{1}$ and ${m}_{2}$ are parallel if their slopes are the same, ${m}_{1}={m}_{2}.$
Find the equation of the line passing through $\left(3,-2\right)$ and parallel to $x-2y=-2.$
Solution:
To find the slope of the given line, solve for y.
$$\begin{array}{ccc}\hfill x-2y& =& -2\hfill \\ \hfill -2y& =& -x-2\hfill \\ \hfill y& =& \frac{-x-2}{-2}\hfill \\ \hfill y& =& \frac{-x}{-2}-\frac{2}{-2}\hfill \\ \hfill y& =& \frac{1}{2}x+1\hfill \end{array}$$
Here the given line has slope $m=\frac{1}{2}$ and thus the slope of a parallel line ${m}_{\parallel}=\frac{1}{2}\hspace{0.17em}.$ The notation ${m}_{\parallel}$ reads “m parallel.” Since we are given a point and we now have the slope, we will choose to use point-slope form of a line to determine the equation.
$$\begin{array}{l}{Point\text{\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}Slope}\\ \left(3,-2\right)\text{\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}{m}_{\parallel}=\frac{1}{2}\end{array}$$
$$\begin{array}{ccc}\hfill y-{y}_{1}& =& \text{\hspace{0.17em}}m\left(x-{x}_{1}\right)\text{\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}}{Point\text{-}Slope\text{\hspace{0.17em}}form}\hfill \\ \hfill y-\left(-2\right)& =& \frac{1}{2}\left(x-3\right)\hfill \\ \hfill y+2& =& \frac{1}{2}x-\frac{3}{2}\hfill \\ \hfill y+2{-2}& =& \frac{1}{2}x-\frac{3}{2}{-2}\hfill \\ \hfill y& =& \frac{1}{2}x-\frac{7}{2}\hfill \end{array}$$
Answer: $\text{\hspace{0.17em}}f\left(x\right)=\frac{1}{2}x-\frac{7}{2}$
It is important to have a geometric understanding of this question. We were asked to find the equation of a line parallel to another line passing through a certain point.
Through the point $\left(3,-2\right)$ we found a parallel line,$y=\frac{1}{2}x-\frac{7}{2}$, shown as a dashed line. Notice that the slope is the same as the given line, $y=\frac{1}{2}x+1$, but the y-intercept is different.
Recall that perpendicular linesLines in the same plane that intersect at right angles; their slopes are opposite reciprocals. are lines in the same plane that intersect at right angles (90 degrees). Two nonvertical lines, in the same plane with slopes ${m}_{1}$ and ${m}_{2}$, are perpendicular if the product of their slopes is −1, ${m}_{1}\cdot {m}_{2}=-1.$ We can solve for ${m}_{1}$ and obtain ${m}_{1}=-\frac{1}{{m}_{2}}.$ In this form, we see that perpendicular lines have slopes that are negative reciprocalsUsed when referring to opposite reciproacals., or opposite reciprocalsTwo real numbers whose product is −1. Given a real number $\frac{a}{b}$, the opposite reciprocal is $-\frac{b}{a}.$. In general, given real numbers a and b,
$$\text{If\hspace{0.17em}}m=\frac{a}{b}\text{\hspace{0.17em}\hspace{0.17em}then\hspace{0.17em}\hspace{0.17em}}{m}_{\perp}=-\frac{b}{a}$$
The mathematical notation ${m}_{\perp}$ reads “m perpendicular”. For example, the opposite reciprocal of $m=-\frac{3}{5}$ is ${m}_{\perp}=\frac{5}{3}.$ We can verify that two slopes produce perpendicular lines if their product is −1.
$$\begin{array}{cc}m\cdot {m}_{\perp}=-\frac{3}{5}\cdot \frac{5}{3}=-\frac{15}{15}=-1\text{\hspace{0.17em}}& \text{\hspace{0.17em}}{\u2713}\end{array}$$
Find the equation of the line passing through $\left(-5,-2\right)$ and perpendicular to $\hspace{0.17em}x+4y=4.$
Solution:
To find the slope of the given line, solve for y.
$$\begin{array}{ccc}\hfill x+4y& =& 4\hfill \\ \hfill 4y& =& -x+4\hfill \\ \hfill y& =& \frac{-x+4}{4}\hfill \\ \hfill y& =& \frac{-x}{4}+\frac{4}{4}\hfill \\ \hfill y& =& -\frac{1}{4}x+1\hfill \end{array}$$
The given line has slope $m=-\frac{1}{4}$, and thus, ${m}_{\perp}=+\frac{4}{1}=4.$ Substitute this slope and the given point into point-slope form.
$$\begin{array}{l}\text{\hspace{0.17em}\hspace{0.17em}}{Point\text{\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}Slope}\\ \left(-5,-2\right)\text{\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}{m}_{\perp}=4\end{array}$$
$$\begin{array}{ccc}\hfill y-{y}_{1}& =& \text{\hspace{0.17em}}m\left(x-{x}_{1}\right)\hfill \\ \hfill y-\left(-2\right)& =& 4\left(x-\left(-5\right)\right)\hfill \\ \hfill y+2& =& 4\left(x+5\right)\hfill \\ \hfill y+5& =& 4x+20\hfill \\ \hfill y& =& 4x+18\hfill \end{array}$$
Answer: $f\left(x\right)=4x+18$
Geometrically, we see that the line $y=4x+18$, shown as a dashed line in the graph, passes through $\left(-5,-2\right)$ and is perpendicular to the given line $y=-\frac{1}{4}x+1.$
Try this! Find the equation of the line passing through $\left(-5,-2\right)$ and perpendicular to $\hspace{0.17em}\frac{1}{3}x-\frac{1}{2}y=-2.$
Answer: $y=-\frac{3}{2}x-\frac{19}{2}$
Data can be used to construct functions that model real-world applications. Once an equation that fits given data is determined, we can use the equation to make certain predictions; this is called mathematical modelingUsing data to find mathematical equations that describe, or model, real-world applications..
The cost of a daily truck rental is $48.00, plus an additional $0.45 for every mile driven. Write a function that gives the cost of the daily truck rental and use it to determine the total cost of renting the truck for a day and driving it 60 miles.
Solution:
The total cost of the truck rental depends on the number of miles driven. If we let x represent the number of miles driven, then 0.45x represents the variable cost of renting the truck. Use this and the fixed cost, $48.00, to write a function that models the total cost,
$$C\left(x\right)=0.45x+48$$
Use this function to calculate the cost of the rental when $x=60$ miles.
$$\begin{array}{ccc}\hfill C\left(60\right)& =& 0.45\left(60\right)+48\hfill \\ \hfill & =& 27+48\hfill \\ \hfill & =& 75\hfill \end{array}$$
Answer: The total cost of renting the truck for the day and driving it 60 miles would be $75.
We can use the model $C\left(x\right)=0.45x+48$ to answer many more questions. For example, how many miles can be driven to keep the cost of the rental at most $66? To answer this question, set up an inequality that expresses the cost less than or equal to $66.
$$\begin{array}{ccc}\hfill C\left(x\right)& \le & \$66\hfill \\ \hfill 0.45x+48& \le & 66\hfill \end{array}$$
Solve for x to determine the number of miles that can be driven.
$$\begin{array}{ccc}\hfill 0.45x+48& \le & 66\hfill \\ \hfill 0.45x& \le & 18\hfill \\ \hfill x& \le & 40\hfill \end{array}$$
To limit the rental cost to $66, the truck can be driven 40 miles or less.
A company purchased a new piece of equipment for $12,000. Four years later it was valued at $9,000 dollars. Use this data to construct a linear function that models the value of the piece of equipment over time.
Solution:
The value of the item depends on the number of years after it was purchased. Therefore, the age of the piece of equipment is the independent variable. Use ordered pairs where the x-values represent the age and the y-values represent the corresponding value.
$$\left(age,value\right)$$
From the problem, we can determine two ordered pairs. Purchased new (age = 0), the item cost $12,000, and 4 years later the item was valued at $9,000. Therefore, we can write the following two $\left(age,value\right)$ ordered pairs:
$$\left(0,\mathrm{12,000}\right)\text{\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}}and\text{\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}\hspace{0.17em}}\left(4,\mathrm{9,000}\right)$$
Use these two ordered pairs to construct a linear model. Begin by finding the slope m.
$$\begin{array}{ccc}\hfill m& =& \frac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}}\hfill \\ \hfill & =& \frac{\mathrm{9,000}-\mathrm{12,000}}{4-0}\hfill \\ \hfill & =& \frac{-\mathrm{3,000}}{4}\hfill \\ \hfill & =& -750\hfill \end{array}$$
Here we have m = −750. The ordered pair (0, 12,000) gives the y-intercept; therefore, b = 12,000.
$$\begin{array}{ccc}\hfill y& =& mx+b\hfill \\ \hfill y& =& -750x+\mathrm{12,000}\hfill \end{array}$$
Lastly, write this model as a function which gives the value of the piece of equipment over time. Choose the function name V, for value, and the variable t instead of x to represent time in years.
$$V\left(t\right)=-750t+\mathrm{12,000}$$
Answer: $V\left(t\right)=-750t+\mathrm{12,000}$
The function $V\left(t\right)=-750t+\mathrm{12,000}$ called a linear depreciation modelA linear function used to describe the declining value of an item over time.. It uses a linear equation to expresses the declining value of an item over time. Using this function to determine the value of the item between the given data points is called interpolationUsing a linear function to estimate a value between given data points.. For example, we can use the function to determine the value of the item where $t=2$,
$$\begin{array}{ccc}\hfill V\left(2\right)& =& -750\left(2\right)+\mathrm{12,000}\hfill \\ \hfill & =& \mathrm{10,500}\hfill \end{array}$$
The function shows that the item was worth $10,500 two years after it was purchased. Using this model to predict the value outside the given data points is called extrapolationUsing a linear function to estimate values that extend beyond the given data points.. For example, we can use the function to determine the value of the item when $t=10$:
$$\begin{array}{ccc}\hfill V\left(10\right)& =& -750\left(10\right)+\mathrm{12,000}\hfill \\ \hfill & =& -\mathrm{7,500}+\mathrm{12,000}\hfill \\ \hfill & =& \mathrm{4,500}\hfill \end{array}$$
The model predicts that the piece of equipment will be worth $4,500 ten years after it is purchased.
In a business application, revenue results from the sale of a number of items. For example, if an item can be sold for $150 and we let n represent the number of units sold, then we can form the following revenue functionA function that models income based on a number of units sold.:
$$R\left(n\right)=150n$$
Use this function to determine the revenue generated from selling $n=100$ units,
$$R\left(100\right)=150\left(100\right)=\mathrm{15,000}$$
The function shows that the revenue generated from selling 100 items is $15,000. Typically, selling items does not represent the entire story. There are a number of costs associated with the generation of revenue. For example, if there is a one-time set up fee of $5,280 and each item cost $62 to produce, then we can form the following cost functionA function that models the cost of producing a number of units.:
$$C\left(n\right)=62n+\mathrm{5,280}$$
Here n represents the number of items produced. Use this function to determine the cost associated with producing $n=100$ units:
$$C\left(100\right)=62\left(100\right)+\mathrm{5,280}=\mathrm{11,480}$$
The function shows that the cost associated with producing 100 items is $11,480. Profit is revenue less costs:
$$\begin{array}{ccc}\hfill {\text{Profit}}& {=}& {\text{Revenue\hspace{0.17em}}-\text{\hspace{0.17em}Cost}}\hfill \\ \hfill & =& \phantom{\rule{0.5em}{0ex}}\mathrm{15,000}\phantom{\rule{0.2em}{0ex}}-\phantom{\rule{0.2em}{0ex}}\mathrm{11,480}\hfill \\ \hfill & =& \mathrm{3,520}\hfill \end{array}$$
Therefore, the profit generated by producing and selling 100 items is $3,520. In general, given a revenue function $R$ and a cost function $C$, we can form a profit functionA function that models the profit as revenue less cost. by subtracting as follows:
$$P\left(n\right)=R\left(n\right)-C\left(n\right)$$
The cost in dollars of producing n items is given by the formula $C\left(n\right)=62n+\mathrm{5,280}.$ The revenue in dollars is given by $R\left(n\right)=150n$, where n represents the number items sold. Write a function that gives the profit generated by producing and selling n items. Use the function to determine how many items must be produced and sold in order to earn a profit of at least $7,000.
Solution:
Obtain the profit function by subtracting the cost function from the revenue function.
$$\begin{array}{ccc}\hfill P\left(n\right)& =& R\left(n\right)-C\left(n\right)\hfill \\ \hfill & =& 150n-\left(62n+\mathrm{5,280}\right)\hfill \\ \hfill & =& 150n-62n-\mathrm{5,280}\hfill \\ \hfill & =& 88n-\mathrm{5,280}\hfill \end{array}$$
Therefore, $P\left(n\right)=88n+\mathrm{5,280}$ models the profit. To determine the number of items that must be produced and sold to profit at least $7,000, solve the following:
$$\begin{array}{ccc}\hfill P\left(n\right)& \ge & \mathrm{7,000}\hfill \\ \hfill 88n-\mathrm{5,280}& \ge & \mathrm{7,000}\hfill \\ \hfill 88n& \ge & \mathrm{12,280}\hfill \\ \hfill n& \ge & 139.5\hfill \end{array}$$
Round up because the number of units produced and sold must be an integer. To see this, calculate the profit where n is 139 and 140 units.
$$\begin{array}{ccc}\hfill P\left(139\right)& =& 88\left(139\right)-\mathrm{5,280}=\mathrm{6,952}\hfill \\ \hfill P\left(140\right)& =& 88\left(140\right)-\mathrm{5,280}=\mathrm{7,040}\hfill \end{array}$$
Answer: 140 or more items must be produced and sold in order to earn a profit of at least $7,000.
Sometimes the costs exceed the revenue, in which case, the profit will be negative. For example, use the profit function of the previous example, $P\left(n\right)=88n-\mathrm{5,280}$, to calculate the profit generated where $n=50.$ $$P\left(50\right)=88\left(50\right)-\mathrm{5,280}=-880$$ This indicates that when 50 units are produced and sold the corresponding profit is a loss of $880.
It is often important to determine how many items must be produced and sold to break even. To break even means to neither have a gain nor a loss; in this case, the profit will be equal to zero. To determine the breakeven pointThe point at which profit is neither negative nor positive; profit is equal to zero., set the profit function equal to zero and solve:
$$\begin{array}{ccc}\hfill P\left(n\right)& =& 88n-\mathrm{5,280}\hfill \\ \hfill 0& =& 88n-\mathrm{5,280}\hfill \\ \hfill \mathrm{5,280}& =& 88n\hfill \\ \hfill 60& =& n\hfill \end{array}$$
Therefore, 60 items must be produced and sold to break even.
Try this! Custom t-shirts can be sold for $6.50 each. In addition to an initial set-up fee of $120, each t-shirt cost $3.50 to produce. a. Write a function that models the revenue and a function that models the cost. b. Determine a function that models the profit and use it to determine the profit from producing and selling 150 t-shirts. c. Calculate the number of t-shirts that must be sold to break even.
Answer: a. Revenue: $R\left(x\right)=6.50x$; cost: $C\left(x\right)=3.50x+120$; b. profit: $P\left(x\right)=3x+120$; $330 c. 40
Find the linear function f passing through the given points.
$\left(-1,2\right)$ and $\left(3,-4\right)$
$\left(3,-2\right)$ and $\left(-1,-4\right)$
$\left(-5,-6\right)$ and $\left(-4,2\right)$
$\left(2,-7\right)$ and $\left(3,-5\right)$
$\left(10,-15\right)$ and $\left(7,-6\right)$
$\left(-9,13\right)$ and $\left(-8,12\right)$
$\left(-12,22\right)$ and $\left(6,-20\right)$
$\left(6,-12\right)$ and $\left(-4,13\right)$
$\left(\frac{1}{3},\frac{4}{5}\right)$ and $\left(\frac{1}{2},1\right)$
$\left(-\frac{3}{2},-\frac{5}{2}\right)$ and $\left(1,\frac{5}{6}\right)$
$\left(-5,10\right)$ and $\left(-1,10\right)$
$\left(4,0\right)$ and $\left(-7,0\right)$
Find the equation of the given linear function.
Find the equation of the line:
Parallel to $y=-\frac{5}{3}x+\frac{1}{2}$ and passing through $\left(-3,4\right).$
Parallel to $y=-\frac{3}{4}x-\frac{7}{3}$ and passing through $\left(-8,-1\right).$
Parallel to $y=\frac{1}{3}x+6$ and passing through $\left(2,-5\right).$
Parallel to $y=\frac{1}{4}x+\frac{5}{3}$ and passing through $\left(5,6\right).$
Parallel to $4x-5y=15$ and passing through $\left(-1,-2\right).$
Parallel to $3x-4y=2$ and passing through $\left(-6,8\right).$
Parallel to $2x+12y=9$ and passing through $\left(10,-9\right).$
Parallel to $9x+24y=2$ and passing through $\left(-12,-4\right).$
Parallel to $\frac{2}{15}x+\frac{1}{3}y=\frac{1}{10}$ and passing through $\left(-15,4\right).$
Parallel to $\frac{1}{3}x+\frac{2}{7}y=1$ and passing through $\left(12,-11\right).$
Perpendicular to $y=5x+2$ and passing through $\left(10,-5\right).$
Perpendicular to $y=-2x+1$ and passing through $\left(-8,-11\right).$
Perpendicular to $y=\frac{3}{2}x-5$ and passing through $\left(5,-3\right).$
Perpendicular to $y=\frac{3}{4}x-\frac{1}{2}$ and passing through $\left(-6,-4\right).$
Perpendicular to $12x+15y=3$ and passing through $\left(12,15\right).$
Perpendicular to $24x+15y=12$ and passing through $\left(2,-1\right).$
Perpendicular to $14x-y=3$ and passing through $\left(7,3\right).$
Perpendicular to $x-y=4$ and passing through $\left(6,-2\right).$
Perpendicular to $\frac{2}{15}x-\frac{3}{5}y=-1$ and passing through $\left(1,-1\right).$
Perpendicular to $\frac{3}{4}x-\frac{2}{3}y=\frac{1}{2}$ and passing through $\left(-3,6\right).$
Give the equation of the line that coincides with the x-axis.
Give the equation of the line that coincides with the y-axis.
Given any line in standard form, $ax+by=c$, determine the slope of any perpendicular line.
Given any line in standard form, $ax+by=c$, determine the slope of any parallel line.
Use algebra to solve the following.
A company wishes to purchase pens stamped with the company logo. In addition to an initial set-up fee of $90, each pen cost $1.35 to produce. Write a function that gives the cost in terms of the number of pens produced. Use the function to determine the cost of producing 500 pens with the company logo stamped on it.
A rental car company charges a daily rate of $42.00 plus $0.51 per mile driven. Write a function that gives the cost of renting the car for a day in terms of the number of miles driven. Use the function to determine the cost of renting the car for a day and driving it 76 miles.
A certain cellular phone plan charges $16 per month and $0.15 per minute of usage. Write a function that gives the cost of the phone per month based on the number of minutes of usage. Use the function to determine the number of minutes of usage if the bill for the first month was $46.
A web-services company charges $2.50 a month plus $0.14 per gigabyte of storage on their system. Write a function that gives the cost of storage per month in terms of the number of gigabytes stored. How many gigabytes are stored if the bill for this month was $6.00?
Mary has been keeping track of her cellular phone bills for the last two months. The bill for the first month was $45.00 for 150 minutes of usage. The bill for the second month was $25.00 for 50 minutes of usage. Find a linear function that gives the total monthly bill based on the minutes of usage.
A company in its first year of business produced 1,200 brochures for a total cost of $5,050. The following year, the company produced 500 more brochures at a cost of $2,250. Use this information to find a linear function that gives the total cost of producing brochures from the number of brochures produced.
A Webmaster has noticed that the number of registered users has been steadily increasing since beginning an advertising campaign. Before starting to advertise, he had 2,200 registered users, and after 4 months of advertising he now has 5,480 registered users. Use this data to write a linear function that gives the total number of registered users, given the number of months after starting to advertise. Use the function to predict the number of users 8 months into the advertising campaign.
A corn farmer in California was able to produce 154 bushels of corn per acre 2 years after starting his operation. Currently, after 7 years of operation, he has increased his yield to 164 bushels per acre. Use this information to write a linear function that gives the total yield per acre based on the number of years of operation, and use it to predict the yield for next year.
A commercial van was purchased new for $22,500 and is expected to be worthless in 12 years. Use this information to write a linear depreciation function for the value of the van. Use the function to determine the value of the van after 8 years of use.
The average lifespan of an industrial welding robot is 10 years, after which it is considered to have no value. If an industrial welding robot was purchased new for $58,000, write a function that gives the value of the robot in terms of the number of years of operation. Use the function to value the robot after 3 years of operation.
A business purchased a piece of equipment new for $2,400. After 5 years of use the equipment is valued at $1,650. Find a linear function that gives the value of the equipment in terms of years of usage. Use the function to determine the number of years after which the piece of equipment will have no value.
A salesman earns a base salary of $2,400 a month plus a 5% commission on all sales. Write a function that gives the salesman’s monthly salary in terms of sales. Use the function to determine the monthly sales required to earn at least $3,600 a month.
When a certain professor was hired in 2005, the enrollment at a college was 8,500 students. Five years later, in 2010, the enrollment grew to 11,200 students. Determine a linear growth function that models the student population in years since 2005. Use the model to predict the year in which enrollment will exceed 13,000 students.
In 1980, the population of California was about 24 million people. Twenty years later, in the year 2000, the population was about 34 million. Use this data to construct a linear function to model the population growth in years since 1980. Use the function to predict the year in which the population will reach 40 million.
A classic car is purchased for $24,500 and is expected to increase in value each year by $672. Write a linear function that models the appreciation of the car in terms of the number of years after purchase. Use the function to predict the value of the car in 7 years.
A company reported first and second quarter sales of $52,000 and $64,500, respectively.
A particular search engine assigns a ranking to a webpage based on the number of links that direct users to the webpage. If no links are found, the webpage is assigned a ranking of 1. If 20 links are found directing users to the webpage, the search engine assigns a page ranking of 3.5. a. Find a linear function that gives the webpage ranking based on the number of links that direct users to it. b. How many links will be needed to obtain a page ranking of 5?
Online sales of a particular product are related to the number of clicks on its advertisement. It was found that 1,520 clicks in a month results in $2,748 of online sales, and that 1,840 clicks results in $2,956 of online sales. Write a linear function that models the online sales of the product based on the number of clicks on its advertisement. How many clicks would we need to expect $3,385 in monthly online sales from this particular product?
A bicycle manufacturing business can produce x bicycles at a cost, in dollars, given by the formula $C\left(x\right)=85x+\mathrm{2,400}.$ The company sells each bicycle at a wholesale price of $145. The revenue, in dollars, is given by $R\left(x\right)=145x$, where x represents the number of bicycles sold. Write a function that gives profit in terms of the number of bicycles produced and sold. Use the function to determine the number of bicycles that need to be produced and sold to break even.
The cost, in dollars, of producing n custom lamps is given by the formula $C\left(n\right)=28n+360.$ Each lamp can be sold online for $79. The revenue in dollars, is given by $R\left(n\right)=79n$, where n represents the number of lamps sold. Write a function that gives the profit from producing and selling n custom lamps. Use the function to determine how many lamps must be produced and sold to earn at least $1,000 in profit.
A manufacturer can produce a board game at a cost of $12 per unit after an initial fixed retooling investment of $12,500. The games can be sold for $22 each to retailers.
A vending machine can be leased at a cost of $90 per month. The items used to stock the machine can be purchased for $0.50 each and sold for $1.25 each.
Research and discuss linear depreciation. In a linear depreciation model, what do the slope and y-intercept represent?
Write down your own steps for finding the equation of a line. Post your steps on the discussion board.
$f\left(x\right)=-\frac{3}{2}x+\frac{1}{2}$
$f\left(x\right)=8x+34$
$f\left(x\right)=-3x+15$
$f\left(x\right)=-\frac{7}{3}x-6$
$f\left(x\right)=\frac{6}{5}x+\frac{2}{5}$
$f\left(x\right)=10$
$f\left(x\right)=-\frac{1}{2}x+\frac{1}{2}$
$f\left(x\right)=-x$
$f\left(x\right)=\frac{3}{8}x-\frac{5}{4}$
$f\left(x\right)=-\frac{2}{3}x+\frac{1}{3}$
$f\left(x\right)=-2$
$y=-\frac{5}{3}x-1$
$y=\frac{1}{3}x-\frac{17}{3}$
$y=\frac{4}{5}x-\frac{6}{5}$
$y=-\frac{1}{6}x-\frac{22}{3}$
$y=-\frac{2}{5}x-2$
$y=-\frac{1}{5}x-3$
$y=-\frac{2}{3}x+\frac{1}{3}$
$y=\frac{5}{4}x$
$y=-\frac{1}{14}x+\frac{7}{2}$
$y=0$
${m}_{\perp}=\frac{b}{a}$
$C\left(x\right)=1.35x+90$; $765
$C\left(x\right)=0.15x+16$; 200 minutes
$C\left(x\right)=0.20x+15$
$U\left(x\right)=820x+\mathrm{2,200}$; 8,760 users
$V\left(t\right)=-1,875t+22,500$; $7,500
$V\left(t\right)=-150t+\mathrm{2,400}$; 16 years
$P\left(x\right)=540x+\mathrm{8,500}$; 2013
$V\left(t\right)=672t+\mathrm{24,500}$; $29,204
$P\left(x\right)=60x-\mathrm{2,400}$; 40 bicycles
Answer may vary