Docsity

Partial Differential Equations and Implicit Solutions, Exams of Advanced Education

Partial preview of the text

Download Partial Differential Equations and Implicit Solutions and more Exams Advanced Education in PDF only on Docsity!

ENGR 213 - LECTURE 03 - EXACT EQUATIONS AND SOLUTIONS

BY SUBSTITUTIONS APPLIED ORDINARY DIFFERENTIAL

EQUATIONS (CONCORDIA UNIVERSITY)

∂x

∂y

2.4. Exact Differential Equations.

Differential of two variable functions. Given a two variable function z = f ( x, y )

with a functional rule f ( x, y ). Then the expression:

dz =

∂f

( x, y ) dx

∂x

∂f

( x, y ) dy

∂y

is called a differential of the function z = f(x , y). Here,

∂f

( x, y ) is the partial

derivative of f ( x, y ) with respect to x and

∂f ( x, y ) is the partial derivative of f ( x, y )

with respect to y. In order to denote the differential of a two variable function given

with the differential rule f ( x, y ), the notation:

is also acceptable.

df

∂f

( x, y ) dx

∂x

∂f

( x, y ) dy

∂y

Example. Consider the two variable function

f ( x, y ) = x

3

  • e

xy

2

Then

df = (3 x

2

  • y

2 e

xy

2

) dx + 2 yxe

xy

2

dy

is the differential of the given function.

Remark. Obviously, d c = 0, where c is a constant function.

The functional equation

f ( x, y ) = c ⇒ x

3

  • e

xy

2

= c,

where c is an arbitrary constant, represents a family of curves on the xy -plane. Com-

puting the differential from both sides of this equation generates a first-order DE

written in a differential form:

df = dc ⇒ df = 0

⇒ (3 x

  • y

2

e

xy

2 ) dx +

2 yxe

xy

2

dy = 0 (1)

⇒ 2 yxe

xy

2 dy^

  • 3 x

2

dx

  • y

2

e

xy

2 = 0 (2)

assuming that y is dependent variable

or, assuming that x is dependent variable

(3 x

2

  • y

2

e

xy

2

dx

  • 2 yxe

xy

2

dy

2

is exact. Then, there is a function f ( x, y ) such that

∂f ∂f

dx +

∂x ∂y

dy = M dx + N dy

∂f ∂

2

f ∂M

∂x

= M ⇒

∂x∂y

∂y

∂f ∂

2

f ∂N

and from here

∂y

= N ⇒

∂y∂x

∂x

taking into account that

∂M ∂N

∂y ∂x

according to Clairaut’s Theorem

2

f

∂x∂y

2

f

∂y∂x

(see http : // en_._ wikipedia_._ org / wiki / Symmetry−of−second−derivatives).

The converse is also true under some restrictions on M ( x, y ) and N ( x, y ) and the

domain R :

If the DE satisfies the condition

∂ M ∂ N

∂ y ∂ x

then the DE is exact, i.e., a function f ( x, y ) exists such that

df =

or equivalently

∂f

( x, y ) dx

∂x

∂f

( x, y ) dy = M ( x, y ) dx + N ( x, y ) dy

∂y

∂f

( x, y ) = M ( x,

y );

∂x

∂f

( x, y ) = N ( x, y ).

∂y

Then, the one-parameter family of curves

f(x , y) = c , c arbitrary constant

is an implicit solution of the DE.

y

x

Remark. Note that when computing the partial derivative My, then x must

be treated as a constant; and when computing the partial derivative Nx, then y must be treated as a con

For simplicity of writing we shall denote:

Example. The

DE

∂ M

∂ y

= My;

∂ N

∂ x

= Nx;

∂ f

∂ x

= fx;

∂ f

∂ y

= fy_._

is exact.

(3 x

2

  • y

2 e

xy

2

) dx + 2 yxe

xy

2

dy = 0

M ( x, y ) = (3 x

2

  • y

2

e

xy

2

) ⇒ M ( x, y ) = 2 ye

xy

2

  • 2 xy

3

e

xy

2

N ( x, y ) = 2 yxe

xy

2

⇒ N ( x, y ) = 2 ye

xy

2

  • 2 xy

3

e

xy

2

⇒ My = Nx ⇒ the DE is exact.

Problem 1. Solve the first-order DE:

( x

3

  • 3 x

2

y ) dx + ( x

3

  • y

3

) dy = 0_._

Solution.

Step 1. Represent the given DE in a differential form. The given DE is in a differ-

ential form.

Step 2. Determine M ( x, y ) and N ( x, y ). Compute My ( x, y ) and Nx ( x, y ) and check

if they are equal in order to conclude that the DE is exact. In other words verify

My = Nx_._

Note that M(x , y) is always the term that comes before dx and N(x , y) is

always the term that comes before dy.

M ( x, y ) = x

3

  • 3 x

2

y and N ( x, y ) = x

3

  • y

3

. First, we check if the DE is exact:

My = 3 x

2

N

x

= 3 x

2 .

Since My = 3 x

2

= Nx we conclude that the DE is exact.

x

we have to obtain the given DE in a differential form. Denote

x

4

3

y

4

Then the solution is

f 0 ( x, y ) = +^ x^ y^ +^.

Then

f 0 ( x, y ) = c.

df =

∂f 0

dx +

∂f 0

dy = dc

that is

0

∂x ∂y

( x

3

  • 3 x

2

y ) dx + ( x

3

  • y

3

) dy = 0_._

Remark. If possible to solve the implicit relation f ( x, y ) = 0 explicitly in y

we obtain an explicit solution in y as a dependent variable.

If possible to solve the implicit relation f ( x, y ) = 0 explicitly in x we

obtain an explicit solution in x as a dependent variable.

Problem 2. Solve the first-order DE

1 + ln x +^ y

x

dx + (1 + ln x ) dy = 0_._

Solution. First, we determine if the DE is exact:

y

and

M ( x, y ) = 1 + ln x

∂M

; N ( x, y ) = 1 + ln x

x

1 ∂N

Therefore, the DE is

exact. Then,

∂y x ∂x

y

fx = 1 + ln x +

x

f y

= 1 + ln x.

Integrating both sides of fx = 1 + ln x +

y

we obtain:

∫

fx dx =

∫

y 1 + ln x + dx

x

⇒ f ( x, y ) = x + x ln x − x + y ln x + c ( y )

f ( x, y ) = y ln x + x ln x + c ( y )

′

fy = ln x + c ( y ) and fy = 1 + ln x.

2

2

2

we conclude that the DE is exact. Then,

y

2

fx = x + ln x +

x

Integrating both sides of

fy = 2 y ln x − y.

y

2

gives:

fx = x + ln x +

x

x

2 ∫

f ( x, y ) =

  • y

2

ln x

y

ln xdx

x

2

⇒ f ( x, y ) =

  • y

Find fy from the f ( x, y ) expression:

ln x + x ln x − x + c ( y ).

fy = 2 y ln x + c

′

( y )

and on the other side;

fy = 2 y ln x − y.

Equating both expressions for fy and solving for c ( y ) we obtain

2 y ln x + c

′

( y ) = 2 y ln x − y ⇒ c

′

( y ) = − y

y

2

⇒ c ( y ) = −

  • c.

Hence,

f ( x, y )

x

2

  • y ln x + x ln x − x + c ( y )

⇒ f ( x, y )

x

2

  • y ln x + x ln x − x

y

2

  • c.

From here, implicit solution of the given DE is f ( x, y ) = 0 or equivalently:

x

2

  • y ln x + x ln x − x

y

2

= c.

2

Problem 4. Solve the given IVP by using the method of exact differentials. Give

the solution in implicit form.

(2 x cos( y ) + 3 x

2

y ) dx + ( x

3

− x

2

sin( y ) − y ) dy = 0 , y (0) = 2_._

Solution. We determine

M ( x, y ) = 2 x cos( y ) + 3 x

2

y and N ( x, y ) = x

3

− x

2

sin( y ) − y.

Since

∂M ∂N

∂y ∂x

= 3 x

2

− 2 x sin( y ) ,

the DE is exact. Then, consider the system:

fx = 2 x cos( y ) + 3 x

2

y

fy = x

3

− x

2

sin( y ) − y.

Solving for

c ( y ):

f ( x, y ) = x

2 cos( y ) + x

3 y + c ( y )

x

3

− x

2

sin( y ) − y = fy = − x

2

sin( y ) + x

3

  • c

′

( y )

′

y

2

Hence,

⇒ c ( y ) = − y ⇒ c ( y ) = −

  • c.

f ( x, y ) =

x

2

cos( y ) + x

3

y + c ( y ) ⇒ f ( x, y ) =

x

2

y

2

cos( y ) + x

3

y + c

and implicit solution of the given DE is:

2 3

y

2

x cos( y ) + x y

= c.

The initial-value condition y (0) = 2 i.e., x = 0 , y = 2 gives

2

= c ⇒ c = − 2

to conclude that implicit solution of the given IVP is

x

2 cos( y ) + x

3 y −

y

2

∂y ∂x

Solving for c ( y ):

f ( x, y ) = x

3

y + xe

y

  • c ( y )

fy = x

3

  • xe

y

  • c

′

( y )

x

3

  • xe

y − 2 y = x

3

  • xe

y

  • c

′ ( y )

c

′

( y ) = − 2 y ⇒ c ( y ) = − y

2

  • c.

Implicit solution of the given DE is:

x

3

y + xe

y

− y

2

= c

Verify the solution.

Problem 7. Solve the DE

( x + y )

2 dx + (2 xy + x

2 − 1) dy = 0

by using the exact differentials method.

Solution. M = ( x + y )

2

and N = 2 xy + x

2

− 1. Since

∂M

∂N

= 2 x + 2 y, the DE

is exact. Then,

Solving for c ( y ):

f ( x, y )

fx = ( x + y )

2

fy = 2 xy + x

2

− 1

( x + y )

3

  • c ( y )

f y

= ( x + y )

2

  • c

′ ( y )

x

2

  • 2 xy + y

2

  • c

′

( y ) = 2 xy + x

2

− 1

c

′

( y ) = − y

2

The implicit solution is:

y

3

— 1 ⇒ c ( y ) = −

− y + c

( x + y )

3

Problem 8. Find the general solution of

y

3

− y = c.

(5 t

4

y + ln( t ) − 2 y ) dt + ( t

5

− 2 t + ln( y )) dy = 0

∂y

2 2

∂x

by using the exact differentials method.

Solution. First, determine if the DE is exact. M ( t, y ) = 5 t

4

y + ln t − 2 y and

N ( t, y ) = t

5

− 2 t + ln y. Since

∂M ∂N

= 5 t

4

− 2, the DE is exact. Then,

Solving for c ( y ):

ft = 5 t

4

y + ln t − 2 y

fy = t

5

− 2 t + ln y

f ( t, y ) = t

5

y + t ln t − t − 2 yt + c ( y )

fy ( t, y ) = t

5

− 2 t + c

′

( y )

t

5

2 t + c

′

( y ) = t

5

2 t + ln y

∫ ∫

c ( y ) = ln y dy = y ln y − yd ln y

∫

c ( y ) = y ln y −

∫

y

y

dy = y ln y − dy

The implicit solution

is:

c ( y ) = y ln y − y + c

t

5

y + t ln t − t − 2 yt + y ln y − y = c.

Problem 9. Solve by using the exact differentials method:

(a) ( y

2

  • 3 x ) y

′

= − 3 y ;

(b) y

dx

= 2 ye

y

x + y

3

.

dy

Solution.

(a) First, we have to represent the DE in a differential form. To this end, we replace

the prime notation of a derivative with Leibnitz notation:

( y

2

  • 3 x )

dy

dx

= 3 y ( y

2

  • 3 x )

dy

  • 3 y = 0

dx

⇒ ( y + 3 x ) dy + 3 y dx = 0 ⇒ M ( x, y ) = 3 y, N ( x, y ) = y + 3 x.

y

x − 2 ye

y

− y

3

= x + c

′

( y )

⇒ c

′

( y )=− 2 ye

y

− y

3

y

4

∫

c ( y ) = −

y

4

ye

y

dy

∫

c ( y ) = −

— 2 ye +

e

y

dy

y

4

y

⇒ c ( y ) = −

− 2 ye

  • 2 e

y

  • c.

Then,

y

4

y

f ( x, y ) = y x + c ( y ) = y x + −

− 2 ye

  • 2 e

y

  • c.

The implicit solution

is:

yx −

y

4

y

− 2 ye +^2 e

y

= c.

Problem 10. Solve the given first-order IVP by using the exact differentials method:

(a) ( x + y )

2 dx + (2 xy + x

2 − 1) dy = 0 , y (1) = 1;

3 y

2

− t

2

dy t (b) + = 0 , y (1) = 1;

y

5 dt 2 y

4

(c) ( y

2

cos x − 3 x

2

y − 2 x ) dx + (2 y sin( x ) − x

3

  • ln y ) dy = 0 , y (0) = e ;

!

1 + y

2

  • cos x − 2 xy

dy

= y ( y + sin x ) , y (0) = 1_._

dx

Solution.

(a)

Since

M = ( x + y )

2

; N = 2 xy + x

2

− 1_._

the DE is exact.

Then,

∂M ∂N

∂y ∂x

= 2 x + 2 y,

fx = ( x + y )

2

f y

= 2 xy + x

2 − 1_._

Solving for c ( t ), i.e., integrating fy ( y, t ) in terms of y , we obtain:

f ( t, y ) = −

y

− 2

t

2

y

− 4

  • c ( t )

f =

ty

− 4

  • c

′

( t )

t

ty

−^4

ty

−^4

  • c

′ ( t )

c

′

( t ) = 0

c ( t ) = c.

The implicit general solution is:

y

− 2

t

2 y

− 4 = c.

Since t = 1 , y = 1, solving for c :

= c ⇒ c = −

The implicit solution of the IVP:

y

− 2

t

2

y

− 4

= −

To obtain the explicit solution of the IVP, should be in the form t = t ( y ):

t

2

= 4 y

y

− 2

⇒ t = ±

q

6 y

2

− 5 y

4

.

To satisfy the initial-value condition, t =

6 y

2 5 y

4 .

(c) Since

the DE is exact.

Then,

∂M ∂N

∂y ∂x

= 2 y cos x − 3 x

2

,

fx = y

2

cos x − 3 x

2

y − 2 x

fy = 2 y sin x − x

3

  • ln y.

Solving for c ( y ):

∫

f ( x, y ) = y

2

sin x − x

3

y − x

2

  • c ( y )

fy = 2 y sin x − x

3

  • c

′

( y )

⇒ 2 y sin x − x

3

  • ln y = 2 y sin x − x

3

  • c

′

( y )

⇒ c

′

( y ) = ln y ⇒ c ( y ) = ln y dy

In order to solve this integral, we use the method of integration by parts.

∫

⇒ y ln y −

∫

yd ln y = y ln y −

y

y

dy = y ln y − y + c

⇒ c ( y ) = y ln y − y + c

The general solution is:

y

2 sin x − x

3 y − x

2

  • y ln y − y = c.

Since x = 0 , y = e , e ln( e ) e = c e e = c c = 0_._ Note that ln( e ) =

  1. The solution of the IVP is:

y

2

sin x − x

3

y − x

2

  • y ln y − y = 0_._

(d)

− y ( y + sin x ) dx +

!

1 + y

2

  • cos x − 2 xy

dy = 0_._

!

Since

M = − y ( y + sin x ) and N =

1 + y

2

  • cos x − 2 xy.

the DE is exact.

Then,

∂M ∂N

∂y

∂x

= − sin x − 2 y,

fy =

1 + y

2

  • cos x − 2 xy

fx = − y

2

− y sin x.