General equation (or Cartesian or implicit) of the straight line

If from the continuous equation of the straight line we operate and group terms we obtain: xp1v1=yp2v2v2(xp1)=v1(yp2)v2xv2p1=v1yv1p2v2xv1y+(v1p2v2p1)=0Ax+By+C=0

Where obviously,A=v2B=v1C=v1p2v2p1An interesting property of this equation is that v=(B,A) is a vector director of the straight line, and therefore w=(A,B) is a vector perpendicular to the straight line.

Example

Find the implicit equation of the straight line r:x35=y42

Computing and changing all the terms to one side we obtain: 2(x3)=5(y4)2x6=5y+202x+5y620=02x+5y26=0

Therefore the implicit equation is 2x+5y26=0 and the vector v=(5,2) is a vector director of the straight line.