Ma · Mathematics

What Does Subscript Notation Mean in Partial Derivatives?

Published By the 9to5Science editorial team

At a glance

  1. 1. Read the subscript

    A subscript such as x identifies the variable with respect to which you differentiate.

  2. 2. Hold other variables fixed

    For a partial derivative, treat the other independent variables as constants.

  3. 3. Read longer subscripts

    Each added subscript indicates another differentiation; check the text’s convention for order.

  4. 4. Evaluate if needed

    Substitute a point only after finding the derivative function.

Subscripts are a compact way to write partial derivatives. If ff depends on several variables, then fxf_x usually means “differentiate ff with respect to xx, holding its other independent variables fixed.” This is the same derivative written as ∂f∂x\frac{\partial f}{\partial x}.

Subscripts also make higher-order and mixed partial derivatives shorter to write. The main point to watch is that authors do not always use the same convention for the order of mixed derivatives. When order matters, write the differentiation steps or the full fraction explicitly.

The first subscript: which variable to differentiate

For a function f(x,y)f(x,y), the notation

fx(x,y)=∂f∂x(x,y)f_x(x,y)=\frac{\partial f}{\partial x}(x,y)

means to differentiate with respect to xx while treating yy as constant. Similarly, fyf_y means to differentiate with respect to yy while holding xx fixed. The symbol ∂\partial is used rather than dd to emphasize that the function depends on more than one variable and only one variable is changing in that derivative.

For example, let f(x,y)=x2y+3yf(x,y)=x^2y+3y. Then

fx(x,y)=2xy,fy(x,y)=x2+3.f_x(x,y)=2xy, \qquad f_y(x,y)=x^2+3.

When finding fxf_x, the terms involving yy are treated as constant multiples of expressions in xx. When finding fyf_y, xx is held constant.

The subscript can also be a variable other than xx or yy. If temperature is represented by T(x,t)T(x,t), then TtT_t is the partial derivative with respect to time, with position xx held fixed. This notation is common in physics and differential equations.

Repeated subscripts: higher-order derivatives

A repeated subscript indicates that you differentiate again. For instance,

fxx=∂∂x(fx)=∂2f∂x2.f_{xx}=\frac{\partial}{\partial x}\left(f_x\right)=\frac{\partial^2 f}{\partial x^2}.

This is the second partial derivative with respect to xx. Likewise, fyyf_{yy} is the second partial derivative with respect to yy. The notation fxxxf_{xxx} indicates three successive derivatives with respect to xx.

For the example f(x,y)=x2y+3yf(x,y)=x^2y+3y, the second derivatives are fxx=2yf_{xx}=2y and fyy=0f_{yy}=0. In the second calculation, the first derivative is fy=x2+3f_y=x^2+3, which has no dependence on yy.

Mixed subscripts: differentiating in different variables

A mixed derivative uses more than one variable. For example, under a common convention, fxyf_{xy} means: first find fxf_x, then differentiate that result with respect to yy:

fxy=(fx)y=∂∂y(∂f∂x).f_{xy}=(f_x)_y=\frac{\partial}{\partial y}\left(\frac{\partial f}{\partial x}\right).

Some authors instead use the subscripts to indicate the written order of the operators, so conventions can differ. The full expression ∂∂y(fx)\frac{\partial}{\partial y}(f_x) makes the intended order clear. If the mixed second partial derivatives are continuous in a neighborhood of the point in question, Clairaut’s theorem says the mixed partials are equal: fxy=fyxf_{xy}=f_{yx}. Without the needed smoothness conditions, they need not be equal.

Here is a calculation that illustrates the notation. Take

f(x,y)=x2y+sin⁡(xy).f(x,y)=x^2y+\sin(xy).

First differentiate with respect to xx:

fx=2xy+ycos⁡(xy).f_x=2xy+y\cos(xy).

Now differentiate this result with respect to yy:

fxy=2x+cos⁡(xy)−xysin⁡(xy).f_{xy}=2x+\cos(xy)-xy\sin(xy).

Differentiating in the reverse sequence gives the same expression:

fy=x2+xcos⁡(xy),fyx=2x+cos⁡(xy)−xysin⁡(xy).f_y=x^2+x\cos(xy), \qquad f_{yx}=2x+\cos(xy)-xy\sin(xy).

For example, at (x,y)=(1,0)(x,y)=(1,0), fxy(1,0)=3f_{xy}(1,0)=3. Find the derivative function first, then substitute the coordinates of the point.

Function notation and evaluation at a point

The notation fxf_x often names a new function: it assigns a derivative value to each allowed input (x,y)(x,y). To specify the value at one point, write fx(a,b)f_x(a,b) or fx∣(a,b)f_x\big|_{(a,b)}. For example, fx(1,0)f_x(1,0) means evaluate the partial derivative function at x=1x=1, y=0y=0.

Do not confuse the subscript with an exponent. The expression fxf_x means a derivative, whereas f2f^2 commonly means the square of ff. Also, a subscript does not always mean differentiation: in a family of functions f1,f2,…f_1,f_2,\ldots, the subscript may simply label a member of the family. Context determines its meaning.

Common mistakes

  • Treating every variable as changing at once. For fxf_x, hold the other independent variables fixed; that is what distinguishes a partial derivative from a total derivative along a path.
  • Assuming mixed-derivative subscripts have a universal order. Check the definition in the text, or write the derivative operators explicitly.
  • Substituting too early. Usually, calculate the derivative as a function first, then evaluate it at the specified point.
  • Reading a subscript as a power or label without checking context. In calculus notation fxf_x commonly denotes a derivative, but in other settings a subscript can index an object.

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.