Derivatives · Class 12 · Lesson 16

Tangents and normals: the slope is the derivative.

Short answer

At \((x_0, y_0)\) on \(y = f(x)\) the tangent has slope \(m = f'(x_0)\), so its equation is \(y - y_0 = m(x - x_0)\). The normal is perpendicular: \(y - y_0 = -\dfrac{1}{m}(x - x_0)\).

Example: for \(y = x^2\) at \((1, 1)\), \(m = 2\). The tangent is \(y = 2x - 1\) and the normal is \(x + 2y = 3\).

Class 12HSC & CBSEDiploma
01

The slope of the tangent, and the normal

The tangent to a curve at a point \(P\) is the line that touches the curve at \(P\) and points the way the curve is heading there. Its slope is the derivative at that point: if \(P = (x_0, y_0)\) lies on \(y = f(x)\), the slope is \(m = f'(x_0)\). The normal at \(P\) is the line through \(P\) at right angles to the tangent.

Tangent and normal at a point

Slope of the tangent: \(m = f'(x_0)\)

Tangent: \(y - y_0 = m(x - x_0)\)

Normal: \(y - y_0 = -\dfrac{1}{m}(x - x_0)\), when \(m \ne 0\)

Why \(-\dfrac{1}{m}\)? Two lines, neither of them vertical, are perpendicular exactly when their slopes multiply to \(-1\). So if the tangent has slope 2, the normal has slope \(-\dfrac{1}{2}\).

The parabola y = x squared with its tangent and normal at the point (1, 1) x y 1 1 P(1, 1) tangent, slope 2 normal, slope −1/2 y = x²
For \(y = x^2\) at \(P(1, 1)\) the slope is \(f'(1) = 2\), so the orange tangent is \(y = 2x - 1\). The green normal goes through \(P\) at right angles to the tangent, so its slope is \(-\tfrac{1}{2}\) and its equation is \(x + 2y = 3\).
02

The method and the special cases

  1. Find \(\dfrac{dy}{dx}\). Use implicit or parametric differentiation if the curve is given that way.
  2. Get the point. If only \(x_0\) is given, find \(y_0\) from the curve.
  3. Put the point into \(\dfrac{dy}{dx}\) so the slope is a number.
  4. Write the line in point-slope form, then tidy it to \(ax + by + c = 0\).
The question says the tangent is…Condition
parallel to the \(x\)-axis (horizontal)\(\dfrac{dy}{dx} = 0\); tangent \(y = y_0\), normal \(x = x_0\)
parallel to the \(y\)-axis (vertical)\(\dfrac{dx}{dy} = 0\); tangent \(x = x_0\), normal \(y = y_0\)
parallel to \(ax + by + c = 0\)\(\dfrac{dy}{dx} = -\dfrac{a}{b}\)
perpendicular to \(ax + by + c = 0\)\(\dfrac{dy}{dx} = \dfrac{b}{a}\)
at angle \(\theta\) to the \(x\)-axis\(\dfrac{dy}{dx} = \tan\theta\)

Parametric curves. For \(x = x(t)\), \(y = y(t)\), the slope is \(\dfrac{dy}{dx} = \dfrac{dy/dt}{dx/dt}\). Find the point and the slope at the given \(t\), then write the line as usual. For an implicit curve, use implicit differentiation and substitute both coordinates.

Angle between two curves. Where two curves meet, the angle between them is the angle between their tangents. With slopes \(m_1\) and \(m_2\),

\[\tan\theta = \left|\frac{m_1 - m_2}{1 + m_1 m_2}\right|\]

The curves cut orthogonally (at right angles) when \(m_1 m_2 = -1\).

03

Solved examples

Example 1: Tangent and normal at a point

Easy

Find the equations of the tangent and the normal to \(y = x^3 - 2x + 3\) at \(x = 1\).

  1. At \(x = 1\): \(y = 1 - 2 + 3 = 2\), so the point is \((1, 2)\).
  2. \(\dfrac{dy}{dx} = 3x^2 - 2\), so \(m = 3 - 2 = 1\).
  3. Tangent: \(y - 2 = 1(x - 1)\), that is \(y = x + 1\).
  4. Normal, slope \(-1\): \(y - 2 = -(x - 1)\), that is \(x + y = 3\).

AnswerTangent \(x - y + 1 = 0\); normal \(x + y - 3 = 0\)

Example 2: Horizontal tangents

Easy

Find the points on \(y = x^3 - 6x^2 + 9x + 1\) where the tangent is parallel to the \(x\)-axis.

  1. Parallel to the \(x\)-axis means slope 0: \(\dfrac{dy}{dx} = 3x^2 - 12x + 9 = 0\).
  2. \(3(x - 1)(x - 3) = 0\), so \(x = 1\) or \(x = 3\).
  3. \(y(1) = 1 - 6 + 9 + 1 = 5\) and \(y(3) = 27 - 54 + 27 + 1 = 1\).

Answer\((1, 5)\) and \((3, 1)\)

Example 3: Tangent parallel to a line

Medium

Find the equation of the tangent to \(y = x^2 + 4x + 1\) that is parallel to the line \(2x - y + 5 = 0\).

  1. The line is \(y = 2x + 5\), with slope 2. Parallel lines have equal slopes.
  2. \(\dfrac{dy}{dx} = 2x + 4 = 2\) gives \(x = -1\), and then \(y = 1 - 4 + 1 = -2\).
  3. Tangent: \(y + 2 = 2(x + 1)\), that is \(y = 2x\).

Answer\(2x - y = 0\)

Example 4: Tangents perpendicular to a line

Medium

Find the equations of the tangents to \(y = x^3 + 2\) that are perpendicular to the line \(x + 12y = 5\).

  1. The line has slope \(-\dfrac{1}{12}\), so a line perpendicular to it has slope 12.
  2. \(3x^2 = 12\) gives \(x = 2\) or \(x = -2\). Keep both roots.
  3. At \(x = 2\), \(y = 10\): \(y - 10 = 12(x - 2)\), that is \(y = 12x - 14\).
  4. At \(x = -2\), \(y = -6\): \(y + 6 = 12(x + 2)\), that is \(y = 12x + 18\).

Answer\(y = 12x - 14\) and \(y = 12x + 18\)

Example 5: An implicit curve

Medium

Find the equations of the tangent and the normal to \(x^2 + 3xy + y^2 = 5\) at \((1, 1)\).

  1. Check the point: \(1 + 3 + 1 = 5\). ✓
  2. Differentiate: \(2x + 3\left(x\dfrac{dy}{dx} + y\right) + 2y\dfrac{dy}{dx} = 0\).
  3. Collect: \(\dfrac{dy}{dx} = -\dfrac{2x + 3y}{3x + 2y}\). At \((1, 1)\): \(m = -\dfrac{5}{5} = -1\).
  4. Tangent: \(y - 1 = -(x - 1)\). Normal, slope 1: \(y - 1 = x - 1\).

AnswerTangent \(x + y = 2\); normal \(y = x\)

Example 6: Horizontal and vertical tangents

Medium

Find the points on the ellipse \(\dfrac{x^2}{9} + \dfrac{y^2}{4} = 1\) where the tangent is (a) horizontal, (b) vertical.

  1. Differentiate: \(\dfrac{2x}{9} + \dfrac{2y}{4}\dfrac{dy}{dx} = 0\), so \(\dfrac{dy}{dx} = -\dfrac{4x}{9y}\).
  2. (a) Horizontal: \(\dfrac{dy}{dx} = 0\), so \(x = 0\). Then \(y^2 = 4\), giving \((0, 2)\) and \((0, -2)\).
  3. (b) Vertical: \(\dfrac{dx}{dy} = -\dfrac{9y}{4x} = 0\), so \(y = 0\). Then \(x^2 = 9\), giving \((3, 0)\) and \((-3, 0)\).

AnswerHorizontal at \((0, \pm 2)\); vertical at \((\pm 3, 0)\)

Example 7: A parametric curve: the astroid

Exam level

For \(x = a\cos^3 t\), \(y = a\sin^3 t\) with \(0 < t < \dfrac{\pi}{2}\), find the tangent at the point with parameter \(t\), and show that the part of it between the axes has length \(a\).

  1. \(\dfrac{dx}{dt} = -3a\cos^2 t\sin t\) and \(\dfrac{dy}{dt} = 3a\sin^2 t\cos t\).
  2. So \(\dfrac{dy}{dx} = \dfrac{3a\sin^2 t\cos t}{-3a\cos^2 t\sin t} = -\dfrac{\sin t}{\cos t}\).
  3. Tangent: \[y - a\sin^3 t = -\frac{\sin t}{\cos t}\left(x - a\cos^3 t\right)\]
  4. Multiply by \(\cos t\) and collect: \[x\sin t + y\cos t = a\sin t\cos t\left(\sin^2 t + \cos^2 t\right) = a\sin t\cos t\]
  5. Divide by \(a\sin t\cos t\): \(\dfrac{x}{a\cos t} + \dfrac{y}{a\sin t} = 1\). The intercepts are \(a\cos t\) and \(a\sin t\).
  6. Length between the axes: \(\sqrt{a^2\cos^2 t + a^2\sin^2 t} = a\), whatever \(t\) is.

AnswerTangent \(x\sin t + y\cos t = a\sin t\cos t\); the length cut off is \(a\)

Example 8: Curves cutting at right angles

Exam level

Show that the curves \(2x = y^2\) and \(2xy = k\) cut at right angles if \(k^2 = 8\).

  1. From \(2x = y^2\): \(2 = 2y\dfrac{dy}{dx}\), so \(m_1 = \dfrac{1}{y}\).
  2. From \(2xy = k\): \(2y + 2x\dfrac{dy}{dx} = 0\), so \(m_2 = -\dfrac{y}{x}\).
  3. At a meeting point \(x = \dfrac{y^2}{2}\), so \(m_2 = -\dfrac{2}{y}\) and \(m_1 m_2 = -\dfrac{2}{y^2}\).
  4. Right angles need \(m_1 m_2 = -1\), that is \(y^2 = 2\).
  5. From the two equations, \(k = 2xy = y^2\cdot y = y^3\), so \(k^2 = (y^2)^3 = 8\).

AnswerThe curves are orthogonal when \(k^2 = 8\)

Vipul Sir's tip

Write the slope as a number before you write any line. If your "tangent" still has an \(x\) in the slope, it isn't a straight line, and the examiner sees that at a glance.

04

Common mistakes

1. Leaving \(x\) in the slope

Wrong: the tangent to \(y = x^2\) at \((2, 4)\) is \(y - 4 = 2x(x - 2)\). That isn't even a line. Right: the slope \(2x\) equals 4 at \(x = 2\), so the tangent is \(y - 4 = 4(x - 2)\).

2. Normal slope written as \(-m\) or \(\dfrac{1}{m}\)

Perpendicular slopes multiply to \(-1\). If the tangent slope is \(\dfrac{2}{3}\), the normal slope is \(-\dfrac{3}{2}\), not \(-\dfrac{2}{3}\) or \(\dfrac{3}{2}\).

3. Dividing by zero when the tangent is flat

If \(f'(x_0) = 0\), the formula \(-\dfrac{1}{m}\) breaks down. The tangent is horizontal, \(y = y_0\), and the normal is vertical, \(x = x_0\). At \((1, 5)\) in Example 2, the normal is \(x = 1\).

05

Practice questions

Try each one on paper before you open the answer.

Q1Find the tangent and normal to \(y = x^2 + 3x\) at \((1, 4)\).

\(\dfrac{dy}{dx} = 2x + 3 = 5\) at \(x = 1\). Tangent: \(y - 4 = 5(x - 1)\), that is \(y = 5x - 1\).

Normal: \(y - 4 = -\dfrac{1}{5}(x - 1)\), that is \(x + 5y = 21\).

Q2Find the points on \(y = x^3 - 12x\) where the tangent is horizontal.

\(3x^2 - 12 = 0\) gives \(x = \pm 2\). Points: \((2, -16)\) and \((-2, 16)\).

Q3Find the tangent to \(y = x^2 - 4x + 5\) that is parallel to \(y = 2x + 3\).

\(2x - 4 = 2\) gives \(x = 3\), \(y = 2\). Tangent: \(y - 2 = 2(x - 3)\), that is \(y = 2x - 4\).

Q4Find the tangent to the circle \(x^2 + y^2 = 25\) at \((3, -4)\).

\(\dfrac{dy}{dx} = -\dfrac{x}{y} = \dfrac{3}{4}\) at \((3, -4)\).

Tangent: \(y + 4 = \dfrac{3}{4}(x - 3)\), that is \(3x - 4y = 25\).

Q5Find the normal to the cycloid \(x = a(\theta - \sin\theta)\), \(y = a(1 - \cos\theta)\) at \(\theta = \dfrac{\pi}{2}\).

\(\dfrac{dy}{dx} = \dfrac{a\sin\theta}{a(1 - \cos\theta)} = 1\) at \(\theta = \dfrac{\pi}{2}\). The point is \(\left(a\left(\dfrac{\pi}{2} - 1\right), a\right)\).

Normal, slope \(-1\): \(y - a = -\left(x - \dfrac{a\pi}{2} + a\right)\), that is \(x + y = \dfrac{a\pi}{2}\).

Q6Find the angle between the curves \(y = x^2\) and \(y = x^3\) at \((1, 1)\).

\(m_1 = 2\), \(m_2 = 3\). \(\tan\theta = \left|\dfrac{2 - 3}{1 + 6}\right| = \dfrac{1}{7}\), so \(\theta = \tan^{-1}\dfrac{1}{7} \approx 8.1^\circ\).

Stuck on a question?

Bring it to a free demo class and work through it with Vipul Sir. Book on WhatsApp.

06

Frequently asked questions

What is the equation of the tangent to a curve?

At \((x_0, y_0)\) on \(y = f(x)\), the tangent is \(y - y_0 = f'(x_0)(x - x_0)\). Differentiate, put in \(x_0\) to get the slope, and use point-slope form.

How do you find the equation of the normal?

Use the same point with slope \(-\dfrac{1}{f'(x_0)}\): \(y - y_0 = -\dfrac{1}{f'(x_0)}(x - x_0)\). If \(f'(x_0) = 0\), the normal is the vertical line \(x = x_0\).

When is a tangent parallel to the x-axis or the y-axis?

Parallel to the \(x\)-axis when \(\dfrac{dy}{dx} = 0\). Parallel to the \(y\)-axis when \(\dfrac{dx}{dy} = 0\), which is where the formula for \(\dfrac{dy}{dx}\) has a zero denominator.

What are orthogonal curves?

Two curves that cross at right angles. At each meeting point their tangents are perpendicular, so the product of the two slopes is \(-1\).

Related lessons

← All derivatives lessons
Vipul Sir
Written by Vipul Sir

Vipul Sir has taught mathematics for over 15 years to HSC, CBSE, ICSE, IGCSE/IB, Diploma, Engineering and BSc students at VVS Classes in Goregaon and Vile Parle, Mumbai. He teaches every class himself, concepts first and exam technique second.

Class 11 & 12 Maths

Differentiation gets easy once the basics click.

Concept-first classes in small batches in Goregaon and Vile Parle, or online, for HSC, CBSE and ICSE students. Your first class is free.

WhatsApp↗