Home page for accesible maths 3 Functions of two or more variables

Style control - access keys in brackets

Font (2 3) - + Letter spacing (4 5) - + Word spacing (6 7) - + Line spacing (8 9) - +

3.3 Expressing f as ∇⁡ϕ

We begin with a remark on higher derivatives.

You’ve seen higher partial derivatives ∂2⁡f∂⁡x2=fx⁢x, fx⁢y, fy⁢x and fy⁢y in MATH102. Recall the following important fact:

Fact: If fx⁢y and fy⁢x exist and are continuous, then they are equal.


Two-dimensional case. The following is the two-dimensional analogue of the problem of finding indefinite integrals of a function of one variable. Given a vector-valued function 𝒇=(f1⁢f2), is there a scalar function ϕ such that ϕx=f1 and ϕy=f2?

Since (assuming continuity) ϕx⁢y=ϕy⁢x, there is an obvious necessary condition for such a ϕ to exist: we must have ∂⁡f1∂⁡y=∂⁡f2∂⁡x. Conversely, one can show that if this condition holds, then there is indeed such a ϕ.

Example 3.8.  𝒇⁢(x,y)=(2⁢x+3⁢y⁢   3⁢x-4⁢y).

The required condition is satisfied, since

To find ϕ: we require ϕx=2⁢x+3⁢y. Integration with respect to x (with y counting as constant) gives

Three-dimensional case. Given a vector-valued function 𝒇=(f1⁢f2⁢f3), is there a scalar function ϕ such that ∇⁡ϕ=𝒇, that is, ϕx=f1,  ϕy=f2 and ϕz=f3?

From the equalities ϕy⁢z=ϕz⁢y (etc.), this can only happen if

∂⁡f2∂⁡z=∂⁡f3∂⁡y,∂⁡f3∂⁡x=∂⁡f1∂⁡z,∂⁡f1∂⁡y=∂⁡f2∂⁡x,

and again one can show that these conditions are sufficient to ensure the existence of ϕ.

Example 3.9.  𝒇⁢(x,y,z)=(2⁢x-y+3⁢z⁢  2⁢z-x⁢  3⁢x+2⁢y).

The conditions are satisfied: