November 2025 Exam Revision Courses available - sign up now! 🎉 Get up to date on recent releases at RV!


IB

View all Questions

Question

Mathematics

What is implicit differentiation?

Answer

Mathematics

Expert Answer

Differentiation can be broadly divided into two categories: explicit differentiation and implicit differentiation. All the differentiation in the AI SL, AI HL and AA SL courses is explicit - we have a function entirely defined in terms of a single variable, and we can differentiate the function explicitly with respect to that variable.

For example, the function y=x2+2x+1y=x^2 + 2x + 1, or f(x)=x2+2x+1f(x) = x^2 + 2x +1, is a function of xx, and can be differentiated explicitly with respect to xx.

dydx=2x+2 or f(x)=2x+2\begin{align*} \frac{\mathrm{d}y}{\mathrm{d}x} = 2x +2 \,\text{ or }\, f'(x) = 2x + 2 \end{align*}

In kinematics, the velocity function v(t)=sin(2t)v(t) = \sin (2t) is a function of tt, and can be differentiated explicitly with respect to tt.

v(t)=2cos(2t)\begin{align*} v'(t) &= 2\cos(2t) \end{align*}

In the AA HL course, you will encounter implicit differentiation. This arises when we have an equation, or a relationship between two variables, that cannot be expressed as a function of a single variable.

For example, suppose we have the elliptical equation x2+y2xy=8x^2+y^2-xy=8. This is not a function, it is a relation, and if we want to find the derivative with respect to xx, we cannot do so explicitly, because the terms y2y^2 and xy-xy are not functions of xx. But we can treat them as functions of xx and differentiate them implicitly, using the chain rule (and the product rule).

First consider the term y2y^2. We want to differentiate this with respect to xx. That is, we want to find ddx(y2)\dfrac{\mathrm{d}}{\mathrm{d}x}\left(y^2\right).

If we let y=f(x)y = f(x), so that dydx=f(x)\dfrac{\mathrm{d}y}{\mathrm{d}x} = f'(x), then what we are trying to find is ddx(f(x))2\dfrac{\mathrm{d}}{\mathrm{d}x}\left(f(x)\right)^2.

According to the chain rule, this would be 2f(x)f(x)2f(x)f'(x).

Substituting yy in place of f(x)f(x) and dydx\dfrac{\mathrm{d}y}{\mathrm{d}x} in place of f(x)f'(x) we have

ddx(y2)=2f(x)f(x)=2ydydx\begin{align*} \dfrac{\mathrm{d}}{\mathrm{d}x}\left(y^2\right) &= 2f(x)f'(x)\\[8pt] &= 2y\dfrac{\mathrm{d}y}{\mathrm{d}x} \end{align*}

We have differentiated y2y^2 with respect to xx implicitly.

Now consider the term xy-xy. Again let y=f(x)y = f(x). We want to find ddx(xy)\dfrac{\mathrm{d}}{\mathrm{d}x}\left(-xy\right), which we can write as ddx(xf(x))\dfrac{\mathrm{d}}{\mathrm{d}x}\left(-xf(x)\right).

Using the product rule, we have ddx(xf(x))=f(x)xf(x)\dfrac{\mathrm{d}}{\mathrm{d}x}\left(-xf(x)\right) = -f(x) -xf'(x).

Substituting yy for f(x)f(x) and dydx\dfrac{\mathrm{d}y}{\mathrm{d}x} for f(x)f'(x) we have found our derivative implicitly.

ddx(xy)=f(x)xf(x)=yxdydx\begin{align*} \frac{\mathrm{d}}{\mathrm{d}x}\left(-xy\right) &= -f(x) -xf'(x) \\[8pt] &= -y-x\frac{\mathrm{d}y}{\mathrm{d}x} \end{align*}

The other two terms, x2x^2 and 88, can be differentiated explicitly.

ddx(x2)=2xddx(8)=0\begin{align*} \frac{\mathrm{d}}{\mathrm{d}x}\left(x^2\right) &= 2x \\[8pt] \frac{\mathrm{d}}{\mathrm{d}x} (8) &= 0 \end{align*}

So once every term is differentiated we have

2x+2ydydxyxdydx=0\begin{align*} 2x + 2y\frac{\mathrm{d}y}{\mathrm{d}x} -y-x\frac{\mathrm{d}y}{\mathrm{d}x} &= 0 \end{align*}

Finally, we can make dydx\dfrac{\mathrm{d}y}{\mathrm{d}x} the subject of the equation.

dydx=2xyy2x\begin{align*} \frac{\mathrm{d}y}{\mathrm{d}x} &= \frac{2x-y}{y-2x} \end{align*}

In general, if we have a function of yy, but want to differentiate with respect to xx, we can differentiate it with respect to yy then multiply by dydx\dfrac{\mathrm{d}y}{\mathrm{d}x}, and that is a reasonable way to understand the implicit differentiation process in the AA HL course.

ddxf(y)=f(y)dydx\begin{align*} \dfrac{\mathrm{d}}{\mathrm{d}x}f(y) &= f'(y)\,\dfrac{\mathrm{d}y}{\mathrm{d}x} \end{align*}

Answered by Revision Village IB Expert

Explore More IB Mathematics Resources

Over 80% of IB students globally are experiencing the power of Revision Village