͖͔͕͙͖͔͗
Definition
A differential equation is an equation that contains an unknown function and some of its derivatives.
The order of a differential equation is the order of the highest derivative that occurs in the equation.
݀ݕ
݀ݔ ൌ ʹݔଷݕ ͳ
݀ଷݕ
݀ݐଷ െ ݐ݀ݕ
݀ݐ ݐଶ െ ͳ ݕ ൌ ݁௧
݀ଶݕ
݀ݔଶ
ଷ
െ ͺݔ ݀ݕ
݀ݔ
ସ
͵ݔݕ ൌ ݔ െ ͳ
ןଶ ߲ଶݑ
߲ݔଶ ൌ ߲ݑ
߲ݐ
߲ଷݑ
߲ଶݔ߲ݐ ൌ ͳ ߲ݑ
߲ݐ
Ordinary Differential Equations (ODE)
Partial Differential Equations (PDE)
݀ݕ
݀ݔ ൌ ʹݔଷݕ ͳ
݀ଷݕ
݀ݐଷ െ ݐ݀ݕ
݀ݐ ݐଶ െ ͳ ݕ ൌ ݁௧
݀ଶݕ
݀ݔଶ
ଷ
െ ͺݔ ݀ݕ
݀ݔ
ସ
͵ݔݕ ൌ ݔ െ ͳ
ןଶ ߲ଶݑ
߲ݔଶ ൌ ߲ݑ
߲ݐ ߲ଷݑ
߲ଶݔ߲ݐ ൌ ͳ ߲ݑ
߲ݐ
Solution of a differential equation
A function f is called a solution of a differential equation if the equation is satisfied when y = f(x) and its derivatives are
substituted into the equation.
If f is a solution of y' = xy, then x א I, f'(x) = xf(x).
To solve a differential equation means finding all possible solutions of the equation.
The solution of y' = x is ݕ ൌ ݔ
ଶ
ʹ ܥǤ
Exercise
1. Show that every member of the family of functions
is a solution of the differential equation
ݕ ൌ
ͳ ܿ݁
ͳ െܿ݁
ݕԢ ൌ ݕଶ െ ͳ ʹ Ǥ
Initial condition
Usually, we are not interested in a family of solutions (general solution). We want to find a particular solution that satisfies some additional requirement.
For example, it must satisfy a condition y(t0) = y0.
This is called an initial condition and the problem of finding a solution of this is called an initial-value problem.
Exercise
2. Find a solution of the differential equation that satisfies the initial condition y(0) = 2.
ݕԢ ൌ ݕଶ െ ͳ ʹ
General and specific solution
Consider
then y = e
2xis a solution of this differential equation.
In addition, y = e
x+ e
2xis also one of the solution of this differential equation.
y
= Ce
x+ e
2xwhere C is a real number is a general solution of the differential equation.
y
= e
x+ e
2xis a specific solution for the differential equation.
݀ݕ݀ݔ െ ݕ ൌ ݁ଶ௫
Exercise
3. Show that y = x – x-1 is a solution of the differential equation xy' + y = 2x.
'LUHFWLRQ)LHOGV
Direction Fields
Sketch of solutions: Guides to sketch the graphs of solutions to the differential equation
y ′ = + x y
Long-term behavior: how the solutions behave as x increases.
Exercise
9. Sketch the direction field for ݀ݕ݀ݔ ൌ െ Ǥ
10. Sketch the direction field for ݕᇱ ൌ ሺݕଶ െ ݕ െ ʹሻሺͳ െ ݕሻଶ.
͝Ǥ͕͔Ǥ
ǣȀȀǤǤǤȀȀȀ Ǥ
)LUVW2UGHU'LIIHUHQWLDO(TXDWLRQV
)LUVW2UGHU'LIIHUHQWLDO(TXDWLRQV
݀ݕ
݀ݔ ൌ ݂ሺݕ ǡ ݔ ሻ
Separable equations
A separable equation is a first-order differential equation in which the expression y' can be factored as a function of x times the function of y. That means
We rewrite . It becomes
h(y) dy = g(x) dx
So that all y’s are on one side of the equation and all x’s are on the other side
݀ݕ
݀ݔ ൌ ݃ ݔ ݂ ݕ
݄ ݕ ൌ ͳ
݂ ݕ
න݄ ݕ ݀ݕ ൌ න݃ ݔ ݀ݔ
Verification
We can verify that is the solution of
By using the Chain rule,
݀ݕ݀ݔ ൌ ݃ ݔ ݂ ݕ
න݄ ݕ ݀ݕ ൌ න݃ ݔ ݀ݔ
݀
݀ݔ න݄ ݕ ݀ݕ ൌ ݀
݀ݔ න݃ ݔ ݀ݔ
݀ݕ න݀ ݄ ݕ ݀ݕ ݀ݕ
݀ݔ ൌ ݃ ݔ
݄ ݕ ݀ݕ
݀ݔ ൌ ݃ ݔ
Exercise
4. Solve the differential equation and find the solution with the initial condition y(0) = 1.
݀ݕ
݀ݔ ൌ ݔ ݕଶ
5. Solve the differential equation ݀ݕ
݀ݔ ൌ ݁ଶ௫ ͶݕଷǤ
Linear differential equation
A first order linear differential equation is one that can be put into the form
where P and Q are continuous functions on I.
Consider the first order linear differential equation xy' + y = 2x
LHS: xy' + y = (xy)' RHS:
Therefore, xy = x2 + C.
݀ݕ݀ݔ ܲ ݔ ݕ ൌ ܳ ݔ
නʹݔ݀ݔ ൌ ʹݔଶ ʹ ܥ
Exercise
6. Find the general solution of ݕԢ ͳ
ݔ ݕ ൌ ͵Ǥ
Integrating factor
To solve the first order linear differential equation, we multiply the suitable integrating factor, I(x).
to get
If we can find such a function I(x),
(I(x)y)' = I(x)Q(x).
Hence,
݀ݕ݀ݔ ܲ ݔ ݕ ൌ ܳ ݔ
ܫ ݔ ሺ݀ݕ
݀ݔ ܲ ݔ ݕሻ ൌ ܫ ݔ ܳ ݔ Ǥ
ܫ ݔ ݕ ൌ නܫ ݔ ܳ ݔ ݀ݔ ܥǤ
Integrating factor
The property of I(x) is
I(x)P(x) = I'(x).
This is a separable differential equation,
Hence,
න ͳ
ܫ ݔ ݀ܫ ݔ ൌ නܲ ݔ ݀ݔ
פ ܫ ݔ פ ܥ ൌ නܲ ݔ ݀ݔ ܫ ݔ ൌ ܣ݁ ௫ ௗ௫Ǥ
Exercise
7. Solve the differential equation ݀ݕ݀ݔ ͵ݔଶݕ ൌ ݔଶǤ
8. Find the solution of the initial-value problem x2y' + xy = 1, x > 0 and y(1) = 2.
6\VWHPVRI)LUVW2UGHU/LQHDU'LIIHUHQWLDO(TXDWLRQV
6\VWHPVRI)LUVW2UGHU/LQHDU'LIIHUHQWLDO(TXDWLRQV
ǣ
έ
ǯǡ ǯ Ǥ
ǡǤ
ǡǯǤ
ǯ
ǯ γή
Ǧ
Ǥ
Ǧ
ǡ
Ǧ
ǣ͕ίǡ͖ίƍǡ͗ίƎǡǥǡ ίȋΫ͕Ȍǡƍ ίȋȌǤ
ƤΫ͕Ǥǡǯ
Ǧ ǣ
Exercise
Convert the following equation into a system of first order equations