Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools


Derivation Techniques






Beyond Explicit Formulas


The standard differentiation rules apply directly when yy is given as an explicit function of xx. But many relationships resist this form. The equation x2+y2=25x^2 + y^2 = 25 defines yy implicitly—solving for yy introduces square roots and sign ambiguity. The expression xxx^x has a variable in both the base and the exponent, fitting no single rule. A curve traced by x=costx = \cos t, y=sinty = \sin t expresses both coordinates through a parameter rather than one through the other.

Each situation calls for a technique that adapts the core rules to a nonstandard setting. Implicit differentiation applies the chain rule through an equation without isolating yy. Logarithmic differentiation converts multiplicative complexity into additive simplicity. The inverse function derivative formula recovers the slope of f1f^{-1} from the slope of ff. Parametric differentiation computes dy/dxdy/dx when neither variable is expressed directly in terms of the other.

Key Terms

Derivativethe target quantity these techniques compute
Differentiabilityimplicit differentiation requires the implicit function to be differentiable

See All Calculus Definitions


Implicit Differentiation


Given an equation relating xx and yy—such as x2+y2=25x^2 + y^2 = 25—implicit differentiation finds dydx\frac{dy}{dx} without solving for yy.

The method: differentiate both sides of the equation with respect to xx. Every term involving only xx is differentiated normally. Every term involving yy is differentiated using the chain rule, treating yy as a function of xx. This introduces a factor of dydx\frac{dy}{dx} wherever yy appears. After differentiation, solve the resulting equation algebraically for dydx\frac{dy}{dx}.

For x2+y2=25x^2 + y^2 = 25: differentiating gives 2x+2ydydx=02x + 2y\frac{dy}{dx} = 0. Solving yields dydx=xy\frac{dy}{dx} = -\frac{x}{y}. The result depends on both xx and yy—this is typical and expected. The formula gives the slope at any point (x,y)(x, y) on the curve without choosing a branch.

The technique works because the equation defines yy as a function of xx locally (by the Implicit Function Theorem), even when no global explicit formula exists. Differentiating the equation preserves the relationship while extracting the rate of change. The table below collects this procedure as a four-step recipe.
Step What you do Result
1 differentiate both sides of the equation with respect to x a new equation whose terms involve x, y, and dy ⁄ dx
2 apply the chain rule to every term involving y, treating y as a function of x each y-term picks up a factor of dy ⁄ dx
3 collect every dy ⁄ dx term on one side of the equation dy ⁄ dx appears as a common factor on one side
4 solve algebraically for dy ⁄ dx an expression for the slope at any point (x, y) on the curve

Notation in the Techniques

Notation

Notation in the Techniques

Three marks that make or break these methods: the hidden y(x)y(x) dependence, the parenthesised inverse-prime, and the parametric ratio with its false second-derivative twin.
dydx\frac{dy}{dx} and its quotient reading — differentials; f1f^{-1} itself — inverse functions; y˙\dot{y} and the operator ddx\frac{d}{dx}higher-order derivatives.
2ydydx2y\,\frac{dy}{dx}
Two y, times d y d x
The implicit convention: inside an equation being differentiated, every yy silently means y(x)y(x). So ddx[y2]=2ydydx\frac{d}{dx}[y^2] = 2y\,\frac{dy}{dx} — the chain-rule factor appears wherever yy does, as in Implicit Differentiation above.
CasesIn related rates the hidden variable is time: every quantity carries ddt\frac{d\cdot}{dt} instead. In logarithmic differentiation the same convention produces 1ydydx\frac{1}{y}\frac{dy}{dx} from lny\ln y.
Also written2yy2y\,y' — prime shorthand, compact in long computations but silent about the variable of differentiation.
Do not confuseTreating yy as an independent symbol: ddx[y2]=2y\frac{d}{dx}[y^2] = 2y, dropping the factor. The single most common implicit-differentiation error — the missing dydx\frac{dy}{dx} cannot be recovered later.
(f1)(b)(f^{-1})'(b)
The derivative of f inverse, at b
Parentheses first, prime second: invert the function, then differentiate. The bracketing is load-bearing — three different objects live one keystroke apart.
Cases(f1)(f^{-1})' — derivative of the inverse, this page. (f)1(f')^{-1} — could be reciprocal or the inverse function of ff'; context must decide. 1f\frac{1}{f'} — the pointwise reciprocal, unambiguous.
Also writtendxdy\frac{dx}{dy} — Leibniz form, where inverting the function literally flips the fraction: dxdy=1/dydx\frac{dx}{dy} = 1\big/\frac{dy}{dx}.
Do not confuseReading (f1)(b)=1f(a)(f^{-1})'(b) = \frac{1}{f'(a)} as a pointwise identity at one input. The two sides are evaluated at different points — bb on the left, a=f1(b)a = f^{-1}(b) on the right; the 1-1 superscript hazard itself is mapped on inverse functions.
dydx=dy/dtdx/dt\frac{dy}{dx} = \frac{dy/dt}{dx/dt}
d y d x equals d y d t over d x d t
The parametric slope: differentiate each coordinate with respect to the parameter, then divide. A literal fraction manipulation — the cancellation of dtdt is licensed by differentials.
CasesValid while dxdt0\frac{dx}{dt} \neq 0; where it vanishes the tangent turns vertical. Physics writes the same ratio with Newton dots: y˙x˙\frac{\dot{y}}{\dot{x}}.
Also writteny(t)x(t)\frac{y'(t)}{x'(t)} — prime-with-argument, safe because the argument names the variable.
Do not confuseThe false twin d2ydx2=d2y/dt2d2x/dt2\frac{d^2y}{dx^2} = \frac{d^2y/dt^2}{d^2x/dt^2}. Second derivatives do not divide — the correct chain is in Parametric Differentiation below, and second-order differentials explain why the cancellation stops working past first order.

Applications of Implicit Differentiation


Implicit differentiation extends beyond circles and ellipses. Any equation relating xx and yy that defines a smooth curve can be differentiated implicitly.

Tangent lines to implicitly defined curves follow directly. For x3+y3=6xyx^3 + y^3 = 6xy (the folium of Descartes), implicit differentiation gives dydx=6y3x23y26x\frac{dy}{dx} = \frac{6y - 3x^2}{3y^2 - 6x}. Evaluating at a specific point on the curve produces the tangent slope there.

Higher-order derivatives can be found implicitly as well. After finding dydx\frac{dy}{dx}, differentiate the result implicitly again with respect to xx—every occurrence of dydx\frac{dy}{dx} is itself a function of xx, and the first-derivative expression can be substituted back in. The algebra is heavier, but the method is systematic.

Related rates problems are implicit differentiation with respect to time tt rather than xx. If a relationship holds among several quantities that all vary with tt, differentiating implicitly with respect to tt connects their rates of change. This application is developed in graph analysis.

Logarithmic Differentiation


Logarithmic differentiation uses the properties of ln\ln to simplify differentiation of complex products, quotients, and variable-exponent expressions.

The procedure: given y=f(x)y = f(x), take ln\ln of both sides to get lny=lnf(x)\ln y = \ln f(x). Apply logarithm properties—products become sums, quotients become differences, exponents become multipliers. Differentiate both sides implicitly with respect to xx. The left side gives 1ydydx\frac{1}{y}\frac{dy}{dx}. Solve for dydx=yddx[lnf(x)]\frac{dy}{dx} = y \cdot \frac{d}{dx}[\ln f(x)].

Logarithmic Differentiation
y=f(x)    lny=lnf(x)    yy=ddx[lnf(x)]    y=yddx[lnf(x)]y = f(x) \implies \ln y = \ln f(x) \implies \frac{y'}{y} = \frac{d}{dx}[\ln f(x)] \implies y' = y \cdot \frac{d}{dx}[\ln f(x)]
Learn more about this formula: Logarithmic Differentiation →


For y=xxy = x^x: taking ln\ln gives lny=xlnx\ln y = x \ln x. Differentiating: 1ydydx=lnx+1\frac{1}{y}\frac{dy}{dx} = \ln x + 1. Solving: dydx=xx(lnx+1)\frac{dy}{dx} = x^x(\ln x + 1). No standard rule handles xxx^x directly—the base and exponent both vary. Logarithmic differentiation is the natural approach.

The technique also simplifies expressions like y=x2x+1(x3)4y = \frac{x^2 \sqrt{x+1}}{(x-3)^4}, where the product and quotient rules together would produce unwieldy algebra. After taking ln\ln, the expression becomes lny=2lnx+12ln(x+1)4ln(x3)\ln y = 2\ln x + \frac{1}{2}\ln(x+1) - 4\ln(x-3), and differentiating this sum is straightforward.

Differentiating Inverse Functions


If ff is a one-to-one differentiable function with inverse f1f^{-1}, the derivative of the inverse is

Inverse Function Derivative
(f1)(b)=1f(a)where b=f(a)(f^{-1})'(b) = \frac{1}{f'(a)} \quad \text{where } b = f(a)
Learn more about this formula: Inverse Function Derivative →


provided f(f1(x))0f'(f^{-1}(x)) \neq 0. The derivative of the inverse is the reciprocal of the derivative of the original, evaluated at the corresponding point.

The derivation uses implicit differentiation. If y=f1(x)y = f^{-1}(x), then f(y)=xf(y) = x. Differentiating both sides with respect to xx: f(y)dydx=1f'(y) \cdot \frac{dy}{dx} = 1, so dydx=1f(y)\frac{dy}{dx} = \frac{1}{f'(y)}.

Geometrically, the graphs of ff and f1f^{-1} are reflections across the line y=xy = x. If ff has slope mm at a point, f1f^{-1} has slope 1/m1/m at the reflected point. A horizontal tangent on ff (slope 00) corresponds to a vertical tangent on f1f^{-1} (slope undefined), which is why f(f1(x))0f'(f^{-1}(x)) \neq 0 is required.

Deriving Inverse Trigonometric Derivatives


The inverse function formula, combined with implicit differentiation, produces the derivatives of all inverse trigonometric functions without memorizing separate formulas.

For y=arcsinxy = \arcsin x: the defining equation is siny=x\sin y = x with y[π/2,π/2]y \in [-\pi/2, \pi/2]. Differentiating implicitly: cosydydx=1\cos y \cdot \frac{dy}{dx} = 1, so dydx=1cosy\frac{dy}{dx} = \frac{1}{\cos y}. Since cosy=1sin2y=1x2\cos y = \sqrt{1 - \sin^2 y} = \sqrt{1 - x^2} (positive because yy is in the first or fourth quadrant), the result is

ddx[arcsinx]=11x2\frac{d}{dx}[\arcsin x] = \frac{1}{\sqrt{1 - x^2}}


For y=arctanxy = \arctan x: the defining equation is tany=x\tan y = x. Differentiating: sec2ydydx=1\sec^2 y \cdot \frac{dy}{dx} = 1, so dydx=1sec2y=11+tan2y=11+x2\frac{dy}{dx} = \frac{1}{\sec^2 y} = \frac{1}{1 + \tan^2 y} = \frac{1}{1 + x^2}.

The same method applies to arccos\arccos, arccot\text{arccot}, arcsec\text{arcsec}, and arccsc\text{arccsc}. In each case, implicit differentiation and a Pythagorean identity convert the result into an algebraic expression in xx.

Parametric Differentiation


A curve defined parametrically by x=x(t)x = x(t) and y=y(t)y = y(t) does not express yy as a function of xx directly. The slope of the curve at a point is obtained through the chain rule in Leibniz form:

Parametric First Derivative
dydx=dy/dtdx/dtwhen x=x(t),y=y(t)\frac{dy}{dx} = \frac{dy/dt}{dx/dt} \quad \text{when } x = x(t), \, y = y(t)
Learn more about this formula: Parametric First Derivative →

provided dxdt0\frac{dx}{dt} \neq 0. Each coordinate is differentiated with respect to the parameter tt, and the ratio gives the slope.

For a circle parametrized by x=costx = \cos t, y=sinty = \sin t: dxdt=sint\frac{dx}{dt} = -\sin t and dydt=cost\frac{dy}{dt} = \cos t, so dydx=costsint=cott\frac{dy}{dx} = \frac{\cos t}{-\sin t} = -\cot t. At t=π/4t = \pi/4, the slope is 1-1.

The second derivative of a parametric curve is not d2y/dt2d2x/dt2\frac{d^2y/dt^2}{d^2x/dt^2}. The correct formula is

Parametric Second Derivative
d2ydx2=ddx ⁣[dydx]=d/dt[dy/dx]dx/dt\frac{d^2 y}{dx^2} = \frac{d}{dx}\!\left[\frac{dy}{dx}\right] = \frac{d/dt\,[dy/dx]}{dx/dt}
Learn more about this formula: Parametric Second Derivative →


Differentiate dy/dxdy/dx (which is a function of tt) with respect to tt, then divide by dx/dtdx/dt once more. This error is common and produces incorrect concavity analysis when made.

When to Use Which Technique


Each technique targets a specific structural pattern.

Implicit differentiation applies when xx and yy are tangled in an equation that is difficult or impossible to solve for yy—circles, ellipses, higher-degree curves, and any relation not naturally in y=f(x)y = f(x) form. It also applies in related rates, where multiple quantities depend on time.

Logarithmic differentiation applies when the expression involves products of many factors, quotients with complex structure, or—most distinctively—variable exponents like xxx^x, (sinx)cosx(\sin x)^{\cos x}, or xlnxx^{\ln x}. If the exponent contains the variable, logarithmic differentiation is typically the only viable approach.

The inverse function derivative applies when differentiating f1f^{-1} and the derivative of ff is known. It is the standard route to inverse trigonometric and inverse hyperbolic derivatives.

Parametric differentiation applies when a curve is given as x=x(t)x = x(t), y=y(t)y = y(t). It handles curves that loop, cross themselves, or cannot be written as y=f(x)y = f(x)—cycloids, epicycloids, Lissajous figures, and motion trajectories.

These techniques are not mutually exclusive. A single problem may require implicit differentiation inside a parametric setting, or logarithmic differentiation as part of an inverse function computation. The table below lays out each technique alongside the signal that triggers it, the structural pattern it handles, and a typical example.
Technique Signal that triggers it What it handles Typical example
Implicit differentiation x and y are tangled in an equation that is hard to solve for y curves not in y = f(x) form; related-rates problems x2 + y2 = 25
Logarithmic differentiation variable in the exponent, or many factors in a product or quotient variable-exponent forms; complex products and quotients y = xx,  y = (sin x)cos x
Inverse function derivative need the derivative of f−1 and f' is known inverse trigonometric and inverse hyperbolic derivatives (arcsin x)' = 1 ⁄ √(1 − x2)
Parametric differentiation a curve is given as x = x(t), y = y(t) curves that loop or self-cross; motion trajectories x = cos t,  y = sin t

All Four Techniques as the Chain Rule


Each technique on this page looks different, but all four are expressions of the same underlying rule — the chain rule applied through a layer that hides the direct y-as-function-of-x form. The table below names that layer for each technique and the chain-rule form it produces.
Technique Chain rule manifestation What gets chained
Implicit differentiation d ⁄ dx [g(y)] = g'(y) · dy ⁄ dx y is treated as an inner function of x; the dy ⁄ dx factor is the chain rule's outer-inner derivative
Logarithmic differentiation d ⁄ dx [ln f(x)] = f'(x) ⁄ f(x) ln is chained with f, then implicit differentiation is applied to ln y = ln f(x)
Inverse function derivative from f(f−1(x)) = x:  f'(f−1(x)) · (f−1)'(x) = 1 the identity f ∘ f−1 = x is differentiated via the chain rule and rearranged
Parametric differentiation dy ⁄ dx = (dy ⁄ dt) · (dt ⁄ dx) = (dy ⁄ dt) ⁄ (dx ⁄ dt) the parameter t sits between y and x as the inner variable; chain rule is read off in Leibniz form

Differentiation Techniques FAQ

Why does d/dx[y²] equal 2y·dy/dx and not 2y?

+
Because inside an equation being differentiated implicitly, every y silently means y(x) — a function of x, not an independent symbol. Differentiating y² therefore needs the chain rule: the outer power contributes 2y and the inner function contributes its own derivative dy/dx. Dropping that factor is the most common implicit-differentiation error, and the missing dy/dx cannot be recovered later.Read more →

What is the difference between (f⁻¹)′ and 1/f′?

+
The parentheses are load-bearing. (f⁻¹)′ means invert the function first, then differentiate; 1/f′ is the pointwise reciprocal of the derivative. They are related by (f⁻¹)′(b) = 1/f′(a), but the two sides are evaluated at different points — b on the left, a = f⁻¹(b) on the right. Reading it as one shared input is the usual mistake.Read more →

How do you find dy/dx for a parametric curve?

+
Differentiate each coordinate with respect to the parameter and divide: dy/dx = (dy/dt)/(dx/dt). The cancellation of dt is legitimate here, licensed by differentials. The formula holds wherever dx/dt ≠ 0; where dx/dt vanishes the tangent turns vertical. Physics writes the same ratio with Newton dots, as ẏ/ẋ.Read more →

How do you find the second derivative of a parametric curve?

+
Not by dividing d²y/dt² by d²x/dt² — second derivatives do not divide that way. Instead differentiate the first-derivative expression dy/dx with respect to t, then divide by dx/dt once more. The dt cancellation that licenses the first-derivative ratio stops working past first order, which is exactly why the naive formula fails.Read more →