CamteX
All guides

Derivative in LaTeX

You can write a derivative with a prime, f'(x), or in Leibniz notation as a fraction of differentials. Partial derivatives use the \partial symbol.

Prime notation

f'(x) = 2x
f(x)=2xf'(x) = 2x

Leibniz notation

\frac{dy}{dx}
dydx\frac{dy}{dx}

Second-order derivative

\frac{d^2 x}{dt^2} = -\omega^2 x
d2xdt2=ω2x\frac{d^2 x}{dt^2} = -\omega^2 x

Partial derivative

\frac{\partial f}{\partial x}
fx\frac{\partial f}{\partial x}

Common mistakes

See also

Don't want to memorize commands?

Draw a formula or paste a screenshot, and CamteX turns it into ready LaTeX.

Try it free