lesson 7: the derivative

120
. . . . . . Section 2.1–2 The Derivative and Rates of Change The Derivative as a Function V63.0121.006/016, Calculus I February 9, 2010 Announcements I Office Hours this week: Monday, Wednesdays 1:30–2:30, Thursdays 9–10am (WWH 726) I Please complete the Get-to-know-you survey and upload a photo.

Upload: matthew-leingang

Post on 07-Dec-2014

2.148 views

Category:

Education


1 download

DESCRIPTION

the derivative measure the instantaneous rate of change of a function, or the slope of the line tangent to its graph. It has countless applications.[Note: We did not do this entire show in class. We will finish it on Thursday]

TRANSCRIPT

Page 1: Lesson 7: The Derivative

. . . . . .

Section2.1–2TheDerivativeandRatesofChange

TheDerivativeasaFunction

V63.0121.006/016, CalculusI

February9, 2010

Announcements

I OfficeHoursthisweek: Monday, Wednesdays1:30–2:30,Thursdays9–10am(WWH 726)

I PleasecompletetheGet-to-know-yousurveyanduploadaphoto.

Page 2: Lesson 7: The Derivative

. . . . . .

CommonErrorsonHomework#2

I Rememberthat limx→a−

f(x) meansthelimitas x approaches a

fromtheleft. Thisisdifferentfrom limx→−a

f(x).

I Likewise, limx→a+

f(x) meansthelimitas x approaches a from

theright.I Rememberthatthelimitlawsworkonlyiftheindividuallimitsexist.

Page 3: Lesson 7: The Derivative

. . . . . .

Problem1.4.32

ProblemFind lim

x→0+

√x[1+ sin2(2π/x)

]

Page 4: Lesson 7: The Derivative

. . . . . .

Problem1.4.32

ProblemFind lim

x→0+

√x[1+ sin2(2π/x)

]WrongSolution#1

limx→0+

√x[1+ sin2(2π/x)

]=

(limx→0+

√x)

limx→0+

[1+ sin2(2π/x)

]= 0 · lim

x→0+

[1+ sin2(2π/x)

]= 0

Youhavenotcheckedthat limx→0+

[1+ sin2(2π/x)

]exists.

Page 5: Lesson 7: The Derivative

. . . . . .

Problem1.4.32

ProblemFind lim

x→0+

√x[1+ sin2(2π/x)

]WrongSolution#1

limx→0+

√x[1+ sin2(2π/x)

]=

(limx→0+

√x)

limx→0+

[1+ sin2(2π/x)

]= 0 · lim

x→0+

[1+ sin2(2π/x)

]= 0

Youhavenotcheckedthat limx→0+

[1+ sin2(2π/x)

]exists.

Page 6: Lesson 7: The Derivative

. . . . . .

Problem1.4.32

ProblemFind lim

x→0+

√x[1+ sin2(2π/x)

]WrongSolution#2

limx→0+

√x[1+ sin2(2π/x)

]=

(limx→0+

√x)

limx→0+

[1+ sin2(2π/x)

]= 0 · lim

x→0+

[1+ sin2(2π/x)

]= 0 ·

[1+ lim

x→0+sin2(2π/x)

]= 0 · [1+ 0] = 0

Unfortunately, limx→0+

sin2(2π/x) doesnotexist.

Page 7: Lesson 7: The Derivative

. . . . . .

Problem1.4.32

ProblemFind lim

x→0+

√x[1+ sin2(2π/x)

]WrongSolution#2

limx→0+

√x[1+ sin2(2π/x)

]=

(limx→0+

√x)

limx→0+

[1+ sin2(2π/x)

]= 0 · lim

x→0+

[1+ sin2(2π/x)

]= 0 ·

[1+ lim

x→0+sin2(2π/x)

]= 0 · [1+ 0] = 0

Unfortunately, limx→0+

sin2(2π/x) doesnotexist.

Page 8: Lesson 7: The Derivative

. . . . . .

Problem1.4.32

ProblemFind lim

x→0+

√x[1+ sin2(2π/x)

]WrongSolution#3

limx→0+

√x[1+ sin2(2π/x)

]=

(limx→0+

√x)

limx→0+

[1+ sin2(2π/x)

]= 0 · lim

x→0+

[1+ sin2(2π/x)

]= 0 · [1+DNE]

= 0 · [1+DNE] = DNE

Remember“DNE” isnotanumberandlimitslawsonlyworkonfunctionsthathavelimits.

Page 9: Lesson 7: The Derivative

. . . . . .

Problem1.4.32

ProblemFind lim

x→0+

√x[1+ sin2(2π/x)

]WrongSolution#3

limx→0+

√x[1+ sin2(2π/x)

]=

(limx→0+

√x)

limx→0+

[1+ sin2(2π/x)

]= 0 · lim

x→0+

[1+ sin2(2π/x)

]= 0 · [1+DNE]

= 0 · [1+DNE] = DNE

Remember“DNE” isnotanumberandlimitslawsonlyworkonfunctionsthathavelimits.

Page 10: Lesson 7: The Derivative

. . . . . .

Problem1.4.32

ProblemFind lim

x→0+

√x[1+ sin2(2π/x)

]SolutionSince −1 ≤ sin(2π/x) ≤ 1 forall x > 0, wehave

0 ≤ sin2(2π/x) ≤ 1

=⇒ 1 ≤ 1+ sin2(2π/x) ≤ 2

=⇒√x ≤

√x[1+ sin2(2π/x)

]≤ 2

√x

Since limx→0+

√x = 0 = lim

x→0+2√x, bytheSqueezeTheoremitmust

alsobetruethat

limx→0+

√x[1+ sin2(2π/x)

]= 0

Page 11: Lesson 7: The Derivative

. . . . . .

WolframAlphaoutput

plot sqrt�x��1�sin^2�2pi�x�� from 0 to 1

Input interpretation:

plot x 1� sin22 Πx

x � 0 to 1

Plot:

0.2 0.4 0.6 0.8 1.0

0.5

1.0

1.5

Generated by Wolfram|Alpha (www.wolframalpha.com) on February 9, 2010 from Champaign, IL.© Wolfram Alpha LLC—A Wolfram Research Company

1

Page 12: Lesson 7: The Derivative

. . . . . .

Formatofwrittenwork

Please:I Usescratchpaperandcopyyourfinalworkontofreshpaper.

I Useloose-leafpaper(nottornfromanotebook).

I Writeyourname,lecturesection,assignmentnumber, anddateatthetop.

I Stapleyourhomeworktogether.

Seethewebsiteformoreinformation.

Page 13: Lesson 7: The Derivative

. . . . . .

Explanations

Fromthesyllabus:

Graderswillbeexpectingyoutoexpressyourideasclearly, legibly, andcompletely, oftenrequiringcompleteEnglishsentencesratherthanmerelyjustalongstringofequationsorunconnectedmathematicalexpressions. Thismeansyoucouldlosepointsforunexplainedanswers.

Page 14: Lesson 7: The Derivative

. . . . . .

Rubric

Points DescriptionofWork3 Work is completely accurate and essentially perfect.

Workisthoroughlydeveloped, neat, andeasytoread.Completesentencesareused.

2 Work is good, but incompletely developed, hard toread, unexplained, or jumbled. Answers which arenotexplained, evenifcorrect, willgenerallyreceive2points. Workcontains“rightidea”butisflawed.

1 Workissketchy. Thereissomecorrectwork, butmostofworkisincorrect.

0 Workminimalornon-existent. Solutioniscompletelyincorrect.

Page 15: Lesson 7: The Derivative

. . . . . .

Quiz1

Thefirstquizwillbeinrecitationthisweek.I ThequizcoversSections1.1–1.4.I Thequizcoversbothsidesofasheetofpaper: twoquestionswithparts.

I Thequizstartspromptlyatthebeginningofrecitationandlasts15minutes.

I Youmustgotothesectionyouareregisteredfor.

Page 16: Lesson 7: The Derivative

. . . . . .

Policyonout-of-sequenceexamsandquizzesFromthesyllabus

I Wemayapproveout-of-sequenceexamsandquizzesinthefollowingcases:1. A documentedmedicalexcuse.2. A Universitysponsoredeventsuchasanathletictournament,

aplay, oramusicalperformance.3. A religiousholiday.4. Extremehardshipsuchasafamilyemergency.

I Wewillnotbeabletoaccommodateout-of-sequenceexams, quizzes, andfinalsforpurposesofmoreconvenienttravel

I Wedropthelowestquiztogiveyouonefreepass.I IfyourequireadditionalaccommodationsasdeterminedbytheCenterforStudentDisabilities, pleaseletmeknowASAP.

Page 17: Lesson 7: The Derivative

. . . . . .

Outline

RatesofChangeTangentLinesVelocityPopulationgrowthMarginalcosts

Thederivative, definedDerivativesof(some)powerfunctionsWhatdoes f tellyouabout f′?

Howcanafunctionfailtobedifferentiable?

Othernotations

Thesecondderivative

Page 18: Lesson 7: The Derivative

. . . . . .

Thetangentproblem

ProblemGivenacurveandapointonthecurve, findtheslopeofthelinetangenttothecurveatthatpoint.

ExampleFindtheslopeofthelinetangenttothecurve y = x2 atthepoint(2, 4).

UpshotIfthecurveisgivenby y = f(x), andthepointonthecurveis(a, f(a)), thentheslopeofthetangentlineisgivenby

mtangent = limx→a

f(x)− f(a)x− a

Page 19: Lesson 7: The Derivative

. . . . . .

Thetangentproblem

ProblemGivenacurveandapointonthecurve, findtheslopeofthelinetangenttothecurveatthatpoint.

ExampleFindtheslopeofthelinetangenttothecurve y = x2 atthepoint(2, 4).

UpshotIfthecurveisgivenby y = f(x), andthepointonthecurveis(a, f(a)), thentheslopeofthetangentlineisgivenby

mtangent = limx→a

f(x)− f(a)x− a

Page 20: Lesson 7: The Derivative

. . . . . .

Graphicallyandnumerically

. .x

.y

..2

..4 .

x m =x2 − 22

x− 2

3 52.5 4.52.1 4.12.01 4.01limit 41.99 3.991.9 3.91.5 3.51 3

Page 21: Lesson 7: The Derivative

. . . . . .

Graphicallyandnumerically

. .x

.y

..2

..4 .

.

..3

..9

x m =x2 − 22

x− 23

52.5 4.52.1 4.12.01 4.01limit 41.99 3.991.9 3.91.5 3.51 3

Page 22: Lesson 7: The Derivative

. . . . . .

Graphicallyandnumerically

. .x

.y

..2

..4 .

.

..3

..9

x m =x2 − 22

x− 23 5

2.5 4.52.1 4.12.01 4.01limit 41.99 3.991.9 3.91.5 3.51 3

Page 23: Lesson 7: The Derivative

. . . . . .

Graphicallyandnumerically

. .x

.y

..2

..4 .

.

..2.5

..6.25

x m =x2 − 22

x− 23 52.5

4.52.1 4.12.01 4.01limit 41.99 3.991.9 3.91.5 3.51 3

Page 24: Lesson 7: The Derivative

. . . . . .

Graphicallyandnumerically

. .x

.y

..2

..4 .

.

..2.5

..6.25

x m =x2 − 22

x− 23 52.5 4.5

2.1 4.12.01 4.01limit 41.99 3.991.9 3.91.5 3.51 3

Page 25: Lesson 7: The Derivative

. . . . . .

Graphicallyandnumerically

. .x

.y

..2

..4 ..

..2.1

..4.41

x m =x2 − 22

x− 23 52.5 4.52.1

4.12.01 4.01limit 41.99 3.991.9 3.91.5 3.51 3

Page 26: Lesson 7: The Derivative

. . . . . .

Graphicallyandnumerically

. .x

.y

..2

..4 ..

..2.1

..4.41

x m =x2 − 22

x− 23 52.5 4.52.1 4.1

2.01 4.01limit 41.99 3.991.9 3.91.5 3.51 3

Page 27: Lesson 7: The Derivative

. . . . . .

Graphicallyandnumerically

. .x

.y

..2

..4 ..

..2.01

..4.0401

x m =x2 − 22

x− 23 52.5 4.52.1 4.12.01

4.01limit 41.99 3.991.9 3.91.5 3.51 3

Page 28: Lesson 7: The Derivative

. . . . . .

Graphicallyandnumerically

. .x

.y

..2

..4 ..

..2.01

..4.0401

x m =x2 − 22

x− 23 52.5 4.52.1 4.12.01 4.01

limit 41.99 3.991.9 3.91.5 3.51 3

Page 29: Lesson 7: The Derivative

. . . . . .

Graphicallyandnumerically

. .x

.y

..2

..4 .

.

..1

..1

x m =x2 − 22

x− 23 52.5 4.52.1 4.12.01 4.01

limit 41.99 3.991.9 3.91.5 3.5

1

3

Page 30: Lesson 7: The Derivative

. . . . . .

Graphicallyandnumerically

. .x

.y

..2

..4 .

.

..1

..1

x m =x2 − 22

x− 23 52.5 4.52.1 4.12.01 4.01

limit 41.99 3.991.9 3.91.5 3.5

1 3

Page 31: Lesson 7: The Derivative

. . . . . .

Graphicallyandnumerically

. .x

.y

..2

..4 .

.

..1.5

..2.25

x m =x2 − 22

x− 23 52.5 4.52.1 4.12.01 4.01

limit 41.99 3.991.9 3.9

1.5

3.5

1 3

Page 32: Lesson 7: The Derivative

. . . . . .

Graphicallyandnumerically

. .x

.y

..2

..4 .

.

..1.5

..2.25

x m =x2 − 22

x− 23 52.5 4.52.1 4.12.01 4.01

limit 41.99 3.991.9 3.9

1.5 3.51 3

Page 33: Lesson 7: The Derivative

. . . . . .

Graphicallyandnumerically

. .x

.y

..2

..4 ..

..1.9

..3.61

x m =x2 − 22

x− 23 52.5 4.52.1 4.12.01 4.01

limit 41.99 3.99

1.9

3.9

1.5 3.51 3

Page 34: Lesson 7: The Derivative

. . . . . .

Graphicallyandnumerically

. .x

.y

..2

..4 ..

..1.9

..3.61.

..1.99

..3.9601

x m =x2 − 22

x− 23 52.5 4.52.1 4.12.01 4.01

limit 41.99 3.99

1.9 3.91.5 3.51 3

Page 35: Lesson 7: The Derivative

. . . . . .

Graphicallyandnumerically

. .x

.y

..2

..4 ..

..1.99

..3.9601

x m =x2 − 22

x− 23 52.5 4.52.1 4.12.01 4.01

limit 4

1.99

3.99

1.9 3.91.5 3.51 3

Page 36: Lesson 7: The Derivative

. . . . . .

Graphicallyandnumerically

. .x

.y

..2

..4 .

x m =x2 − 22

x− 23 52.5 4.52.1 4.12.01 4.01

limit 4

1.99 3.991.9 3.91.5 3.51 3

Page 37: Lesson 7: The Derivative

. . . . . .

Graphicallyandnumerically

. .x

.y

..2

..4 .

.

..3

..9

.

..2.5

..6.25

.

..2.1

..4.41 .

..2.01

..4.0401

.

..1

..1

.

..1.5

..2.25

.

..1.9

..3.61.

..1.99

..3.9601

x m =x2 − 22

x− 23 52.5 4.52.1 4.12.01 4.01limit 41.99 3.991.9 3.91.5 3.51 3

Page 38: Lesson 7: The Derivative

. . . . . .

Thetangentproblem

ProblemGivenacurveandapointonthecurve, findtheslopeofthelinetangenttothecurveatthatpoint.

ExampleFindtheslopeofthelinetangenttothecurve y = x2 atthepoint(2, 4).

UpshotIfthecurveisgivenby y = f(x), andthepointonthecurveis(a, f(a)), thentheslopeofthetangentlineisgivenby

mtangent = limx→a

f(x)− f(a)x− a

Page 39: Lesson 7: The Derivative

. . . . . .

VelocityProblemGiventhepositionfunctionofamovingobject, findthevelocityoftheobjectatacertaininstantintime.

ExampleDropaballofftheroofoftheSilverCentersothatitsheightcanbedescribedby

h(t) = 50− 5t2

where t issecondsafterdroppingitand h ismetersabovetheground. Howfastisitfallingonesecondafterwedropit?

SolutionTheansweris

v = limt→1

(50− 5t2)− 45t− 1

= limt→1

5− 5t2

t− 1= lim

t→1

5(1− t)(1+ t)t− 1

= (−5) limt→1

(1+ t) = −5 · 2 = −10

Page 40: Lesson 7: The Derivative

. . . . . .

Numericalevidence

t vave =h(t)− h(1)

t− 12 − 15

1.5 − 12.51.1 − 10.51.01 − 10.051.001 − 10.005

Page 41: Lesson 7: The Derivative

. . . . . .

Numericalevidence

t vave =h(t)− h(1)

t− 12 − 151.5

− 12.51.1 − 10.51.01 − 10.051.001 − 10.005

Page 42: Lesson 7: The Derivative

. . . . . .

Numericalevidence

t vave =h(t)− h(1)

t− 12 − 151.5 − 12.5

1.1 − 10.51.01 − 10.051.001 − 10.005

Page 43: Lesson 7: The Derivative

. . . . . .

Numericalevidence

t vave =h(t)− h(1)

t− 12 − 151.5 − 12.51.1

− 10.51.01 − 10.051.001 − 10.005

Page 44: Lesson 7: The Derivative

. . . . . .

Numericalevidence

t vave =h(t)− h(1)

t− 12 − 151.5 − 12.51.1 − 10.5

1.01 − 10.051.001 − 10.005

Page 45: Lesson 7: The Derivative

. . . . . .

Numericalevidence

t vave =h(t)− h(1)

t− 12 − 151.5 − 12.51.1 − 10.51.01

− 10.051.001 − 10.005

Page 46: Lesson 7: The Derivative

. . . . . .

Numericalevidence

t vave =h(t)− h(1)

t− 12 − 151.5 − 12.51.1 − 10.51.01 − 10.05

1.001 − 10.005

Page 47: Lesson 7: The Derivative

. . . . . .

Numericalevidence

t vave =h(t)− h(1)

t− 12 − 151.5 − 12.51.1 − 10.51.01 − 10.051.001

− 10.005

Page 48: Lesson 7: The Derivative

. . . . . .

Numericalevidence

t vave =h(t)− h(1)

t− 12 − 151.5 − 12.51.1 − 10.51.01 − 10.051.001 − 10.005

Page 49: Lesson 7: The Derivative

. . . . . .

VelocityProblemGiventhepositionfunctionofamovingobject, findthevelocityoftheobjectatacertaininstantintime.

ExampleDropaballofftheroofoftheSilverCentersothatitsheightcanbedescribedby

h(t) = 50− 5t2

where t issecondsafterdroppingitand h ismetersabovetheground. Howfastisitfallingonesecondafterwedropit?

SolutionTheansweris

v = limt→1

(50− 5t2)− 45t− 1

= limt→1

5− 5t2

t− 1= lim

t→1

5(1− t)(1+ t)t− 1

= (−5) limt→1

(1+ t) = −5 · 2 = −10

Page 50: Lesson 7: The Derivative

. . . . . .

UpshotIftheheightfunctionisgivenby h(t), theinstantaneousvelocityattime t0 isgivenby

v = limt→t0

h(t)− h(t0)t− t0

= lim∆t→0

h(t0 +∆t)− h(t0)∆t

. .t

.y = h(t).

.

..t0

..t

.∆t

Page 51: Lesson 7: The Derivative

. . . . . .

Populationgrowth

ProblemGiventhepopulationfunctionofagroupoforganisms, findtherateofgrowthofthepopulationataparticularinstant.

ExampleSupposethepopulationoffishintheEastRiverisgivenbythefunction

P(t) =3et

1+ et

where t isinyearssince2000and P isinmillionsoffish. Isthefishpopulationgrowingfastestin1990, 2000, or2010? (Estimatenumerically)

SolutionWeestimatestheratesofgrowthtobe 0.000143229, 0.749376,and 0.0001296. Sothepopulationisgrowingfastestin2000.

Page 52: Lesson 7: The Derivative

. . . . . .

Populationgrowth

ProblemGiventhepopulationfunctionofagroupoforganisms, findtherateofgrowthofthepopulationataparticularinstant.

ExampleSupposethepopulationoffishintheEastRiverisgivenbythefunction

P(t) =3et

1+ et

where t isinyearssince2000and P isinmillionsoffish. Isthefishpopulationgrowingfastestin1990, 2000, or2010? (Estimatenumerically)

SolutionWeestimatestheratesofgrowthtobe 0.000143229, 0.749376,and 0.0001296. Sothepopulationisgrowingfastestin2000.

Page 53: Lesson 7: The Derivative

. . . . . .

Derivation

Let ∆t beanincrementintimeand ∆P thecorrespondingchangeinpopulation:

∆P = P(t+∆t)− P(t)

Thisdependson ∆t, sowewant

lim∆t→0

∆P∆t

= lim∆t→0

1∆t

(3et+∆t

1+ et+∆t −3et

1+ et

)

Toohard! Tryasmall ∆t toapproximate.

Page 54: Lesson 7: The Derivative

. . . . . .

Derivation

Let ∆t beanincrementintimeand ∆P thecorrespondingchangeinpopulation:

∆P = P(t+∆t)− P(t)

Thisdependson ∆t, sowewant

lim∆t→0

∆P∆t

= lim∆t→0

1∆t

(3et+∆t

1+ et+∆t −3et

1+ et

)Toohard! Tryasmall ∆t toapproximate.

Page 55: Lesson 7: The Derivative

. . . . . .

Numericalevidence

r1990 ≈ P(−10+ 0.1)− P(−10)0.1

=

0.000143229

r2000 ≈ P(0.1)− P(0)0.1

= 0.749376

r2010 ≈ P(10+ 0.1)− P(10)0.1

= 0.0001296

Page 56: Lesson 7: The Derivative

. . . . . .

Numericalevidence

r1990 ≈ P(−10+ 0.1)− P(−10)0.1

= 0.000143229

r2000 ≈ P(0.1)− P(0)0.1

= 0.749376

r2010 ≈ P(10+ 0.1)− P(10)0.1

= 0.0001296

Page 57: Lesson 7: The Derivative

. . . . . .

Numericalevidence

r1990 ≈ P(−10+ 0.1)− P(−10)0.1

= 0.000143229

r2000 ≈ P(0.1)− P(0)0.1

=

0.749376

r2010 ≈ P(10+ 0.1)− P(10)0.1

= 0.0001296

Page 58: Lesson 7: The Derivative

. . . . . .

Numericalevidence

r1990 ≈ P(−10+ 0.1)− P(−10)0.1

= 0.000143229

r2000 ≈ P(0.1)− P(0)0.1

= 0.749376

r2010 ≈ P(10+ 0.1)− P(10)0.1

= 0.0001296

Page 59: Lesson 7: The Derivative

. . . . . .

Numericalevidence

r1990 ≈ P(−10+ 0.1)− P(−10)0.1

= 0.000143229

r2000 ≈ P(0.1)− P(0)0.1

= 0.749376

r2010 ≈ P(10+ 0.1)− P(10)0.1

=

0.0001296

Page 60: Lesson 7: The Derivative

. . . . . .

Numericalevidence

r1990 ≈ P(−10+ 0.1)− P(−10)0.1

= 0.000143229

r2000 ≈ P(0.1)− P(0)0.1

= 0.749376

r2010 ≈ P(10+ 0.1)− P(10)0.1

= 0.0001296

Page 61: Lesson 7: The Derivative

. . . . . .

Populationgrowth

ProblemGiventhepopulationfunctionofagroupoforganisms, findtherateofgrowthofthepopulationataparticularinstant.

ExampleSupposethepopulationoffishintheEastRiverisgivenbythefunction

P(t) =3et

1+ et

where t isinyearssince2000and P isinmillionsoffish. Isthefishpopulationgrowingfastestin1990, 2000, or2010? (Estimatenumerically)

SolutionWeestimatestheratesofgrowthtobe 0.000143229, 0.749376,and 0.0001296. Sothepopulationisgrowingfastestin2000.

Page 62: Lesson 7: The Derivative

. . . . . .

UpshotTheinstantaneouspopulationgrowthisgivenby

lim∆t→0

P(t+∆t)− P(t)∆t

Page 63: Lesson 7: The Derivative

. . . . . .

Marginalcosts

ProblemGiventheproductioncostofagood, findthemarginalcostofproductionafterhavingproducedacertainquantity.

ExampleSupposethecostofproducing q tonsofriceonourpaddyinayearis

C(q) = q3 − 12q2 + 60q

Wearecurrentlyproducing 5 tonsayear. Shouldwechangethat?

ExampleIf q = 5, then C = 125, ∆C = 19, while AC = 25. Soweshouldproducemoretoloweraveragecosts.

Page 64: Lesson 7: The Derivative

. . . . . .

Marginalcosts

ProblemGiventheproductioncostofagood, findthemarginalcostofproductionafterhavingproducedacertainquantity.

ExampleSupposethecostofproducing q tonsofriceonourpaddyinayearis

C(q) = q3 − 12q2 + 60q

Wearecurrentlyproducing 5 tonsayear. Shouldwechangethat?

ExampleIf q = 5, then C = 125, ∆C = 19, while AC = 25. Soweshouldproducemoretoloweraveragecosts.

Page 65: Lesson 7: The Derivative

. . . . . .

Comparisons

q C(q)

AC(q) = C(q)/q ∆C = C(q+ 1)− C(q)

4

112 28 13

5

125 25 19

6

144 24 31

Page 66: Lesson 7: The Derivative

. . . . . .

Comparisons

q C(q)

AC(q) = C(q)/q ∆C = C(q+ 1)− C(q)

4 112

28 13

5

125 25 19

6

144 24 31

Page 67: Lesson 7: The Derivative

. . . . . .

Comparisons

q C(q)

AC(q) = C(q)/q ∆C = C(q+ 1)− C(q)

4 112

28 13

5 125

25 19

6

144 24 31

Page 68: Lesson 7: The Derivative

. . . . . .

Comparisons

q C(q)

AC(q) = C(q)/q ∆C = C(q+ 1)− C(q)

4 112

28 13

5 125

25 19

6 144

24 31

Page 69: Lesson 7: The Derivative

. . . . . .

Comparisons

q C(q) AC(q) = C(q)/q

∆C = C(q+ 1)− C(q)

4 112

28 13

5 125

25 19

6 144

24 31

Page 70: Lesson 7: The Derivative

. . . . . .

Comparisons

q C(q) AC(q) = C(q)/q

∆C = C(q+ 1)− C(q)

4 112 28

13

5 125

25 19

6 144

24 31

Page 71: Lesson 7: The Derivative

. . . . . .

Comparisons

q C(q) AC(q) = C(q)/q

∆C = C(q+ 1)− C(q)

4 112 28

13

5 125 25

19

6 144

24 31

Page 72: Lesson 7: The Derivative

. . . . . .

Comparisons

q C(q) AC(q) = C(q)/q

∆C = C(q+ 1)− C(q)

4 112 28

13

5 125 25

19

6 144 24

31

Page 73: Lesson 7: The Derivative

. . . . . .

Comparisons

q C(q) AC(q) = C(q)/q ∆C = C(q+ 1)− C(q)4 112 28

13

5 125 25

19

6 144 24

31

Page 74: Lesson 7: The Derivative

. . . . . .

Comparisons

q C(q) AC(q) = C(q)/q ∆C = C(q+ 1)− C(q)4 112 28 135 125 25

19

6 144 24

31

Page 75: Lesson 7: The Derivative

. . . . . .

Comparisons

q C(q) AC(q) = C(q)/q ∆C = C(q+ 1)− C(q)4 112 28 135 125 25 196 144 24

31

Page 76: Lesson 7: The Derivative

. . . . . .

Comparisons

q C(q) AC(q) = C(q)/q ∆C = C(q+ 1)− C(q)4 112 28 135 125 25 196 144 24 31

Page 77: Lesson 7: The Derivative

. . . . . .

Marginalcosts

ProblemGiventheproductioncostofagood, findthemarginalcostofproductionafterhavingproducedacertainquantity.

ExampleSupposethecostofproducing q tonsofriceonourpaddyinayearis

C(q) = q3 − 12q2 + 60q

Wearecurrentlyproducing 5 tonsayear. Shouldwechangethat?

ExampleIf q = 5, then C = 125, ∆C = 19, while AC = 25. Soweshouldproducemoretoloweraveragecosts.

Page 78: Lesson 7: The Derivative

. . . . . .

Upshot

I Theincrementalcost

∆C = C(q+ 1)− C(q)

isuseful, butdependsonunits.

I Themarginalcostafterproducing q givenby

MC = lim∆q→0

C(q+∆q)− C(q)∆q

ismoreusefulsinceit’sunit-independent.

Page 79: Lesson 7: The Derivative

. . . . . .

Upshot

I Theincrementalcost

∆C = C(q+ 1)− C(q)

isuseful, butdependsonunits.I Themarginalcostafterproducing q givenby

MC = lim∆q→0

C(q+∆q)− C(q)∆q

ismoreusefulsinceit’sunit-independent.

Page 80: Lesson 7: The Derivative

. . . . . .

Outline

RatesofChangeTangentLinesVelocityPopulationgrowthMarginalcosts

Thederivative, definedDerivativesof(some)powerfunctionsWhatdoes f tellyouabout f′?

Howcanafunctionfailtobedifferentiable?

Othernotations

Thesecondderivative

Page 81: Lesson 7: The Derivative

. . . . . .

Thedefinition

Alloftheseratesofchangearefoundthesameway!

DefinitionLet f beafunctionand a apointinthedomainof f. Ifthelimit

f′(a) = limh→0

f(a+ h)− f(a)h

= limx→a

f(x)− f(a)x− a

exists, thefunctionissaidtobe differentiableat a and f′(a) isthederivativeof f at a.

Page 82: Lesson 7: The Derivative

. . . . . .

Thedefinition

Alloftheseratesofchangearefoundthesameway!

DefinitionLet f beafunctionand a apointinthedomainof f. Ifthelimit

f′(a) = limh→0

f(a+ h)− f(a)h

= limx→a

f(x)− f(a)x− a

exists, thefunctionissaidtobe differentiableat a and f′(a) isthederivativeof f at a.

Page 83: Lesson 7: The Derivative

. . . . . .

Derivativeofthesquaringfunction

ExampleSuppose f(x) = x2. Usethedefinitionofderivativetofind f′(a).

Solution

f′(a) = limh→0

f(a+ h)− f(a)h

= limh→0

(a+ h)2 − a2

h

= limh→0

(a2 + 2ah+ h2)− a2

h= lim

h→0

2ah+ h2

h= lim

h→0(2a+ h) = 2a.

Page 84: Lesson 7: The Derivative

. . . . . .

Derivativeofthesquaringfunction

ExampleSuppose f(x) = x2. Usethedefinitionofderivativetofind f′(a).

Solution

f′(a) = limh→0

f(a+ h)− f(a)h

= limh→0

(a+ h)2 − a2

h

= limh→0

(a2 + 2ah+ h2)− a2

h= lim

h→0

2ah+ h2

h= lim

h→0(2a+ h) = 2a.

Page 85: Lesson 7: The Derivative

. . . . . .

Derivativeofthereciprocalfunction

Example

Suppose f(x) =1x. Usethe

definitionofthederivativetofind f′(2).

Solution

f′(2) = limx→2

1/x− 1/2x− 2

= limx→2

2− x2x(x− 2)

= limx→2

−12x

= −14

. .x

.x

.

Page 86: Lesson 7: The Derivative

. . . . . .

Derivativeofthereciprocalfunction

Example

Suppose f(x) =1x. Usethe

definitionofthederivativetofind f′(2).

Solution

f′(2) = limx→2

1/x− 1/2x− 2

= limx→2

2− x2x(x− 2)

= limx→2

−12x

= −14

. .x

.x

.

Page 87: Lesson 7: The Derivative

. . . . . .

TheSure-FireSallyRule(SFSR) foraddingFractionsInanticipationofthequestion, “Howdidyougetthat?”

ab± c

d=

ad± bcbd

So

1x− 1

2x− 2

=

2− x2x

x− 2

=2− x

2x(x− 2)

Page 88: Lesson 7: The Derivative

. . . . . .

TheSure-FireSallyRule(SFSR) foraddingFractionsInanticipationofthequestion, “Howdidyougetthat?”

ab± c

d=

ad± bcbd

So

1x− 1

2x− 2

=

2− x2x

x− 2

=2− x

2x(x− 2)

Page 89: Lesson 7: The Derivative

. . . . . .

Whatdoes f tellyouabout f′?

I If f isafunction, wecancomputethederivative f′(x) ateachpoint x where f isdifferentiable, andcomeupwithanotherfunction, thederivativefunction.

I Whatcanwesayaboutthisfunction f′?

I If f isdecreasingonaninterval, f′ isnegative(technically,nonpositive)onthatinterval

I If f isincreasingonaninterval, f′ ispositive(technically,nonnegative)onthatinterval

Page 90: Lesson 7: The Derivative

. . . . . .

Whatdoes f tellyouabout f′?

I If f isafunction, wecancomputethederivative f′(x) ateachpoint x where f isdifferentiable, andcomeupwithanotherfunction, thederivativefunction.

I Whatcanwesayaboutthisfunction f′?I If f isdecreasingonaninterval, f′ isnegative(technically,nonpositive)onthatinterval

I If f isincreasingonaninterval, f′ ispositive(technically,nonnegative)onthatinterval

Page 91: Lesson 7: The Derivative

. . . . . .

Derivativeofthereciprocalfunction

Example

Suppose f(x) =1x. Usethe

definitionofthederivativetofind f′(2).

Solution

f′(2) = limx→2

1/x− 1/2x− 2

= limx→2

2− x2x(x− 2)

= limx→2

−12x

= −14

. .x

.x

.

Page 92: Lesson 7: The Derivative

. . . . . .

Whatdoes f tellyouabout f′?

I If f isafunction, wecancomputethederivative f′(x) ateachpoint x where f isdifferentiable, andcomeupwithanotherfunction, thederivativefunction.

I Whatcanwesayaboutthisfunction f′?I If f isdecreasingonaninterval, f′ isnegative(technically,nonpositive)onthatinterval

I If f isincreasingonaninterval, f′ ispositive(technically,nonnegative)onthatinterval

Page 93: Lesson 7: The Derivative

. . . . . .

Graphicallyandnumerically

. .x

.y

..2

..4 .

.

..1

..1

x m =x2 − 22

x− 23 52.5 4.52.1 4.12.01 4.01

limit 41.99 3.991.9 3.91.5 3.5

1

3

Page 94: Lesson 7: The Derivative

. . . . . .

Whatdoes f tellyouabout f′?FactIf f isdecreasingon (a,b), then f′ ≤ 0 on (a,b).

Proof.If f isdecreasingon (a,b), and ∆x > 0, then

f(x+∆x) < f(x) =⇒ f(x+∆x)− f(x)∆x

< 0

Butif ∆x < 0, then x+∆x < x, and

f(x+∆x) > f(x) =⇒ f(x+∆x)− f(x)∆x

< 0

still! Eitherway,f(x+∆x)− f(x)

∆x< 0, so

f′(x) = lim∆x→0

f(x+∆x)− f(x)∆x

≤ 0

Page 95: Lesson 7: The Derivative

. . . . . .

Whatdoes f tellyouabout f′?FactIf f isdecreasingon (a,b), then f′ ≤ 0 on (a,b).

Proof.If f isdecreasingon (a,b), and ∆x > 0, then

f(x+∆x) < f(x) =⇒ f(x+∆x)− f(x)∆x

< 0

Butif ∆x < 0, then x+∆x < x, and

f(x+∆x) > f(x) =⇒ f(x+∆x)− f(x)∆x

< 0

still!

Eitherway,f(x+∆x)− f(x)

∆x< 0, so

f′(x) = lim∆x→0

f(x+∆x)− f(x)∆x

≤ 0

Page 96: Lesson 7: The Derivative

. . . . . .

Whatdoes f tellyouabout f′?FactIf f isdecreasingon (a,b), then f′ ≤ 0 on (a,b).

Proof.If f isdecreasingon (a,b), and ∆x > 0, then

f(x+∆x) < f(x) =⇒ f(x+∆x)− f(x)∆x

< 0

Butif ∆x < 0, then x+∆x < x, and

f(x+∆x) > f(x) =⇒ f(x+∆x)− f(x)∆x

< 0

still! Eitherway,f(x+∆x)− f(x)

∆x< 0, so

f′(x) = lim∆x→0

f(x+∆x)− f(x)∆x

≤ 0

Page 97: Lesson 7: The Derivative

. . . . . .

Outline

RatesofChangeTangentLinesVelocityPopulationgrowthMarginalcosts

Thederivative, definedDerivativesof(some)powerfunctionsWhatdoes f tellyouabout f′?

Howcanafunctionfailtobedifferentiable?

Othernotations

Thesecondderivative

Page 98: Lesson 7: The Derivative

. . . . . .

Differentiabilityissuper-continuity

TheoremIf f isdifferentiableat a, then f iscontinuousat a.

Proof.Wehave

limx→a

(f(x)− f(a)) = limx→a

f(x)− f(a)x− a

· (x− a)

= limx→a

f(x)− f(a)x− a

· limx→a

(x− a)

= f′(a) · 0 = 0

Notetheproperuseofthelimitlaw: if thefactorseachhavealimitat a, thelimitoftheproductistheproductofthelimits.

Page 99: Lesson 7: The Derivative

. . . . . .

Differentiabilityissuper-continuity

TheoremIf f isdifferentiableat a, then f iscontinuousat a.

Proof.Wehave

limx→a

(f(x)− f(a)) = limx→a

f(x)− f(a)x− a

· (x− a)

= limx→a

f(x)− f(a)x− a

· limx→a

(x− a)

= f′(a) · 0 = 0

Notetheproperuseofthelimitlaw: if thefactorseachhavealimitat a, thelimitoftheproductistheproductofthelimits.

Page 100: Lesson 7: The Derivative

. . . . . .

Differentiabilityissuper-continuity

TheoremIf f isdifferentiableat a, then f iscontinuousat a.

Proof.Wehave

limx→a

(f(x)− f(a)) = limx→a

f(x)− f(a)x− a

· (x− a)

= limx→a

f(x)− f(a)x− a

· limx→a

(x− a)

= f′(a) · 0 = 0

Notetheproperuseofthelimitlaw: if thefactorseachhavealimitat a, thelimitoftheproductistheproductofthelimits.

Page 101: Lesson 7: The Derivative

. . . . . .

DifferentiabilityFAILKinks

. .x

.f(x)

. .x

.f′(x)

.

.

Page 102: Lesson 7: The Derivative

. . . . . .

DifferentiabilityFAILKinks

. .x

.f(x)

. .x

.f′(x)

.

.

Page 103: Lesson 7: The Derivative

. . . . . .

DifferentiabilityFAILKinks

. .x

.f(x)

. .x

.f′(x)

.

.

Page 104: Lesson 7: The Derivative

. . . . . .

DifferentiabilityFAILCusps

. .x

.f(x)

. .x

.f′(x)

Page 105: Lesson 7: The Derivative

. . . . . .

DifferentiabilityFAILCusps

. .x

.f(x)

. .x

.f′(x)

Page 106: Lesson 7: The Derivative

. . . . . .

DifferentiabilityFAILCusps

. .x

.f(x)

. .x

.f′(x)

Page 107: Lesson 7: The Derivative

. . . . . .

DifferentiabilityFAILVerticalTangents

. .x

.f(x)

. .x

.f′(x)

Page 108: Lesson 7: The Derivative

. . . . . .

DifferentiabilityFAILVerticalTangents

. .x

.f(x)

. .x

.f′(x)

Page 109: Lesson 7: The Derivative

. . . . . .

DifferentiabilityFAILVerticalTangents

. .x

.f(x)

. .x

.f′(x)

Page 110: Lesson 7: The Derivative

. . . . . .

DifferentiabilityFAILWeird, Wild, Stuff

. .x

.f(x)

Thisfunctionisdifferentiableat 0.

. .x

.f′(x)

Butthederivativeisnotcontinuousat 0!

Page 111: Lesson 7: The Derivative

. . . . . .

DifferentiabilityFAILWeird, Wild, Stuff

. .x

.f(x)

Thisfunctionisdifferentiableat 0.

. .x

.f′(x)

Butthederivativeisnotcontinuousat 0!

Page 112: Lesson 7: The Derivative

. . . . . .

Outline

RatesofChangeTangentLinesVelocityPopulationgrowthMarginalcosts

Thederivative, definedDerivativesof(some)powerfunctionsWhatdoes f tellyouabout f′?

Howcanafunctionfailtobedifferentiable?

Othernotations

Thesecondderivative

Page 113: Lesson 7: The Derivative

. . . . . .

Notation

I Newtoniannotation

f′(x) y′(x) y′

I Leibniziannotation

dydx

ddx

f(x)dfdx

Theseallmeanthesamething.

Page 114: Lesson 7: The Derivative

. . . . . .

MeettheMathematician: IsaacNewton

I English, 1643–1727I ProfessoratCambridge(England)

I PhilosophiaeNaturalisPrincipiaMathematicapublished1687

Page 115: Lesson 7: The Derivative

. . . . . .

MeettheMathematician: GottfriedLeibniz

I German, 1646–1716I Eminentphilosopheraswellasmathematician

I Contemporarilydisgracedbythecalculusprioritydispute

Page 116: Lesson 7: The Derivative

. . . . . .

Outline

RatesofChangeTangentLinesVelocityPopulationgrowthMarginalcosts

Thederivative, definedDerivativesof(some)powerfunctionsWhatdoes f tellyouabout f′?

Howcanafunctionfailtobedifferentiable?

Othernotations

Thesecondderivative

Page 117: Lesson 7: The Derivative

. . . . . .

Thesecondderivative

If f isafunction, sois f′, andwecanseekitsderivative.

f′′ = (f′)′

Itmeasurestherateofchangeoftherateofchange!

Leibniziannotation:

d2ydx2

d2

dx2f(x)

d2fdx2

Page 118: Lesson 7: The Derivative

. . . . . .

Thesecondderivative

If f isafunction, sois f′, andwecanseekitsderivative.

f′′ = (f′)′

Itmeasurestherateofchangeoftherateofchange! Leibniziannotation:

d2ydx2

d2

dx2f(x)

d2fdx2

Page 119: Lesson 7: The Derivative

. . . . . .

function, derivative, secondderivative

. .x

.y

.f(x) = x2

.f′(x) = 2x

.f′′(x) = 2

Page 120: Lesson 7: The Derivative

. . . . . .

Whathavewelearnedtoday?

I ThederivativemeasuresinstantaneousrateofchangeI Thederivativehasmanyinterpretations: slopeofthetangentline, velocity, marginalquantities, etc.

I Thederivativereflectsthemonotonicity(increasingordecreasing)ofthegraph