32
Drill: Find the differential of each equation. y = e x y = e 4x y = e x^2 y = sec x • dy = e x dx • dy = 4e 4x dx • dy = 2xe x^2 dx • dy = tanxsecx dx

Drill: Find the differential of each equation

  • Upload
    merle

  • View
    36

  • Download
    0

Embed Size (px)

DESCRIPTION

Drill: Find the differential of each equation. y = e x y = e 4x y = e x^2 y = sec x. dy = e x dx dy = 4e 4x dx dy = 2xe x^2 dx dy = tanxsecx dx. Slope Fields and Euler’s Method. Lesson 6.1. Objectives. Students will be able to: - PowerPoint PPT Presentation

Citation preview

Page 1: Drill:  Find the differential of each equation

Drill: Find the differential of each equation.

• y = ex

• y = e4x

• y = ex^2

• y = sec x

• dy = ex dx• dy = 4e4x dx• dy = 2xex^2 dx• dy = tanxsecx dx

Page 2: Drill:  Find the differential of each equation

Slope Fields and Euler’s Method

Lesson 6.1

Page 3: Drill:  Find the differential of each equation

Objectives

• Students will be able to:– construct antiderivatives using the Fundamental Theorem

of Calculus.– solve initial value problems in the form– construct slope fields using technology and interpret slope

fields as visualizations of different equations.– use Euler’s Method for graphing a solution to an initial

value problem.

., 00 xfyxfdx

dy

Page 4: Drill:  Find the differential of each equation

Differential Equation

• An equation involving a derivative is called a differential equation. The order of a differential equation is the order of the highest derivative involved in the equation.

Page 5: Drill:  Find the differential of each equation

Example Solving a Differential Equation

• Find all functions y that satisfy

• Solution: the anti-derivative of dy/dx:

• This is called a GENERAL solution.• We cannot find a UNIQUE solution unless

we are given further information.

52sec2 xxdxdy

Cxxxy 5tan 2

Page 6: Drill:  Find the differential of each equation

• If the general solution to the first order differential equation is continuous, the only information needed is the value of the function at a single point, called an INITIAL CONDITION.

• A differential equation with an initial condition is called an INITIAL VALUE PROBLEM.

• It has a unique solution, called the PARTICULAR SOLUTION to the differential equation.

Page 7: Drill:  Find the differential of each equation

Example Solving a Differential Equation

Find all the functions y that satisfy .1

6 5

xx

dx

dy

dxx

xy

16 5

Cxxy ln6

Page 8: Drill:  Find the differential of each equation

Example Solving an Initial Value Problem

Find the particular solution to the equation

whose graph passes through the point (0, 1).

,12 xdx

dy

dxxy 12

Cxxy 3

3

1

C 003

11 3

C1

13

1 3 xxy

Page 9: Drill:  Find the differential of each equation

Example Solving an Initial Value Problem

Find the particular solution to the equation

and y = 60 when x = 4.

,310 xdx

dy

dxxy 21

310

Cxxy 23

210

C 23

4241060

C4

4210 23

xxy

Page 10: Drill:  Find the differential of each equation

Example Handling Discontinuity

• Find the particular solution to the equation dy/dx = 2x – sec2x whose graph passes through the point (0, 3)

• The general solution is y = x2 – tanx + C• Applying the initial condition: 3 = 02 – tan0 + C; 3 = C• Therefore, the particular solution is y = x2 – tanx + 3• However, since because tanx is does have

discontinuities, you need to add the domain stipulation of –π/2 < x< π/2

Page 11: Drill:  Find the differential of each equation

Example Using the Fundamental Theorem

• Find the solution to the differential equation f’(x) = e-x^2 for which f(7) = 3

• Rather than determining the anti-derivative, you can let the solution in integral form:

• We know that if

• Then AND• f’(x) = e-x^2

3303)7(7

7

2

dtef t

x

t dtexf7

3)(2

This is our solution!

Note: If you are ABLE to determine the anti-derivative, you should do so!

Page 12: Drill:  Find the differential of each equation

Drill: Find the constant C• y = 3x2 + 4x + C and y = 2

when x = 1

• y = 2sinx – 3cosx + C and y = 4 when x = 0

• 2 = 3(1)2 + 4(1) + C• 2=3+4+C• 2 = 7 + C• -5 = C

• 4 = 2sin(0) – 3cos(0) + C• 4 = 0 – 3 + C• 4 = -3 + C• 7 = C

Page 13: Drill:  Find the differential of each equation

Graphing a General Solution

• Graph the family of functions that solve the differential equation dy/dx = cos x

• Any function of the form y = sinx + C solves the differential equation.

• First graph y = sin x, and then repeat the graph by shifting vertically up and down.

Note: you can also use the calc by putting values of ‘C’ in to L1 and then graphing y1 = sinx + L1

Page 14: Drill:  Find the differential of each equation

Slope Fields

• a slope field (or direction field) is a graphical representation of the solutions of a first-order differential equation. It is achieved without solving the differential equation analytically. The representation may be used to qualitatively visualize solutions, or to numerically approximate them.

• Remember also, that the derivative of a function gives its slope.

• Also remember that we use the notation dy/dx to represent derivative; therefore, dy/dx = slope.

Page 15: Drill:  Find the differential of each equation

A Summary of Making Slope Fields

• Put the differential equation in the form dy/dx = g(x,y)

• Decide upon what rectangular region of the plane you want to make the picture

• Impose a grid on this region• Calculate the value of the slope, g(x,y), at each grid

point, (x,y)• Sketch a picture in which at each grid point there is a

short line segment having the corresponding slope

Page 16: Drill:  Find the differential of each equation

Example: Constructing a Slope Field

• Construct a slope field for the differential equation dy/dx = cos x

• We know that that slope at any point (0, y) will be cos (0) = 1, so we can start be drawing tiny segments with slope 1 at several points along the y-axis.

• Slope is also 1 at 2π, - 2π

• When would the slope by -1?– At π, - π

• When is the slope 0?– At π/2, - π/2– At 3π/2, - 3π/2

Page 17: Drill:  Find the differential of each equation

Solutionx: [-5π/2, 5π/2]; y: [-4, 4]

Page 18: Drill:  Find the differential of each equation

Example Matching Slope Fields with Differential Equations

Use slope analysis to match the differential equation with the given slope fields. Note: each block is .5 units.

2ydx

dy

Page 19: Drill:  Find the differential of each equation

Example Matching Slope Fields with Differential Equations

Use slope analysis to match the differential equation with the given slope fields. Note: each block is .5 units

2ydx

dy

.0

then,2 If

dx

dy

y

Page 20: Drill:  Find the differential of each equation

Example Matching Slope Fields with Differential Equations

Use slope analysis to match the differential equation with the given slope fields. Note: each block is .5 units

2xdx

dy

Page 21: Drill:  Find the differential of each equation

Example Matching Slope Fields with Differential Equations

Use slope analysis to match the differential equation with the given slope fields. Note: each block is .5 units

2xdx

dy

.0

then,2 If

dx

dy

x

Page 22: Drill:  Find the differential of each equation

Example Matching Slope Fields with Differential Equations

Use slope analysis to match the differential equation with the given slope fields. Note: each block is .5 units

21 ydx

dy

Page 23: Drill:  Find the differential of each equation

Example Matching Slope Fields with Differential Equations

Use slope analysis to match the differential equation with the given slope fields. Note: each block is .5 units

21 ydx

dy

.0

then,1

or 1 If

dx

dy

y

y

Page 24: Drill:  Find the differential of each equation

Constructing a Slope Field for a Nonexact Differential Equation

• Construct a slope field for the differential equation dy/dx = x + y and sketch a graph of the particular solution that passes through (2, 0).

• You can make tables in order to graph slopes: (some examples)

x + y = 0 x + y = -1 x + y = 1

• The particular solution can be found by drawing a smooth curve through the point (2, 0) that follows the slopes in the slope field.

x y-2 2-1 10 01 -12 -2

x y-2 1-1 00 -11 -22 -3

x y-2 3-1 20 11 02 -1

Page 25: Drill:  Find the differential of each equation

Solution http://www.math.rutgers.edu/~sontag/JODE/JOdeApplet.html

Page 26: Drill:  Find the differential of each equation

Drill

• Find a solution that satisfies y(1) = 2 when

• First, determine the anti-derivative.

2

1

xx

dx

dy

Cx

xy

1

2

2 C

1

1

2

12

2

C 12

12

C2

12

11

2

2

x

xy

Page 27: Drill:  Find the differential of each equation

Euler’s Method• Begin at the point (x, y) specified by the initial condition. This

point will be on the graph, as required.• Use the differential equation to find the slope dy/dx at the

point.• Increase x by a small amount of Δx. Increase y by a small

amount of Δy, where Δy = (dy/dx) Δx. This defines a new point (x + Δx, y + Δy) that lies along the linearization.

• Using this new point, return to step 2. Repeating the process constructs the graph to the right of the initial point.

• To construct the graph moving to the left from the initial point,r epeat the process using negative values for Δx.

Page 28: Drill:  Find the differential of each equation

Example Applying Euler’s Method

Let f be the function that satisfies the initial value

problem and f (0) = 1. Use Euler’s

Method and increments of Δx = 0.2 to approximate f (1).

2xydx

dy

Page 29: Drill:  Find the differential of each equation

Example Applying Euler’s Method

2.0,2 xxydx

dy

yx, 2xydx

dy x x

dx

dyy yyxx ,

1,0 1 2.0 2.0 2.1,2.0

2.1,2.0 24.1 2.0 248.0 448.1,4.0

448.1,4.0 608.1 2.0 3216.0 7696.1,6.0

7696.1,6.0 1296.2 2.0 425592.0 19552.2,8.0

19552.2,8.0 83554.2 2.0 567104.0 762624.2,1

762624.21 f

Page 30: Drill:  Find the differential of each equation

Example Applying Euler’s Method

Let f be the function that satisfies the initial value

problem and if y = 3 when x = 2, use

Euler’s Method with five equal steps to approximate y when x = 1.5.

Δx = (1.5 – 2)/5 = -.1

(Note, Δx is negative when you are going backwards.

yxdx

dy2

Page 31: Drill:  Find the differential of each equation

Example Applying Euler’s Method

1.,2 xyxdx

dy

yx, yxdx

dy2 x x

dx

dyy yyxx ,

3,2 1 1. 1. )9.2,9.1(

9.2,9.1 9. 1. 09. 81.2,8.1

81.2,8.1 79. 1. 079. 731.2,7.1

731.2,7.1 669. 1. 0669. 6641.2,6.1

6641.2,6.1 5359. 1. 05359. 61051.2,5.1

61.25.1 f

Page 32: Drill:  Find the differential of each equation

Homework

• Day #1:Page 327: 1-19: odd• Day #2: Page 327/8: 21-39: odd• Day #3: page 328: 41-48