Tangents in a given direction and the angle between… | StemPy Lab
Course 10.2·Lesson 2 of 3
Tangents in a given direction and the angle between curves
To find where a tangent is parallel to a given line, set the derivative equal to the gradient of that line. For a perpendicular tangent, use the negative reciprocal. A tangent through a point outside the curve is found with the point of contact as the unknown. The angle between two curves at a common point is the angle between their tangents, with tanφ=1+m1m2m1−m2
Lesson 2 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
What you will be able to do
find the points where a tangent is horizontal, vertical, parallel or perpendicular to a given line;
find the tangents to a curve from a point that is not on it;
find the angle between two curves at a point where they meet;
decide when two curves touch or cut at a right angle.
Finding where the tangent has a given gradient
To find where the tangent has gradient k, solve f′(x)=k. Then find y from the curve.
Horizontal tangent: f′(x)=0.
Parallel to a line with gradient m: f′(x)=m.
Perpendicular to a line with gradient m: f′(x)=−m1.
Vertical tangent: dxdy is infinite, so the denominator of dxdy is 0.
For y=x3−3x, the derivative is 3x2−3. It equals 1 when 3x2=4, so x=±32. There are two such points, and the two tangents are parallel to each other.
A tangent from an outside point
A point outside a curve may have two tangents to it. Take the point (0,−1) and the parabola y=x2. We do not know where the tangent touches, so call that point (t,t2).
The tangent at t. The gradient is 2t, so y−t2=2t(x−t), that is, y=2tx−t2.
Make it pass through (0,−1).−1=−t2, so t=1 or t=−1.
The tangents. For t=1: y=2x−1. For t=−1: y=−2x−1.
There are two tangents, and they touch the parabola at (1,1) and (−1,1). A point inside the parabola has no tangent to it.
The angle between two curves
Two curves that meet at a point make an angle there. It is the angle between their tangents. If the tangents have gradients m1 and m2, the acute angle φ between them is given by
tanφ=1+m1m2m1−m2.
Two special cases:
If m1=m2, then φ=0. The curves touch.
If m1m2=−1, the tangents are perpendicular. The curves cut at a right angle, and they are called orthogonal.
The blue parabola y equals x squared opening upwards and the orange parabola y equals 2 minus x squared opening downwards cross at the point (1, 1). Two dashed lines through that point are their tangents, with gradients 2 and minus 2. A red arc above the point between the two tangents is labelled 53.1 degrees.
The curves y=x2 and y=2−x2 meet where x2=1, so at (1,1) and (−1,1). At (1,1) the gradients are m1=2 and m2=−2. Then
tanφ=1+(2)(−2)2−(−2)=−34=34,φ≈53.13∘.
A worked example
Find the points on y=x2−4x+5 where the tangent is perpendicular to the line x+2y=6.
The line's gradient.x+2y=6 gives y=−21x+3, so its gradient is −21.
The tangent's gradient. It must be −−1/21=2.
Solve f′(x)=2.2x−4=2 gives x=3.
The point.y=9−12+5=2. The point is (3,2).
Practise with new numbers
Try it in Python
The program finds the angle between the curves y=x2 and y=2−x2 at their meeting point, using the gradients and the formula.
Common mistakes
Using the gradient of the line as f(x). Set f′(x), not f(x), equal to the gradient.
Forgetting the point of contact is unknown. For a tangent from an outside point, call the point of contact (t,f(t)).
Taking the obtuse angle. The formula with the absolute value gives the acute angle. The curves also make the angle 180∘−φ.
Dividing by zero in 1+m1m2. If it is 0, the angle is 90∘.
Using the angle formula before finding the point. First find where the curves meet, and then the gradients there.
Remember these
Tangent parallel to a line: f′(x)=m. Perpendicular: f′(x)=−m1. Horizontal: f′(x)=0.
For a tangent from an outside point, let the point of contact be (t,f(t)) and solve for t.
tanφ=1+m1m2m1−m2. Equal gradients mean the curves touch. m1m2=−1 means they are orthogonal.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
At which points is the tangent to y=x3−3x horizontal?
At which point is the tangent to y=x2 parallel to the line y=6x−1?
At which point is the tangent to y=x2 perpendicular to the line y=−41x+2?
What is the angle between two lines with gradients 1 and −1?
The curves y=x2 and y=x4 both pass through the origin. Do they touch or cut there?
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.