Math 3B: Lecture 21 Noah White November 9, 2016 Math Success - - PowerPoint PPT Presentation

math 3b lecture 21
SMART_READER_LITE
LIVE PREVIEW

Math 3B: Lecture 21 Noah White November 9, 2016 Math Success - - PowerPoint PPT Presentation

Math 3B: Lecture 21 Noah White November 9, 2016 Math Success Program Free one on one tutoring sessions Math Success Program Free one on one tutoring sessions Weekly drop in hours Math Success Program Free one on one tutoring


slide-1
SLIDE 1

Math 3B: Lecture 21

Noah White November 9, 2016

slide-2
SLIDE 2

Math Success Program

  • Free one on one tutoring sessions
slide-3
SLIDE 3

Math Success Program

  • Free one on one tutoring sessions
  • Weekly drop in hours
slide-4
SLIDE 4

Math Success Program

  • Free one on one tutoring sessions
  • Weekly drop in hours
  • facebook: Math Success programm at UCLA
slide-5
SLIDE 5

Math Success Program

  • Free one on one tutoring sessions
  • Weekly drop in hours
  • facebook: Math Success programm at UCLA
  • mspucla.setmore.com
slide-6
SLIDE 6

Upcoming assesment

  • You have just completed (or about to complete) the final quiz.
slide-7
SLIDE 7

Upcoming assesment

  • You have just completed (or about to complete) the final quiz.
  • The penultimate homework is due Friday next week, 11/18.
slide-8
SLIDE 8

Upcoming assesment

  • You have just completed (or about to complete) the final quiz.
  • The penultimate homework is due Friday next week, 11/18.
  • Homework question will be taken from problem set 8.
slide-9
SLIDE 9

Upcoming assesment

  • You have just completed (or about to complete) the final quiz.
  • The penultimate homework is due Friday next week, 11/18.
  • Homework question will be taken from problem set 8.
  • Midterm 2 on Monday in two weeks, 11/21.
slide-10
SLIDE 10

Upcoming assesment

  • You have just completed (or about to complete) the final quiz.
  • The penultimate homework is due Friday next week, 11/18.
  • Homework question will be taken from problem set 8.
  • Midterm 2 on Monday in two weeks, 11/21.
  • Due date of final homework has been changed to Wed 11/30.
slide-11
SLIDE 11

Last time

  • Checking solutions to differential equations.
slide-12
SLIDE 12

Last time

  • Checking solutions to differential equations.
  • Implicit differentiation.
slide-13
SLIDE 13

Last time

  • Checking solutions to differential equations.
  • Implicit differentiation.
  • Separation of variables.
slide-14
SLIDE 14

Linear models

Definition

A first order ODE is linear if it is of the form dy dt = a + by for constants a and b.

slide-15
SLIDE 15

Linear models

Definition

A first order ODE is linear if it is of the form dy dt = a + by for constants a and b.

slide-16
SLIDE 16

Linear models

Definition

A first order ODE is linear if it is of the form dy dt = a + by for constants a and b. In other words, the right hand side is a linear function of y.

slide-17
SLIDE 17

Linear models

Definition

A first order ODE is linear if it is of the form dy dt = a + by for constants a and b. In other words, the right hand side is a linear function of y.

Examples

dy dt = ay, dy dt = −λy.

slide-18
SLIDE 18

Mixing models

A mixing model describes the concentration of something over time, if

  • rate in is constant

so

slide-19
SLIDE 19

Mixing models

A mixing model describes the concentration of something over time, if

  • rate in is constant
  • rate out is proportional to concentration

so

slide-20
SLIDE 20

Mixing models

A mixing model describes the concentration of something over time, if

  • rate in is constant
  • rate out is proportional to concentration

so

slide-21
SLIDE 21

Mixing models

A mixing model describes the concentration of something over time, if

  • rate in is constant
  • rate out is proportional to concentration

so dy dt = rate in − rate out = a − by

slide-22
SLIDE 22

Mixing models

A mixing model describes the concentration of something over time, if

  • rate in is constant
  • rate out is proportional to concentration

so dy dt = rate in − rate out = a − by

Note

Something could mean (for example)

slide-23
SLIDE 23

Mixing models

A mixing model describes the concentration of something over time, if

  • rate in is constant
  • rate out is proportional to concentration

so dy dt = rate in − rate out = a − by

Note

Something could mean (for example)

  • concentration of a drug in bloodstream
slide-24
SLIDE 24

Mixing models

A mixing model describes the concentration of something over time, if

  • rate in is constant
  • rate out is proportional to concentration

so dy dt = rate in − rate out = a − by

Note

Something could mean (for example)

  • concentration of a drug in bloodstream
  • pollutant in water supply
slide-25
SLIDE 25

General solution

Using separation of variables, we can show that the general solution to dy dt = a − by is y(t) = a b − Ce−bt where C is an arbitrary constant.

slide-26
SLIDE 26

Example 1

A drug with a half-life of 2 hours is injected into the bloodstream with an infusion rate of 10 mg/h. Determine the concentration y(t) at time t.

Solution

slide-27
SLIDE 27

Example 1

A drug with a half-life of 2 hours is injected into the bloodstream with an infusion rate of 10 mg/h. Determine the concentration y(t) at time t.

Solution

  • Ignoring infusion, every 2 hours the amount of drug halves.
slide-28
SLIDE 28

Example 1

A drug with a half-life of 2 hours is injected into the bloodstream with an infusion rate of 10 mg/h. Determine the concentration y(t) at time t.

Solution

  • Ignoring infusion, every 2 hours the amount of drug halves.
  • Starting with M mg, after t hours there will be

M 1 2 t/2 = Me−0.5t ln(2) mg left

slide-29
SLIDE 29

Example 1

A drug with a half-life of 2 hours is injected into the bloodstream with an infusion rate of 10 mg/h. Determine the concentration y(t) at time t.

Solution

  • Ignoring infusion, every 2 hours the amount of drug halves.
  • Starting with M mg, after t hours there will be

M 1 2 t/2 = Me−0.5t ln(2) mg left

  • Thus the rate at which the drug is leaving (at time t) is given

by 0.5 ln(2)Me−0.5t ln(2) = 0.5 ln(2)(current concentration) mg/h.

slide-30
SLIDE 30

Example 1

  • If we infuse the drug at a rate of 10 mg/h we have

dy dt = 10 − 0.5 ln(2)y

slide-31
SLIDE 31

Example 1

  • If we infuse the drug at a rate of 10 mg/h we have

dy dt = 10 − 0.5 ln(2)y

  • The general solution to this is

y(t) = 10 0.5 ln(2) − Ce−0.5 ln(2)t.

slide-32
SLIDE 32

Example 1

  • If we infuse the drug at a rate of 10 mg/h we have

dy dt = 10 − 0.5 ln(2)y

  • The general solution to this is

y(t) = 10 0.5 ln(2) − Ce−0.5 ln(2)t.

  • Since there was initially no drug in the bloodstream, y(0) = 0,

0 = 20 ln(2) − C ≈ 28.9 − C

slide-33
SLIDE 33

Example 1

  • If we infuse the drug at a rate of 10 mg/h we have

dy dt = 10 − 0.5 ln(2)y

  • The general solution to this is

y(t) = 10 0.5 ln(2) − Ce−0.5 ln(2)t.

  • Since there was initially no drug in the bloodstream, y(0) = 0,

0 = 20 ln(2) − C ≈ 28.9 − C

  • Thus at time t the concentration is

y(t) = 28.9 − 28.9e−0.3t = 28.9

  • 1 − e−0.3t
slide-34
SLIDE 34

Newton’s Law of Cooling

Isaac Newton stated that

Newton’s Law of Cooling

The temperature T of a body changes at a rate propotional to the difference between the ambient temperature A and T.

slide-35
SLIDE 35

Newton’s Law of Cooling

Isaac Newton stated that

Newton’s Law of Cooling

The temperature T of a body changes at a rate propotional to the difference between the ambient temperature A and T.

slide-36
SLIDE 36

Newton’s Law of Cooling

Isaac Newton stated that

Newton’s Law of Cooling

The temperature T of a body changes at a rate propotional to the difference between the ambient temperature A and T. dT dt = k(A − T)

General solution

T(t) = A − Ce−kt.

slide-37
SLIDE 37

Example 2

An object takes 20 minutes to cool from 90◦ to 86◦ in a room which is 70◦. At what time will it be 75◦?

Solution

slide-38
SLIDE 38

Example 2

An object takes 20 minutes to cool from 90◦ to 86◦ in a room which is 70◦. At what time will it be 75◦?

Solution

  • The temp is described by the equation

dT dt = k(70 − T).

slide-39
SLIDE 39

Example 2

An object takes 20 minutes to cool from 90◦ to 86◦ in a room which is 70◦. At what time will it be 75◦?

Solution

  • The temp is described by the equation

dT dt = k(70 − T).

  • The solution is given by

T(t) = 70 − Ce−kt

slide-40
SLIDE 40

Example 2

An object takes 20 minutes to cool from 90◦ to 86◦ in a room which is 70◦. At what time will it be 75◦?

Solution

  • The temp is described by the equation

dT dt = k(70 − T).

  • The solution is given by

T(t) = 70 − Ce−kt

  • We know T(0) = 90 and T(20) = 86.
slide-41
SLIDE 41

Example 2

An object takes 20 minutes to cool from 90◦ to 86◦ in a room which is 70◦. At what time will it be 75◦?

Solution

  • The temp is described by the equation

dT dt = k(70 − T).

  • The solution is given by

T(t) = 70 − Ce−kt

  • We know T(0) = 90 and T(20) = 86.
  • Thus

90 = 70 − C so C = −20.

slide-42
SLIDE 42

Example 2

  • T(t) = 70 + 20e−kt
slide-43
SLIDE 43

Example 2

  • T(t) = 70 + 20e−kt
  • To find k we use T(20) = 86

86 = 70 + 20e−20k

slide-44
SLIDE 44

Example 2

  • T(t) = 70 + 20e−kt
  • To find k we use T(20) = 86

86 = 70 + 20e−20k

  • Thus

e−20k = 86 − 70 20 = 4 5 so k = − 1 20 ln 4 5

  • ≈ −0.01.
slide-45
SLIDE 45

Example 2

  • T(t) = 70 + 20e−kt
  • To find k we use T(20) = 86

86 = 70 + 20e−20k

  • Thus

e−20k = 86 − 70 20 = 4 5 so k = − 1 20 ln 4 5

  • ≈ −0.01.
  • The model is thus T(t) = 70 + 20e−0.01t. We want to solve

75 = 70 + 20e−0.01t.

slide-46
SLIDE 46

Example 2

  • T(t) = 70 + 20e−kt
  • To find k we use T(20) = 86

86 = 70 + 20e−20k

  • Thus

e−20k = 86 − 70 20 = 4 5 so k = − 1 20 ln 4 5

  • ≈ −0.01.
  • The model is thus T(t) = 70 + 20e−0.01t. We want to solve

75 = 70 + 20e−0.01t.

  • Rearranging we get 20e−0.01t = 5 i.e.
slide-47
SLIDE 47

Example 2

  • 20e−0.01t = 5 becomes

e−0.01t = 1 4

slide-48
SLIDE 48

Example 2

  • 20e−0.01t = 5 becomes

e−0.01t = 1 4

  • Applying a logarithm

−0.01t = ln 1 4

slide-49
SLIDE 49

Example 2

  • 20e−0.01t = 5 becomes

e−0.01t = 1 4

  • Applying a logarithm

−0.01t = ln 1 4

  • So we get

t = −100 ln 1 4

  • ≈ 138 = 2 hours 18 minutes.
slide-50
SLIDE 50

Von Bertalanffy growth model

Ludwig von Bertalanffy estimated the growth of an organism by assuming that it

  • ingests food at a rate propotional to its surface area
slide-51
SLIDE 51

Von Bertalanffy growth model

Ludwig von Bertalanffy estimated the growth of an organism by assuming that it

  • ingests food at a rate propotional to its surface area
  • respires propotional to its mass
slide-52
SLIDE 52

Von Bertalanffy growth model

Ludwig von Bertalanffy estimated the growth of an organism by assuming that it

  • ingests food at a rate propotional to its surface area
  • respires propotional to its mass
slide-53
SLIDE 53

Von Bertalanffy growth model

Ludwig von Bertalanffy estimated the growth of an organism by assuming that it

  • ingests food at a rate propotional to its surface area
  • respires propotional to its mass

dM dt = aS − bM.

slide-54
SLIDE 54

Von Bertalanffy growth model

Ludwig von Bertalanffy estimated the growth of an organism by assuming that it

  • ingests food at a rate propotional to its surface area
  • respires propotional to its mass

dM dt = aS − bM. We can make an additional assumtion

  • The organism is (roughly) a cube of length L cm.
slide-55
SLIDE 55

Von Bertalanffy growth model

Ludwig von Bertalanffy estimated the growth of an organism by assuming that it

  • ingests food at a rate propotional to its surface area
  • respires propotional to its mass

dM dt = aS − bM. We can make an additional assumtion

  • The organism is (roughly) a cube of length L cm.
  • This means the mass M = L3 g (if we assume the organism is

mostly water).

slide-56
SLIDE 56

Von Bertalanffy growth model

Ludwig von Bertalanffy estimated the growth of an organism by assuming that it

  • ingests food at a rate propotional to its surface area
  • respires propotional to its mass

dM dt = aS − bM. We can make an additional assumtion

  • The organism is (roughly) a cube of length L cm.
  • This means the mass M = L3 g (if we assume the organism is

mostly water).

  • Surface area is S = 6L2
slide-57
SLIDE 57

Von Bertalanffy growth model

  • We can differentiate the relationship M = L3

dM dt = 3L2 dL dt

slide-58
SLIDE 58

Von Bertalanffy growth model

  • We can differentiate the relationship M = L3

dM dt = 3L2 dL dt

  • Combining this with

dM dt = 6aL2 − bL3

slide-59
SLIDE 59

Von Bertalanffy growth model

  • We can differentiate the relationship M = L3

dM dt = 3L2 dL dt

  • Combining this with

dM dt = 6aL2 − bL3

  • We get

3L2 dL dt = 6aL2 − bL3

slide-60
SLIDE 60

Von Bertalanffy growth model

  • Dividing by 3L2 gives

dL dt = 6a 3 − b 3L = b 3 6a b − L

slide-61
SLIDE 61

Von Bertalanffy growth model

  • Dividing by 3L2 gives

dL dt = 6a 3 − b 3L = b 3 6a b − L

  • Von Bertalanffy growth model

The growth of an organism is goverened by dL dt = k(L∞ − L) where k and L∞ are constants.