Skip to content

Mathematics · Ch 6 — Two Dimensional Analytical Geometry

General Form to Other Forms

6.3.4

General Form to Other Forms

Every general linear equation Ax+By+C=0Ax+By+C=0 (with A,BA,B not both zero) can be rewritten in any of the other named forms, by comparing coefficients:

  1. Slope-intercept form (needs B≠0B\ne0): dividing by BB, y=−ABx−CBy=-\dfrac{A}{B}x-\dfrac{C}{B}, so

    slope=−AB,y-intercept=−CB.\text{slope}=-\frac{A}{B}, \qquad y\text{-intercept}=-\frac{C}{B}.

  2. Intercept form (needs A,B,CA,B,C all nonzero): rewriting as x−C/A+y−C/B=1\dfrac{x}{-C/A}+\dfrac{y}{-C/B}=1 gives

    x-intercept=−CA,y-intercept=−CB.x\text{-intercept}=-\frac{C}{A}, \qquad y\text{-intercept}=-\frac{C}{B}.

  3. Normal form (needs A,B≠0A,B\ne0): comparing Ax+By+C=0Ax+By+C=0 with xcos⁡α+ysin⁡α=px\cos\alpha+y\sin\alpha=p (i.e. xcos⁡α+ysin⁡α−p=0x\cos\alpha+y\sin\alpha-p=0), the coefficients must be proportional:

    cos⁡αA=sin⁡αB=−pC=±cos⁡2α+sin⁡2αA2+B2=±1A2+B2.\frac{\cos\alpha}{A}=\frac{\sin\alpha}{B}=\frac{-p}{C}=\pm\frac{\sqrt{\cos^2\alpha+\sin^2\alpha}}{\sqrt{A^2+B^2}}=\pm\frac{1}{\sqrt{A^2+B^2}}.

    The sign (++ or −-) is chosen so that the resulting pp comes out positive (since a normal length is always taken positive); with that choice, cos⁡α=∓AA2+B2,sin⁡α=∓BA2+B2,p=∣C∣A2+B2.\cos\alpha=\frac{\mp A}{\sqrt{A^2+B^2}}, \qquad \sin\alpha=\frac{\mp B}{\sqrt{A^2+B^2}}, \qquad p=\frac{|C|}{\sqrt{A^2+B^2}}. …