Continuity and Differentiability
- 1. Can you draw it without lifting your pencil? Continuity at a point
- 2. Continuous functions, jumps and the 1/x surprise
- 3. Building new continuous functions: the algebra of continuity
- 4. Smooth or sharp? Differentiability and continuity
- 5. The chain rule: peeling an onion
- 6. When y won't stand alone: implicit differentiation
- 7. Derivatives of inverse trigonometric functions
- 8. Faster than any polynomial: exponential and logarithmic functions
- 9. The function that is its own derivative: eˣ and log x
- 10. What is the derivative of xˣ? Logarithmic differentiation
- 11. Derivatives of functions in parametric form
- 12. Second order derivatives: the rate of the rate
- Review
6 of 12·NCERT §5.3.2·5 min
When y won't stand alone: implicit differentiation
The big ideaWhen x and y are tied together by an equation you cannot easily solve for y, differentiate both sides with respect to x, treating y as a function of x, and then solve for \( \frac{dy}{dx} \).
In simple words
Sometimes y is hiding inside an equation and you cannot get it out on its own. You do not need to. Just find how fast each side changes as x changes. Every time you touch y, remember that y also moves when x moves. Then collect the bits and find how fast y changes.
Explicit and implicit
Until now every function came as \( y = f(x) \): y alone on one side. That is an explicit function. For example, \( x + y = 7 \) is easily rewritten as \( y = 7 - x \).
But look at \( x^3 + y^3 = 6xy \), or \( y + \cos y = x^2 \). There is no easy way to get y alone. Yet y still depends on x: change x and y has to change to keep the equation true. We say such an equation defines y as an implicit function of x. "Implicit" means "there, but not written out".
The method
Implicit differentiation
- 1. Differentiate both sides with respect to x.
- 2. Any term with y is a function of x, so use the chain rule: \( \frac{d}{dx}g(y) = g'(y) \cdot \frac{dy}{dx} \).
- 3. Gather the \( \frac{dy}{dx} \) terms on one side and solve.
A simple check first. From \( x + y = 7 \): \( \frac{d}{dx}(x) + \frac{d}{dx}(y) = \frac{d}{dx}(7) \), so \( 1 + \frac{dy}{dx} = 0 \) and \( \frac{dy}{dx} = -1 \). Solving \( y = 7 - x \) first gives the same answer.
Guess first: what is d/dx of y²?
We know \( \frac{d}{dx}(x^2) = 2x \). Guess: is \( \frac{d}{dx}(y^2) = 2y \)?
Answer first, then move a point round the circle of worked example 1 and compare the numbers.
See what happens
Worked example 1: a circle
Find \( \frac{dy}{dx} \) for \( x^2 + y^2 = 25 \).
- \( 2x + 2y\frac{dy}{dx} = 0 \).
- \( \frac{dy}{dx} = -\frac{x}{y} \) (for \( y \ne 0 \)).
At the point \( (3, 4) \) on this circle, the slope is \( -\frac{3}{4} \). That fits the picture: the radius to \( (3, 4) \) has slope \( \frac{4}{3} \), and the tangent is perpendicular to it.
Worked example 2: y inside a trig function
Find \( \frac{dy}{dx} \) if \( y + \cos y = x^2 \).
- \( \frac{dy}{dx} - \sin y \cdot \frac{dy}{dx} = 2x \).
- \( \frac{dy}{dx}(1 - \sin y) = 2x \), so \( \frac{dy}{dx} = \dfrac{2x}{1 - \sin y} \), valid where \( \sin y \ne 1 \).
Worked example 3: a product of x and y
Find \( \frac{dy}{dx} \) if \( x^3 + y^3 = 6xy \).
- Left: \( 3x^2 + 3y^2\frac{dy}{dx} \). Right, by the product rule: \( 6\left( y + x\frac{dy}{dx} \right) \).
- \( 3y^2\frac{dy}{dx} - 6x\frac{dy}{dx} = 6y - 3x^2 \).
- \( \frac{dy}{dx} = \dfrac{6y - 3x^2}{3y^2 - 6x} = \dfrac{2y - x^2}{y^2 - 2x} \), where \( y^2 \ne 2x \).
At \( (3, 3) \), which is on the curve since \( 27 + 27 = 54 = 6 \cdot 9 \): slope \( = \frac{6 - 9}{9 - 6} = -1 \).
Try it: walk the whole curve of worked example 3. The tangent always comes from the same formula, even where no "y =" exists.
Don't mix these up
- Every y term gets a \( \frac{dy}{dx} \); x terms do not. \( \frac{d}{dx}(\sin y) = \cos y\frac{dy}{dx} \), but \( \frac{d}{dx}(\sin x) = \cos x \).
- A term like \( xy \) is a product: \( \frac{d}{dx}(xy) = y + x\frac{dy}{dx} \), not just \( \frac{dy}{dx} \).
- The answer for \( \frac{dy}{dx} \) may contain both x and y. That is normal for implicit functions.
Try it. Find \( \frac{dy}{dx} \): (a) \( 3x - 2y = \sin x \), (b) \( xy + y^2 = 10 \), (c) \( x^2 + xy + y^2 = 7 \).
Answer
- Explicit function
- y given on its own, \( y = f(x) \).
- Implicit function
- y tied to x by an equation, without being written alone.
- Implicit differentiation
- Differentiating both sides with respect to x, treating y as a function of x.
- \( \frac{d}{dx}g(y) \)
- \( g'(y)\frac{dy}{dx} \): the chain rule, because y depends on x.
Words to know
What is \( \frac{d}{dx}(y^3) \), when y is a function of x?
- \( 3y^2 \)
- \( 3y^2\frac{dy}{dx} \)
- \( 3x^2 \)
For \( x^2 + y^2 = 25 \), what is the slope of the tangent at \( (4, -3) \)?
- \( -\frac{4}{3} \)
- \( \frac{4}{3} \)
- \( \frac{3}{4} \)
What is \( \frac{d}{dx}(xy) \)?
- \( \frac{dy}{dx} \)
- \( x\frac{dy}{dx} \)
- \( y + x\frac{dy}{dx} \)
Picture and video credits