WishWasTraining Academy
NDA & Naval Academy entrance exam school
← home
Chapter M4-2 Ā· revision sheet Ā· free

The straight line: revision sheet

The chapter on one page, for the last weeks before the exam. Read the full lesson first if any line here is new to you.

Formulas and facts

  • Slope ​m = \tan\theta = \dfrac{y_2 - y_1}{x_2 - x_1}​. Horizontal: 0. Vertical: no slope.
Form Equation
Slope-intercept ​y = mx + c​
Point-slope ​y - y_1 = m(x - x_1)​
Two-point ​y - y_1 = \dfrac{y_2 - y_1}{x_2 - x_1}(x - x_1)​
Intercept ​\dfrac{x}{a} + \dfrac{y}{b} = 1​
Normal ​x\cos\alpha + y\sin\alpha = p​, ​p > 0​
General ​ax + by + c = 0​
  • For ​ax + by + c = 0​: slope ​-\dfrac{a}{b}​, x-intercept ​-\dfrac{c}{a}​, y-intercept ​-\dfrac{c}{b}​.
  • Parallel: ​m_1 = m_2​. Perpendicular: ​m_1 m_2 = -1​, or ​a_1 a_2 + b_1 b_2 = 0​.
  • Parallel to ​ax + by + c = 0​: ​ax + by + k = 0​. Perpendicular: ​bx - ay + k = 0​.
  • Acute angle: ​\tan\theta = \left\lvert \dfrac{m_1 - m_2}{1 + m_1 m_2} \right\rvert​.
  • Distance of ​(x_1, y_1)​ from the line: ​\dfrac{\lvert a x_1 + b y_1 + c \rvert}{\sqrt{a^2 + b^2}}​.
  • Between ​ax + by + c_1 = 0​ and ​ax + by + c_2 = 0​: ​\dfrac{\lvert c_1 - c_2 \rvert}{\sqrt{a^2 + b^2}}​.

Quick methods

  • Perpendicular line through a point: swap the coefficients, change one sign, find ​k​ from the point.
  • Normal form: constant to the right and positive, divide by ​\sqrt{a^2 + b^2}​.
  • Concurrent lines: meet two of them, put the point into the third.
  • A line with a parameter ​m​ that passes through a fixed point: split into two lines and meet them.
  • Triangle formed by lines: find the corners, then use a base and a height you can read off.

Traps

  • The slope of ​ax + by + c = 0​ is ​-\dfrac{a}{b}​, not ​\dfrac{a}{b}​ or ​-\dfrac{b}{a}​.
  • Perpendicular slope: turn over and change the sign, both. ​\dfrac{2}{3}​ goes to ​-\dfrac{3}{2}​.
  • Parallel lines with unequal coefficients: make them equal first. ​2x + y - 3 = 0​ and ​4x + 2y + 5 = 0​: halve the second.
  • In the normal form ​p​ is a positive length and ​\cos^2\alpha + \sin^2\alpha = 1​; mind the quadrant of ​\alpha​.
  • Dividing by ​a + b​ instead of ​\sqrt{a^2 + b^2}​.

Check yourself

  1. Distance of ​(3, 4)​ from ​3x + 4y - 5 = 0​? [4]
  2. Acute angle between lines of slopes 3 and ​\dfrac{1}{2}​? [​45^\circ​]
  3. Distance between ​5x - 12y + 7 = 0​ and ​10x - 24y - 12 = 0​? [1]