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