Skip to content

Files

Latest commit

f0296a9 · Nov 8, 2022

History

History
45 lines (29 loc) · 889 Bytes

derivatives.md

File metadata and controls

45 lines (29 loc) · 889 Bytes

Derivatives

The esdiff package has handy macros for derivatives and partial derivatives, taking care of indices.

\documentclass{article}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{mathtools}
\usepackage[thinc]{esdiff}

\begin{document}

  First order derivative: df/dx

  \begin{equation}
      \diff{f}{x}
  \end{equation}

  Fourth order derivative: d4f/dx4|x=1

  \begin{equation}
      \diff*[4]{f}{x}{x = 1}
  \end{equation}

  First order partial derivative:

  \begin{equation}
      \diffp{f}{x}
  \end{equation}

  Second order crossed partial derivative

  \begin{equation}
    \diffp{g}{tu}
  \end{equation}

\end{document}

References: