MTH 224 · Mathematical Methods 1
Our notes
2 min readMeaning
A partial derivative measures how a function changes with one variable, while the others are held fixed.
∂f/∂x = lim(h→0) [f(x + h, y) − f(x, y)] ÷ h
Notation: ∂f/∂x, fₓ, or ∂z/∂x.
Geometrically, fₓ is the slope of the surface in the x direction.
How to compute
Treat the other variables as constants.
Example: f(x, y) = x³y² + 5y.
- fₓ = 3x²y² (5y is a constant here)
- f_y = 2x³y + 5
Example: f(x, y) = e^(xy) sin y.
- fₓ = y e^(xy) sin y
- f_y = x e^(xy) sin y + e^(xy) cos y (product rule)
Numerical check
For f = x³y² + 5y at (1, 2): fₓ = 3(1)(4) = 12.
With a small step: f(1.01, 2) = 1.030301 × 4 + 10 = 14.1212; f(1, 2) = 14. The slope ≈ 0.1212/0.01 = 12.12, which is close to 12. Correct.
Second-order partials
| Symbol | Meaning |
|---|---|
| fₓₓ | ∂²f/∂x² |
| f_yy | ∂²f/∂y² |
| fₓᵧ | differentiate by x, then by y |
| f_yx | differentiate by y, then by x |
Clairaut's theorem: if these are continuous, fₓᵧ = f_yx.
Example: f = x³y² + 5y.
- fₓ = 3x²y², so fₓᵧ = 6x²y.
- f_y = 2x³y + 5, so f_yx = 6x²y.
They match.
Laplace's equation
A function with fₓₓ + f_yy = 0 is called harmonic. It describes steady heat flow and electric potential.
Check: f = x² − y². fₓₓ = 2; f_yy = −2. Sum = 0. So f is harmonic.
Gradient
The gradient collects the partials: ∇f = (fₓ, f_y). It points in the direction of steepest increase.
For f = x² + y² at (1, 2), ∇f = (2, 4).
The rate of change in a unit direction u is ∇f · u. With u = (3/5, 4/5): (2)(3/5) + (4)(4/5) = 6/5 + 16/5 = 22/5.
Check: the maximum rate of change is |∇f| = √20 ≈ 4.47, and 22/5 = 4.4 is below it. That fits.
Applications
- Economics: ∂Q/∂L is the marginal product of labour. With Q = 10L^(1/2)K^(1/2), ∂Q/∂L = 5K^(1/2)L^(−1/2). At L = 4, K = 9, this is 5 × 3 ÷ 2 = 7.5.
- Physics: for an ideal gas with P = nRT/V, ∂P/∂T = nR/V, and ∂P/∂V = −nRT/V².
- Machine learning: training a model follows the gradient of an error function.
Exams usually ask: find first and second partials; verify fₓᵧ = f_yx; show a function satisfies Laplace's equation; find a gradient and directional derivative.
Common mistake: applying the product rule when one factor is a constant for that derivative. In ∂/∂x (x²y³), y³ is a constant, so the answer is simply 2xy³.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Best pick Calculus Volume 3, 4.3 Partial Derivatives
(opens openstax.org in a new tab)
OpenStax, Calculus Volume 3, 4.3 Partial Derivatives, CC BY-NC-SA 4.0 · licence
-
Calculus III - Partial Derivatives
(opens tutorial.math.lamar.edu in a new tab)
-
Partial derivative
(opens en.wikipedia.org in a new tab)
Wikipedia, Partial derivative, CC BY-SA 4.0 · licence
-
Symmetry of second derivatives
(opens en.wikipedia.org in a new tab)
Wikipedia, Symmetry of second derivatives, CC BY-SA 4.0 · licence
-
OpenStax, Calculus Volume 3 (whole free textbook)
The whole book, free to read online or download as a PDF (the PDF is large: Wi-Fi).
(opens openstax.org in a new tab)
OpenStax, OpenStax, Calculus Volume 3 (whole free textbook), CC BY-NC-SA 4.0 · licence
-
NOUN MTH 311: Calculus of Several Variables
NOUN course book (PDF, about 5.1 MB: best on Wi-Fi). The same ground as most of this course.
(opens nou.edu.ng in a new tab)
Watch
-
Introduction to Partial Derivatives (Calculus 3)
23 min · ≈ 104 MB · about ₦58
(opens youtube.com in a new tab)
-
Partial derivatives | Multivariable Calculus | Khan Academy
11 min · ≈ 50 MB · about ₦28
(opens youtube.com in a new tab)
-
Chain Rule With Partial Derivatives - Multivariable Calculus
21 min · ≈ 95 MB · about ₦53
(opens youtube.com in a new tab)
-
Lecture 09 : Partial Derivatives of Function of Two Variable
33 min · ≈ 149 MB · about ₦84
(opens youtube.com in a new tab)
We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.