Let, and we have,Originally Posted byc_323_h

a non-vertical non-horizonal line.

Thus, .

This, is important: to find the distance to point we need to draw a perpendicular line from that point to our line. Then, find the point where it intersects. And then finally use the distance formula to find the distance between these two points.

1)Find the slope of perpendicular line. That is easy since the perpendicular line has a negative reciprocal we have its slope is .

2)Find the equation of this perpendicular line. Using the slope-intercept formula we have, (because this perpendicualr line passes through )

Thus,

where

3)Find intersection of these two lines. The original line has equation,

and the perpendicular line .

Thus the problem reduces to finding the solution of these two systems,

The determinant of these two systems is,

Using Cramer's rule,

This is the point of intersection between the lines.

4)Find the distance. The distance between point and

Which is,

GET READY FOR THE NIGHTMARE

I am going to work with each one seperately. First the first squared sum and then the other one (too big for LaTex ):

The second squared sum under the radical is,

Open parantheses of each one and add them up, I found it helpful using the identity

-------------------------------------------------------------------------

That is numerator the denominator is of course

Working with the numerator notice we can group terms and factor as,

Factoring again,

But notice the expression,

= by the identity I mentioned above.

Thus, after all this we finally reach,

=

Notice, the common factors kill eachother thus,

Since both the numerator and denominator are positive we can split the radical as,

Remember by the propert of absolute value you have thus,