Differenting Useful Functions - Calculus
Differenting Useful Functions - Calculus
6.1DerivativesofMostUsefulFunctions
Rationalfunctionsareanimportantandusefulclassoffunctions,butthereareothers.Weactuallygetmostusefulfunctionsby
startingwithtwoadditionalfunctionsbeyondtheidentityfunction,andallowingtwomoreoperationsinadditiontoaddition
subtractionmultiplicationanddivision.
Whatadditionalstartingfunctions?
Thetwoaretheexponentialfunction,whichwewillwriteforthemomentasexp(x),andthesinefunction,whichis
generallywrittenassin(x).
Andwhatarethese?
Wewilldevotesometimeandefforttointroducinganddescribingthesetwofunctionsandtheirmanywonderfulproperties
verysoon.Fornow,allwecareaboutisthattheyexist,youcanfindthemonspreadsheetsandscientificcalculators,andwe
canperformarithmeticoperations(addition,subtraction,multiplicationanddivision)onthem.Ifyouwantjustahint,thesine
functionisthebasicfunctionofthestudyofangles,whichiscalledtrigonometry.Theexponentfunctionisdefinedinterms
ofderivatives.Itisthefunctionwhosevalueatargument0is1,thathasderivativeeverywherethatisthesameasitself.
Wehave
Thisdefinitionmaymakethefunctionabitmysterioustoyouatfirst,butyouhavetoadmitthatitmakesiteasyto
differentiatethisfunction.
Andwhatadditionaloperationsarethere?
Thetwonewoperationsthatwewanttousearesubstitution,andinversion.
Andwhatarethese?
Ifwehavetwofunctions,fandg,withvaluesf(x)andg(x)atargumentx,wecanconstructanewfunction,whichwewriteas
f(g),thatisgottenbyusingthevalueofgatargumentxastheargumentoff.Thevalueoff(g)atx,whichwewriteas
f(g(x)),isthevalueoffatargumentgivenbythevalueofgatxitisthevalueoffatargumentg(x).Wecallthisnew
functionthesubstitutionofgintof.We'llgettoinversionnext.
Ifyousubstituteapolynomialintoapolynomial,youjustgetapolynomial,andifyousubstitutearationalfunctionintoa
rationalfunction,youstillhavearationalfunction.Butifyousubstitutethesethingsintoexponentialsandsinesyouget
entirelynewthings(likeexp(cx2))whichisthebasicfunctionofprobabilitytheory.
Justasutilizingcopiesoftheexponentialorsinefunctionspresentsnoproblemtoaspreadsheetorscientificcalculator,
substitutionpresentsnorealproblem.Youcancreateg(A10)inB10,andthenf(B10)inC(10)andyouhavecreatedthe
substitutedvaluef(g(A10))inC10.Youcan,byrepeatingthisprocedure,constructthemosthorriblelookingcombinationof
substitutionsandarithmeticaloperationsimaginable,andevenworsethanyoucouldimagine,withverylittledifficulty,and
youcanfindtheirnumericalderivativesaswell.
Beforewegoontothelastoperation,wenotethatthereisagreatpropertyassociatedwiththeoperationofsubstitution.Justas
wehavefoundformulaeaboveforfindingthederivativeofasumorproductorratiooffunctionswhosederivativesweknow,
wehaveaneatformulaforthederivativeofasubstitutionfunctionintermsofthethederivativesofitsconstituents.
Actuallyitisaboutassimpleaformulaforthisascouldbe.
Theresultisoftencalledthechainrule:
Thederivativef(g(x))withrespecttoxatsomeargumentz,likeanyotherderivative,istheslopeofthestraightlinetangentto
thisfunction,atargumentz.Thisslope,likeallslopes,istheratioofthechangeinthegivenfunctiontoachangeinits
argument,inanyintervalverynearargumentz.
Supposethen,wemakeaverysmallchangeinthevariablex,veryneartox=z,achangethatissufficientlysmallthatthe
linearapproximationtogandtof(g)areextremelyaccuratewithintheintervalofchange.Letuscallthatchangedx.Thiswill
causeachangeing(x)ofg'(z)dx,(becausethedefinitionofg'(z)istheratioofthechangeofgtothechangeofxforxvery
neartoz.)
Ifg'(z)is0,thengwillnotchangeandneitherwillf(g(x)),whichdependsonxonlyinthatitsargumentgdependsonx.
Ifg'(z)isnot0,wecandefinedgtobeg'(z)dx,andusethefactthatthechangeinfforargumentsnearg(z)isgivenby
isevaluatedforargumentsofgnearg(z).
Ifweputthesetwostatementstogether,whichwecandobysubstitutingforg'(z)dxfordgintheexpressionherefordf,we
findthatthechangeinfisgivenbythechangeinzmultipliedbytheproductofthetwoderivativesandthechangeinx:
Ifwenowdividebothsidesbydx,weobtainthefamous"chainrule",whichtellsushowtocomputethederivativeofa
functiondefinedbysubstitutingonefunctioninanother.
Itfollowsfromthisremarkthatthechainrulesreads
Inwords,thismeansthatthederivativeofthesubstitutedfunctionwithvaluesf(g(z)),withrespecttothevariablezis
theproductofthederivativesoftheconstituentfunctionsfandg,takenattherelevantarguments:whicharezitself
forgandg(z)forf.
Howaboutsomeexamples?
Wewillgivetwoexamples,butyoushouldworkoutatleastadozenforyourself.
Example1:Supposewesubstitutethefunctiongdescribedbyvaluesg(x)=x2+1intothefunctionfdescribedby
valuesf(x)=x33.Thesubstitutedfunctionf(g)hasvaluesf(g(x))=(x2+1)33.
Letuscomputethederivativeofthisfunction.Thederivativeoff(s)withrespecttosis3s2,whilethederivativeofg(x)with
respecttoxis2x.
Ifwesets=g(x)andtaketheproductofthesetwoweget:
Youcouldmultiplythecubehereoutandthendifferentiatetogetthesameanswer,butthatismuchmessier,andmostpeople
wouldmakeatleastonemistakeindoingit.Youhaveachanceofgettingsuchthingsrighteventhefirsttime,ifyoudothem
bythechainrule.(Unfortunately,ifyoudo,youwillnotgetanypracticedebuggingfromit.)
Example2:Findthederivativeofthefunctionwhosevaluesare .
Thisisthefunctionobtainedbysubstitutingthefunctionwithvalues intotheexponentialfunction.
Nowthederivativeofthefunctionwithvalues isthefunctionwithvaluesx(rememberthattheexponentialfunctionis
itsownderivative.)
Onapplyingthechainrulewefind:
Exercises:
7.1Writeanexpressionfortheresultofsubstitutinggintoftoformf(g)forthefollowingpairsoffunctions,andfind
expressionsfortheirderivativesusingthechainrule.
a.fdefinedby ,gdefinedby .
b.fdefinedbyf(x)=x,gbyg(x)=exp(x).
c.fdefinedbyf(x)=exp(x),gbyg(x)=x.
7.2Checkeachofyourresultsusingthederivativeapplet.
7.3a.Considerthefunctiondefinedbytheformulax42x+3.Usetheapplettoplotitandseeitsderivative.Whereis
itsminimumvalue,andwhatisit?Whatisitsderivativeattheminimumpoint?Estimatethesethingsfromthe
applet.
b.Findthemaximumpointforfandthevalueoffatthatargument
approximatelyforfdefinedbyf(x)=x2exp(x).
OK,whereamInow?
Atthispointyouhaverulesthatenableyoutodifferentiateallfunctionsthatyoucanmakeupusingarithmeticoperationsand
substitutionsstartingwiththeidentityfunction(f(x)=x)orwiththemysteriousexponentialfunction,f(x)=exp(x).
Inthenextsectionwewillextendthingssoyoucanstartwiththesinefunction,f=sinxaswellanddifferentiate
anythingyoucancreate.Finallywewillextendtherulestodifferentiatinginversefunctionsaswell.
UpPreviousNext