Inclination and Slope

A line crossing the xx-axis makes two supplementary angles with it. The angle θ\theta measured anticlockwise from the positive xx-axis is the inclination of the line, with 0°θ<180°0° \le \theta < 180°.

Line with inclination theta and slope facts card

Key Point (Definition): The slope (or gradient) of a line with inclination θ\theta is m=tanθm = \tan\theta, θ90°\theta \ne 90°. The xx-axis has slope 0; a vertical line has no slopetan90°\tan 90° is undefined.

Key Point (Two-point formula): The line through P(x1,y1)P(x_1, y_1) and Q(x2,y2)Q(x_2, y_2) with x1x2x_1 \ne x_2 has

m=y2y1x2x1m = \frac{y_2 - y_1}{x_2 - x_1}

The textbook proof runs both the acute and obtuse cases — the same formula emerges, so you never need to know which case you are in.

Four slope computations rising falling horizontal vertical

[Board Tip] Four little computations are the whole story: (3,2)(3,-2) to (1,4)(-1,4) gives m=32m = -\frac{3}{2} (falling); equal yy's give m=0m = 0 (horizontal); equal xx's give an undefined slope (vertical); inclination 60°60° gives m=3m = \sqrt{3}.

Parallel, Perpendicular, and the Angle Between Lines

Parallel equal slopes and perpendicular negative reciprocal slopes

Key Point: For non-vertical lines: parallel m1=m2\Leftrightarrow m_1 = m_2 (equal inclinations) and perpendicular m1m2=1\Leftrightarrow m_1 m_2 = -1 (slopes are negative reciprocals). Three points A,B,CA, B, C are collinear exactly when slope of ABAB = slope of BCBC.

When two lines cross, they make a pair of supplementary angles. In terms of slopes:

Angle between two lines formula with worked example

Key Point (Angle formula): The acute angle θ\theta between lines with slopes m1,m2m_1, m_2 satisfies

tanθ=m2m11+m1m2,1+m1m20\tan\theta = \left|\frac{m_2 - m_1}{1 + m_1m_2}\right|, \qquad 1 + m_1m_2 \ne 0

The obtuse angle is 180°θ180° - \theta.

For example: a line makes 45°45° with a line of slope 12\frac{1}{2} — solving m121+m2=±1\frac{m - \frac{1}{2}}{1 + \frac{m}{2}} = \pm 1 gives two slopes, m=3m = 3 or m=13m = -\frac{1}{3}: one line on each side of the given one.

[JEE Tip] The ±\pm is not a nuisance — it is geometry. Any "line making angle α\alpha with a given line" problem has two answers unless a further condition (a point, a quadrant) kills one.

Solved Examples

Example 1: Slopes four ways

Find the slope of the line (a) through (3,2)(3, -2) and (1,4)(-1, 4) (b) through (3,2)(3, -2) and (7,2)(7, -2) (c) through (3,2)(3, -2) and (3,4)(3, 4) (d) with inclination 60°60°.

Four slope computations rising falling horizontal vertical

Solution:

Step 1 — (a) Two-point formula. m=4(2)13=64=32m = \frac{4 - (-2)}{-1 - 3} = \frac{6}{-4} = -\frac{3}{2} — a falling line.

Step 2 — (b) Equal yy's. m=2(2)73=04=0m = \frac{-2 - (-2)}{7 - 3} = \frac{0}{4} = 0 — horizontal.

Step 3 — (c) Equal xx's. Denominator zero — the slope is not defined: a vertical line.

Step 4 — (d) From the inclination. m=tan60°=3m = \tan 60° = \sqrt{3}.

Takeaway: Numerator zero → horizontal; denominator zero → vertical (no slope). Both signs matter — track them.

Example 2: Two lines at 45°

If the angle between two lines is π4\frac{\pi}{4} and the slope of one is 12\frac{1}{2}, find the slope of the other.

Angle between two lines formula with worked example

Solution:

Step 1 — Set up the angle formula. With tan45°=1\tan 45° = 1: m121+m2=1\left|\frac{m - \frac{1}{2}}{1 + \frac{m}{2}}\right| = 1, i.e. m121+m2=±1\frac{m - \frac{1}{2}}{1 + \frac{m}{2}} = \pm 1.

Step 2 — Solve the ++ case. m12=1+m2m - \frac{1}{2} = 1 + \frac{m}{2} gives m2=32\frac{m}{2} = \frac{3}{2}: m=3m = 3.

Step 3 — Solve the - case. m12=1m2m - \frac{1}{2} = -1 - \frac{m}{2} gives 3m2=12\frac{3m}{2} = -\frac{1}{2}: m=13m = -\frac{1}{3}.

Takeaway: Two answers is geometry, not error — one line on each side of the given line makes 45°45° with it.

Example 3: Perpendicularity fixes a coordinate

The line through (2,6)(-2, 6) and (4,8)(4, 8) is perpendicular to the line through (8,12)(8, 12) and (x,24)(x, 24). Find xx.

Solution:

Step 1 — Compute both slopes. m1=864+2=13m_1 = \frac{8 - 6}{4 + 2} = \frac{1}{3}; m2=2412x8=12x8m_2 = \frac{24 - 12}{x - 8} = \frac{12}{x - 8}.

Step 2 — Impose m1m2=1m_1 m_2 = -1. 1312x8=1\frac{1}{3} \cdot \frac{12}{x - 8} = -1, so 4x8=1\frac{4}{x - 8} = -1.

Step 3 — Solve. x8=4x - 8 = -4: x=4x = 4.

Takeaway: Perpendicularity converts a geometric condition into a one-line equation in the unknown coordinate.

Example 4: Equidistant point on the x-axis

Find a point on the xx-axis equidistant from (7,6)(7, 6) and (3,4)(3, 4).

Solution:

Step 1 — Name the point. On the xx-axis it is (x,0)(x, 0).

Step 2 — Equate squared distances. (x7)2+36=(x3)2+16(x-7)^2 + 36 = (x-3)^2 + 16.

Step 3 — Expand and solve. x214x+85=x26x+25x^2 - 14x + 85 = x^2 - 6x + 25 gives 8x=608x = 60: x=152x = \frac{15}{2}.

Step 4 — Check. (1527)2+36=14+36=1454\left(\frac{15}{2}-7\right)^2 + 36 = \frac{1}{4} + 36 = \frac{145}{4}; (1523)2+16=814+16=1454\left(\frac{15}{2}-3\right)^2 + 16 = \frac{81}{4} + 16 = \frac{145}{4} ✓.

Takeaway: Work with squared distances — the x2x^2 terms cancel and a linear equation remains.

Example 5: Slope via a midpoint

Find the slope of the line through the origin and the midpoint of the segment joining P(0,4)P(0, -4) and B(8,0)B(8, 0).

Solution:

Step 1 — Midpoint. (0+82,4+02)=(4,2)\left(\frac{0+8}{2}, \frac{-4+0}{2}\right) = (4, -2).

Step 2 — Slope from the origin. m=2040=12m = \frac{-2 - 0}{4 - 0} = -\frac{1}{2}.

Takeaway: Composite constructions decompose into one formula per step — midpoint first, slope second.

Example 6: Right angle without Pythagoras

Show that (4,4)(4, 4), (3,5)(3, 5) and (1,1)(-1, -1) are vertices of a right-angled triangle.

Solution:

Step 1 — Slopes of two sides from (4,4)(4,4). To (1,1)(-1,-1): 1414=1\frac{-1-4}{-1-4} = 1. To (3,5)(3,5): 5434=1\frac{5-4}{3-4} = -1.

Step 2 — Multiply. 1×(1)=11 \times (-1) = -1 — the two sides are perpendicular.

Step 3 — Conclude. The angle at (4,4)(4, 4) is a right angle. ∎

Takeaway: The slope test replaces three distance computations with two subtractions.

Example 7: Angle with the y-axis

Find the slope of the line making a 30°30° angle with the positive direction of the yy-axis, measured anticlockwise.

Solution:

Step 1 — Convert to an inclination. The positive yy-axis sits at 90°90° from the positive xx-axis; anticlockwise 30°30° more gives inclination 120°120°.

Step 2 — Take the tangent. m=tan120°=tan60°=3m = \tan 120° = -\tan 60° = -\sqrt{3}.

Takeaway: Always convert to the inclination from the positive xx-axis before applying m=tanθm = \tan\theta.

Example 8: Parallelogram by slopes

Without the distance formula, show (2,1)(-2, -1), (4,0)(4, 0), (3,3)(3, 3), (3,2)(-3, 2) are vertices of a parallelogram.

Solution:

Step 1 — First pair of opposite sides. (2,1)(-2,-1) to (4,0)(4,0): m=16m = \frac{1}{6}; (3,2)(-3,2) to (3,3)(3,3): m=16m = \frac{1}{6} — parallel.

Step 2 — Second pair. (4,0)(4,0) to (3,3)(3,3): m=31=3m = \frac{3}{-1} = -3; (2,1)(-2,-1) to (3,2)(-3,2): m=31=3m = \frac{3}{-1} = -3 — parallel.

Step 3 — Conclude. Two pairs of parallel opposite sides: a parallelogram. ∎

Takeaway: "Without the distance formula" is a hint to use slopes — half the arithmetic, same conclusion.

Example 9: Inclination from two points

Find the angle between the xx-axis and the line joining (3,1)(3, -1) and (4,2)(4, -2).

Solution:

Step 1 — Slope. m=2(1)43=1m = \frac{-2 - (-1)}{4 - 3} = -1.

Step 2 — Solve tanθ=1\tan\theta = -1 in range. With 0°θ<180°0° \le \theta < 180°: θ=135°\theta = 135°.

Takeaway: Negative slope forces an obtuse inclination — never answer 45°-45°; inclinations live in [0°,180°)[0°, 180°).

Example 10: Double slope

The slope of one line is double that of another. If the tangent of the angle between them is 13\frac{1}{3}, find the slopes.

Solution:

Step 1 — Set up. Slopes mm and 2m2m: 2mm1+2m2=13\left|\frac{2m - m}{1 + 2m^2}\right| = \frac{1}{3}, so 3m=1+2m23|m| = 1 + 2m^2.

Step 2 — Solve for m>0m > 0. 2m23m+1=02m^2 - 3m + 1 = 0 gives (2m1)(m1)=0(2m - 1)(m - 1) = 0: m=1m = 1 or 12\frac{1}{2}.

Step 3 — Collect all answers. Slopes (1,2)(1, 2) or (12,1)\left(\frac{1}{2}, 1\right); the m<0m < 0 sign gives the mirror pairs (1,2)(-1, -2) and (12,1)\left(-\frac{1}{2}, -1\right).

Takeaway: The modulus hides a second family of solutions — solve each sign case and report all.

Example 11: Collinearity by slope

Show that (3,0)(3, 0), (2,2)(-2, -2) and (8,2)(8, 2) are collinear.

Solution:

Step 1 — Two slopes from the shared point. (3,0)(3,0) to (2,2)(-2,-2): 25=25\frac{-2}{-5} = \frac{2}{5}; (3,0)(3,0) to (8,2)(8,2): 25\frac{2}{5}.

Step 2 — Conclude. Equal slopes through a common point put all three points on one line. ∎

Takeaway: Collinearity = equal slopes from a shared point — one comparison, no distances.