Differentiating an inverse function: the rule dy/dx = 1/(dx/dy), gradients of an inverse at a point, and the second derivative of an inverse
“Differentiate an inverse function using (f^-1)'(x) = 1/f'(f^-1(x)) (equivalently dy/dx = 1/(dx/dy)), including the second derivative”
If then (equivalently ): the inverse's gradient is the reciprocal of at the matching point , where . The second derivative is , with a minus sign and a cube. Geometrically, reflecting in swaps rise and run, so tangent gradients invert; the inverse-trig and derivatives are special cases.
Jump to a section
What this dot point is asking
NESA wants you to be able to differentiate the inverse of a function without first finding a formula for that inverse. The tool is one rule, written two equivalent ways:
This is the general result behind the inverse-trig derivatives you already use, and it powers the standard derivation of . The same dot point extends to the second derivative of an inverse, which is where most of the marks (and the mistakes) sit.
The skill examined is almost always evaluation at a point: you are given the value of and its derivatives at one input and asked for the gradient (or the second derivative) of the inverse at the matching output. You rarely need an explicit formula for , and reaching for one is usually the slow, error-prone route. A marker can tell instantly whether you understand that the inverse's gradient is read off the original function at the matching point, or are trying to invert the function by hand and differentiate that.
Imagine a vending machine that turns coins into snacks, and its "inverse" is a machine that turns snacks back into coins. If you know the first machine gives you a chocolate bar for $2 coins and that, near that setting, one extra coin buys you $33\frac{1}{3}$ of a coin, the reciprocal. You never had to build the reverse machine from scratch, you just flipped the one number that mattered. That is the whole rule: the inverse's gradient at a point is the reciprocal of the original function's gradient at the matching point, no formula for the inverse required.
The answer
Why an inverse exists at all
A function has an inverse only if it is one-to-one: each output comes from exactly one input, so the rule can be run backwards unambiguously. The quickest sufficient test in this course is monotonicity: if for all in the domain (strictly increasing) or throughout (strictly decreasing), then is one-to-one and exists. This matters here because the differentiation rule divides by , so it needs to be non-zero at the relevant point. A horizontal tangent on () reflects into a vertical tangent on , where the inverse's gradient is undefined, exactly the division-by-zero the formula warns you about.
You usually do not have to invert the function. A one-line check that keeps a constant sign (for example ) is enough to assert the inverse exists before you differentiate it.
If then
Read the first as : the gradient of the inverse is the reciprocal of the gradient of the original function, evaluated at the matching point (the input of that produces the output you are asked about). The second-derivative formula is not just the reciprocal of ; it carries a minus sign and a cube in the denominator.
The rule and where it comes from
There are two complementary derivations, and good "explain" or "show that" answers use whichever the question invites.
Chain rule on . By definition, applying to returns . Differentiate both sides with respect to , using the chain rule on the left:
valid wherever . This is the cleanest justification and the one to quote when a question says "show that".
The form (Leibniz). Write , which is the same as . Differentiating with respect to gives , and treating the derivative as a ratio,
This is the form that appears on motion and related-rates questions, and it is identical to the first: evaluated at is exactly .
Reflection intuition. The graph of is the graph of reflected in the line . Reflection in swaps the horizontal and vertical directions, so it swaps the rise and the run of any tangent line. A tangent of gradient on becomes a tangent of gradient on , that is, the reciprocal. This is why the rule has a reciprocal in it, and it is the picture to draw if a question asks you to explain geometrically.
Picture: a curve, its inverse, and reciprocal tangents
The figure shows (its inverse is , since cubing is one-to-one). At the point on the cubic the tangent has gradient ; the reflected point on the inverse curve has a tangent of gradient . The two tangents are themselves mirror images in , which is the whole content of the rule.
Evaluating the gradient of an inverse at a point, stage by stage
The examined task is: given numbers about at one input, find of at the matching output. The danger is differentiating at the wrong point. The four panels below build the logic on with the known point .
Stage 1, start from the known point on . You are told (or can compute) a point on , meaning . The matching point on the inverse is the reflection , because . Keep and straight: is the input of , is the output, and they swap roles for .
Stage 2, read the gradient of at that point. Compute . This single number is everything you need: it is the gradient of at , the slope of the tangent shown.
Stage 3, reflect to the matching point on . The inverse curve is the reflection of in . The known point reflects to , which lies on . This is the point at which you want the inverse's gradient.
Stage 4, the inverse's gradient is the reciprocal. The tangent at on is the reflection of the tangent at on , so its gradient is . That is the answer: , the reciprocal of the number from Stage 2.
So the whole evaluation is four moves: find the matching input (where equals the value you want to act on), compute , take the reciprocal. You never differentiate itself.
The second derivative of an inverse
This is the part Cambridge leaves as an exercise and the part HSC questions like to push into. Differentiate using the chain rule. The outer power gives , and the inner derivative of is :
Now substitute for that last factor and combine the powers:
Two things are worth committing to memory because they are exactly the traps: the minus sign (so a positive at the matching point gives a negative , and vice versa, which is the reflection flipping concavity), and the cube on in the denominator (not a square, and not the reciprocal of ). As with the first derivative, every piece is evaluated at the matching point , never at .
Inverse-trig and log derivatives as special cases
The whole inverse-trig topic is this rule applied to , and . Take on , so and . The rule gives
using on the principal range, which is precisely the implicit-differentiation derivation on the inverse-trig page, just packaged as the general rule. Likewise has and , so
Seeing these as the same rule is the point of the dot point: you are not learning a separate fact for every inverse, you are applying one reciprocal-of-the-derivative-at-the-matching-point idea.
How exam questions ask about differentiating an inverse
The wording tells you which form of the rule to deploy:
- " and . Find " (table or values given). The core type. The matching point is (because means ), so . No formula for needed.
- " Find " (a concrete function). First solve to find the matching input (often a neat integer by inspection), then take the reciprocal of there. Confirm an inverse exists by checking keeps one sign.
- "Find given and ." Use , watching the sign and the cube. Compute (the matching input) first, then substitute the supplied and .
- "Find the equation of the tangent to at ". Find the point on (reflect the known point of ) and the gradient , then use point-gradient form.
- "Explain geometrically why the gradients are reciprocals" / "using reflection in ". A graph answer: reflection swaps rise and run, so the gradient inverts. Draw the curve, its mirror image, and the two tangents.
- "Show that " or "by writing ". A derivation: differentiate by the chain rule, or differentiate with respect to and invert. State where it fails (, i.e. vertical tangent on ).
Find g'(2) from a table of values
A one-to-one function has and . Let . Find .
Identify the matching point. Because , running backwards gives . So the input of that matters is .
Apply . With and :
Final answer: . The only number from the table you actually use is ; the value is there to tell you which point matches.
Find the gradient of an inverse of a quintic without inverting it
Let . Show has an inverse , and find .
- Show one-to-one
- . Since , for all , so is strictly increasing and exists. (Inverting a quintic algebraically is impossible in general, which is exactly why the rule is so useful here.)
- Find the matching input
- Solve by inspection: , so .
- Reciprocal of at the matching point
Final answer: . There is no formula for , yet its gradient is immediate.
Find the second derivative of an inverse
A one-to-one function satisfies , and . Let . Find and .
Matching point. gives , so all of , , are evaluated at .
First derivative.
Second derivative. Use with :
Final answer: and . Here ( concave up at the matching point), and the minus sign delivers a concave-down , the reflection flipping concavity as expected.
Equation of the tangent to an inverse curve
The function has inverse . Find the equation of the tangent to where .
- Inverse exists
- , so is strictly increasing.
- Point on
- Solve : , so . The tangent passes through .
- Gradient
Tangent line. Point-gradient form through :
Final answer: .
Derive the inverse-function rule and name where it breaks
Show that if then , and state the condition for this to hold.
Start from the defining identity. Applying to returns the input: for every in the domain of .
Differentiate both sides with respect to . The right side differentiates to ; the left side needs the chain rule:
Solve for .
State the condition. This requires . Where , the original curve has a horizontal tangent, which reflects to a vertical tangent on , so is undefined there. (This is the same reason has vertical tangents at , where .)
Final answer: , valid wherever .
- Differentiating at the wrong point
- where is the input with , not . Always find the matching input first.
- Dropping the minus on
- has a leading minus. A positive at the matching point gives a negative .
- Squaring instead of cubing in
- The denominator is , the cube, not the square.
- Thinking is
- The second derivative of an inverse is not the reciprocal of ; only the first derivative reciprocates cleanly.
- Trying to invert the function first
- For you cannot solve for algebraically, and even when you can it is slower. Use the rule at the matching point.
- Forgetting to check an inverse exists
- If somewhere, the function may not be one-to-one, and (and the formula) can fail. A one-line sign check on secures the method mark.
Write the rule before the numbers: put down (or ), then find the matching input where equals the value the inverse acts on, and only then substitute. Markers split these questions into a mark for the matching point and a mark for the reciprocal, so showing explicitly banks the first even if the arithmetic slips. For a second derivative, quote in full and substitute carefully, the sign and the cube are where marks are lost. When the question says "show that" or "by writing ", derive the rule from by the chain rule and state the condition rather than quoting it. When it says "explain geometrically", reflection in swaps rise and run, hence reciprocal gradients. Keep answers exact (leave , surds) unless told to round.
Practice questions
Original practice questions graded from foundation to exam level, each with a full worked solution. Try them before revealing the solution.
foundation2 marksA function is one-to-one with and . Let . Find and .Show worked solution →
- Find by reversing the input and output
- Because , the inverse undoes this: .
- Apply the rule
- Here and , so the matching point on is :
- Final answer
- and . Note you never need a formula for itself, only the value at the matching point.
foundation3 marksLet . Show that has an inverse , and find .Show worked solution →
Show is one-to-one. Differentiate: . Since , we have for all , so is strictly increasing and therefore one-to-one. An inverse exists.
Find the matching point. We need , the value of with . Trying : . So .
Apply the rule.
Final answer: .
core4 marksThe function has an inverse . Find the equation of the tangent to at the point where .Show worked solution →
Confirm the inverse exists. for all , so is strictly increasing and exists.
Locate the point on . Solve : try , , so . The tangent point is .
Gradient of there.
Equation of the tangent. Through with gradient :
Final answer: . As a check, the tangent to at has gradient , equation ; reflecting that line in (swap and and solve) gives , the same line.
core3 marksA one-to-one function satisfies , and . Let . Find and .Show worked solution →
Matching point. gives , so every evaluation of , , happens at .
First derivative.
Second derivative. Use with :
Final answer: and . The double negative is the usual trap: is negative, so is positive and .
exam5 marksLet . (a) Explain why has an inverse . (b) Find . (c) Find and .Show worked solution →
(a) The inverse exists. , and for all , so . The function is strictly increasing, hence one-to-one, so exists.
(b) Find . Solve : try , . So , and all derivatives of are evaluated at .
(c) First derivative.
Second derivative. Here , so , and with :
Final answer: , , . The negative says is concave down at , consistent with the reflection: is concave up there (), and reflecting in flips concavity.
exam4 marksThe curve and its inverse meet at the point . (a) Find the gradient of each curve at . (b) Hence explain, using reflection in the line , why the two gradients are reciprocals, and find the acute angle between and the tangent to at .Show worked solution →
- (a) The two gradients
- For , , so . For the inverse , the rule gives
- (b) Why they are reciprocals
- Reflection in swaps the and axes, so it swaps rise and run. A tangent of gradient on becomes a tangent of gradient on the reflected curve . The product of reciprocal gradients is .
- Angle to
- The line has gradient ; the tangent to at has gradient . Using with , :
By symmetry the inverse's tangent makes the same angle on the other side of . - Final answer
- gradients and (product ); the tangent to at meets at .