Chapter 2, Part 1 FIRST ORDER EQUATIONS F ( x, y, y ) = 0 The - - PDF document

chapter 2 part 1 first order equations f x y y 0 the
SMART_READER_LITE
LIVE PREVIEW

Chapter 2, Part 1 FIRST ORDER EQUATIONS F ( x, y, y ) = 0 The - - PDF document

Chapter 2, Part 1 FIRST ORDER EQUATIONS F ( x, y, y ) = 0 The equation Basic assumption: y ; can be solved for that is, the equation can be written in the form y = f ( x, y ) (1) 1 Assumed Background Material: Techniques of


slide-1
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
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
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
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
SLIDE 5

Examples: 1. Find the general solution: y′ = 3y

5

slide-6
SLIDE 6

2. Find the general solution: y′ + 2xy = 4x

6

slide-7
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
SLIDE 8

y′ + p(x)y = q(x). Step 2. Multiply by e

p(x) dx :

8

slide-9
SLIDE 9
  • e

p(x) dx y ′ = q(x)e p(x) dx

Step 3. Integrate: e

p(x) dx y =

  • q(x)e

p(x) dx dx + C.

Step 4. Solve for y : y = e−

p(x) dx

  • q(t)e

p(t) dt dx+Ce− p(x) dx.

9

slide-10
SLIDE 10

y = e−

p(x) dx

  • q(x)e

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
SLIDE 11

3. Find the general solution: xy′ = ln x x2 − 3y

11

slide-12
SLIDE 12

4. Find the general solution: xy′ = 2

  • x2 − 1

− 2y + 2

12

slide-13
SLIDE 13

5. Solve the initial-value problem: y′+(cot x)y = 2 cos x, y(π/2) = 3

13

slide-14
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
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

x2 + 1 + C x2 5. y = 5 − cos 2x 2 sin x

15

slide-16
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
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

  • c f(x) dx = c
  • f(x) dx

17

slide-18
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
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
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
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

  • functions. Thus

y′ = p(x)h(y) is the ”standard form” of a separa- ble equation.

21

slide-22
SLIDE 22

Example: Find the general solution

  • f:

y′ = 2x + 2xy2

22

slide-23
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)

  • r

q(y)y′ = p(x) which, in differential form, is: q(y) dy = p(x) dx. the variables are “separated.”

23

slide-24
SLIDE 24

Step 3. Integrate

  • q(y) dy =
  • p(x) dx + C

Q(y) = P (x) + C where Q′(y) = q(y), P ′(x) = p(x)

24

slide-25
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
SLIDE 26

Examples: 1. Find the general solution: y′ = xy2 + 4x 2y

26

slide-27
SLIDE 27

2. Find the general solution: dy dx = 4x

  • y − 2

27

slide-28
SLIDE 28

Singular Solutions dy dx = 4x

  • y − 2

28

slide-29
SLIDE 29
  • 3
  • 2
  • 1

1 2 3 2 4 6 8 10

29

slide-30
SLIDE 30

3. Find the general solution: dy dx − xy2 = −x

30

slide-31
SLIDE 31

4. Find the general solution: dy dx = ex−y 1 + ex

31

slide-32
SLIDE 32

5. The equation y′ = x(y+2)

  • r

y′−xy = 2x is both linear and separable. Find the general solution both ways.

32

slide-33
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
SLIDE 34

2.4. Related Equations & Trans- formations

  • A. Bernoulli equations

An equation of the form y′ + p(x)y = q(x)yk, k = 0, 1 is called a Bernoulli equation.

34

slide-35
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
SLIDE 36

Examples: 1. Find the general solution: y′ − 4y = 2ex √y

36

slide-37
SLIDE 37

2. Find the general solution: xy′ + y = 3x3 y2

37

slide-38
SLIDE 38

3. Find the general solution: xyy′ = x2 + 2y2

38

slide-39
SLIDE 39

Answers 1. y =

  • Ce2x − ex2

2. y = 2 Cx − 3x3 3. y2 = Cx4 − x2

39

slide-40
SLIDE 40
  • B. Homogeneous equations

y′ = f(x, y) (1) is a homogeneous equation if f(tx, ty) = f(x, y)

40

slide-41
SLIDE 41

If (1) is homogeneous, then the change

  • f dependent variable

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
SLIDE 42

Examples: 1. Find the general solution: y′ = x2 + y2 2xy

42

slide-43
SLIDE 43

2. Find the general solution: dy dx = x2ey/x + y2 xy

43

slide-44
SLIDE 44

3. Find the general solution: xyy′ = x2 + 2y2

44

slide-45
SLIDE 45

Answers 1. y2 = x2 − Cx 2. y + x = ey/x [Cx − x ln x] 3. y2 = Cx4 − x2

45