SECTION 1
Historical Context & Motivation
The study of functions that depend on more than one variable arose naturally from problems in physics and geometry during the eighteenth century. Quantities like temperature in a room, gravitational potential in space, and the shape of a vibrating membrane all depend on multiple independent coordinates, and scientists needed a calculus capable of handling such dependence. The concept of the partial derivative emerged as the key tool: differentiate with respect to one variable while holding all others fixed, thereby decomposing a complex multivariable relationship into manageable single-variable slices.
The notation and formal machinery of partial differentiation evolved over more than a century, shaped by contributions from several mathematical giants. What began as an ad hoc technique for solving specific physical problems eventually crystallized into a cornerstone of modern analysis, differential geometry, and applied mathematics. Understanding this historical trajectory illuminates why partial derivatives are defined the way they are and why the notation can sometimes seem redundant or overloaded.
1734 • Euler's Early Multivariable Work
1788 • Lagrange's Mécanique Analytique
1811 • Notation Standardization
1823 • Cauchy's Rigorous Foundations
1900s • Modern Multivariable Calculus
The central question that partial derivatives answer is deceptively simple: how does a multivariable function change when we nudge just one of its inputs? Answering this question precisely requires us to extend the limit-based definition of the derivative to higher dimensions, and doing so opens the door to gradients, directional derivatives, tangent planes, and the rich geometric landscape of multivariable analysis.
SECTION 2
Core Principles & Definitions
Before computing partial derivatives, it is essential to internalize several foundational ideas that distinguish multivariable differentiation from its single-variable counterpart. These principles govern how we set up the calculation, interpret the result, and recognize when the operation is valid.
Hold Other Variables Constant
Limit Definition Extends Naturally
One Function, Multiple Partial Derivatives
All Standard Differentiation Rules Apply
Existence ≠ Continuity
KEY TAKEAWAY
SECTION 3
Visual Explanation — Slicing a Surface
The geometric interpretation of a partial derivative is both elegant and intuitive. Consider the surface z = f(x, y) in three-dimensional space. To compute ∂f/∂x at a point (a, b), we slice the surface with the vertical plane y = b. This slice produces a curve in the xz-plane, and the partial derivative is simply the slope of the tangent line to that curve at x = a. Likewise, ∂f/∂y is obtained by slicing with the plane x = a and measuring the slope of the resulting curve in the yz-plane. The diagram below illustrates these two orthogonal slices on a paraboloid.
Notice that each partial derivative captures rate of change in only one direction. The x-partial measures how steeply the surface rises or falls as you walk in the x-direction (east–west), while the y-partial measures steepness in the y-direction (north–south). Together, the two partial derivatives at a point determine the tangent plane to the surface at that point, which is the best linear approximation to f near (a, b). This connection between partial derivatives and linear approximation is one of the most powerful ideas in multivariable calculus.
SECTION 4
Mathematical Framework
We now establish the formal definitions and the standard differentiation rules as they apply to partial derivatives. If you are comfortable with single-variable differentiation, you will find that the computational mechanics are almost identical — the only novelty is the bookkeeping of which variables are active and which are held constant.
LIMIT DEFINITION — PARTIAL WITH RESPECT TO x
Here f is a function of two variables, (a, b) is the point of evaluation, and h is the increment in the x-direction only. The variable y remains fixed at b throughout the limit process.
LIMIT DEFINITION — PARTIAL WITH RESPECT TO y
Symmetric to the previous definition: now x stays fixed at a while y is incremented by h.
Notation Conventions
Several notations for partial derivatives coexist in the literature and across textbooks. The Leibniz-style notation ∂f/∂x is the most common in multivariable calculus courses. The subscript notation fx is compact and widely used, especially when writing second-order partials like fxy. One also sees D1f or ∂1f for the derivative with respect to the first argument. All of these are interchangeable; adopt whichever your course uses and be consistent.
COMMON NOTATION EQUIVALENCES
All four symbols denote the same object: the partial derivative of f with respect to its first argument.
Key Differentiation Rules Recap
When differentiating with respect to x, treat y (and any other variable) as a constant. Then the standard rules apply without modification. The power rule gives ∂/∂x [xⁿ] = nxⁿ⁻¹. The product rule gives ∂/∂x [u·v] = uₓ·v + u·vₓ where subscript x denotes partial differentiation. The chain rule gives ∂/∂x [g(u(x,y))] = g′(u)·uₓ. Each of these is identical to the Calc 1 version; the only discipline required is remembering that terms involving only y differentiate to zero, just as the derivative of 5 with respect to x is zero.
PARTIAL DERIVATIVE OF A PRODUCT
This is the standard product rule applied in the x-direction. An analogous formula holds for ∂/∂y.
SECTION 5
Techniques & Common Function Types
While the conceptual framework is uniform — hold all variables constant except the one you are differentiating with respect to — the practical execution varies with the algebraic form of the function. In this section we catalog the most common function types encountered in Calculus 3 and illustrate how partial differentiation proceeds in each case. The diagram below provides a quick-reference flowchart.
Polynomials and Rational Functions
Polynomial functions in several variables are the most straightforward to differentiate. Each term is a product of a coefficient, powers of x, and powers of y (and possibly other variables). When computing ∂f/∂x, terms that do not involve x vanish entirely, and for the remaining terms you apply the power rule to the x-factor while carrying the y-factors along as constants. For example, if f(x, y) = 4x³y² − 7xy + y⁵, then ∂f/∂x = 12x²y² − 7y, because 4 × 3 = 12, x³ becomes x², y² and y are constants that stay, and y⁵ disappears.
Exponential and Logarithmic Functions
Functions like f(x, y) = ex²y or f(x, y) = ln(x² + y²) require the chain rule. Identify the inner function u(x, y), compute ∂u/∂x as if u were a polynomial, and then multiply by the outer derivative. For the exponential, the outer derivative of eu is itself, so ∂f/∂x = eu · ∂u/∂x. For the logarithm, the outer derivative of ln(u) is 1/u, giving ∂f/∂x = (1/u) · ∂u/∂x.
Trigonometric Functions
For f(x, y) = sin(xy²), the chain rule again takes center stage. The outer function is sin, whose derivative is cos, and the inner function is u = xy². Since ∂u/∂x = y² (treating y as a constant), we obtain ∂f/∂x = y² cos(xy²). Notice how y² behaves exactly like a numerical coefficient during x-differentiation — this is the recurring theme in partial derivative computation.
SECTION 6
Worked Example — A Multivariable Function
Let us compute both first-order partial derivatives of the function f(x, y) = x²e3y + sin(xy) step by step. This function combines a product of polynomial and exponential pieces with a trigonometric piece, exercising several rules simultaneously.
Computing ∂f/∂x for f(x, y) = x² + sin(xy)
- 1
Step 1 — Identify Terms and Hold y Constant
We write f as the sum of two terms: Term A = x²e3y and Term B = sin(xy). When computing ∂f/∂x, the variable y is treated as a constant. In Term A, e3y is therefore a constant multiplier. In Term B, the inner function of sin is u = xy, where y acts as a constant coefficient of x. - 2
Step 2 — Differentiate Term A
Since e3y is a constant with respect to x, we apply the power rule to x²: ∂/∂x [x²e3y] = 2x · e3y.∂(Term A)/∂x = 2xe3y - 3
Step 3 — Differentiate Term B via Chain Rule
Let u = xy. Then ∂u/∂x = y (since y is constant). The outer function is sin(u), whose derivative is cos(u). By the chain rule, ∂/∂x [sin(xy)] = cos(xy) · y = y cos(xy).∂(Term B)/∂x = y cos(xy) - 4
Step 4 — Combine
Adding the two results:∂f/∂x = 2xe3y + y cos(xy)
Computing ∂f/∂y for the Same Function
- 1
Step 1 — Hold x Constant
Now x is the constant. In Term A = x²e3y, the factor x² is constant and e3y depends on y. In Term B = sin(xy), the inner function is u = xy with ∂u/∂y = x. - 2
Step 2 — Differentiate Term A
Apply the chain rule to e3y: the derivative of e3y with respect to y is 3e3y. Multiplied by the constant x², we get 3x²e3y.∂(Term A)/∂y = 3x²e3y - 3
Step 3 — Differentiate Term B
With u = xy, we have ∂u/∂y = x. Therefore ∂/∂y [sin(xy)] = cos(xy) · x = x cos(xy).∂(Term B)/∂y = x cos(xy) - 4
Step 4 — Combine
Adding the two results:∂f/∂y = 3x²e3y + x cos(xy)
Verification Tip
SECTION 7
Common Pitfalls & Best Practices
Computing partial derivatives is mechanically straightforward once the principle of holding other variables constant is internalized, but several common mistakes trip up students. The table below catalogs the most frequent errors alongside the correct approach and a mnemonic for avoiding them.
| Common Mistake | Correct Approach | Why It Matters |
|---|---|---|
| Differentiating y-terms when computing ∂f/∂x (e.g., writing ∂/∂x[y³] = 3y²) | ∂/∂x[y³] = 0, since y is a constant with respect to x. | Introducing phantom terms corrupts the gradient and any downstream calculation (tangent planes, optimization). |
| Forgetting the chain rule on composite inner functions (e.g., ∂/∂x[] = instead of ) | Identify the inner function u = xy. Then ∂/∂x[] = · ∂u/∂x = . | Missing the chain rule factor is equivalent to dropping a constant multiplier — the result is off by a factor. |
| Confusing ∂f/∂x with df/dx when f depends on x and y(x) (implicit dependence) | ∂f/∂x holds y fixed. df/dx uses the total derivative and includes (∂f/∂y)(dy/dx). | In thermodynamics and constrained optimization, mixing these up leads to incorrect equations of state. |
| Treating constants like π or e as variables | π and e are numerical constants. Only named variables (x, y, z, t, …) defined in the problem are variables. | Rare but confusing — especially in physics where e might denote charge or Euler's number depending on context. |
| Misapplying the product rule when only one factor depends on x | If v does not depend on x, then ∂/∂x[u·v] = v · ∂u/∂x. No second term is needed. | Writing an unnecessary zero term is harmless algebraically but signals conceptual confusion that may compound in harder problems. |
Common partial derivative errors and corrections
KEY TAKEAWAY
SECTION 8
Connection to Higher-Order Derivatives & Advanced Theory
First-order partial derivatives are only the beginning of the story. Just as you can differentiate a single-variable function repeatedly to obtain f′, f″, f‴, etc., you can differentiate a multivariable function's partial derivatives to obtain second-order partial derivatives and beyond. For a function of two variables, there are four second-order partials: fxx, fyy, fxy, and fyx. The famous Clairaut's theorem guarantees that if these mixed partials are continuous, then fxy = fyx, a symmetry that simplifies computation considerably.
| Concept | Relies on Partial Derivatives | Where You Will Encounter It |
|---|---|---|
| Gradient Vector ∇f | The gradient assembles all first-order partial derivatives into a vector: ∇f = ⟨∂f/∂x, ∂f/∂y, …⟩. It points in the direction of steepest ascent. | Directional derivatives, optimization, gradient descent in machine learning. |
| Tangent Plane & Linearization | The tangent plane to z = f(x,y) at (a,b) is z = f(a,b) + fₓ(a,b)(x−a) + (a,b)(y−b), built directly from partial derivatives. | Local linear approximation, differentials, error estimation. |
| Hessian Matrix | The matrix of all second-order partial derivatives. For f(x,y), it is a 2×2 matrix with entries f_xx, f_xy, f_yx, f_yy. | Second derivative test for multivariable optimization, convexity analysis. |
| Jacobian Matrix | For vector-valued functions F: ℝⁿ → ℝᵐ, the Jacobian is the m×n matrix of all partial derivatives ∂Fᵢ/∂xⱼ. | Change of variables in multiple integrals, nonlinear systems, inverse and implicit function theorems. |
| Partial Differential Equations (PDEs) | PDEs express relationships among a function and its partial derivatives: e.g., the heat equation = k·u_xx. | Physics, engineering, finance (Black–Scholes), fluid dynamics (Navier–Stokes). |
How partial derivatives connect to advanced topics in Calculus 3 and beyond
Mastering the computation of first-order partial derivatives is therefore not an end in itself but a prerequisite for essentially every topic that follows in multivariable and vector calculus. The mechanical skill of treating other variables as constants and applying Calc 1 rules will be exercised hundreds of times as you progress through gradients, Lagrange multipliers, surface integrals, and Stokes' theorem. Building speed and accuracy now pays dividends throughout the remainder of the course.
SECTION 9
Practice Problems
Question 1: CONCEPTUAL
Show answer
Question 2: BASIC CALCULATION
Show answer
Question 3: INTERMEDIATE
Show answer
Question 4: APPLIED
Show answer
Question 5: CRITICAL THINKING
Show answer
SUMMARY
Lesson Summary
Summary
Computing partial derivatives extends single-variable differentiation to functions of multiple variables by holding all variables constant except the one being differentiated. The formal definition is a straightforward limit — lim[h→0] [f(a+h, b) − f(a, b)] / h for ∂f/∂x — and in practice you apply the same power rule, product rule, quotient rule, and chain rule from Calculus 1, simply treating the inactive variables as numerical constants. Geometrically, each partial derivative represents the slope of a cross-sectional slice of the surface z = f(x, y) along one coordinate axis.
Key pitfalls include accidentally differentiating constant terms, forgetting the chain rule on composite inner functions, and confusing partial derivatives with total derivatives. First-order partial derivatives serve as the building blocks for the gradient vector, tangent planes, the Hessian matrix, and partial differential equations — making fluency in their computation an essential skill for the remainder of multivariable calculus and its applications across science and engineering.