Upload
others
View
5
Download
0
Embed Size (px)
Citation preview
Solution of Exact Equations
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
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.
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
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ššš„
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.
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
Examples
2š„š¦šš„ + š„2 ā 1 šš¦ = 0
Here,
š š„, š¦ = 2š„š¦ and š š„, š¦ = š„2 ā 1
Then, we have šš
šš¦= 2š„ and
šš
šš„= 2š„
Therefore, this particular equation is exact.
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.
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.
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
š š„, š¦ šš„ + ā š¦ = š
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.
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).
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.
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
Answers to Practice Problems
1. š„š¦ ā 2š„šš„ + 2šš„ ā 2š„3 = š
2. Not Exact. (šš
šš¦= ā2š¦ ā 2š„ ā 2š¦ =
šš
šš„)
3. Not Exact (šš
šš¦= 5 ā 0 =
šš
šš„)
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
Good Luck!