• Foundation
  • About 14 min
  • 5 practice questions

Slope, angle of inclination and vertical tangents

Link the slope of a tangent to the angle it makes with the x-axis, find points where a tangent has a given inclination, and recognise horizontal and vertical tangents on a curve.

If something looks wrong, please tell us.

You already know that dy/dx is the slope of the tangent to a curve. Questions often describe a tangent by its angle instead of its slope: 'the tangent makes an angle of 45° with the x-axis'. This lesson shows how to translate between the two, and what happens at the two special directions, horizontal and vertical.

Slope and the angle of inclination

The angle of inclination θ of a line is the angle it makes with the positive direction of the x-axis, measured anticlockwise, with 0° ≤ θ < 180°. The slope is m = tan θ. A few values worth knowing by heart are listed below.

Angle θSlope m = tan θPicture
0°0horizontal line
30°1/√3gentle rise
45°1rises as fast as it runs
60°√3steep rise
90°not definedvertical line
120°−√3steep fall
135°−1falls as fast as it runs

So 'the tangent makes 45° with the x-axis' means dy/dx = 1, and 'makes 135°' means dy/dx = −1. A tangent parallel to the x-axis has dy/dx = 0. A tangent parallel to the y-axis, a vertical tangent, has no slope: dy/dx is undefined there.

Tangent at angle θ means dy/dx = tan θ. Solve dy/dx = tan θ for x, then find y from the curve.

Worked example 1: a tangent at 45°

Find the point on y = x² − 4x + 5 where the tangent makes 45° with the x-axis. dy/dx = 2x − 4. Set 2x − 4 = tan 45° = 1, so x = 5/2. Then y = 25/4 − 10 + 5 = 5/4. The point is (5/2, 5/4).

Worked example 2: a tangent at 135°

Find the points on y = x³ − 4x where the tangent makes 135° with the positive x-axis. Here dy/dx = 3x² − 4 and tan 135° = −1. Solving 3x² − 4 = −1 gives x² = 1, so x = 1 or x = −1. When x = 1, y = 1 − 4 = −3. When x = −1, y = −1 + 4 = 3. The points are (1, −3) and (−1, 3). There are two because the curve falls with that slope at two places.

Worked example 3: a tangent at 60°

On y = x², the tangent makes 60° where 2x = tan 60° = √3. So x = √3/2 and y = 3/4. The point is (√3/2, 3/4). Check that 60° is possible: the slope 2x can take every value, so yes.

Vertical tangents

A vertical tangent occurs where dy/dx is infinite, which usually means the denominator of dy/dx is zero while the numerator is not. The tangent is then the line x = constant. For the curve x = y², differentiate with respect to y: dx/dy = 2y, which is zero at y = 0. So at the origin dy/dx is infinite and the tangent is the vertical line x = 0.

Worked example 4: a circle

For x² + y² = 25, implicit differentiation gives 2x + 2y·(dy/dx) = 0, so dy/dx = −x/y. The slope is 0 where x = 0, that is at (0, 5) and (0, −5), giving horizontal tangents y = 5 and y = −5. The slope is undefined where y = 0, that is at (5, 0) and (−5, 0), giving vertical tangents x = 5 and x = −5. This matches the picture: a circle is flat at the top and bottom and upright at the left and right edges.

Key takeaways: slope = tan of the angle of inclination, so 45° means 1, 135° means −1 and 0° means 0. Solve dy/dx = tan θ to find the point. Horizontal tangents have dy/dx = 0; vertical tangents have dy/dx undefined, found where the denominator is zero. Always return to the curve to get the y-coordinate.

Check your understanding

  1. 1. A line makes an angle of 45° with the positive x-axis. What is its slope?

    1. √3
    2. 0
    3. 1
    4. −1
    Show answer

    Answer: C. The slope is tan 45° = 1.

  2. 2. At which x does the tangent to y = x² − 2x make 45° with the x-axis?

    1. x = 3/2
    2. x = 1
    3. x = 3
    4. x = 1/2
    Show answer

    Answer: A. dy/dx = 2x − 2. Setting 2x − 2 = 1 gives x = 3/2.

  3. 3. A tangent to a curve has slope −1. What angle does it make with the positive x-axis?

    1. 45°
    2. 120°
    3. 150°
    4. 135°
    Show answer

    Answer: D. tan θ = −1 with 0° ≤ θ < 180° gives θ = 135°. The line falls as fast as it runs.

  4. 4. What are the equations of the vertical tangents to x² + y² = 16?

    1. y = 4 and y = −4
    2. x = 4 and x = −4
    3. x = 0 and y = 0
    4. x = 16 and x = −16
    Show answer

    Answer: B. dy/dx = −x/y is undefined where y = 0. Then x² = 16, so x = ±4, and the vertical tangents are x = 4 and x = −4.

  5. 5. At x = 1, the tangent to y = x³/3 makes what angle with the positive x-axis?

    1. 45°
    2. 30°
    3. 60°
    4. 90°
    Show answer

    Answer: A. dy/dx = x², which is 1 at x = 1. Since tan 45° = 1, the angle is 45°.

Privacy · Terms · Refunds · Delivery