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
∂f∂xorfx
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
∂f∂yorfy
We might also use the limits to define partial derivatives of function f as follows:
∂f∂x=limh→0f(x+h,y)−f(x,y)h
and
∂f∂y=limk→0f(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=∂f∂x=∂∂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=∂f∂y=∂∂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=∂f∂x=∂∂x(sin(xy)+cosx)=∂∂x(sin(xy))+∂∂x(cosx)=ycos(xy)−sin(x)
Differentiate with respect to y assuming x is constant
fy=∂f∂y=∂∂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=∂f∂x=∂∂x(xexy)=∂∂x(x)exy+x∂∂x(exy)=1⋅exy+x⋅yexy=(1+xy)exy
Differentiate with respect to y assuming x is constant.
fy=∂f∂y=∂∂y(xexy)=x∂∂y(exy)=x⋅xexy=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=∂f∂x=∂∂x(ln(x2+2y))=∂∂x(x2+2y)⋅1x2+2y=2xx2+2y
Differentiate with respect to y
fy=∂f∂y=∂∂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(x−y)
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(x−y)+sin(x−y), fy=−xcos(x−y)
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