Differential Equations Project

Computer Lab Modules

 

Solution of Exact D. E.'s

 

 

Preliminaries. We wish to solve the exact D. E. with a given I. C.
[Graphics:e3.txtgr1.gif],
it is necessary that [Graphics:e3.txtgr2.gif].

The general solution is a family of curves f[x,y] = c, and the
particular solution is an implicit curve [Graphics:e3.txtgr3.gif],
where [Graphics:e3.txtgr4.gif].

 

Computer Lab Work.

Load the following Mathematica graphics package.

[Graphics:e3.txtgr6.gif][Graphics:e3.txtgr5.gif].
 

Exercise 1. Use Mathematica to solve the exact D. E.
[Graphics:e3.txtgr7.gif].
First, enter the functions m[x,y] and n[x,y].

[Graphics:e3.txtgr6.gif][Graphics:e3.txtgr8.gif]

Second, find the partial derivatives and verify that the D. E. is exact,
i.e. check to see that [Graphics:e3.txtgr9.gif].

[Graphics:e3.txtgr6.gif][Graphics:e3.txtgr10.gif]

Third, integrate m[x,y] with respect to x to form the function f[x,y]
be sure to add the constant of integration g[y] that could involve y.

[Graphics:e3.txtgr6.gif][Graphics:e3.txtgr11.gif]

Fourth, to determine g[y] we need to solve the equation
[Graphics:e3.txtgr12.gif].

[Graphics:e3.txtgr6.gif][Graphics:e3.txtgr13.gif]

Fifth, integrate g'[y] to form g[y].

[Graphics:e3.txtgr6.gif][Graphics:e3.txtgr14.gif]

Note that Mathematica has made the substitution in our formula for f[x,y].

[Graphics:e3.txtgr6.gif][Graphics:e3.txtgr15.gif]

Now form the general solution to the exact D. E.

[Graphics:e3.txtgr6.gif][Graphics:e3.txtgr16.gif]

Plot several curves in the family of solutions with Mathematica's generic command.

[Graphics:e3.txtgr6.gif][Graphics:e3.txtgr17.gif]

Plot several curves and specify the range of constants to be used

[Graphics:e3.txtgr6.gif][Graphics:e3.txtgr18.gif]

Plot the particular contour that corresponds to the constant c = f[1,1] = 4.

[Graphics:e3.txtgr6.gif][Graphics:e3.txtgr19.gif]
 

Exercise 2. Use Mathematica to solve the exact D. E.
[Graphics:e3.txtgr20.gif].
First, enter the functions m[x,y] and n[x,y].

[Graphics:e3.txtgr6.gif][Graphics:e3.txtgr21.gif]

Second, find the partial derivatives and verify that the D. E. is exact,
i.e. check to see that [Graphics:e3.txtgr22.gif].

[Graphics:e3.txtgr6.gif][Graphics:e3.txtgr23.gif]

Third, integrate m[x,y] with respect to x to form the function f[x,y]
be sure to add the constant of integration g[y] that could involve y.

[Graphics:e3.txtgr6.gif][Graphics:e3.txtgr24.gif]

Fourth, to determine g[y] we need to solve the equation
[Graphics:e3.txtgr25.gif].

[Graphics:e3.txtgr6.gif][Graphics:e3.txtgr26.gif]

Fifth, integrate g'[y] to form g[y].

[Graphics:e3.txtgr6.gif][Graphics:e3.txtgr27.gif]

Note that Mathematica has made the substitution in our formula for f[x,y].

[Graphics:e3.txtgr6.gif][Graphics:e3.txtgr28.gif]

Now form the general solution to the exact D. E.

[Graphics:e3.txtgr6.gif][Graphics:e3.txtgr29.gif]

Plot several curves in the family of solutions with Mathematica's generic command.

[Graphics:e3.txtgr6.gif][Graphics:e3.txtgr30.gif]

Plot several curves and specify the range of constants to be used

[Graphics:e3.txtgr6.gif][Graphics:e3.txtgr31.gif]

Plot the particular contour that corresponds to the constant c = f[0,0] = 0.

[Graphics:e3.txtgr6.gif][Graphics:e3.txtgr32.gif]
 
 

Solutions.

 

Return to the Differential Equations Project

Return to the Numerical Analysis Project

Return to the Complex Analysis Project



 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

(c) John H. Mathews, 1998