Académique Documents
Professionnel Documents
Culture Documents
Rulesofcalculusfunctionsofonevariable
Derivatives:definitions,notation,andrules
Aderivativeisafunctionwhichmeasurestheslope.Itdependsuponxinsomeway,andisfoundby
differentiatingafunctionoftheformy=f(x).Whenxissubstitutedintothederivative,theresultisthe
slopeoftheoriginalfunctiony=f(x).
Therearemanydifferentwaystoindicatetheoperationofdifferentiation,alsoknownasfindingortaking
thederivative.Thechoiceofnotationdependsonthetypeoffunctionbeingevaluatedanduponpersonal
preference.
Supposeyouhaveageneralfunction:y=f(x).Allofthefollowingnotationscanbereadas"thederivative
ofywithrespecttox"orlessformally,"thederivativeofthefunction."
f'(x)f'y'df/dxdy/dxd/dx[f(x)].
[HINT:don'treadthelastthreetermsasfractions,readthemasanoperation.
Forexample,read:"dx/dy=3x"
As:"thefunctionthatgivestheslopeisequalto3x"
Let'strysomeexamples.Supposewehavethefunction:y=4x3+x2+3.
Afterapplyingtherulesofdifferentiation,weendupwiththefollowingresult:
dy/dx=12x2+2x.
Howdoweinterpretthis?First,decidewhatpartoftheoriginalfunction(y=4x3+x2+3)youare
interestedin.Forexample,supposeyouwouldliketoknowtheslopeofywhenthevariablextakesona
valueof2.Substitutex=2intothefunctionoftheslopeandsolve:
dy/dx=12(2)2+2(2)=48+4=52.
Therefore,wehavefoundthatwhenx=2,thefunctionyhasaslopeof+52.
Nowforthepracticalpart.Howdoweactuallydeterminethefunctionoftheslope?Almostallfunctions
youwillseeineconomicscanbedifferentiatedusingafairlyshortlistofrulesorformulas,whichwillbe
presentedinthenextseveralsections.
Howtoapplytherulesofdifferentiation
Onceyouunderstandthatdifferentiationistheprocessoffindingthefunctionoftheslope,theactual
applicationoftherulesisstraightforward.
First,someoverallstrategy.Therulesareappliedtoeachtermwithinafunctionseparately.Thentheresults
fromthedifferentiationofeachtermareaddedtogether,beingcarefultopreservesigns.[Forexample,the
sumof3xandnegative2x2is3xminus2x2.].
Don'tforgetthatatermsuchas"x"hasacoefficientofpositiveone.Coefficientsandsignsmustbe
correctlycarriedthroughalloperations,especiallyindifferentiation.
http://www.columbia.edu/itc/sipa/math/calc_rules_func_var.html 1/10
11/1/2017 Rulesofcalculusfunctionsofonevariable
Therulesofdifferentiationarecumulative,inthesensethatthemorepartsafunctionhas,themorerulesthat
havetobeapplied.Let'sstartherewithsomespecificexamples,andthenthegeneralruleswillbepresented
intableform.
Takethesimplefunction:y=C,andletCbeaconstant,suchas15.Thederivativeofanyconstanttermis
0,accordingtoourfirstrule.Thismakessensesinceslopeisdefinedasthechangeintheyvariablefora
givenchangeinthexvariable.Supposexgoesfrom10to11yisstillequalto15inthisfunction,anddoes
notchange,thereforetheslopeis0.Notethatthisfunctiongraphsasahorizontalline.
Now,addanothertermtoformthelinearfunctiony=2x+15.Thenextrulestatesthatwhenthexistothe
powerofone,theslopeisthecoefficientonthatx.Thiscontinuestomakesense,sinceachangeinxis
multipliedby2todeterminetheresultingchangeiny.Weaddthistothederivativeoftheconstant,whichis
0byourpreviousrule,andtheslopeofthetotalfunctionis2.
Now,supposethatthevariableiscarriedtosomehigherpower.Wecanthenformatypicalnonlinear
functionsuchasy=5x3+10.Thepowerrulecombinedwiththecoefficientruleisusedasfollows:pull
outthecoefficient,multiplyitbythepowerofx,thenmultiplythattermbyx,carriedtothepowerofn1.
Therefore,thederivativeof5x3isequalto(5)(3)(x)(31)simplifytoget15x2.Addtothederivativeofthe
constantwhichis0,andthetotalderivativeis15x2.
Notethatwedon'tyetknowtheslope,butrathertheformulafortheslope.Foragivenx,suchasx=1,we
cancalculatetheslopeas15.Inplainerterms,whenxisequalto1,thefunction(y=5x3+10)hasaslope
of15.
Theserulescoverallpolynomials,andnowweaddafewrulestodealwithothertypesofnonlinear
functions.Itisnotasobviouswhytheapplicationoftherestoftherulesstillresultsinfindingafunction
fortheslope,andinaregularcalculusclassyouwouldprovethistoyourselfrepeatedly.Here,wewantto
focusontheeconomicapplicationofcalculus,sowe'lltakeNewton'swordforitthattheruleswork,
memorizeafew,andgetonwiththeeconomics!Themostimportantstepfortheremainderoftherulesisto
properlyidentifytheform,orhowthetermsarecombined,andthentheapplicationoftheruleis
straightforward.
Forfunctionsthataresumsordifferencesofterms,wecanformalizethestrategyaboveasfollows:
Ify=f(x)+g(x),thendy/dx=f'(x)+g'(x).Here'sachancetopracticereadingthesymbols.Readthisrule
as:ifyisequaltothesumoftwotermsorfunctions,bothofwhichdependuponx,thenthefunctionofthe
slopeisequaltothesumofthederivativesofthetwoterms.Ifthetotalfunctionisfminusg,thenthe
derivativeisthederivativeoftheftermminusthederivativeofthegterm.
Theproductruleisappliedtofunctionsthataretheproductoftwoterms,whichbothdependonx,for
example,y=(x3)(2x21).Themoststraightforwardapproachwouldbetomultiplyoutthetwoterms,
thentakethederivativeoftheresultingpolynomialaccordingtotheaboverules.Oryouhavetheoptionof
applyingthefollowingrule.
Giveny=f(x)g(x)dy/dx=f'g+g'f.Readthisasfollows:thederivativeofywithrespecttoxisthe
derivativeoftheftermmultipliedbythegterm,plusthederivativeofthegtermmultipliedbythefterm.
Toapplyittotheaboveproblem,notethatf(x)=(x3)andg(x)=(2x21)f'(x)=1andg'(x)=4x.Then
dy/dx=(1)(2x21)+(4x)(x3).Simplify,anddy/dx=2x21+4x212x,or6x212x1.
Thequotientruleissimilarlyappliedtofunctionswherethefandgtermsareaquotient.Supposeyouhave
thefunctiony=(x+3)/(x2).Thenfollowthisrule:
Giveny=f(x)/g(x),dy/dx=(f'gg'f)/g2.Again,identifyf=(x+3)andg=x2f'(x)=1andg'(x)=2
andg2=x4.Thensubstitutein:dy/dx=[(1)(x2)(2)(x+3)]/x4.Simplifytody/dx=(x2+2x+6)/x4
.
Now,let'scombinerulesbytypeoffunctionandtheircorrespondinggraphs.
http://www.columbia.edu/itc/sipa/math/calc_rules_func_var.html 2/10
11/1/2017 Rulesofcalculusfunctionsofonevariable
Notsobasicrulesofdifferentiation
Therearetwomorerulesthatyouarelikelytoencounterinyoureconomicsstudies.Thehardestpartof
theserulesisidentifyingtowhichpartsofthefunctionstherulesapply.Actuallyapplyingtheruleisa
simplematterofsubstitutinginandmultiplyingthrough.Noticethatthetworulesofthissectionbuildupon
therulesfromtheprevioussection,andprovideyouwithwaystodealwithincreasinglycomplicated
functions,whilestillusingthesametechniques.
Thepowerfunctionrule:
Inthepreviousrules,wedealtwithpowersattachedtoasinglevariable,suchasx2,orx5.Suppose,
however,thatyourequationcarriesmorethanjustthesinglevariablextoapower.Forexample,
y=(2x+3)4
Inthiscase,theentireterm(2x+3)isbeingraisedtothefourthpower.Todealwithcaseslikethis,first
identifyandrenametheinnertermintheparenthesis:2x+3=g(x).Thentheproblembecomes
Now,notethatyourgoalisstilltotakethederivativeofywithrespecttox.However,xisbeingoperatedon
bytwofunctionsfirstbyg(multipliesxby2andaddsto3),andthenthatresultiscarriedtothepowerof
four.Therefore,whenwetakethederivatives,wehavetoaccountforbothoperationsonx.First,usethe
powerrulefromthetableabovetoget:
Notethattherulewasappliedtog(x)asawhole.Thentakethederivativeofg(x)=2x+3,usingthe
appropriaterulefromthetable:
http://www.columbia.edu/itc/sipa/math/calc_rules_func_var.html 3/10
11/1/2017 Rulesofcalculusfunctionsofonevariable
Notethechangeinnotation."g"isusedbecausewewerefindingthechangeing,withrespecttoachangein
x.Now,bothpartsaremultipliedtogetthefinalresult:
Recallthatderivativesaredefinedasbeingafunctionofx.Replacetheg(x)intheabovetermwith(2x+3)
inordertosatisfythatrequirement.Thensimplifybycombiningthecoefficients4and2,andchangingthe
power(41)to3:
Now,wecansetupthegeneralrule.Whenafunctiontakesthefollowingform:
Thentherulefortakingthederivativeis:
Thechainrule:
Thesecondruleinthissectionisactuallyjustageneralizationoftheabovepowerrule.Itisusedwhenxis
operatedonmorethanonce,butitisn'tlimitedonlytocasesinvolvingpowers.Sinceyoualready
understandtheaboveproblem,let'sredoitusingthechainrule,soyoucanfocusonthetechnique.
Giventhesameproblem:
renamethepartsoftheproblemasfollows:
and
Thentheentireproblemcanbeexpressedas:
Thistypeoffunctionisalsoknownasacompositefunction.Thederivativeofacompositefunctionisequal
tothederivativeofywithrespecttou,timesthederivativeofuwithrespecttox:
specificallyinourproblem:
http://www.columbia.edu/itc/sipa/math/calc_rules_func_var.html 4/10
11/1/2017 Rulesofcalculusfunctionsofonevariable
Recallthataderivativeisdefinedasafunctionofx,notu.Substitutein2x+3foru:
andtheproblemiscomplete.Theformalchainruleisasfollows.Whenafunctiontakesthefollowing
form:
Thenthederivativeofywithrespecttoxisdefinedas:
Updatedtableofderivatives
Let'saddthesetworulestoourtableofderivativesfromtheprevioussection:
http://www.columbia.edu/itc/sipa/math/calc_rules_func_var.html 5/10
11/1/2017 Rulesofcalculusfunctionsofonevariable
Specialcases
Therearetwospecialcasesofderivativerulesthatapplytofunctionsthatareusedfrequentlyineconomic
analysis.Youmaywanttoreviewthesectionsonnaturallogarithmicfunctionsandgraphsandexponential
functionsandgraphsbeforestartingthissection.
Naturallogarithmicfunctions
Whenafunctiontakesthelogarithmicform:
Thenthederivativeofthefunctionfollowstherule:
Ifthefunctionyisanaturallogofafunctionofy,thenyouusethelogruleandthechainrule.Forexample,
Ifthefunctionis:
Thenweapplythechainrule,firstbyidentifyingtheparts:
http://www.columbia.edu/itc/sipa/math/calc_rules_func_var.html 6/10
11/1/2017 Rulesofcalculusfunctionsofonevariable
Now,takethederivativeofeachpart:
Andfinally,multiplyaccordingtotherule.
Now,replacetheuwith5x2,andsimplify
Notethatthegeneralizednaturallogruleisaspecialcaseofthechainrule:
Thenthederivativeofywithrespecttoxisdefinedas:
Exponentialfunctions
Takingthederivativeofanexponentialfunctionisalsoaspecialcaseofthechainrule.First,let'sstartwith
asimpleexponentanditsderivative.Whenafunctiontakesthelogarithmicform:
Thenthederivativeofthefunctionfollowstherule:
No,it'snotamisprint!Thederivativeofexisex.
Ifthepowerofeisafunctionofx,notjustthevariablex,thenusethechainrule:
Thenthederivativeofywithrespecttoxisdefinedas:
Forexample,supposeyouaretakingthederivativeofthefollowingfunction:
http://www.columbia.edu/itc/sipa/math/calc_rules_func_var.html 7/10
11/1/2017 Rulesofcalculusfunctionsofonevariable
Definethepartsyandu,andtaketheirrespectivederivatives:
Thenthederivativeofywithrespecttoxis:
Updatedtableofderivatives
Nowwecanaddthesetwospecialcasestoourtable:
Higherorderderivatives
http://www.columbia.edu/itc/sipa/math/calc_rules_func_var.html 8/10
11/1/2017 Rulesofcalculusfunctionsofonevariable
Justasafirstderivativegivestheslopeorrateofchangeofafunction,ahigherorderderivativegivesthe
rateofchangeofthepreviousderivative.We'lltakmoreabouthowthisfitsintoeconomicanalysisina
futuresection,[link:economicinterpretationofhigherorderderivatives]butfornow,we'lljustdefine
thetechniqueandthendescribethebehaviorwithafewsimpleexamples.
Tofindahigherorderderivative,simplyreapplytherulesofdifferentiationtothepreviousderivative.For
example,supposeyouhavethefollowingfunction:
Accordingtoourrules,wecanfindtheformulafortheslopebytakingthefirstderivative:
Takethesecondderivativebyapplyingtherulesagain,thistimetoy',NOTy:
Ifweneedathirdderivative,wedifferentiatethesecondderivative,andsoonforeachsuccessivederivative.
Notethatthenotationforsecondderivativeiscreatedbyaddingasecondprime.Othernotationsarealso
basedonthecorrespondingfirstderivativeform.Herearesomeexamplesofthemostcommonnotationsfor
derivativesandhigherorderderivatives.
Nowforsomeexamplesofwhatahigherorderderivativeactuallyis.Let'sstartwithanonlinearfunction
andtakeafirstandsecondderivative.Recallfromprevioussectionsthatthisequationwillgraphasa
parabolathatopensdownward[link:graphingbinomialfunctions].
Inordertounderstandthemeaningofderivatives,let'spickacoupleofvaluesofx,andcalculatethevalue
ofthederivativesatthosepoints.
http://www.columbia.edu/itc/sipa/math/calc_rules_func_var.html 9/10
11/1/2017 Rulesofcalculusfunctionsofonevariable
x=1
x=2
So,howdoweinterpretthisinformation?Whenxequals0,weknowthattheslopeofthefunction,orrate
ofchangeinyforagivenchangeinx(fromthefirstderivative)is6.Similarly,thesecondderivativetellsus
thattherateofchangeofthefirstderivativeforagivenchangeinxis2.Inotherwords,whenxchanges,
weexpecttheslopetochangeby2,ortodecreaseby2.Wecancheckthisbychangingxfrom0to1,and
notingthattheslopedidchangefrom6to4,thereforedecreasingby2.
Tosumup,thefirstderivativegivesustheslope,andthesecondderivativegivesthechangeintheslope.In
economics,thefirsttwoderivativeswillbethemostuseful,sowe'llstoptherefornow.
[Index]
http://www.columbia.edu/itc/sipa/math/calc_rules_func_var.html 10/10