50
Announcements Topics: - sections 6.1 (extreme values), 6.4 (L’Hopital’s Rule), 7.1 (differential equations) * Read these sections and study solved examples in your textbook! Homework: - review lecture notes thoroughly - work on practice problems from the textbook and assignments from the coursepack as assigned on the course web page (under the “SCHEDULE + HOMEWORK” link)

Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

AnnouncementsTopics:

-  sections6.1(extremevalues),6.4(L’Hopital’sRule),7.1(differentialequations)

*Readthesesectionsandstudysolvedexamplesinyourtextbook!

Homework:

-  reviewlecturenotesthoroughly-  workonpracticeproblemsfromthetextbookandassignmentsfromthecoursepackasassignedonthecoursewebpage(underthe“SCHEDULE+HOMEWORK”link)

Page 2: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

MaximumandMinimumValues

isaglobal(absolute)maximumofifforallinthedomainofisalocal(relative)maximumofifforallinsomeintervalaround

f (c) ≥ f (x)

f (c)

f

f (c) ≥ f (x)

x

c.

f (c)

f

x

f .

Page 3: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

MaximumandMinimumValues

isaglobal(absolute)minimumofifforallinthedomainofisalocal(relative)minimumofifforallinsomeintervalaround

f (c) ≤ f (x)

f (c)

f

f (c) ≤ f (x)

x

c.

f (c)

f

x

f .

Page 4: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

Extrema

Identifythelabeledpointsaslocalmaxima/minima,globalmaxima/minima,ornoneofthese.

F

X

Y

� � � � � ��

Page 5: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

ExtremeValues

Notice:Extremevaluesoccurateitheracriticalnumberofforatanendpointofthedomain.

(However,notallcriticalnumbersandendpointscorrespondtoanextremevalue.)

Alsonote:Bydefinition,relativeextremevaluesdonotoccuratendpoints.

Page 6: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

FindingLocalMaximaandMinima(FirstDerivativeTest)

Assumethatfiscontinuousatc,wherecisacriticalnumberoff.Iff’changesfrom+to-atx=c,thenfchangesfromincreasingtodecreasingatx=candf(c)isalocalmaximumvalue.Iff’changesfrom-to+atx=c,thenfchangesfromdecreasingtoincreasingatx=candf(c)isalocalminimumvalue.Iff’doesnotchangesignatx=c,thenfdoesn’thaveanextremevalueatx=c.

Page 7: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

FindingLocalMaximaandMinima(FirstDerivativeTest)

Example:Findthelocalextremaof.

f (x) = ln xx

Page 8: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

FindingLocalMaximaandMinima(SecondDerivativeTest)

Assumethatf’’iscontinuousnearcandf’(c)=0.Iff’’(c)>0thenthegraphoffisconcaveupatx=candf(c)

isalocalminimumvalue.Iff’’(c)<0thenthegraphoffisconcavedownatx=cand

f(c)isalocalmaximumvalue.Iff’’(c)=0orf”(c)D.N.E.thenthesecondderivativetest

doesn’tapplyandyouhavetousetheothermethod.

Page 9: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

Application

Assignment53,#1(modified):Considerthefunction,where(a)Findthecriticalnumberoff.

f (t) = Ate−βt

A,β > 0.

Page 10: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

Application

Assignment53,#1(modified):(b)Usethesecondderivativetesttodetermineifthecriticalnumberinpart(a)correspondstoalocalmaximum,localminimum,orneither.

Page 11: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

Application

Assignment53,#1(modified):(c)Determinethevaluesofsuchthatfdescribesthegraphgivenbelow.

A and β

Page 12: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

ExtremeValueTheorem

Ifiscontinuousforall,thentherearepointssuchthatistheglobalminimumandistheglobalmaximumofon

Inwords:Ifafunctioniscontinuousonaclosed,finiteinterval,thenithasaglobalmaximumandaglobalminimumonthatinterval.

f (x)

c1, c2 ∈ [a, b]

f (c1)

x ∈ [a, b]

[a, b].

f (c2)

f (x)

Page 13: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

FindingAbsoluteExtremeValuesonaClosedInterval[a,b]

1.Findallcriticalnumbersintheinterval.2.Makeatableofvalues.

Thelargestvalueoff(x)istheabsolutemaximumandthesmallestvalueistheabsoluteminimum.

X F�X

A

B

CRITICAL�NUMBERS

Page 14: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

FindingAbsoluteExtremeValuesonaClosedInterval[a,b]

Example:Findtheabsoluteextremaofon

g(x) = x13 (x − 2)2

[−1, 1].

Page 15: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

L’Hopital’sRule Anotherapplicationofderivativesistohelpevaluatelimitsoftheformwhereeither orIdea:Insteadofcomparingthefunctionsf(x)andg(x),comparetheirderivatives(rates)f’(x)andg’(x).

limx→a

f (x)g(x)

limx→a

f (x) = 0 and limx→a

g(x) = 0

limx→a

f (x) = ±∞ and limx→a

g(x) = ±∞ .

Page 16: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

L’Hopital’sRule

SupposethatfandgaredifferentiablefunctionssuchthatisanindeterminateformoftypeorIfneara(couldbe0ata)then

limx→a

f (x)g(x)

= limx→a

# f (x)# g (x)

limx→a

f (x)g(x)

00

∞∞ .

" g (x) ≠ 0

Page 17: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

L’Hopital’sRule

EvaluatethefollowinglimitsusingL’Hopital’sRule,ifitapplies.(a) (b)(c)

limx→0

sin xx

limx→0

tan x − xx3€

limx→∞

ln xx3

Page 18: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

L’Hopital’sRule

EvaluatethefollowinglimitsusingL’Hopital’sRule,ifitapplies.(a) (b) €

limx→∞

x1x

limx→∞

x 2e−3x

Page 19: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

DifferentialEquations

Adifferentialequationisanequationthatinvolvesanunknownfunctionandoneormoreofitsderivatives.

Examples:

ʹy = 2+ y ʹy = x + yʹy = x2 + ex

Page 20: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

DifferentialEquations

Asolutionofadifferentialequationisafunctionthat,alongwithitsderivatives,satisfiestheDE.

Example:Showthatisasolutionofthedifferentialequationandinitialcondition

y'+3x 2y = 6x 2

y = 2 + e−x3

y(0) = 3.

Page 21: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

"EFORE� � � � � � � � ���� .OW

6ALUE� � � � 2ATE�/F�#HANGE�MEASURED� � � ����������COMPUTED

����POSITION���S�T� � � VELOCITY���S��TPOPULATION���0�T������� � ��������GROWTH�RATE���0��T

DIFFERENTIATE�

2ATE�OF�#HANGE� � � ����6ALUE�MEASURED� � � ����������COMPUTED

����VELOCITY���S��T� � ������������POSITION���S�TGROWTH�RATE���0��T������� � ��������POPULATION���0�T

SOLVE�DIFFERENTIAL�������EQUATION�

Page 22: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

Pure-TimeDEs

Apure-timedifferentialequationisobtainedbymeasuringtherateofchangeoftheunknownquantityandexpressedasafunctionoftime.

Examples:Notethattheformulafortherateofchangedependspurelyonthetimet.

dsdt= t2 −3t +5 f '(x) = arctan x

Page 23: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

Pure-TimeDEsExample:VolumeofaCellSupposeweobservethatofwaterentersacelleachsecond.DifferentialEquation:GeneralSolution:iscalledthe‘statevariable’

2.0µm3

V

Page 24: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

Pure-TimeDEs

Example:VolumeofaCellSupposewearetoldthattheinitialvolumeofthecellisParticularSolution:

150µm3.

Page 25: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

AutonomousDEsAnautonomousdifferentialequationisderivedfromaruledescribinghowaquantitychangesandisexpressedasafunctionoftheunknownquantity.

Example:Supposethatthegrowthrateofapopulation,P,isproportionaltoitssize.

dPdt

= k ⋅P(t) or simply P ' = k ⋅P

Page 26: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

AutonomousDEs

Example:PopulationModelIthasbeenobservedthattherelativerateofchangeofapopulationofwildfoxesinanecosystemis0.75babyfoxesperfoxpermonth.Initially,thepopulationis74thousand.DifferentialEquation:InitialCondition:ParticularSolution:

Page 27: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

SolutionsforGeneralDEs

Ø  AlgebraicSolutionsØ  anexplicitformulaoralgorithmforthesolution(often,impossibletofind)

Ø  GeometricSolutionsØ  asketchofthesolutionobtainedfromanalyzingtheDE

Ø  NumericSolutionsØ  anapproximationofthesolutionusingtechnologyandandsomeestimationmethod,suchasEuler’smethod

Page 28: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

GraphicalSolutionsofPure-TimeDEs

Example:Sketchthegraphofthesolutiontogiventheinitialcondition

s(1) =1.s '(t) = ln t

Page 29: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

Euler’sMethod

Whatinformationdoesaninitialvalueproblemtellusaboutthesolution?

Example:DE:IC:

dydx

= x + y

y(0) =1

slopeofthesolutioncurvey(x)

anexactvalueofthesolution

Page 30: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

Euler’sMethod

Euler’sIdea:First,usingtheinitialconditionasabasepoint,approximatethesolutioncurvey(x)byitstangentline.

FirstEulerapproximation

Page 31: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

Euler’sMethod

Next,travelashortdistancealongthisline,determinetheslopeatthenewlocation(usingtheDE),andthenproceedinthat‘corrected’direction.

Euler’sapproximationwithstepsize

Δx = 0.5

Page 32: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

Euler’sMethod

Repeat,correctingyourdirectionmidcourseusingtheDEatregularintervalstoobtainanapproximatesolutionoftheIVP.Byincreasingthenumberofmidcoursecorrections,wecanimproveourestimationofthesolution.

Eulerapproximationwithstepsize

Δx = 0.25

Page 33: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

Euler’sMethod

Summary:AnapproximatesolutiontotheIVPisgeneratedbychoosingastepsizeandcomputingvaluesaccordingtothealgorithm

tn+1 = tn + Δtyn+1 = yn +G(tn ,yn )Δt

dydt

=G(t,y), y(t0) = y0

Δt

Page 34: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

Euler’sMethodAlgorithm:AlgorithmInWords:nexttime=currenttime+stepsizenextapproximation=currentapproximation+rateofchangeatcurrentvaluesxstepsize

tn+1 = tn + Δtyn+1 = yn +G(tn ,yn )Δt

Page 35: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

Example

ConsidertheIVPApproximatethevalueofthesolutionatx=1byapplyingEuler’smethodandusingastepsizeof0.25.

y ' = x + y y(0) =1

Page 36: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

Example

Calculations:

tn yn

x0=0 y0=1

TableofApproximateValuesfortheSolutiony(x)oftheIVP

Page 37: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

QualitativeAnalysisofaDE

Example:ApopulationofcaribouismodeledbyInwhichofthefollowingsituationswillthepopulationincreaseintheimmediatefuture?(I)P(0)=100 (II)P(0)=200 (III)P(0)=3000

dPdt

= 2P(t) 1− P(t)2500

⎝⎜

⎠⎟ 1−

120P(t)

⎝⎜

⎠⎟, P(t) > 0.

Page 38: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

AnnouncementsTopics:

-  sections7.1(differentialequations),7.2(antiderivatives),and7.3(thedefiniteintegral+area)

*Readthesesectionsandstudysolvedexamplesinyourtextbook!

Homework:-  reviewlecturenotesthoroughly-  workonpracticeproblemsfromthetextbookandassignmentsfromthecoursepackasassignedonthecoursewebpage(underthe“SCHEDULE+HOMEWORK”link)

Page 39: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

Visitblood.catobookanappointment

DONORSNEEDED

TuesdayOctober30TuesdayNovember13ThursdayNovember15

@CIBCHall(StudentCenter3rdfloor)10am-4pm

Page 40: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

SolutionsforGeneralDEs

Ø  AlgebraicSolutionsØ  anexplicitformulaoralgorithmforthesolution(often,impossibletofind)

Ø  GeometricSolutionsØ  asketchofthesolutionobtainedfromanalyzingtheDE

Ø  NumericSolutionsØ  anapproximationofthesolutionusingtechnologyandandsomeestimationmethod,suchasEuler’smethod

Page 41: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

GraphicalSolutionsofPure-TimeDEs

Example:Sketchthegraphofthesolutiontogiventheinitialcondition

s(1) =1.s '(t) = ln t

Page 42: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

Euler’sMethod

Whatinformationdoesaninitialvalueproblemtellusaboutthesolution?

Example:DE:IC:

dydx

= x + y

y(0) =1

slopeofthesolutioncurvey(x)

anexactvalueofthesolution

Page 43: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

Euler’sMethod

Euler’sIdea:First,usingtheinitialconditionasabasepoint,approximatethesolutioncurvey(x)byitstangentline.

FirstEulerapproximation

Page 44: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

Euler’sMethod

Next,travelashortdistancealongthisline,determinetheslopeatthenewlocation(usingtheDE),andthenproceedinthat‘corrected’direction.

Euler’sapproximationwithstepsize

Δx = 0.5

Page 45: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

Euler’sMethod

Repeat,correctingyourdirectionmidcourseusingtheDEatregularintervalstoobtainanapproximatesolutionoftheIVP.Byincreasingthenumberofmidcoursecorrections,wecanimproveourestimationofthesolution.

Eulerapproximationwithstepsize

Δx = 0.25

Page 46: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

Euler’sMethod

Summary:AnapproximatesolutiontotheIVPisgeneratedbychoosingastepsizeandcomputingvaluesaccordingtothealgorithm

tn+1 = tn + Δtyn+1 = yn +G(tn ,yn )Δt

dydt

=G(t,y), y(t0) = y0

Δt

Page 47: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

Euler’sMethodAlgorithm:AlgorithmInWords:nexttime=currenttime+stepsizenextapproximation=currentapproximation+rateofchangeatcurrentvaluesxstepsize

tn+1 = tn + Δtyn+1 = yn +G(tn ,yn )Δt

Page 48: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

Example

ConsidertheIVPApproximatethevalueofthesolutionatx=1byapplyingEuler’smethodandusingastepsizeof0.25.

y ' = x + y y(0) =1

Page 49: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

Example

Calculations:

tn yn

x0=0 y0=1

TableofApproximateValuesfortheSolutiony(x)oftheIVP

Page 50: Announcements - McMaster Universityclemene/1LS3/lectures/1ls3_week7.pdf · Announcements Topics: - sections 7.1 (differential equations), 7.2 (antiderivatives), and 7.3 (the definite

QualitativeAnalysisofaDE

Example:ApopulationofcaribouismodeledbyInwhichofthefollowingsituationswillthepopulationincreaseintheimmediatefuture?(I)P(0)=100 (II)P(0)=200 (III)P(0)=3000

dPdt

= 2P(t) 1− P(t)2500

⎝⎜

⎠⎟ 1−

120P(t)

⎝⎜

⎠⎟, P(t) > 0.