Question 1127624
<br>
Tutor Alan3354 said there was more than one way to work the problem; and then he outlined only one way.  I'm not sure if that was his intention, or if he had intended to show a different method.<br>
In any case, his solution method is a good one.  Outlined, it says
(1) find the slope of XZ
(2) find the perpendicular slope
(3) find the equation of the line with the slope from (2) passing through A(3,0)
(4) find the point of intersection of XZ and the line from (3)
(5) find the distance from A to that intersection point<br>
Note in fact the given point Y DOES become involved in the problem, because it turns out to be the point of intersection of the two lines.<br>
Now here is another method that is very useful in problems like this.  It's basically a formula that can be derived from the solution method described above.<br>
<b>SHORTEST DISTANCE FROM A GIVEN POINT TO A GIVEN LINE</b><br>
If the equation is in the form Ax+By+C=0, the shortest distance from P(m,n) to the line is<br>
{{{abs(Am+Bn+C)/sqrt(A^2+B^2)}}}<br>
For this problem, the equation of XZ is y = 3x+1; in the form required for the formula, that is 3x-y+1=0.  Then the shortest distance from (3,0) to that line is<br>
{{{abs(3(3)-1(0)+1)/sqrt(3^2+1^2) = 10/sqrt(10) = sqrt(10)}}}