18
Solution of Exact Equations

Solution of Exact Equations - IIT

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Solution of Exact Equations - IIT

Solution of Exact Equations

Page 2: Solution of Exact Equations - IIT

Contents

ā€¢ First order ordinary differential equation

ā€¢ Differential of a function of two variables

ā€¢ Short Notes on Partial Derivatives

ā€¢ Exact Equations

ā€¢ Criterion for Exactness

ā€¢ Examples

ā€¢ Method of Solution

ā€¢ Worked Example

ā€¢ Practice Problems

ā€¢ Solutions to practice problems

Page 3: Solution of Exact Equations - IIT

First Order Ordinary differential equations ā€¢ A differential equation having a first derivative as the highest

derivative is a first order differential equation.

ā€¢ If the derivative is a simple derivative, as opposed to a partial derivative, then the equation is referred to as ordinary.

Page 4: Solution of Exact Equations - IIT

Differential of a function of two variables If given a function š‘§ = š‘“(š‘„, š‘¦)

Then its differential is defined as the following:

š‘‘š‘§ =šœ•š‘“

šœ•š‘„š‘‘š‘„ +

šœ•š‘“

šœ•š‘¦š‘‘š‘¦

The symbol šœ• represents the partial derivative of the function.

This tells us that if we know the differential of a function, we can get back the original function under certain conditions.

In a special case when š‘“ š‘„, š‘¦ = š‘ then we have: šœ•š‘“

šœ•š‘„š‘‘š‘„ +

šœ•š‘“

šœ•š‘¦š‘‘š‘¦ = 0

Page 5: Solution of Exact Equations - IIT

Short note on Partial derivatives For a function of two variables, a partial derivative with respect to a particular variable means differentiating the function with that variable while assuming the other variable to be fixed.

Ex: if š‘“ = š‘„ + š‘¦ sin š‘„ + š‘¦3š‘™š‘›š‘„

then šœ•š‘“

šœ•š‘„= 1 + š‘¦ cos š‘„ + š‘¦3

1

š‘„

and šœ•š‘“

šœ•š‘¦= sin š‘„ + 3š‘¦2š‘™š‘›š‘„

Page 6: Solution of Exact Equations - IIT

Exact Equation

If given a differential equation of the form š‘€ š‘„, š‘¦ š‘‘š‘„ +š‘ š‘„, š‘¦ š‘‘š‘¦ = 0

Where M(x,y) and N(x,y) are functions of x and y, it is possible to solve the equation by separation of variables.

However, another method can be used is by examining exactness.

The whole idea is that if we know M and N are differentials of f, then it is possible to reconstruct the original function f.

Page 7: Solution of Exact Equations - IIT

Criterion for Exactness

This method can only be used if the differential given is exact. Specifically,

šœ•š‘€

šœ•š‘¦=šœ•š‘

šœ•š‘„

If the above condition is satisfied, then we can use the method.

Remember, the function M(x,y) is the one that multiplies dx and the function N(x,y) is the one that multiplies dy.

Look at some of the examples on the next slide

Page 8: Solution of Exact Equations - IIT

Examples

2š‘„š‘¦š‘‘š‘„ + š‘„2 āˆ’ 1 š‘‘š‘¦ = 0

Here,

š‘€ š‘„, š‘¦ = 2š‘„š‘¦ and š‘ š‘„, š‘¦ = š‘„2 āˆ’ 1

Then, we have šœ•š‘€

šœ•š‘¦= 2š‘„ and

šœ•š‘

šœ•š‘„= 2š‘„

Therefore, this particular equation is exact.

Page 9: Solution of Exact Equations - IIT

Another Example

š‘’2š‘¦ āˆ’ š‘¦ cos š‘„š‘¦)š‘‘š‘„ + (2š‘„ š‘’2š‘¦ āˆ’ š‘„ cos š‘„š‘¦ + 2š‘¦ š‘‘š‘¦ = 0

Here, š‘€ š‘„, š‘¦ = š‘’2š‘¦ āˆ’ š‘¦ cos š‘„š‘¦ ; š‘ š‘„, š‘¦ = 2š‘„š‘’2š‘¦ āˆ’š‘„ cos š‘„š‘¦ + 2š‘¦

Therefore, šœ•š‘€

šœ•š‘¦= 2š‘’2š‘¦ āˆ’ cos š‘„š‘¦ + š‘„š‘¦ sin š‘„š‘¦ =

šœ•š‘

šœ•š‘„

As we see, this equation is also exact.

Page 10: Solution of Exact Equations - IIT

Method of Solution

The basic idea behind the obtaining the solution is very simple really. Itā€™s also logical.

ā€¢ If given a differential, we first test for exactness. If it is exact,

we know that since šœ•š‘“

šœ•š‘„= š‘€ š‘„, š‘¦ then š‘“ = š‘€ š‘„, š‘¦ š‘‘š‘„ +

ā„Ž(š‘¦)

ā€¢ Since integration yields a constant of integration, the most general constant would be a function of y, since on differentiating it with x, we get 0.

Page 11: Solution of Exact Equations - IIT

Contd.

ā€¢ Since we know that the reconstructed function must satisfy the condition

šœ•š‘“

šœ•š‘¦= š‘(š‘„, š‘¦) then š‘ š‘„, š‘¦ =

šœ•

šœ•š‘¦ š‘€ š‘„, š‘¦ š‘‘š‘„ + ā„Ž š‘¦

ā€¢ From this, we will be able to solve the above expression for hā€™(y). ā€¢ Integrating that, we get h(y) and our solution is complete. ā€¢ The complete and most general solution is then

š‘€ š‘„, š‘¦ š‘‘š‘„ + ā„Ž š‘¦ = š‘

Page 12: Solution of Exact Equations - IIT

Worked Example

Given š‘‘š‘¦

š‘‘š‘„=

š‘„š‘¦2āˆ’sin š‘„ cos š‘„

š‘¦(1āˆ’š‘„2)

As we can see, this would be extremely difficult to solve using separation of variables. However, letā€™s try and use exactness to solve the equation. Rearranging it, we get

š‘„š‘¦2 āˆ’ sin š‘„ cos š‘„ š‘‘š‘„ āˆ’ š‘¦ 1 āˆ’ š‘„2 š‘‘š‘¦ = 0

Testing for exactness, šœ•š‘€

šœ•š‘¦= 2š‘„š‘¦ =

šœ•š‘

šœ•š‘„

Thus, we know the equation is exact, so we proceed with our method.

Page 13: Solution of Exact Equations - IIT

Contd.

Now, we know that integrating M(x,y) with respect to x will give us the original function back.

Thus, (š‘„š‘¦2 āˆ’ sin š‘„ cos š‘„)š‘‘š‘„ =š‘„2š‘¦2

2+

cos 2š‘„

4+ ā„Ž(š‘¦)

Furthermore, šœ•

šœ•š‘¦

š‘„2š‘¦2

2+cos 2š‘„

4+ ā„Ž(š‘¦) = š‘„2š‘¦ + ā„Žā€²(š‘¦)

And this should be equal to N(x,y).

Page 14: Solution of Exact Equations - IIT

Contd.

Then we have, š‘„2š‘¦ + ā„Žā€² š‘¦ = āˆ’š‘¦(1 āˆ’ š‘„2)

Simplifying this, we get ā„Žā€² š‘¦ = āˆ’š‘¦ Notice that if the equation was not exact to begin with, then hā€™(y) will not be a function of y alone in the step above. Solving for h(y), we have

ā„Ž š‘¦ = āˆ’š‘¦2

2

Hence, the complete solution is š‘„2š‘¦2

2+cos 2š‘„

4āˆ’š‘¦2

2=c

Where ā€˜cā€™ is an arbitrary constant.

Page 15: Solution of Exact Equations - IIT

Practice Problems

Determine Whether these equations are exact or not. If they are, solve them.

1. š‘„š‘‘š‘¦

š‘‘š‘„= 2š‘„š‘’š‘„ āˆ’ š‘¦ + 6š‘„2

2. (š‘„2āˆ’š‘¦2)š‘‘š‘„ + (š‘„2 āˆ’ 2š‘„š‘¦)š‘‘š‘¦ = 0

3. 5š‘¦ āˆ’ 2š‘„ š‘¦ā€² āˆ’ 2š‘¦ = 0

Page 16: Solution of Exact Equations - IIT

Answers to Practice Problems

1. š‘„š‘¦ āˆ’ 2š‘„š‘’š‘„ + 2š‘’š‘„ āˆ’ 2š‘„3 = š‘

2. Not Exact. (šœ•š‘€

šœ•š‘¦= āˆ’2š‘¦ ā‰  2š‘„ āˆ’ 2š‘¦ =

šœ•š‘

šœ•š‘„)

3. Not Exact (šœ•š‘€

šœ•š‘¦= 5 ā‰  0 =

šœ•š‘

šœ•š‘„)

Page 17: Solution of Exact Equations - IIT

References

ā€¢ A first Course in Differential Equations 9th Ed., Dennis Zill.

ā€¢ Fundamentals of Differential Equations 3rd Ed, Nagle & Saff

ā€¢ Differential and Integral Calculus Vol 2, N. Piskunov

Page 18: Solution of Exact Equations - IIT

Good Luck!