Shortest distance between Y=2X+4 and point P(-8,9). How to find the shortast distance, please write step by step and graph it.

Asked on by paulbarton

1 Answer | Add Yours

lfryerda's profile pic

lfryerda | High School Teacher | (Level 2) Educator

Posted on

Consider the line y=2x+4 and the point P(-8,9).  Call the shortest distance from P to the line to be at the intersection point Q on the line.  Then the line PQ must be perpendicular to the line y=2x+4.  Since the line y=2x+4 has slope 2, then the line PQ has slope `-1/2` .  To find the equation of the line PQ, we use the slope and the point to get:


`9=-1/2(-8)+b`   solve for b




This means the equation of PQ is `y=-1/2x+5` .  To find Q, we need to find the intersection of the lines `y=-1/2x+5` and `y=2x+4` .  Equating the y-values, we get:

`2x+4=-1/2x+5`   multiply by 2

`4x+8=-x+10`   collect like terms




Sub into y=2x+4 to get



The shortest distance from P to the line y=2x+4 is the distance between `(-8,9)` and `(2/5, 24/5)` .  Using the distance formula, we get:





This means that the shortest distance between P and the line y=2x+4 is `{21sqrt5}/5.`

The graph is:

We’ve answered 319,857 questions. We can answer yours, too.

Ask a question