Introduction to partial derivatives
A function z=f(x,y) depends on two independent variables, x and y. A partial derivative measures how the function changes with respect to one variable, while holding the other constant.
Notation
- ∂x∂z or fx represents the partial derivative of z with respect to x (holding y constant).
- ∂y∂z or fy represents the partial derivative of z with respect to y (holding x constant).
- Second partial derivatives:
- ∂x2∂2z or fxx (derivative with respect to x twice)
- ∂y2∂2z or fyy (derivative with respect to y twice)
- ∂x∂y∂2z or fxy (derivative first with respect to y, then x)
- ∂y∂x∂2z or fyx (derivative first with respect to x, then y)
Definition
The partial derivative of z=f(x,y) with respect to x is defined as:
∂x∂z=limh→0hf(x+h,y)−f(x,y)
The partial derivative of z=f(x,y) with respect to y is defined as:
∂y∂z=limh→0hf(x,y+h)−f(x,y)
Example 1: Find the first partial derivatives of z=x2+xy+y3.
To find ∂x∂z, treat y as a constant:
∂x∂z=2x+y
To find ∂y∂z, treat x as a constant:
∂y∂z=x+3y2
Example 2: Find the first partial derivatives of z=sin(3x)cos(4y).
To find ∂x∂z, treat y as a constant:
∂x∂z=3cos(3x)cos(4y)
To find ∂y∂z, treat x as a constant:
∂y∂z=−4sin(3x)sin(4y)
Example 3: Find ∂x2∂2z if z=e3x+2y.
First, find ∂x∂z:
∂x∂z=3e3x+2y
Now, differentiate with respect to x again:
∂x2∂2z=9e3x+2y