Math Lab
Home/Class XI/Ch 9/Various forms of the equation of a line

Various forms of the equation of a line

The same line in the plane can be described by many equivalent equations. Picking the right form for the data given turns a problem into a one-line computation. Below are the five standard forms, when to use each, and how to convert between them.

The five forms

1. Slope-intercept form

When you know the slope mm and the yy-intercept cc: y=mx+c.\boxed{y = m x + c.}

This is the most familiar form , it directly displays slope and where the line crosses the yy-axis.

2. Point-slope form

When you know the slope mm and one point (x1,y1)(x_1, y_1) on the line: yy1=m(xx1).\boxed{y - y_1 = m(x - x_1).}

To prove: every point (x,y)(x, y) on the line satisfies yy1xx1=m\dfrac{y - y_1}{x - x_1} = m.

3. Two-point form

When you know two points (x1,y1)(x_1, y_1) and (x2,y2)(x_2, y_2): yy1=y2y1x2x1(xx1).y - y_1 = \frac{y_2 - y_1}{x_2 - x_1}\,(x - x_1).

This is just point-slope with m=(y2y1)/(x2x1)m = (y_2 - y_1)/(x_2 - x_1).

4. Intercept form

When you know the xx-intercept aa and yy-intercept bb (both nonzero): xa+yb=1.\boxed{\frac{x}{a} + \frac{y}{b} = 1.}

Checks: at (a,0)(a, 0), aa+0=1\dfrac{a}{a} + 0 = 1 ✓; at (0,b)(0, b), 0+1=10 + 1 = 1 ✓.

5. Normal form

When you know the perpendicular distance pp from origin to the line and the angle α\alpha that the perpendicular makes with the positive xx-axis: xcosα+ysinα=p,p0, 0α<2π.\boxed{x \cos\alpha + y \sin\alpha = p,\quad p \ge 0,\ 0 \le \alpha < 2\pi.}

The foot of the perpendicular from the origin to the line is (pcosα,psinα)(p \cos\alpha, p \sin\alpha).

Converting between forms

Every form can be rearranged into the general form Ax+By+C=0.A x + B y + C = 0.

  • Slope from general: m=A/Bm = -A/B (if B0B \ne 0).
  • xx-intercept: set y=0y = 0, get x=C/Ax = -C/A.
  • yy-intercept: set x=0x = 0, get y=C/By = -C/B.
  • Normal form: divide by ±A2+B2\pm\sqrt{A^2 + B^2} so that p0p \ge 0 and the constants match cosα,sinα\cos\alpha, \sin\alpha.

Worked examples

Example 1. Find the equation of the line with slope 33 and yy-intercept 2-2.

y=3x2y = 3x - 2.

Example 2. Find the equation of the line passing through (2,5)(2, 5) with slope 1-1.

y5=1(x2)y=x+7y - 5 = -1 (x - 2) \Rightarrow y = -x + 7.

Example 3. Find the line through (1,2)(1, 2) and (4,8)(4, 8).

Slope =(82)/(41)=2= (8 - 2)/(4 - 1) = 2. Equation: y2=2(x1)y=2xy - 2 = 2(x - 1) \Rightarrow y = 2x.

Example 4. A line has xx-intercept 44 and yy-intercept 3-3. Find its equation.

x4+y3=13x4y=12\dfrac{x}{4} + \dfrac{y}{-3} = 1 \Rightarrow 3x - 4y = 12.

Example 5. Express 3x+y=2\sqrt{3} x + y = 2 in normal form.

Divide by 3+1=2\sqrt{3 + 1} = 2: 32x+12y=1\dfrac{\sqrt{3}}{2} x + \dfrac{1}{2} y = 1. So cosα=3/2,sinα=1/2α=30°\cos\alpha = \sqrt{3}/2, \sin\alpha = 1/2 \Rightarrow \alpha = 30°, p=1p = 1.

Try it yourself

  1. Slope 55, yy-intercept 1-1 , write equation.
  2. Line through (3,4)(3, -4) with slope 22.
  3. Line through (1,1)(1, 1) and (3,7)(3, 7).
  4. Line with intercepts 2-2 on xx-axis and 55 on yy-axis.
  5. Line at perpendicular distance 22 from origin, with the perpendicular making angle 60°60° with xx-axis.
  6. Convert 3x+4y12=03x + 4y - 12 = 0 to slope-intercept, intercept, and normal forms.
  7. Equation of the line cutting equal intercepts of 55 on the axes.
  8. Find the equation of the line parallel to 2x3y+1=02x - 3y + 1 = 0 passing through (2,1)(2, -1).
  9. Find the equation of the perpendicular bisector of the segment from (1,2)(1, 2) to (5,4)(5, 4).
  10. Line passing through (0,0)(0, 0) with slope tan45°=1\tan 45° = 1.
  11. Convert xy+2=0x - y + 2 = 0 to normal form.
  12. Find the line through (1,3)(-1, 3) parallel to the xx-axis.

Pitfalls / Tricks

  • For a horizontal line, use y=cy = c directly.
  • For a vertical line, use x=ax = a.
  • In the intercept form, both intercepts must be nonzero (else the line passes through the origin).
  • Insight. Match the form to the data. If you know two points, two-point form. If slope and intercept, slope-intercept. If both intercepts, intercept form. This saves time and errors.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Forms of equation of a line
6 questions · pick the best answer
Q1

Q2

Q3

Q4

Q5

Q6