Beruflich Dokumente
Kultur Dokumente
Outline
Exact equations Integrating Factors Homogenous equations First Order Ordinary Differential equation First Order Non-linear Differential equation
Bernoulli equation Riccati equation Clairaut equation
2
Diff_Eq_4_2011
A first-order DE of the form a1(x)(dy/dx) + a0(x)y = g(x) is said to be a linear equation in y. When g(x) = 0, (1) is said to be homogeneous; otherwise it is nonhomogeneous.
Diff_Eq_4_2011
y = yc + y p = ce
+e
P ( x ) dx f ( x)dx e
Integrating Factor
We call e P ( x ) dx is an integrating factor and we should only memorize this to solve problems.
Diff_Eq_4_2011 4
BERNOULLIS EQUATION
The differential equation dy n + P( x) y = f ( x) y , dx where n is any real number, is called Bernoullis equation. For n = 0 and n = 1, the equation is linear and can be solved by methods of the last section.
Diff_Eq_4_2011 5
dy 1 n + P( x) y = f ( x). dx
2. Use the substitution w = y1 n, n 0, n 1. NOTE: dw/dx = (1 n) yn dy/dx. 3. This substitution turns the equation in Step 1 into a linear equation which can be solved by the method of the last section.
Diff_Eq_4_2011 6
RICATTIS EQUATION
y = P( x) y + Q( x) y + R( x)
' 2
How to transform the Riccati equation to a linear one ? Somehow we get one solution, S (x) , of a Riccati equation, then the change of variables 1 y = S ( x) + z transforms the Riccati equation to a linear one.
Diff_Eq_4_2011 7
Riccati Equation
1 1 1 1 2 z' = P ( x) 2 + 2 P ( x) S ( x) + Q ( x) z z z z
z' +(2 P ( x) S ( x) + Q ( x)) z = P ( x)
CLAIRAUTS EQUATION
The nonlinear differential equation y = xy + F(y) is called Clairauts equation. Its solution is the family of straight lines y = cx + F (c), where c is an arbitrary constant.
dy p= dx
Diff_Eq_4_2011
y = x p + F ( p)
9
Clairauts equation
y = px + F ( p )
x + F '( p) = 0
y = c x + F (c )
Ex: y = px + p 2 dy dp dp dp ( x + 2 p) = 0 = p+x +2p = p dx dx dx dx (1) F ( p ) = p 2 y = ( x + F (c )) = cx + c 2 general solution x x2 x2 (2) x + 2 p = 0 p = y = + 2 2 4 x2 y = x 2 + 4 y = 0 singular solution 4 Diff_Eq_4_2011
11
dy p= dx
dp d 2 y = 2 dx dx
completely and producing a first O.D.E. in p and x.
Diff_Eq_4_2011 12
Example
Solve
d2y dy +x = ax 2 dx dx
p= dy dx
Let
dp + xp = ax dx
integral factor
1 exp x 2 2
Diff_Eq_4_2011
13
Example
Solve
d2y dy +x = ax 2 dx dx
dy p= dx
Let
and
dp d 2 y therefore = 2 dx dx
1 2 1 2 x x d 2 2 ( pe ) = axe dx
dp + xp = ax dx
integral factor
1 exp x 2 2
1 dy p = a + C exp( x 2 ) = 2 dx
1 2 y = ax + C exp x dx 2
1 2 1 2 x x dp 1 x 2 2 2 2 e + xpe = axe dx
Diff_Eq_4_2011
14
d 2 y dp dp dy dp 2 = = =p dx dx dy dx dy
15
Example
Solve
d2y dy y 2 + 1 = ( )2 dx dx
dy p= dx
1 ln y + ln a = ln( p 2 1) 2
Let
and
dp d2y therefore 2 = p dy dx
yp
dp +1 = p2 dy
Separating the variables
dy p= = ( a 2 y 2 + 1) dx
p 1 dp = dy p2 1 y
Diff_Eq_4_2011
x=
dy (a 2 y 2 + 1)
( )
Outline
Nth-order Linear Homogeneous Equations with Constant Coefficients Nth-order Linear Nonhomogeneous Equations:
Method of Undetermined Coefficients The method of variation of parameters
18
A set of f1(x), f2(x), , fn(x) is linearly dependent on an interval I, if there exists constants c1, c2, , cn, not all zero, such that c1f1(x) + c2f2(x) + + cn fn(x) = 0 If not linearly dependent, it is linearly independent.
Diff_Eq_4_2011
19
Wronskian Suppose each of the functions f1(x), f2(x), , fn(x) possesses at least n 1 derivatives. The determinant
DEFINITION 2
f1 W ( f1 ,..., f n ) = f1 ' M
f2 f2 ' M
L L
fn fn ' M
f 1( n1)
f 2( n1) L
f n( n1)
Let y1(x), y2(x), , yn(x) on an interval I. This set of functions is linearly independent if and only if W(y1, y2, , yn) 0 for every x in the interval.
DEFINITION 3
Fundamental Set
Any set y1(x), y2(x), , yn(x) of n linearly independent solutions is said to be a fundamental set of functions.
Diff_Eq_4_2011 21
dny d n 1 dy L[ y ] = an ( x) n + an 1 ( x) n 1 + L + a1 ( x) + a0 ( x) y = g ( x) dx dx dx
y ( n 1) ( x0 ) = y0 n 1
Diff_Eq_4_2011 22
is said to be homogeneous;
L(y) = 0
dny d n 1 y dy L ( y ) = an ( x) n + an 1 ( x) n 1 + L + a1 ( x) + a0 ( x) y = g ( x) dx dx dx
L(y) = g(x)
Diff_Eq_4_2011
23
y ( x0 ) = y0 , y( x0 ) = y1 , L , y ( n1) ( x0 ) = yn1
THEOREM 1
Let an(x), an-1(x), , a0(x), and g(x) be continuous on I, an(x) 0 for all x on I. If x = x0 is any point in this interval, then a solution y(x) exists on the interval and is unique.
Diff_Eq_4_2011 24
Corollary
(A) y = cy1 is also a solution if y1 is a solution. (B) A homogeneous linear DE always possesses the trivial solution y = 0.
Diff_Eq_4_2011 25
Let y1, y2, , yk be a solutions of the homogeneous nth-order differential equation on an interval I. Then the linear combination y = c1y1(x) + c2y2(x) + + ckyk(x) where the ci, i = 1, 2, , k are arbitrary constants, is also a solution on the interval.
Diff_Eq_4_2011 26
THEOREM
Let y1(x), y2(x), , yn(x) be a fundamental set of solutions of homogeneous DE on an interval I. Then the general solution is y = c1y1(x) + c2y2(x) + + cnyn(x) where ci are arbitrary constants.
Diff_Eq_4_2011
27
Example
The functions y1 = e3x, y2 = e-3x are solutions of y 9y = 0 on (-, ) Now
W (e , e
3x 3 x
e )= 3e3 x
3x
3 x 3 x
3e
= 6 0
Example
The functions y1 = ex, y2 = e2x , y3 = e3x are solutions of y 6y + 11y 6y = 0 on (-, ). Since
e
x
2x
3x
W (e x , e 2 x , e3 x ) = e x ex
2e 2 x 4e 2 x
3e3 x = 2e6 x 0 9e 3 x
for every real value of x. So y = c1ex + c2 e2x + c3e3x is the general solution on (-, ). Diff_Eq_4_2011 29
y ( x) = c1 y1 ( x) + c2 y2 ( x) + L + cn yn ( x)
Every solution can be expressed in this form, with coefficients determined by initial conditions, iff we can solve:
c1 y1 ( x0 ) + L + cn yn ( x0 ) = y0 c1 y1 ( x0 ) + L + cn yn ( x0 ) = y0 M
Diff_Eq_4_2011
30
Corollar The system of equations on the previous slide has a unique solution iff its determinant, or Wronskian, is nonzero at x0:
y1 ( x0 ) y1 ( x0 ) W ( y1 , y2 ,K , yn )( x0 ) = M y1( n 1) ( x0 )
Diff_Eq_4_2011
COROLLARY
y2 ( x0 ) y2 ( x0 ) M ( y2n 1) ( x0 )
L yn ( x0 ) L yn ( x0 ) O M ( L ynn 1) ( x0 )
31
y ( 0 ) = 3, y ( 0 ) = 1
SOLUTION
Solution is:
y1 = et , y2 = e t y (t ) = c1et + c2 e t
Since W 0 for all t, linear combinations of y1 and y2 can be used to construct solutions of the IVP for any initial value Diff_Eq_4_2011 32 t.
are, or are constructed from, exponential functions of the form y = ert. NOTE: an, an1, . . . , a1, a0 are constants.
Diff_Eq_4_2011 33
L[ y ] = a0 y ( n ) + a1 y ( n 1) + L + an 1 y + an y = 0
Consider the nth order linear homogeneous differential equation with constant, real coefficients:
Le
[ ] = e [144a r4 + L +44r +4 ] = 0 ar + a a 4 4 4 2 43
rt rt n n 1 0 1 n 1 n characteristic polynomial Z ( r )
By the fundamental theorem of algebra, a polynomial of degree n has n roots r1, r2, , rn, and hence
Diff_Eq_4_2011
Z (r ) = a0 (r r1 )(r r2 ) L (r rn )
34
e , e , K, e
r1 t r2 t
r1 t
r2 t
rn t
y (t ) = c1e + c2 e
+ K + cn e
rn t
Diff_Eq_4_2011
35
SOLUTION
y (t ) = c1e + c2 e
t
Diff_Eq_4_2011
2 t
+ c3e + c4 e
3t
4 t
36
Solving, Hence
Diff_Eq_4_2011
1 4 11 1 c1 = , c2 = , c3 = , c4 = 2 5 70 7
y (t ) = 1 t 4 2 t 11 3t 1 4 t e + e e e 2 5 70 7
37
e cos t , e sin t
Diff_Eq_4_2011 38
SOLUTION
(r 1)(r + r + 1) = 0
Now
r 2 + r + 1 = 0 r1,2 = 1 1 4 1 3 i 1 3 = = i 2 2 2 2
Diff_Eq_4_2011
39
SOLUTION
)(
40
e , te , t e , K , t e
Diff_Eq_4_2011
rk t
rk t
2 rk t
s 1 rk t
41
Repeated Roots
If a complex root + i is repeated s times, then so is its conjugate - i. There are 2s corresponding linearly independent solns, derived from real and imaginary parts of
e
or
( + iu )t
, te
( + iu )t
,t e
( + iu )t
, K, t e
s 1
( + iu )t
y ( 4 ) + 8 y + 16 y = 0
SOLUTION
)(
Then The roots are 2i, 2i, -2i, -2i. Thus the general solution is
y (t ) = c1 cos 2t + c2 sin 2t + c3t cos(2t ) + c4t sin (2t )
Diff_Eq_4_2011
43
dy P ( x) 2 + Q( x) + R ( x) y = 0 dx dx But it is always possible to do so if the coefficient functions P, Q and R are constant functions, that is, if the differential equation has the form:
d2y
ay + by + cy = 0
Diff_Eq_4_2011
44
The solutions to the homogeneous linear secondorder differential equation depend on the solutions to the characteristic equation. The solutions to the characteristic equation fall into three cases: Distinct (unequal) real roots Repeated (equal) real roots Conjugate complex roots
Diff_Eq_4_2011 45
Diff_Eq_4_2011
46
r1 = (b + b 4ac ) / 2a
r2 = (b b 4ac ) / 2a
2
(1) b2 4ac > 0: two distinct real numbers. (2) b2 4ac = 0: two equal real numbers. (3) b2 4ac < 0: two conjugate complex numbers. Diff_Eq_4_2011 47
and y 2 = xe
m1 x
Diff_Eq_4_2011
y = c1e
m1 x
+ c2 xe .
m1 x
49
y y = 0
CE
r 2 1 = 0 r = 1 or r = 1.
y = C1 e x + C2 e x y 2y + y = 0 CE
Example Solution
r 2 2r + 1 = 0 r = 1 (double root).
y = C1 e x + C2 x e x
Example
y + 2y + 5y = 0
CE
r 2 + 2r + 5 = 0
r = 1 2 1 = 1 2i
Solution
y = C1 e x sin (2 x ) + C2 e x cos (2 x )
51
Diff_Eq_4_2011
where y 0 and y1 are given constants. If P, Q, R, and G are continuous on an interval and P ( x ) 0 there, then a theorem found in more advanced books guarantees the existence and uniqueness of a solution to this initial-value problem.
Diff_Eq_4_2011 52
In contrast with the situation for initial-value problems, a boundary-value problem does not always have a solution.
Diff_Eq_4_2011
53
Example 1
Solve the following DEs: (a) 2 y"5 y '3 y = 0
y = c1e x 2 + c2e3 x
(c)
Diff_Eq_4_2011
y=e
2 x
54
Example 2
Solve 4 y"+4 y '+17 y = 0, y (0) = 1, y ' (0) = 2 Solution:
y=e
x/2
( cos 2 x + 3 4 sin 2 x )
Diff_Eq_4_2011
55