Galactus, don’t mind at all
Sigma, let’s try a strictly vector approach.
Given any line px+qy+r=0 in R<SUP>2</SUP>. The direction vector of that line is <-q,p>.
You seem to understand that somehow orthogonality comes in to play.
So lets say Q
a,b) is the closest point on 2x+3y=7 to the point P
4,4).
Thus the vector <-3,2> is the direction vector for 2x+3y=7.
The vector <PQ>=<a-4,b-4>. How is that vector perpendicular to <-3,2>.
Well <a-4,b-4>·<-3,2>=0; or –3(a-4)+2(b-4)=0. (two vectors are perpendicular if their dot product is zero). That means that 3a-2b=4.
Because (a,b) is on 2x+3y=7, this is true 2a+3b=7.
Where have we seen this system, 3a-2b=4 & 2a+3b=7?
The solution is (2,1). That is the point Q.