# 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$ .

Find the possible value of 8.5 using moivre's theorem
which of these functions is not uniformly cintinuous on (0, 1)? sinx
which of these functions is not uniformly continuous on 0,1
solve this equation by completing the square 3x-4x-7=0
X=7
Muustapha
=7
mantu
x=7
mantu
3x-4x-7=0 -x=7 x=-7
Kr
x=-7
mantu
9x-16x-49=0 -7x=49 -x=7 x=7
mantu
what's the formula
Modress
-x=7
Modress
new member
siame
what is trigonometry
deals with circles, angles, and triangles. Usually in the form of Soh cah toa or sine, cosine, and tangent
Thomas
solve for me this equational y=2-x
what are you solving for
Alex
solve x
Rubben
you would move everything to the other side leaving x by itself. subtract 2 and divide -1.
Nikki
then I got x=-2
Rubben
it will b -y+2=x
Alex
goodness. I'm sorry. I will let Alex take the wheel.
Nikki
ouky thanks braa
Rubben
I think he drive me safe
Rubben
how to get 8 trigonometric function of tanA=0.5, given SinA=5/13? Can you help me?m
More example of algebra and trigo
What is Indices
If one side only of a triangle is given is it possible to solve for the unkown two sides?
cool
Rubben
kya
Khushnama
please I need help in maths
Okey tell me, what's your problem is?
Navin
the least possible degree ?
(1+cosA)(1-cosA)=sin^2A
good
Neha
why I'm sending you solved question
Mirza
Teach me abt the echelon method
Khamis
exact value of cos(π/3-π/4)
What is differentiation?