Answer:
The shortest distance is 2.2 miles
Step-by-step explanation:
we know that
The shortest distance you must travel to reach the river is the perpendicular distance to the river
step 1
Find the slope of the line perpendicular to the river
we have
[tex]y=3x+2[/tex]
The slope of the river is m=3
Remember that if two lines are perpendicular, then their slopes are opposite reciprocal (the product of their slopes is -1)
therefore
The slope of the line perpendicular to the river is
[tex]m=-1/3[/tex]
step 2
Find the equation of the line into point slope form
[tex]y-y1=m(x-x1)[/tex]
we have
[tex]m=-1/3[/tex]
[tex]point(2,1)[/tex]
substitute
[tex]y-1=-(1/3)(x-2)[/tex]
step 3
Find the intersection point of the river and the line perpendicular to the river
we have
[tex]y=3x+2[/tex] ------> equation A
[tex]y-1=-(1/3)(x-2)[/tex] -----> equation B
Solve the system by graphing
The intersection point is (-0.1,1,7)
see the attached figure
step 3
Find the distance between the points (2,1) and (-0,1,1.7)
the formula to calculate the distance between two points is equal to
[tex]d=\sqrt{(y2-y1)^{2}+(x2-x1)^{2}}[/tex]
substitute
[tex]d=\sqrt{(1.7-1)^{2}+(-0.1-2)^{2}}[/tex]
[tex]d=\sqrt{(0.7)^{2}+(-2.1)^{2}}[/tex]
[tex]d=2.2\ miles[/tex]