# 4.2 Modeling with linear functions  (Page 5/9)

 Page 5 / 9

Should I draw diagrams when given information based on a geometric shape?

Yes. Sketch the figure and label the quantities and unknowns on the sketch.

## Using a diagram to model distance between cities

There is a straight road leading from the town of Westborough to Agritown 30 miles east and 10 miles north. Partway down this road, it junctions with a second road, perpendicular to the first, leading to the town of Eastborough. If the town of Eastborough is located 20 miles directly east of the town of Westborough, how far is the road junction from Westborough?

It might help here to draw a picture of the situation. See [link] . It would then be helpful to introduce a coordinate system. While we could place the origin anywhere, placing it at Westborough seems convenient. This puts Agritown at coordinates $\text{\hspace{0.17em}}\left(\text{3}0,\text{1}0\right),$ and Eastborough at $\text{\hspace{0.17em}}\left(\text{2}0,\text{}0\right).$

Using this point along with the origin, we can find the slope of the line from Westborough to Agritown.

$m=\frac{10-0}{30-0}=\frac{1}{3}$

Now we can write an equation to describe the road from Westborough to Agritown.

$W\left(x\right)=\frac{1}{3}x$

From this, we can determine the perpendicular road to Eastborough will have slope $\text{\hspace{0.17em}}m=–3.\text{\hspace{0.17em}}$ Because the town of Eastborough is at the point (20, 0), we can find the equation.

We can now find the coordinates of the junction of the roads by finding the intersection of these lines. Setting them equal,

The roads intersect at the point (18, 6). Using the distance formula, we can now find the distance from Westborough to the junction.

There is a straight road leading from the town of Timpson to Ashburn 60 miles east and 12 miles north. Partway down the road, it junctions with a second road, perpendicular to the first, leading to the town of Garrison. If the town of Garrison is located 22 miles directly east of the town of Timpson, how far is the road junction from Timpson?

21.15 miles

## Modeling a set of data with linear functions

Real-world situations including two or more linear functions may be modeled with a system of linear equations . Remember, when solving a system of linear equations, we are looking for points the two lines have in common. Typically, there are three types of answers possible, as shown in [link] .

Given a situation that represents a system of linear equations, write the system of equations and identify the solution.

1. Identify the input and output of each linear model.
2. Identify the slope and y -intercept of each linear model.
3. Find the solution by setting the two linear functions equal to another and solving for $\text{\hspace{0.17em}}x,$ or find the point of intersection on a graph.

## Building a system of linear models to choose a truck rental company

Jamal is choosing between two truck-rental companies. The first, Keep on Trucking, Inc., charges an up-front fee of $20, then 59 cents a mile. The second, Move It Your Way, charges an up-front fee of$16, then 63 cents a mile Rates retrieved Aug 2, 2010 from http://www.budgettruck.com and http://www.uhaul.com/ . When will Keep on Trucking, Inc. be the better choice for Jamal?

The two important quantities in this problem are the cost and the number of miles driven. Because we have two companies to consider, we will define two functions in [link] .

 Input $d,$ distance driven in miles Outputs $K\left(d\right):\text{\hspace{0.17em}}$ cost, in dollars, for renting from Keep on Trucking $M\left(d\right)\text{\hspace{0.17em}}$ cost, in dollars, for renting from Move It Your Way Initial Value Up-front fee: $\text{\hspace{0.17em}}K\left(0\right)=\text{2}0\text{\hspace{0.17em}}$ and $\text{\hspace{0.17em}}M\left(0\right)=\text{16}$ Rate of Change $K\left(d\right)=\text{}0.\text{59}\text{\hspace{0.17em}}$ /mile and $\text{\hspace{0.17em}}P\left(d\right)=\text{}0.\text{63}\text{\hspace{0.17em}}$ /mile

A linear function is of the form $\text{\hspace{0.17em}}f\left(x\right)=mx+b.\text{\hspace{0.17em}}$ Using the rates of change and initial charges, we can write the equations

$\begin{array}{ccc}\hfill K\left(d\right)& =& 0.59d+20\hfill \\ \hfill M\left(d\right)& =& 0.63d+16\hfill \end{array}$

Using these equations, we can determine when Keep on Trucking, Inc., will be the better choice. Because all we have to make that decision from is the costs, we are looking for when Move It Your Way, will cost less, or when $\text{\hspace{0.17em}}K\left(d\right) The solution pathway will lead us to find the equations for the two functions, find the intersection, and then see where the $\text{\hspace{0.17em}}K\left(d\right)\text{\hspace{0.17em}}$ function is smaller.

These graphs are sketched in [link] , with $\text{\hspace{0.17em}}K\left(d\right)\text{\hspace{0.17em}}$ in blue.

To find the intersection, we set the equations equal and solve:

This tells us that the cost from the two companies will be the same if 100 miles are driven. Either by looking at the graph, or noting that $\text{\hspace{0.17em}}K\left(d\right)\text{\hspace{0.17em}}$ is growing at a slower rate, we can conclude that Keep on Trucking, Inc. will be the cheaper price when more than 100 miles are driven, that is $\text{\hspace{0.17em}}d>100$ .

#### Questions & Answers

write down the polynomial function with root 1/3,2,-3 with solution
if A and B are subspaces of V prove that (A+B)/B=A/(A-B)
write down the value of each of the following in surd form a)cos(-65°) b)sin(-180°)c)tan(225°)d)tan(135°)
Prove that (sinA/1-cosA - 1-cosA/sinA) (cosA/1-sinA - 1-sinA/cosA) = 4
what is the answer to dividing negative index
In a triangle ABC prove that. (b+c)cosA+(c+a)cosB+(a+b)cisC=a+b+c.
give me the waec 2019 questions
the polar co-ordinate of the point (-1, -1)
prove the identites sin x ( 1+ tan x )+ cos x ( 1+ cot x )= sec x + cosec x
tanh`(x-iy) =A+iB, find A and B
B=Ai-itan(hx-hiy)
Rukmini
what is the addition of 101011 with 101010
If those numbers are binary, it's 1010101. If they are base 10, it's 202021.
Jack
extra power 4 minus 5 x cube + 7 x square minus 5 x + 1 equal to zero
the gradient function of a curve is 2x+4 and the curve passes through point (1,4) find the equation of the curve
1+cos²A/cos²A=2cosec²A-1
test for convergence the series 1+x/2+2!/9x3 By By    By Rhodes   By By Rhodes  