Math Lab
Home/Class XI/Ch 9/General form Ax + By + C = 0

General form Ax+By+C=0A x + B y + C = 0

Every straight line in the plane can be written as Ax+By+C=0,A x + B y + C = 0, where A,B,CA, B, C are real numbers and A,BA, B are not both zero. This general form is the canonical algebraic representation of a line. The art is to read off all geometric information , slope, intercepts, distance from origin, normal direction , directly from A,B,CA, B, C.

Reading from the general form

For the line Ax+By+C=0A x + B y + C = 0:

  • Slope. Solve for yy: y=ABxCBy = -\dfrac{A}{B} x - \dfrac{C}{B} (when B0B \ne 0). So m=AB.m = -\frac{A}{B}. If B=0B = 0, the line is vertical: x=C/Ax = -C/A.

  • xx-intercept. Set y=0y = 0: x=C/Ax = -C/A (when A0A \ne 0).

  • yy-intercept. Set x=0x = 0: y=C/By = -C/B (when B0B \ne 0).

  • Perpendicular distance from origin. p=CA2+B2p = \dfrac{|C|}{\sqrt{A^2 + B^2}}.

  • Normal direction. The vector (A,B)(A, B) is perpendicular to the line. The unit normal is 1A2+B2(A,B)\dfrac{1}{\sqrt{A^2 + B^2}}(A, B).

  • Normal form. Divide Ax+By+C=0A x + B y + C = 0 by ±A2+B2\pm\sqrt{A^2 + B^2} (choose sign to make the constant term negative , i.e., to get p0p \ge 0 on the right side): AA2+B2x+BA2+B2y=CA2+B2.\frac{A}{\sqrt{A^2 + B^2}} x + \frac{B}{\sqrt{A^2 + B^2}} y = \frac{-C}{\sqrt{A^2 + B^2}}.

Two lines A1x+B1y+C1=0A_1 x + B_1 y + C_1 = 0 and A2x+B2y+C2=0A_2 x + B_2 y + C_2 = 0

  • Parallel iff slopes equal iff A1B2=A2B1A_1 B_2 = A_2 B_1 (and they are distinct: A1C2A2C1A_1 C_2 \ne A_2 C_1).
  • Coincident iff A1/A2=B1/B2=C1/C2A_1/A_2 = B_1/B_2 = C_1/C_2.
  • Perpendicular iff A1A2+B1B2=0A_1 A_2 + B_1 B_2 = 0.

Worked examples

Example 1. Find the slope and intercepts of 2x3y+6=02 x - 3 y + 6 = 0.

Slope: m=A/B=2/(3)=2/3m = -A/B = -2/(-3) = 2/3. xx-intercept: C/A=6/2=3-C/A = -6/2 = -3. yy-intercept: C/B=6/(3)=2-C/B = -6/(-3) = 2.

Example 2. Perpendicular distance from origin to 3x+4y10=03 x + 4 y - 10 = 0.

p=109+16=105=2p = \dfrac{|-10|}{\sqrt{9 + 16}} = \dfrac{10}{5} = 2.

Example 3. Express 4x3y+10=04 x - 3 y + 10 = 0 in normal form.

A2+B2=5\sqrt{A^2 + B^2} = 5. Divide by 5-5 to make the right side positive: 45x+35y=2-\dfrac{4}{5} x + \dfrac{3}{5} y = 2. So cosα=4/5\cos\alpha = -4/5, sinα=3/5\sin\alpha = 3/5, p=2p = 2.

Example 4. Are 2x3y+1=02 x - 3 y + 1 = 0 and 4x6y5=04 x - 6 y - 5 = 0 parallel?

Check: A1B2=2(6)=12A_1 B_2 = 2 \cdot (-6) = -12, A2B1=4(3)=12A_2 B_1 = 4 \cdot (-3) = -12. Equal. Are they coincident? C1/A1=1/2,C2/A2=5/4C_1/A_1 = 1/2, C_2/A_2 = -5/4 , not equal. So parallel and distinct.

Example 5. Are 3x4y+5=03 x - 4 y + 5 = 0 and 8x+6y1=08 x + 6 y - 1 = 0 perpendicular?

A1A2+B1B2=38+(4)6=2424=0A_1 A_2 + B_1 B_2 = 3 \cdot 8 + (-4) \cdot 6 = 24 - 24 = 0. Yes, perpendicular.

Try it yourself

  1. Find the slope of 5x+2y3=05 x + 2 y - 3 = 0.
  2. Convert 2x+3y6=02 x + 3 y - 6 = 0 to slope-intercept form.
  3. Find the perpendicular distance from origin to x+y4=0x + y - 4 = 0.
  4. Express xy+5=0x - y + 5 = 0 in normal form.
  5. Are x+2y4=0x + 2 y - 4 = 0 and 3x+6y7=03 x + 6 y - 7 = 0 parallel?
  6. Are 5x+3y1=05 x + 3 y - 1 = 0 and 3x5y+7=03 x - 5 y + 7 = 0 perpendicular?
  7. Find the equation of the line parallel to 3x5y+7=03 x - 5 y + 7 = 0 passing through (1,2)(1, -2).
  8. Find the equation of the line perpendicular to 2x+3y6=02 x + 3 y - 6 = 0 passing through (4,5)(4, 5).
  9. If 2x+3y5=02 x + 3 y - 5 = 0 and 5x+py3=05 x + p y - 3 = 0 are parallel, find pp.
  10. The line Ax+By+C=0A x + B y + C = 0 passes through the origin iff C=?C = ?
  11. Find the intercepts of the line 3x2y+12=03 x - 2 y + 12 = 0.
  12. Convert x+3y6=0x + \sqrt{3} y - 6 = 0 to normal form.

Pitfalls / Tricks

  • If B=0B = 0, the line is vertical and slope is undefined.
  • For normal form, the choice of sign must give p>0p > 0 on the right side.
  • (A,B)(A, B) is normal to (perpendicular to) the line Ax+By+C=0A x + B y + C = 0.
  • Insight. The general form is just a relabelled "level set" of the linear function f(x,y)=Ax+By+Cf(x, y) = A x + B y + C. The gradient (A,B)(A, B) points perpendicular to the line.

Practice quiz

Quick check on this topic.

Quiz
Quick check : General form
6 questions · pick the best answer
Q1

Q2

Q3

Q4

Q5

Q6