SLIDE 1
Chapter 2, Part 1 FIRST ORDER EQUATIONS F (x, y, y′) = 0 Basic assumption: The equation can be solved for y′; that is, the equation can be written in the form y′ = f(x, y) (1)
1
SLIDE 2 Assumed Background Material: Techniques of integration, including:
- Substitution (the most common
technique)
- Integration-by-parts
- Integrals involving trig functions
- Partial fraction decomposition
2
SLIDE 3
2.2. First Order Linear Equa- tions Equation (1) is a linear equation if f has the form f(x, y) = P (x)y + q(x) where P and q are continuous functions on some interval I. Thus y′ = P (x)y + q(x)
3
SLIDE 4
Standard form: The standard form for a first order linear equation is: y′ + p(x)y = q(x) where p and q are continuous functions on the interval I (Note: A differential equation which is not linear is called nonlinear.)
4
SLIDE 5
Examples: 1. Find the general solution: y′ = 3y
5
SLIDE 6
2. Find the general solution: y′ + 2xy = 4x
6
SLIDE 7
Solution Method: Step 1. Determine that the equa- tion is linear and write it in standard form y′ + p(x)y = q(x).
7
SLIDE 8
y′ + p(x)y = q(x). Step 2. Multiply by e
p(x) dx :
8
SLIDE 9
p(x) dx y ′ = q(x)e p(x) dx
Step 3. Integrate: e
p(x) dx y =
p(x) dx dx + C.
Step 4. Solve for y : y = e−
p(x) dx
p(t) dt dx+Ce− p(x) dx.
9
SLIDE 10 y = e−
p(x) dx
p(x) dx dx+Ce− p(x) dx.
is the general solution of the equa- tion. Note: e
p(x) dx is called an inte-
grating factor
10
SLIDE 11
3. Find the general solution: xy′ = ln x x2 − 3y
11
SLIDE 12 4. Find the general solution: xy′ = 2
− 2y + 2
12
SLIDE 13
5. Solve the initial-value problem: y′+(cot x)y = 2 cos x, y(π/2) = 3
13
SLIDE 14
6. Find the general solution: y′ + 2xy = 2 tan x Answer: y = e−x2 2ex2 tan x dx + Ce−x2
14
SLIDE 15 Answers: 1. y = Ce3x 2. y = 2 + Ce−x2 3. y = ln x x2 − 1 x2 + C x3 4. y = 2
x2 + 1 + C x2 5. y = 5 − cos 2x 2 sin x
15
SLIDE 16
The term “linear:” Differentiation: As you know: for differentiable func- tions f and g d dx [f(x) + g(x)] = d f dx + dg dx and for any constant c d dx [c f(x)] = c d f dx
16
SLIDE 17 Integration: For integrable functions f and g:
- [f(x) + g(x)] dx =
- f(x) dx+
- g(x) dx
and, for any constant c
17
SLIDE 18 Any “operation” L which satisfies L [f(x) + g(x)] = L[f(x)] + L[g(x)] and L [c f(x)] = c L [f(x)] is a “linear” operation.
- 1. Differentiation is a linear oper-
ation.
- 2. Integration is a linear operation.
18
SLIDE 19
Set L[y] = y′ + p(x)y L[y1 + y2] = (y1 + y2)′ + p(y1 + y2) = y′
1 + y′ 2 + py1 + py2
= y′
1 +py1 +y′ 2 +py2 = L[y1]+L[y2]
L[cy] = (cy)′ + p(cy) = cy′ + cpy = c(y′ + py) = cL[y]
19
SLIDE 20
Thus, if L[y] = y′ + p(x)y, then L[y1 + y2] = L[y1] + L[y2] L[c y] = c L[y] L[y] = y′ + p(x)y is a linear opera- tion; L is a linear operator. Hence the term linear differential equa- tion.
20
SLIDE 21 2.3. Separable Equations y′ = f(x, y) is a separable equation if f has the factored form f(x, y) = p(x)h(y) where p and h are continuous
y′ = p(x)h(y) is the ”standard form” of a separa- ble equation.
21
SLIDE 22 Example: Find the general solution
y′ = 2x + 2xy2
22
SLIDE 23 Solution Method Step 1. Establish that the equa- tion is separable. Step 2. Divide both sides by h(y) to “separate” the variables. 1 h(y)y′ = p(x)
q(y)y′ = p(x) which, in differential form, is: q(y) dy = p(x) dx. the variables are “separated.”
23
SLIDE 24 Step 3. Integrate
Q(y) = P (x) + C where Q′(y) = q(y), P ′(x) = p(x)
24
SLIDE 25 Note: Q(y) = P (x) + C is the general so-
- lution. Typically, this is an implicit
relation; you may or may not be able to solve it for y.
25
SLIDE 26
Examples: 1. Find the general solution: y′ = xy2 + 4x 2y
26
SLIDE 27 2. Find the general solution: dy dx = 4x
27
SLIDE 28 Singular Solutions dy dx = 4x
28
SLIDE 29
1 2 3 2 4 6 8 10
29
SLIDE 30
3. Find the general solution: dy dx − xy2 = −x
30
SLIDE 31
4. Find the general solution: dy dx = ex−y 1 + ex
31
SLIDE 32 5. The equation y′ = x(y+2)
y′−xy = 2x is both linear and separable. Find the general solution both ways.
32
SLIDE 33
Answers 1. y = tan(x2 + C) 2. √y − 2 = x2 + C 3. y = 1 + Cex2 1 − Cex2 4. y = ln [ln(1 + ex) + C] 5. y = Cex2/2 − 2
33
SLIDE 34 2.4. Related Equations & Trans- formations
An equation of the form y′ + p(x)y = q(x)yk, k = 0, 1 is called a Bernoulli equation.
34
SLIDE 35
The change of variable v = y1−k transforms a Bernoulli equation into v′ + (1 − k)p(x)v = (1 − k)q(x). which has the form v′ + P (x)v = Q(x), a linear equation.
35
SLIDE 36
Examples: 1. Find the general solution: y′ − 4y = 2ex √y
36
SLIDE 37
2. Find the general solution: xy′ + y = 3x3 y2
37
SLIDE 38
3. Find the general solution: xyy′ = x2 + 2y2
38
SLIDE 39 Answers 1. y =
2. y = 2 Cx − 3x3 3. y2 = Cx4 − x2
39
SLIDE 40
y′ = f(x, y) (1) is a homogeneous equation if f(tx, ty) = f(x, y)
40
SLIDE 41 If (1) is homogeneous, then the change
y = vx, y′ = v + xv′ transforms (1) into a separable equa- tion: y′ = f(x, y) → v+xv′ = f(x, vx) = f(1, v) which can be written 1 f(1, v) − v dv = 1 x dx; the variables are separated.
41
SLIDE 42
Examples: 1. Find the general solution: y′ = x2 + y2 2xy
42
SLIDE 43
2. Find the general solution: dy dx = x2ey/x + y2 xy
43
SLIDE 44
3. Find the general solution: xyy′ = x2 + 2y2
44
SLIDE 45
Answers 1. y2 = x2 − Cx 2. y + x = ey/x [Cx − x ln x] 3. y2 = Cx4 − x2
45