Tangents and normals · Mathematics Class 11–12 | StemPy Lab
Course 10.2·Lesson 1 of 3
Tangents and normals
The tangent to a curve at a point is the straight line that touches the curve there, and its gradient is the derivative at that point. The normal is the line through the same point at a right angle to the tangent, so its gradient is minus the reciprocal. The tangent is y−y0=f′(x0)(x−x0)
Lesson 1 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
What you will be able to do
find the gradient of a curve at a point from its derivative;
write the equations of the tangent and the normal at a point;
handle a horizontal tangent and a vertical tangent;
find the gradient for an implicit curve and for a parametric curve.
The gradient of a curve
A straight line has one gradient everywhere. A curve has a different gradient at every point. We measure it with a tangent, the line that touches the curve at that point and has the same direction as the curve there.
The gradient of the tangent is the derivative f′(x0). The word gradient is used in A-Level and IB. In NCERT and AP the same number is called the slope. We use both words.
These topics are examined in JEE Main, A-Level Pure Maths, IB Analysis and Approaches and AP Calculus. Check the current syllabus of your own board for tangents, normals and approximations.
The tangent and the normal
Let P(x0,y0) be a point on the curve y=f(x), and let m=f′(x0).
The tangent at P is the line through P with gradient m:
y−y0=m(x−x0).
The normal at P is the line through P at a right angle to the tangent. Two perpendicular lines have gradients whose product is −1, so the normal has gradient −m1:
y−y0=−m1(x−x0).
The graph of y equals x cubed minus 2x plus 1 for x from minus 2 to 2, in blue. It rises to a high point near x equals minus 0.8, dips to a low point just left of x equals 1, and then climbs steeply. The curve crosses the x axis at the point P (1, 0). A green line through P rises at gradient 1 and is labelled tangent. A red dashed line through P falls at gradient minus 1 and is labelled normal. A small square at P marks the right angle between them.
Take y=x3−2x+1 at x=1. Then y0=1−2+1=0 and f′(x)=3x2−2, so m=1. The tangent is y=x−1. The normal has gradient −1 and is y=−x+1.
Two special cases
A horizontal tangent. If m=0, the tangent is y=y0. The normal is the vertical line x=x0. The formula −m1 does not work, because we cannot divide by 0.
A vertical tangent. If dxdy is infinite, the tangent is the vertical line x=x0, and the normal is the horizontal line y=y0. The curve y=x has a vertical tangent at the origin.
Implicit and parametric curves
For a circle x2+y2=25, we cannot solve for y easily. Differentiate both sides with respect to x:
2x+2ydxdy=0⟹dxdy=−yx.
At the point (3,4) the gradient is −43. The tangent is 3x+4y=25. The normal has gradient 34 and passes through the origin, which is the centre. The normal of a circle always passes through the centre.
For a parametric curve x=x(t), y=y(t), the chain rule gives
dxdy=dx/dtdy/dt.
For x=t2 and y=2t, we get dxdy=2t2=t1. At t=1 the point is (1,2) and the gradient is 1. The tangent is y=x+1.
A worked example
Find the tangent and the normal to y=x at x=4.
The point.y0=4=2, so P=(4,2).
The gradient.dxdy=2x1, so m=41.
The tangent.y−2=41(x−4), that is, y=41x+1.
The normal. Its gradient is −4, so y−2=−4(x−4), that is, y=−4x+18.
Practise with new numbers
Try it in Python
The program finds the gradient of a curve from a very short interval, and then writes the tangent and the normal. The product of the two gradients should be −1.
Common mistakes
Using f(x0) as the gradient. The gradient is f′(x0), the derivative.
Putting x0 into the equation of the tangent twice. The point is (x0,y0), and x and y stay as letters.
Forgetting to change the sign for the normal. The gradient is −m1, not m1 and not −m.
Dividing by zero. A horizontal tangent has a vertical normal x=x0.
Differentiating an implicit curve and forgetting dxdy. The derivative of y2 is 2ydxdy.
Remember these
Tangent: y−y0=f′(x0)(x−x0). Normal gradient: −f′(x0)1.
A horizontal tangent has f′(x0)=0 and a vertical normal.
Implicit curve: differentiate both sides. Parametric curve: dxdy=dx/dtdy/dt.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
Find the gradient of the tangent to y=x2−5x at x=3.
Write the equation of the tangent to y=x3 at the point (1,1).
Find the gradient of the normal to y=x3 at (1,1).
Find the tangent to y=x at x=9.
Find dxdy for x2+y2=25 at the point (3,−4).
References
NCERT, Mathematics Textbook for Class XII, Part I, Chapter 6 (Application of Derivatives).
OpenStax, Calculus Volume 1, Section 3.1 (Defining the Derivative), the part on tangent lines.
Enroll free in Tangents, Normals and Approximations
Every lesson is open to read. Enrolling also lets you:
Mark lessons done and carry on where you stopped.
Take the tests of this lesson and its course.
Count the course towards the certificate for its chapter.