Partial derivative

From Calculus

Definition at a point

Generic definition

Suppose f is a function of more than one variable, where x is one of the input variables to f. Fix a choice x=x0 and fix the values of all the other variables. The partial derivative of f with respect to x, denoted f/x, or fx, is defined as the derivative at x0 of the function that sends x to f at x for the same fixed choice of the other input variables.

For a function of two variables

Suppose f is a real-valued function of two variables x,y, i.e., the domain of f is a subset of R2. We define the partial derivatives as follows:

  • Partial derivative with respect to x:

f(x,y)x|(x,y)=(x0,y0)=ddxf(x,y0)|x=x0

In words, it is the derivative at x=x0 of the function xf(x,y0).

This partial derivative is also denoted fx(x0,y0) or f1(x0,y0).

  • Partial derivative with respect to y:

f(x,y)y|(x,y)=(x0,y0)=ddyf(x0,y)|y=y0

In words, it is the derivative at y=y0 of the function yf(x0,y).

This partial derivative is also denoted fy(x0,y0) or f2(x0,y0).

For a function of multiple variables

The notation here gets a little messy, so read it carefully. We consider a function f of n variables, which we generically denote (x1,x2,,xn) respectively. Consider a point (a1a,2,,an) in the domain of the function. In other words, this is a point where x1=a1,x2=a2,,xn=an.

Suppose i is a natural number in the set {1,2,3,,n}.

The partial derivative at this point (a1,a2,,an) with respect to the variable xi is defined as the derivative:

ddxif(a1,a2,,ai1,xi,ai+1,,an)|xi=ai

In other words, it is the derivative (evaluated at ai) of the function xf(x1,x2,,xi1,ai,xi+1,,xn) with respect to xi, evaluated at the point xi=ai.