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) = 2xLeibniz notation
\frac{dy}{dx}Second-order derivative
\frac{d^2 x}{dt^2} = -\omega^2 xPartial derivative
\frac{\partial f}{\partial x}Common mistakes
- Using d instead of \partial for a partial derivative of a multivariable function.
- Typing a period above a variable instead of \dot{x} for a time derivative.
See also
Don't want to memorize commands?
Draw a formula or paste a screenshot, and CamteX turns it into ready LaTeX.