Understanding Partial Derivatives: What They Are + Simple Problems
A beginner's guide to partial derivatives in multivariable calculus.
In single-variable calculus, we learn how to find the rate of change of a function with respect to one variable. But what happens when a function depends on multiple variables? That's where partial derivatives come in!
Partial derivatives allow us to examine how a multivariable function changes when only one of its independent variables changes, while keeping the others constant.
Why Do We Need Partial Derivatives?
Imagine a function that describes the temperature on a metal plate, , where and are spatial coordinates. If you want to know how the temperature changes as you move only along the x-axis (without changing your y-position), you'd use a partial derivative. Similarly, you could find the rate of change along the y-axis.
Definition and Notation
For a function of two variables, the partial derivative with respect to is denoted by:
And the partial derivative with respect to is denoted by:
The symbol (pronounced "del" or "partial") distinguishes a partial derivative from an ordinary derivative.
How to Compute Partial Derivatives
The trick to computing partial derivatives is to treat all other variables as if they were constants.
To find :
- Treat (and any other variables) as constants.
- Differentiate with respect to using all the usual differentiation rules (power rule, product rule, chain rule, etc.).
To find :
- Treat (and any other variables) as constants.
- Differentiate with respect to .
Simple Problem 1: Basic Polynomial Function
Let .
Find : Treat as a constant.
- The derivative of with respect to is .
- The derivative of with respect to is .
- The derivative of with respect to is .
- The derivative of with respect to is (since is treated as a constant).
- The derivative of with respect to is .
So,
Find : Treat as a constant.
- The derivative of with respect to is .
- The derivative of with respect to is .
- The derivative of with respect to is .
- The derivative of with respect to is .
- The derivative of with respect to is .
So,
Simple Problem 2: Exponential and Trigonometric Function
Let .
Find : Treat as a constant.
- For : Use the chain rule. The derivative of is . Here , so (derivative with respect to ). So, the derivative is .
- For : Use the chain rule. The derivative of is . Here , so (derivative with respect to ). So, the derivative is .
Thus,
Find : Treat as a constant.
- For : Use the chain rule. The derivative of is . Here , so (derivative with respect to ). So, the derivative is .
- For : Use the chain rule. The derivative of is . Here , so (derivative with respect to ). So, the derivative is .
Thus,
Higher-Order Partial Derivatives (Briefly)
Just like ordinary derivatives, you can take partial derivatives multiple times. For example, means you take the partial derivative with respect to twice. You can also take "mixed" partial derivatives like , which means you first differentiate with respect to , and then with respect to .
Real-World Applications
Partial derivatives are crucial in many fields:
- Physics: Thermodynamics, fluid dynamics, electromagnetism.
- Engineering: Structural analysis, control systems.
- Economics: Marginal utility, elasticity.
- Machine Learning: Gradient descent algorithms to optimize models.
Key Takeaways
- Partial derivatives measure the rate of change of a multivariable function with respect to one variable, holding others constant.
- To compute them, treat all other variables as constants.
- They are denoted by (e.g., ).
- Essential for understanding how complex systems change.
Keep practicing, and you'll master them in no time!