Physics: derivatives\pdv

\pdvCommand

Shorthand physics-package command for partial derivatives, including mixed partials and higher-order forms.

\pdv{f}
Available in
physics
Kind
prefix
Allowed mode
math
Frequency
Not measured
Commonality
medium
Renderer support
PackageMathJaxKaTeXXeTeX
physicsMathJax: FullKaTeX: NoneXeTeX: Full
About the test scope

Syntax#

\pdvs*staro[a]optional math contentm{b}math contentg{c}optional math contentg{d}optional math content

Argspec s o m g g — four optional and one mandatory argument. Reading argspecs

Examples#

\pdv{f}{x}
\pdv{f}{x}{y}
\pdv[3]{f}
\pdv*{f}{x}

In TeXForm#

TeXForm parses this entry as prefix syntax; the package determines its argument specification.

Expands to#

\pdv{#1}{#2} \frac{\partial #1}{\partial #2}

Internal reparse. Star uses \flatfrac. Single argument expands to \frac{\partial}{\partial #1}.

physics/pdv-to-frac-partialfrom Faithfulrender

Expand pdv forms to explicit partial-derivative fractions.

\pdv{#1}{#2} \frac{\partial #1}{\partial #2}

Equivalent forms#

  • \partialderivativeexact

    PhysicsMappings registers all three names to the same Derivative handler with argMax=3 and op='\\partial'.

  • \pderivativeexact

    PhysicsMappings registers all three names to the same Derivative handler with argMax=3 and op='\\partial'.

See also#

Test cases#

physics
InputCaseMathJaxKaTeXXeTeX
\pdv{a}Positive · baselinePassFailPass
\pdv*{a}Positive · vary:s[0]PassFailPass
\pdv[a]{b}Positive · vary:o[1]PassFailPass
\pdv{a}{b}Positive · vary:g[3]PassFailPass
\pdv*[a]{b}{c}{d}Positive · maximalPassFailPass
\pdv aPositive · bare[2]PassFailPass
All 14 in Physics: derivatives