• Practice
  • About 22 min
  • 5 practice questions

Partial derivatives, Clairaut's theorem and Laplace's equation

Find first and second order partial derivatives by treating the other variables as constants, check equality of mixed partials by Clairaut's theorem, and test whether a function is harmonic.

If something looks wrong, please tell us.

By the end of this lesson you can

  • Define ∂F/∂x and ∂F/∂y as limits and interpret them as slopes of sections of a surface.
  • Compute partial derivatives using the usual rules, holding the other variables constant.
  • Find second order and mixed partial derivatives and use Clairaut's theorem.
  • Explain why having partial derivatives does not guarantee continuity.
  • Show that a function is harmonic by checking Laplace's equation.

In one variable, f′(x) is the slope of a curve. A surface z = F(x, y) has a different slope in every direction, so Section 8.5 of the Tamil Nadu textbook starts with the two simplest directions: parallel to the x-axis and parallel to the y-axis. These are the partial derivatives.

Definition

Let F be defined on a region containing (x₀, y₀). The partial derivative of F with respect to x at (x₀, y₀) is the limit below, when it exists; it is also written F_x(x₀, y₀). The partial derivative with respect to y uses an increment k in y instead.

∂F/∂x (x₀, y₀) = lim (h → 0) [F(x₀ + h, y₀) − F(x₀, y₀)]/h; ∂F/∂y (x₀, y₀) = lim (k → 0) [F(x₀, y₀ + k) − F(x₀, y₀)]/k.

— Partial derivatives

Geometrically, cutting the surface by the plane y = y₀ gives the curve z = F(x, y₀); its slope at x₀ is ∂F/∂x. In practice: to find ∂F/∂x, treat every other variable as a constant and differentiate with respect to x. All the rules (sum, product, quotient, chain) apply. ∂F/∂x is read as partial F by partial x. Partial derivatives of functions of three or more variables are defined in the same way.

Worked example 1: first order partials at a point

Let F(x, y) = x²y³ + 4xy − y². Find ∂F/∂x and ∂F/∂y at (1, −1). Working: holding y constant, ∂F/∂x = 2xy³ + 4y. Holding x constant, ∂F/∂y = 3x²y² + 4x − 2y. At (1, −1): ∂F/∂x = 2(1)(−1) + 4(−1) = −6, and ∂F/∂y = 3(1)(1) + 4 + 2 = 9.

Worked example 2: from the definition

Let f(x, y) = xy/(x² + y²) for (x, y) ≠ (0, 0) and f(0, 0) = 0. Working: f(h, 0) = 0 for h ≠ 0, so ∂f/∂x (0, 0) = lim [f(h, 0) − f(0, 0)]/h = lim 0/h = 0; similarly ∂f/∂y (0, 0) = 0. Yet along y = x the function is constantly 1/2, so f is not continuous at the origin. In one variable, a derivative forces continuity; in two variables, the existence of both partial derivatives does not.

Second order partial derivatives

∂F/∂x and ∂F/∂y are again functions of x and y, so they can be differentiated partially. This gives four second order partial derivatives. The Tamil Nadu textbook uses the notation in the table; note how the subscripts are read in this book.

SymbolMeaningTextbook subscript
∂²F/∂x²∂/∂x (∂F/∂x)F_xx
∂²F/∂y²∂/∂y (∂F/∂y)F_yy
∂²F/∂x∂y∂/∂x (∂F/∂y): first y, then xF_xy
∂²F/∂y∂x∂/∂y (∂F/∂x): first x, then yF_yx

Clairaut's theorem: if F_xy and F_yx exist and are continuous on an open region, then F_xy = F_yx there. So for the functions we normally meet, the order of mixed differentiation does not matter. (There are functions where it does, but they lack continuous mixed partials.)

Worked example 3: all four second order partials

Let f(x, y) = e^(xy) + sin(x − 2y). Working: ∂f/∂x = y e^(xy) + cos(x − 2y) and ∂f/∂y = x e^(xy) − 2 cos(x − 2y). Then ∂²f/∂x² = y² e^(xy) − sin(x − 2y), and ∂²f/∂y² = x² e^(xy) − 4 sin(x − 2y). For the mixed ones: ∂/∂y of ∂f/∂x = e^(xy) + xy e^(xy) + 2 sin(x − 2y), since ∂/∂y cos(x − 2y) = −sin(x − 2y) × (−2). And ∂/∂x of ∂f/∂y = e^(xy) + xy e^(xy) + 2 sin(x − 2y), since ∂/∂x of −2cos(x − 2y) is 2 sin(x − 2y). The two mixed partials are equal, as Clairaut's theorem predicts.

Harmonic functions and Laplace's equation

A function u(x, y) is harmonic on a region if it satisfies Laplace's equation ∂²u/∂x² + ∂²u/∂y² = 0 at every point of the region. Laplace's equation describes steady heat flow, electrostatic fields and fluid flow, so harmonic functions appear throughout physics and engineering.

Worked example 4: testing for harmonic functions

(i) u = x² − y²: u_xx = 2 and u_yy = −2, so u_xx + u_yy = 0; harmonic. (ii) u = eˣ sin y: u_x = eˣ sin y, u_xx = eˣ sin y; u_y = eˣ cos y, u_yy = −eˣ sin y. The sum is 0, so u is harmonic on R². (iii) u = x² + y²: u_xx + u_yy = 2 + 2 = 4 ≠ 0, so it is not harmonic.

Checking a function against Laplace's equation

  1. Find u_x and u_y Hold the other variable constant.
  2. Differentiate again u_xx from u_x, u_yy from u_y.
  3. Add u_xx + u_yy.
  4. Decide Zero everywhere: harmonic. Otherwise: not.

Key takeaways: a partial derivative differentiates with respect to one variable while all others are held constant; it is the slope of a section of the surface; partial derivatives can exist without continuity; there are four second order partials, and Clairaut's theorem makes the two mixed ones equal when they are continuous; u is harmonic when u_xx + u_yy = 0.

Check your understanding

  1. 1. If F(x, y) = x³y + 2y², then ∂F/∂y is

    1. 3x²y
    2. x³ + 4y
    3. 3x²y + 4y
    4. x³ + 2y
    Show answer

    Answer: B. Treat x as a constant: ∂(x³y)/∂y = x³ and ∂(2y²)/∂y = 4y. So ∂F/∂y = x³ + 4y.

  2. 2. For F(x, y) = x² e^y, the value of ∂F/∂x at (3, 0) is

    1. 9
    2. 3
    3. 6
    4. 0
    Show answer

    Answer: C. ∂F/∂x = 2x e^y; at (3, 0) it is 2 × 3 × 1 = 6.

  3. 3. For f(x, y) = x²y³, the mixed partial ∂²f/∂x∂y is

    1. 2xy³
    2. 3x²y²
    3. 6x²y
    4. 6xy²
    Show answer

    Answer: D. ∂f/∂y = 3x²y², then ∂/∂x gives 6xy². Differentiating in the other order, ∂f/∂x = 2xy³ and ∂/∂y gives 6xy² as well.

  4. 4. Which of these functions is harmonic on R²?

    1. u = 2xy
    2. u = x² + y²
    3. u = x³ + y³
    4. u = x²y
    Show answer

    Answer: A. For u = 2xy, u_xx = 0 and u_yy = 0, so u_xx + u_yy = 0. The others give 4, 6x + 6y and 2y, which are not zero everywhere.

  5. 5. For a function of two variables, which statement is true?

    1. If ∂F/∂x and ∂F/∂y exist at a point, F is continuous there
    2. Mixed partial derivatives are never equal
    3. If F_xy and F_yx are continuous on a region, they are equal there
    4. ∂F/∂x is found by treating x as a constant
    Show answer

    Answer: C. This is Clairaut's theorem. Partial derivatives can exist without continuity (xy/(x² + y²) at the origin), and for ∂F/∂x it is y, not x, that is held constant.

Privacy · Terms · Refunds · Delivery