Processing math: 100%

Partial Derivatives

Definition of Partial Derivatives

Let f(x,y) be a function with two variables. If we keep y constant and differentiate f (assuming f is differentiable) with respect to the variable x, using the rules and formulas of differentiation, we obtain what is called the partial derivative of f with respect to x which is denoted by fxorfx Similarly If we keep x constant and differentiate f (assuming f is differentiable) with respect to the variable y, we obtain what is called the partial derivative of f with respect to y which is denoted by fyorfy We might also use the limits to define partial derivatives of function f as follows: fx=limh0f(x+h,y)f(x,y)h and fy=limk0f(x,y+k)f(x,y)k

Examples with Detailed Solutions

We now present several examples with detailed solution on how to calculate partial derivatives.

Example 1

Find the partial derivatives fx and fy if f(x,y) is given by f(x,y)=x2y+2x+y Solution to Example 1:
Assume y is constant and differentiate with respect to x to obtain fx=fx=x(x2y+2x+y)=x(x2y)+x(2x)+x(y)=2xy+2+0=2xy+2 Assume x is constant and differentiate with respect to y to obtain fy=fy=y(x2y+2x+y)=y(x2y)+y(2x)+y(y)=x2+0+1=x2+1

Example 2

Find the partial derivatives fx and fy if f(x,y) is given by f(x,y)=sin(xy)+cosx Solution to Example 2:
Differentiate with respect to x assuming y is constant fx=fx=x(sin(xy)+cosx)=x(sin(xy))+x(cosx)=ycos(xy)sin(x) Differentiate with respect to y assuming x is constant fy=fy=y(sin(xy)+cosx)=y(sin(xy))+y(cosx)=xcos(xy)0=xcos(xy)

Example 3

Find fx and fy if f(x,y) is given by f(x,y)=xexy Solution to Example 3:
Differentiate with respect to x assuming y is constant using the product rule of differentiation. fx=fx=x(xexy)=x(x)exy+xx(exy)=1exy+xyexy=(1+xy)exy Differentiate with respect to y assuming x is constant. fy=fy=y(xexy)=xy(exy)=xxexy=x2exy

Example 4

Find fx and fy if f(x,y) is given by f(x,y)=ln(x2+2y) Solution to Example 4:
Differentiate with respect to x to obtain fx=fx=x(ln(x2+2y))=x(x2+2y)1x2+2y=2xx2+2y Differentiate with respect to y fy=fy=y(ln(x2+2y))=y(x2+2y)1x2+2y=2x2+2y

Example 5


Find fx(2,3) and fy(2,3) if f(x,y) is given by f(x,y)=yx2+2y Solution to Example 5:
We first find the partial derivatives fx and fy fx(x,y)=2xy fy(x,y)=x2+2 We now calculate fx(2,3) and fy(2,3) by substituting x and y by their given values fx(2,3)=2(2)(3)=12 fy(2,3)=22+2=6

Exercises

Find partial derivatives fx and fy of the following functions
1. f(x,y)=xex+y
2. f(x,y)=ln(2x+yx)
3. f(x,y)=xsin(xy)

Answers to the Above Exercises

1. fx=(x+1)ex+y , fy=xex+y
2. fx=1/x , fy=1/(y+2)
3. fx=xcos(xy)+sin(xy), fy=xcos(xy)

More References and Links to Partial Derivatives and Mtlivariable Functions

Partial Derivative Calculator
Tables of Formulas for Derivatives
Rules of Differentiation of Functions in Calculus
Multivariable Functions
Home Page