# Step in derivation of distance from line to point. Help needed

I am working through http://mathworld.wolfram.com/Point-LineDistance2-Dimensional.html and have become stuck in a number of places, presently it is in turning step 10 into step 11 and the identity

$$|ax_0+by_0+c|=|ax+by-ax_0-by_0|$$

I must be missing something from the previous steps. More help may be needed if and when I progress.

Thanks.

-
Well, since $ax+by+c=0$ and $|x|=|-x|$... – J. M. Aug 22 '11 at 10:12

## 1 Answer

WTS: $|ax_0+by_0+c|=|ax+by-ax_0-by_0|$

The thing to note is that $ax + by + c = 0$, as it's the line we're talking about. So we have that $|ax + by - ax_0 - by_0| = |ax + by + c - c - ax_0 - by_0| = |-ax_0 - by_0 - c| = |ax_0 + by_0 + c|$

-
Ah, now I see perfectly, stumped by the sub-zeroth stage! Thanks. I found another solution for my needs but nice to learn maths with you. – John Aug 22 '11 at 12:57