Login

Concepts

Read through concept notes with worked explanations and diagrams, chapter by chapter.

Concept 02 / 14Coordinate Geometry

Straight Lines: Slope, Standard Forms and the Angle Between Two Lines

Slope and inclination, the point-slope, slope-intercept, two-point, intercept, normal and parametric forms, the general equation ax + by + c = 0, angle between two lines, conditions for parallel and perpendicular lines, and lines making a given angle with a line.

Figure 1
A non-vertical line has slope m=tan⁡θm = \tan\theta, where θ∈[0,π)\theta \in [0, \pi), θ≠π2\theta \neq \frac{\pi}{2}, is its inclination to the positive xx-axis. Through (x1,y1)(x_{1}, y_{1}) and (x2,y2)(x_{2}, y_{2}) the slope is y2−y1x2−x1\frac{y_{2} - y_{1}}{x_{2} - x_{1}}. Vertical lines have undefined slope; horizontal lines have slope 00. Standard forms. Use whichever matches the data given. Point-slope: y−y1=m(x−x1)y - y_{1} = m(x - x_{1}). Slope-intercept: y=mx+cy = mx + c, where cc is the yy-intercept. Two-point: y−y1y2−y1=x−x1x2−x1\frac{y - y_{1}}{y_{2} - y_{1}} = \frac{x - x_{1}}{x_{2} - x_{1}}. Intercept: xa+yb=1\frac{x}{a} + \frac{y}{b} = 1, cutting the axes at (a,0)(a, 0) and (0,b)(0, b). Normal: xcos⁡α+ysin⁡α=px\cos\alpha + y\sin\alpha = p, where p>0p > 0 is the perpendicular distance from the origin and α\alpha is the angle this perpendicular makes with the xx-axis. The figure shows the intercept and normal descriptions of the same line. Parametric (distance) form: x=x1+rcos⁡θx = x_{1} + r\cos\theta, y=y1+rsin⁡θy = y_{1} + r\sin\theta, where rr is the signed distance from (x1,y1)(x_{1}, y_{1}) along the line. This form is ideal for questions about points at a given distance along a line, or products of distances to where the line meets a curve. General form: ax+by+c=0ax + by + c = 0, with slope −ab-\frac{a}{b}, xx-intercept −ca-\frac{c}{a} and yy-intercept −cb-\frac{c}{b}. To convert to normal form, divide by ±a2+b2\pm\sqrt{a^{2} + b^{2}}, choosing the sign that makes the constant term on the right positive. Angle between two lines with slopes m1m_{1} and m2m_{2}: tan⁡θ=∣m1−m21+m1m2∣\tan\theta = \left|\frac{m_{1} - m_{2}}{1 + m_{1}m_{2}}\right|, which gives the acute angle; the obtuse angle is π−θ\pi - \theta. It comes from tan⁡(θ1−θ2)\tan(\theta_{1} - \theta_{2}). Special cases: parallel if m1=m2m_{1} = m_{2}; perpendicular if m1m2=−1m_{1}m_{2} = -1 (or one is vertical and the other horizontal). For 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 a1b2=a2b1a_{1}b_{2} = a_{2}b_{1}; perpendicular iff a1a2+b1b2=0a_{1}a_{2} + b_{1}b_{2} = 0. Lines parallel and perpendicular to a given line. Parallel to ax+by+c=0ax + by + c = 0: ax+by+k=0ax + by + k = 0. Perpendicular: bx−ay+k=0bx - ay + k = 0. Determine kk from a point the new line passes through. This avoids computing slopes. Lines through a point making angle α\alpha with a given line. If the given line has slope mm, the required slopes m′m' satisfy ∣m′−m1+mm′∣=tan⁡α\left|\frac{m' - m}{1 + mm'}\right| = \tan\alpha, which gives two values m′=m±tan⁡α1∓mtan⁡αm' = \frac{m \pm \tan\alpha}{1 \mp m\tan\alpha}; one of them may be infinite (a vertical line), which must not be missed. Key Takeaways: - m=tan⁡θm = \tan\theta; two-point slope y2−y1x2−x1\frac{y_{2} - y_{1}}{x_{2} - x_{1}}. - Intercept form xa+yb=1\frac{x}{a} + \frac{y}{b} = 1; normal form xcos⁡α+ysin⁡α=px\cos\alpha + y\sin\alpha = p. - Parametric: (x1+rcos⁡θ,y1+rsin⁡θ)(x_{1} + r\cos\theta, y_{1} + r\sin\theta) with rr a signed distance. - tan⁡θ=∣m1−m21+m1m2∣\tan\theta = |\frac{m_{1} - m_{2}}{1 + m_{1}m_{2}}|; parallel m1=m2m_{1} = m_{2}; perpendicular m1m2=−1m_{1}m_{2} = -1. - Parallel to ax+by+c=0ax + by + c = 0: ax+by+k=0ax + by + k = 0; perpendicular: bx−ay+k=0bx - ay + k = 0. - Two lines make a given angle with a line; check for a vertical one. - Pitfall: using the intercept form for a line through the origin (both intercepts zero). Brain-Teaser 1: Find the equation of the line through (2,3)(2, 3) whose intercepts on the axes are equal in magnitude but opposite in sign. Solution: Intercept form with b=−ab = -a: xa−ya=1\frac{x}{a} - \frac{y}{a} = 1, that is, x−y=ax - y = a. Through (2,3)(2, 3): a=−1a = -1, so x−y+1=0x - y + 1 = 0. But the line through the origin, y=32xy = \frac{3}{2}x, also has 'equal and opposite' intercepts (both 00). So both x−y+1=0x - y + 1 = 0 and 3x−2y=03x - 2y = 0 qualify, and a careful answer mentions both. Brain-Teaser 2: Find the equations of the lines through (1,2)(1, 2) making an angle of 45∘45^{\circ} with 2x−y+3=02x - y + 3 = 0. Solution: The given slope is 22. We need ∣m−21+2m∣=1\left|\frac{m - 2}{1 + 2m}\right| = 1. Case ++: m−2=1+2mm - 2 = 1 + 2m gives m=−3m = -3. Case −-: m−2=−1−2mm - 2 = -1 - 2m gives m=13m = \frac{1}{3}. The lines are y−2=−3(x−1)y - 2 = -3(x - 1) and y−2=13(x−1)y - 2 = \frac{1}{3}(x - 1), that is, 3x+y−5=03x + y - 5 = 0 and x−3y+5=0x - 3y + 5 = 0. As a check, these two lines are perpendicular to each other, as the two lines at 45∘45^{\circ} to a given line must be. Brain-Teaser 3: A line through A(2,1)A(2, 1) makes an angle of 60∘60^{\circ} with the xx-axis. Find the points on it at distance 44 from AA. Solution: Parametric form with cos⁡60∘=12\cos 60^{\circ} = \frac{1}{2} and sin⁡60∘=32\sin 60^{\circ} = \frac{\sqrt{3}}{2}: (2+r2,1+3r2)(2 + \frac{r}{2}, 1 + \frac{\sqrt{3}r}{2}). With r=±4r = \pm 4: (4,1+23)(4, 1 + 2\sqrt{3}) and (0,1−23)(0, 1 - 2\sqrt{3}). The parametric form makes 'distance along the line' a single parameter, avoiding a quadratic in xx.