Total Differential Equations

An algebraic equation in three variables, of the form

ϕ ( x , y , z ) = c ,

where c is a constant, leads to the total differential equation

ϕ x d x + ϕ y d y + ϕ z d z = 0.

If ϕ x , ϕ y , ϕ z have a common factor μ , and if

ϕ x = μ P , ϕ y = μ Q , ϕ z = μ R ,

the total differential equation may be written in the form

P d x + Q d y + R d z = 0.

On the other hand, if P , Q , and R are arbitrarily-assigned functions of x , y , z , the total differential equation does not necessarily correspond to a primitive of the form

ϕ ( x , y , z ) = c .

For if such a primitive exists, P , Q , R are respectively proportional to the three partial differential coefficients of a function ϕ ( x , y , z ) , which is not in general true. The problem therefore arises, to find a necessary and sufficient condition that a given total differential equation should be integrable, that is to say, derived from a primitive of the form considered.

It is first of all necessary that functions ϕ ( x , y , z ) and μ ( x , y , z ) exist such that the conditions

ϕ x = μ P , ϕ y = μ Q , ϕ z = μ R

are satisfied. Then1

y ( μ P ) = 2 ϕ y x = 2 ϕ x y = x ( μ Q ) .

that is

μ ( P y Q x ) = Q μ x P μ y ,

and similarly

μ ( Q z R y ) = R μ y Q μ z , μ ( R x P z ) = P μ z R μ x .

The unknown μ is eliminated from these three equations by multiplying respectively by R , P , Q and adding. The resulting equation

P ( Q z R y ) + Q ( R x P z ) + R ( P y Q x ) = 0

is a necessary condition for integrability.2

It is obvious from the above demonstration, and may easily be verified independently, that if λ is a function of x , y , z and

P 1 = λ P , Q 1 = λ Q , R 1 = λ R .

the condition for integrability is satisfied by P 1 , Q 1 , R 1 .

It will now be proved that the condition of integrability is a sufficient condition, that is to say, when it is satisfied, there exists a solution involving an arbitrary constant. The proof incidentally furnishes a method of obtaining the solution when the condition for integrability is satisfied.

Let one of the variables be, for the moment, regarded as a constant. If the variable chosen is z , the equation reduces to

P d x + Q d y = 0 ,

where P and Q are to be regarded as functions of x and y into which z enters as a parameter. This equation has a solution

u ( x , y , z ) = const.

where, if λ ( x , y , z ) is the integrating factor,

u x = λ P = P 1 , u y = λ Q = Q 1 ,

but, of course, it does not follow that

u z = λ R = R 1 .

Let

R 1 = λ R = u z + S ,

then since, by hypothesis,

P 1 ( Q 1 z R 1 y ) + Q 1 ( R 1 x P 1 z ) + R 1 ( P 1 y Q 1 x ) = 0 ,

it follows that

S y u x S x u y = 0.

This relation is not satisfied in virtue of

u ( x , y , z ) = const. ,

it is therefore an identity. Consequently S and u , regarded as functions of x and y are functionally dependent upon one another. The functional relationship between them, however, involves also the third variable z , and thus S is expressible in terms of u and z alone.

Now

λ ( P d x + Q d y + R d z ) = u x d x + u y d y + ( u z + S ) d z = d u + S d z .

The original equation is therefore equivalent to

d u + S d z = 0 ;

let μ ( u , z ) be an integrating factor, then

λ μ ( P d x + Q d y + R d z ) = μ ( d u + S d z )

is an exact differential d ψ . The primitive is

ψ ( u , z ) = c ;

and if u is replaced by its expression in x , y , z the primitive takes the form

ϕ ( x , y , z ) = c .

Similarly it may be proved that a necessary and sufficient condition that the equation in n variables

X 1 d x 1 + X 2 d x 2 + + X n d x n = 0

should have a primitive of the form

ϕ ( x 1 , x 2 , , x n ) = c

is that the set of equations

X ν ( X μ x λ X λ x μ ) + X λ ( X ν x μ X μ x ν ) + X μ ( X λ x ν X ν x λ ) = 0

( λ , μ , ν = 1 , 2 , , n ) , are satisfied simultaneously and identically. The total number of such equations is 1 6 n ( n 1 ) ( n 2 ) ; of these 1 2 ( n 1 ) ( n 2 ) are independent.

The main lines upon which the integration proceeds is illustrated by the following example:

Example.

$ yz(y+z)\,dx + zx(z+x)\,dy + xy(x+y)\,dz = 0. $

In this case

P = y z ( y + z ) , Q = z x ( z + x ) , R = x y ( x + y ) .

and the condition for integrability is satisfied.

When z is regarded as a constant the equation reduces to

y z ( y + z ) d x + z x ( z + x ) d y = 0 ,

and this reduced equation has the solution

u = ( z + x ) ( z + y ) x y = const.

Now

u x = z ( z + y ) x 2 y , u y = z ( z + x ) x y 2 ,

so that

λ = 1 x 2 y 2 z .

Also

S = λ R u z = x + y x y z 2 z + x + y x y = 2 x + y + z x y = 2 u 1 z .

and therefore

λ ( P d x + Q d y + R d z ) = d u 2 u 1 z d z .

An integrating factor is μ = z 2 , and

μ λ ( P d x + Q d y + R d z ) = d u z 2 2 ( u 1 ) d z z 3 = d ( u 1 z 2 ) .

The primitive therefore is

u 1 z 2 = C

or, replacing u by its expression in terms of x , y , z ,

x + y + z x y z = c .

2.8.1 Geometrical Interpretation

When R is not zero, the total differential equation may be written

d z = P R d x Q R d y

or

d z = U d x + V d y .

Since

d z = p d x + q d y ,

the total differential equation is equivalent to the two simultaneous partial differential equations

p = U ( x , y , z ) , q = V ( x , y , z ) .

The equation of the tangent plane at ( x 0 , y 0 , z 0 ) to the integral-surface which passes through ( x 0 , y 0 , z 0 ) is therefore,

z z 0 = U 0 ( x x 0 ) + V 0 ( y y 0 ) ,

where U 0 and V 0 are respectively the values of U and V at ( x 0 , y 0 , z 0 ) .

The problem of integration is therefore equivalent to finding a surface such that the direction cosines of its normal at every point ( x , y , z ) are proportional to

U ( x , y , z ) , V ( x , y , z ) , 1.

This problem is, in general, insoluble; in order that it may be soluble the condition for integrability, which reduces to

U y + V U z = V x + U V z ,

must be satisfied.

The general solution of each of the partial differential equations

z x = U , z y = V

represents a family of surfaces, such that through every curve in space there passes, in general, one and only one surface of each family.3 Their common solution represents a family of space-curves

u ( x , y , z ) = α , v ( x , y , z ) = β ,

depending upon the two parameters α and β , and such that through each point in space then passes one and only one integral-curve.

An integral-surface of the total differential equation cuts every curve of this family orthogonally, that is the tangent plane at any point P of an integral-surface must contain the normals at P of the two surfaces u = α , v = β which pass through P . Hence

p u x + q u y u z = 0 , p v x + q v y v z = 0.

These two equations determine

p = U ( x , y , z ) , q = V ( x , y , z ) .

These are consistent if, and only if

p y = q x ,

that is, if the condition for integrability

U y + V U z = V x + U V z

is satisfied.

2.8.2 Mayer's Method of Integration

The method of integration developed in § 2.8 depends upon the integration of two successive differential equations in two variables. In Mayer's method4 only one integration is necessary. Let ( x 0 , y 0 ) be any chosen pair of values of ( x , y ) and let z 0 be an arbitrary value of z such that the four differential coefficients

U y , U z , V x , V z

exist and are continuous in the neighbourhood of ( x 0 , y 0 , z 0 ) . Then if the equation is integrable, its solution will be completely determined by the initial value z 0 . The value of z at ( x , y ) can therefore be obtained by following the variation of z from its initial value z 0 as a point P moves in a straight line in the ( x , y ) -plane from ( x 0 , y 0 ) to ( x , y ) .

There is no loss in generality in supposing that the point ( x 0 , y 0 ) is the origin, and this will be assumed. On the straight line joining the origin to ( x , y ) ,

y = κ x , d y = κ d x ,

where κ is constant. The equation therefore becomes

d z = ( U 1 + κ V 1 ) d x ,

where U 1 and V 1 are what U and V become when y is replaced by κ x . This equation, in the two variables x and z , has a solution of the form

ϕ ( x , z , κ ) = const.

or, since z = z 0 when x = 0 ,

ϕ ( x , z , κ ) = ϕ ( 0 , z 0 , κ ) .

On replacing κ by y / x , the solution

ϕ ( x , z , y / x ) = ϕ ( 0 , z 0 , y / x )

is obtained in a form which indicates its dependence upon the arbitrary constant z 0 .

Example. Consider the equation

d z = 1 + y z 1 + x y d x + x ( z x ) 1 + x y d y ;

the coefficients of d x and d y are continuous in the neighbourhood of x = 0 , y = 0 , z = z 0 , and so are their partial differential coefficients.

Let

y = κ x , d y = κ d x ,

then the equation reduces to

d z d x = 2 κ x 1 + κ x 2 z + 1 κ x 2 1 + κ x 2 ;

it is now linear, and has the solution

z = x + z 0 ( 1 + κ x 2 ) .

The solution of the given equation is therefore

z = x + z 0 ( 1 + x y ) .

2.8.3 Pfaff's Problem

When the condition for integrability is not satisfied, the total differential equation is not derivable from a single primitive. On this account such an equation was at one time regarded as meaningless.5 Further consideration, however, brought to light the fact that the total differential equation is equivalent to a pair of algebraic equations6 known as its integral equivalents. In general, when the equations for integrability are not all satisfied, a total differential equation in 2 n or 2 n 1 variables is equivalent to a system of not more than n algebraic equations.7 The problem of determining the integral equivalents of any given total differential equation is known as Pfaff's Problem. A sketch of the method of procedure, in the case of three variables, will now be given.8

The first step consists in showing that the differential expression

P d x + Q d y + R d z

can be reduced to the form

d u + v d w ,

where u , v , w are functions of x , y , z . The two forms are identical if

\begin{cases} P = \frac{\partial u}{\partial x} + v\frac{\partial w}{\partial x}, \\ Q = \frac{\partial u}{\partial y} + v\frac{\partial w}{\partial y}, \\ R = \frac{\partial u}{\partial z} + v\frac{\partial w}{\partial z}. \end{cases} \tag{A}

Let

P' = \frac{\partial Q}{\partial z} - \frac{\partial R}{\partial y}, \quad Q' = \frac{\partial R}{\partial x} - \frac{\partial P}{\partial z}, \quad R' = \frac{\partial P}{\partial y} - \frac{\partial Q}{\partial x},

then

\begin{align*} P' &= \frac{\partial v}{\partial z}\frac{\partial w}{\partial y} - \frac{\partial v}{\partial y}\frac{\partial w}{\partial z}, \\ Q' &= \frac{\partial v}{\partial x}\frac{\partial w}{\partial z} - \frac{\partial v}{\partial z}\frac{\partial w}{\partial x}, \\ R' &= \frac{\partial v}{\partial y}\frac{\partial w}{\partial x} - \frac{\partial v}{\partial x}\frac{\partial w}{\partial y}. \end{align*}

It follows that

P'\frac{\partial v}{\partial x} + Q'\frac{\partial v}{\partial y} + R'\frac{\partial v}{\partial z} = 0,P'\frac{\partial w}{\partial x} + Q'\frac{\partial w}{\partial y} + R'\frac{\partial w}{\partial z} = 0.

Thus v and w are solutions of one and the same linear partial differential equation; the equivalent simultaneous system is

\frac{dx}{P'} = \frac{dy}{Q'} = \frac{dz}{R'}.

Let

α ( x , y , z ) = const. , β ( x , y , z ) = const.

be two independent solutions of the simultaneous system, then v and w are functions of α and β .

Now return to the variable u ; since

P'\left(P-\frac{\partial u}{\partial x}\right) + Q'\left(Q-\frac{\partial u}{\partial y}\right) + R'\left(R-\frac{\partial u}{\partial z}\right) = v\left(P'\frac{\partial w}{\partial x} + Q'\frac{\partial w}{\partial y} + R'\frac{\partial w}{\partial z}\right) = 0,

it follows that

P'\frac{\partial u}{\partial x} + Q'\frac{\partial u}{\partial y} + R'\frac{\partial u}{\partial z} = PP' + QQ' + RR'.

But the condition

PP'+QQ'+RR'=0

is the condition for integrability; since it is supposed not to be satisfied, u does not satisfy the same partial differential equation as v and w .

Now w may be any function of α and β ; for simplicity let

w = α .

Then if the relation

α ( x , y , z ) = a ,

where a is a constant, is set up between the variables x , y , z , the differential form P d x + Q d y + R d z reduces to d u , and therefore becomes a perfect differential. Thus the relation α ( x , y , z ) = a is used to express any variable, say z , and its differential d z in terms of the other two variables and their differentials, and when these expressions are substituted for z and d z in P d x + Q d y + R d z , the latter becomes a total differential d ϕ ( x , y , a ) . When a is replaced by α ( x , y , z ) this differential becomes d u . Thus u is obtained, and since u and w are known, v may be deduced algebraically from any one of the equations (A). The total differential equation

P d x + Q d y + R d z = 0

is thus reduced to the canonical form

d u + v d w = 0.

The canonical equation may be satisfied in various ways, as follows:
(i) u = const. , w = const.
(ii) u = const. , v = 0.
More generally, if ψ ( u , w ) is any arbitrary function of u and w , an integral equivalent is
(iii) ψ ( u , w ) = 0 , v ψ u ψ w = 0 ;
(iii) includes (ii) but not (i). In each case, the integral equivalent consists of a pair of algebraic equations.

Example. As an example, consider the equation

y d x + z d y + x d z = 0.

In this case

P=y, \quad Q=z, \quad R=x, \quad P'=Q'=R'=1,

and thus

PP'+QQ'+RR' \neq 0,

that is, the condition for integrability is not satisfied.

The simultaneous system is

d x = d y = d z ;

one solution is

a x y = a .

Let w = a , and eliminate x from the given equation, which becomes

( y + z ) d y + ( y + a ) d z = 0.

This reduced equation is immediately integrable and its solution is

ϕ 1 2 y 2 + y z + a z = const.

When a is replaced by x y , ϕ becomes u , thus

u = 1 2 y 2 + y z + ( x y ) z = 1 2 y 2 + x z .

Finally v is obtained as follows:

v w x = P u x ,

that is

v = y z .

Thus

y d x + z d y + x d z = d u + v d w ,

where

u = 1 2 y 2 + x y , v = y z , w = x y .

Integral equivalents are therefore
(i) 1 2 y 2 + x z = const. , x y = const. ,
(ii) 1 2 y 2 + x z = const. , y z = 0 .
(iii) ψ ( u , w ) = 0 , v ψ u ψ w = 0 .
Other integral equivalents are obtained by permuting x , y , z , cyclically.

2.8.4 Reduction of an Integrable Equation to Canonical Form

The foregoing reduction to canonical form may equally well be performed in the case of an integrable equation, but since, in this case,

PP'+QQ'+RR'=0,

identically, u satisfies the same partial differential equation as v and w and therefore u , v and w are functions of α and β .

It follows that

d u + v d w = A d α + B d β ,

where A and B are functions of α and β alone. When α and β have been determined, A and B are derivable algebraically from any two of the three consistent equations,

P = A α x + B β x , Q = A α y + B β y , R = A α z + B β z .

Thus the total differential equation is transformed into an ordinary equation in the two variables α and β .

This leads to a practical method of solving an integrable equation, as is shown by the following example (cf. § 2.8):

Example.

y z ( y + z ) d x + z x ( z + x ) d y + x y ( x + y ) d z = 0.

Here

P'=2x(z-y), \quad Q'=2y(x-z), \quad R'=2z(y-x),

and the condition for integrability is satisfied. The simultaneous system

d x x ( z y ) = d y y ( x z ) = d z z ( y x )

is equivalent to

d ( x + y + z ) = 0 , d x x + d y y + d z z = 0 ,

and has the solution

α x + y + z = const. , β x y z = const.

Thus the given equation reduces to

A d α + B d β = 0 ,

where

\begin{align*} yz(y+z) &= A+Byz, \\ zx(z+x) &= A+Bzx, \\ xy(x+y) &= A+Bxy. \end{align*}

Hence

A = x y z , B = x + y + z ,

that is to say, the equation becomes

α d β β d α = 0 ,

and has the solution

α β = x + y + z x y z = const.

Footnotes

  1. It is, of course, assumed that the change of order of differentiation is valid.

  2. Euler, Inst. Calc. Int. 3 (1770), p. 1.

  3. This depends upon the fact that a partial differential equation possesses, in general, a unique solution satisfying assigned initial conditions. The truth of the underlying existence-theorem is assumed.

  4. Math. Ann., 5 (1872), p. 448.

  5. Euler, Inst. Calc. Int., 3 (1770), p. 5.

  6. Monge, Mém. Acad. Sc. Paris (1784), p. 535.

  7. Pfaff, Abh. Akad. Wiss. Berlin (1814), p. 76.

  8. An extended treatment in the general case is given in Forsyth, Theory of Differential Equations, Part I., and in Goursat, Leçons sur le Problème de Pfaff.