Derivatives of Exponential Functions
Transcript
there's a story that goes around nobody knows if it's true or not of a math teacher who is really tired of grading exams the teacher got the bright idea to make a one-question Calculus exam but what problem should be on the exam how about the easiest calculus question ever but it should still be important how about what is the derivative of e to the x of course if you know calculus the answer is e to the X it is the easiest possible question but imagine being a student in the class you come to the final exam you see it's one question what is the derivative of B to the X you would be sweating is this a trick question is it really e to the x or am I forgetting some students finish just like that and some students sit there sweating the entire time in this video we're going to talk about the derivative of e to the X and also the derivative of B to the X where
B is an arbitrary base bigger than zero but not equal to one these are derivatives of exponential functions we start with a partial derivation of the exponential function derivative rule let B be positive and not equal to one actually what we do does apply when b equals one but it's not interesting the function is B to the X and if B were equal to one that would be one to the X which is always one a constant function the base B is constant the variable is in the exponent that's an exponential function part A says use the limit definition of the derivative to show that F Prime of x equals c times B to the X power in other words the derivative is a constant multiple of the original function itself for some constant C Part B says what is the value of that constant C I'm just going to tell you the answer maybe you already know it I'm not going to prove it I'm not going to derive it that's beyond the scope of this video all right start with part a F Prime of
X by definition of the derivative is the limit as H goes to zero of a difference quotient which represents a slope of a secant line and then again the limit represents the slope of the tangent line to the graph of F at the number X this is the limit to compute we don't know what B is you might say is this possible to even do well it is possible in the sense of the directions in the problem let's see what happens so first we need to find f of x plus h go to the formula for f of x and replace x with X Plus H you would get B to the X plus h subtract f of x itself that means subtract B to the x all divided by h you look at this kind of thing it looks pretty scary like I have no idea what to do so far the examples we've done we've
ultimately been able to cancel things that don't involve an x on the top factor out an H out of the remaining terms and divide it out with the H on the bottom but how can you possibly do that here all right well don't panic again we're not going to be able to fully do the answer I will again tell you what C is but here initially we just need to try to simplify it as best we can one Bright Idea you might have is to say well maybe I should try using a property of exponents in Reverse so to speak B to the sum of two numbers is B to the first number times B to the second number maybe that's useful I mean again that's the opposite direction of the way we usually use that property we usually start with something like this and say add the exponents to get this but they're
equal we can go backwards too this does have the benefit now of the fact that both terms in the top have a factor of B to the X and whenever you see something like that you should think to yourself oh I could Factor it out maybe that's useful so go ahead go ahead and Factor B to the X out like this to get B to the x times in parentheses B to the H is what's left there when B to the x is factored out what's left here um minus 1 right because negative 1 times B to the x is negative B to the x
all divided by h doesn't look a ton better what should we do now remember where you're trying to get you're trying to prove ultimately that F Prime is some constant c times B to the X I do see a b to the X there by itself and when you compute this limit you treat X as if it's constant and treat H as the variable with respect to this limit that's a constant right there we can use a property of limits that says constants can be factored out in front and that would provide the B to the x so let's go ahead and do that to get B to the x times the limit as H goes to zero of B to the H minus 1 over h um it's looking better but where is the constant this is the constant that's C the constant I'll know right in front with parentheses as a limit as H goes to zero of B to the H minus 1 divided by H that is the constant C that gets multiplied
by B to the X now I'm really not proving things you might wonder does this limit exist how do I know it exists well you could try to provide graphical evidence for yourself by trying different values of B plugging in different values of H and seeing that we seem to be approaching some constant you could also make the graph of this function of H it does exist and does equal some constant and yeah let me now tell you what that constant is
because part B says what is the value of the constant C the turn it turns out that the constant C is the natural log of B isn't that wild C this constant this limit does exist and it turns out to equal the natural log of B we're not proving it I'm just telling it to you you need to accept it and what this all implies now is ultimately our derivative rule for exponential functions the derivative with respect to X of B to the X power turns out to to be the natural log of B that's a natural log of B times B to the X there we go that's our derivative rule for exponential functions think about it in the case where b equals e this would imply the derivative of e to the x is natural log of e times e to the X the natural log of e is one
you get 1 times e to the X just e to the X so I can write so the derivative of e to the X where e is the special number that's about 2.71828 blah blah blah is natural log of E times e to the X but natural log of e is one in the end you get e to the X and there's your easiest calculus question ever and it is true and it is a very fundamental important fact in calculus okay that you should know it turns out to prove all this it's actually better to Define logarithms in terms of integrals and then use facts about inverse functions that's not the topic of this video number two is kind of a tricky derivative question where we are trying to decide whether the exponential function derivative rule that we just derived and or the linearity of the derivative property that we talked about in the previous video can be used to compute the derivative of for example in part A
this function in Part B it's this function and in part C is this function if so go ahead and compute that derivative and if not kind of try to explain why not I will try to do that though it's not part of the directions here all right part A it doesn't look like we can use the exponential function rule plus well I should say facts from the past such as the power rule that was in the previous video too all right so what do we have here we got is that an exponential function there we've got some Powers some exponents no because the X that's the variable is in the base this is not an exponential function this is a power function we need the power rule from the previous video go ahead and take that derivative and also use linearity because we have the sum of two functions here the derivative of this function f will be the derivative of the first term plus the
derivative of the second term and the second term has the X and the exponent this is an exponential function the base is pi squared realize that when you see this kind of notation pi squared needs to be computed first before you take X and raise it to that power that is the n for the power rule so the derivative says you'd bring down that n which is pi squared and then you'd subtract one from the exponent you'd have x to the pi squared minus one power now you could go ahead and use your calculator to approximate pi squared that's kind of beside the point but if that makes you feel better you certainly could do so that's the derivative of this first term x to the pi squared power and yes this is an exponential function right there base is pi squared so by what we just derived its natural log of the base which is natural log of pi squared times B to the x pi squared to the X okay you could multiply those exponents you could write this as Pi to the 2x
you could also bring this 2 power in front and write it as two times natural log of Pi it's not a big deal this is possible to do we've used these rules plus the power rule to do part a onto Part B can the exponential function derivative Rule and or linearity of the derivative and possibly the power will be used to compute the derivative of this function now okay so this does look kind of like an exponential function we got a base of 2 but the power there is more complicated it's 3x plus 5 instead of just an X hmm maybe we should try to rewrite that function first
that's a big hint that yes this is possible we've got the sum of two things in the exponent just like in the previous problem we could break that apart like this 2 to the 3x times 2 to the fifth power to the fifth just constant it can be brought out in front when we take the derivative just by the linearity rule and 2 to the 3x how about that that 3 seems to be messing things up however we can use another property of exponents to write that as 2 cubed to the x of course 2 to the fifth is 32 and 2 cubed is eight so this is the same function as 32 times a to the X power I haven't taken any derivatives yet just rewriting the function in a form for which I can now use our rules linearity implies that 32 just gets carried along for the ride
and then you have that's an exponential function a to the X the base is eight we would get natural log of 8 times 8 to the X for its derivative okay and that's probably the simplest way that you can write it and that would be the derivative for parts for Part B part C can the exponential function derivative Rule and the linearity be used to compute the derivative of this function if so compute it all right that is an example of something where you cannot compute the derivative y 3 to the x squared
that is the same as 3 to the quantity x squared meaning when you plug a number in you'd first Square it before you make it the exponent of 3. and yeah you could rewrite this in other ways you could write it as 3 to the x times x and you could write that as 3 to the X to the X but there's no way you can write it as some constant times the base 2 and X power just by itself and that's enough to imply that we cannot compute the derivative of this with any rules that we know so far that is the answer it's not possible with those rules it is possible if we know some more rules in particular something called The Chain rule but that's a topic for another video doesn't number three look like fun let f of x equal this entire thing this linear combination of a bunch of well a power function there exponential functions the product of exponential functions hmm we don't know the product rule yet I'm not saying is this possible it turns out it is possible we need
to use another property of exponents these three terms involve e to different powers and a constant there this involves pi and that's e that e is just e by itself it is a constant there's no X the derivative of that will be zero that's the easiest part what about the rest use linearity take the derivative of two times x cubed you'll get 6 times x squared subtract the derivative of seven times three to the X the 7 gets carried along for the ride the base here is three this will be natural log of 3 times 3 to the x how do we do this we don't know how to differentiate a product in general however by a property of exponents we can write that as 10 to the X okay you would you that's a property of exponents that you can do you can combine the two and the five two times five is ten get 10 to the X and then we can differentiate that and get natural log of 10 times 10 to the x
keep going the derivative of 4 times e to the 2x write that as four times e squared to the X if we want to avoid the chain rule which we do want to avoid so far the derivative of that will be plus 4 natural log of e squared times e squared to the X natural log of e squared is 2 so this becomes an 8 and we can re-simplify this to e to the 2x if we like similar kind of thing can go on with e to the negative X it's the same as e to the negative 1 to the x differentiate that you are going to get um natural log of e to the negative 1 power times e to the negative one to the x e to the natural log of e to the negative one power is negative one this all becomes minus e to the negative X
then the next term the base is pi so we get plus natural log of Pi times pi to the x and then again the derivative of e with no X in there with respect to X is zero this is just a plain old constant so this is the derivative and yes you can simplify this to eight e to the 2X and simplify this to negative e to the negative X number four is kind of a strange question but really important in calculus 2 and in applications of calculus 2. find a quadratic polynomial G of x equals
8 to the a times x squared plus b times X plus C which best fits the function f of x equals e to the 2x at x equals zero if those are your only directions there'd be like what in the rule am I supposed to do here but there are more directions what does it mean to best fit the function f of x equals e to the two x at x equals zero it means they have the same function value at zero g of 0 equals F of zero they have the same slope at zero g Prime of zero equals F Prime of zero and they have the same amount of concavity you might say g double Prime of zero equals F double Prime of zero we also want to use technology to graph these in the same set of axes and see what we notice so it's a matter of just ultimately doing some algebra here figure out first of all G of 0
plug in x equals 0 into this you're going to get C F 0 is e to the two times zero is e to the zero is one we want these to be equal to each other we're going to set these things equal to each other and solve for C this implies C must be one Okay so we've found C what about the derivative G Prime of zero should equal F Prime of zero we better figure out those derivatives first G Prime of x g is a polynomial a B and C are constants there the derivative of ax squared
is 2ax the derivative of BX is B and the derivative of C with respect to X is zero what about F Prime of x f of x is e to the 2x as we saw in the previous problem we'd want to write that as e squared to the x and use e squared as our base again we're not assuming you know the chain rule yet so the derivative would be natural log of e squared times e squared to the X which can be simplified to 2 times e to the 2X interesting the two kind of gets brought
down that's not the same as the power rule though don't get that confused here all right so what is g Prime of zero plug in x equals zero there you'll get B what is f Prime of zero plug in zero here you'll get two e to the zero is two times one is two we're setting these equal to each other and once again we have a very simple equation to solve for b it's already solved for b b must be two and then we go on to the second derivatives g double Prime of x differentiate this with respect to X you get the constant 2A parabolas have constant second derivatives F double Prime of X means to take the derivative of this the 2 in front gets carried along for the right and what's going to happen when you differentiate either the two x's you get the same thing we got before 2 times e to the 2x so we get an extra factor of 2nd in there this derivative is ultimately 4 times
e to the 2X and then we want to plug in 0 again g double Prime of 0 is 2A you don't see any X's there that's a constant it equals 2A no matter what x is but in particular when x equals zero F double Prime of 0 looking at this formula is four times e to the zero is four we are setting this these two things equal to each other and we have to do a tiny bit of work here we're saying 2A equals four we do have to divide by two to say a is four over two which is two so the answer to the question find the quadratic polynomial which best fits this function in this sense here the answer
is that g of x is ax squared plus BX plus c a is 2 so we get 2x squared B is 2 so we get plus 2X C is one so we add one so there is the answer to finding that quadratic polynomial but we also want to use technology to graph these things on the same set of axes and describe what we notice okay so go to the calculator my y equals screen I'm going to plot e to the 2x I'm plotting both functions here and I'm also going to plot this function that is the answer 2x squared plus 2X plus 1 is supposed to fit it near x equals zero what happens near x equals zero let's just try let's try negative 2 to 2 just to see what we see
function values at zero are one so maybe um let's try negative one to three and see what we see graph it here is either the 2X and then the next graph that we see that is the graph of the quadratic and we see that they match pretty well near zero that's what we observe they have the same function value the same Y intercept of one they have the same slope at x equals zero right there what is that slope you could differentiate this get 4X plus 2 plug in 0 you get two the slope of the tangent line there is two and they have the same amount of concavity you might say
same curvature you might say different ways to describe the same thing near zero not elsewhere this quadratic function is a good approximation to the exponential function when X is close to zero our last problem is about exponential decay in the context of car depreciation the value of a car bought in 2022 is given by this function this exponential decay function V of T equals 35 times 0.88 to the T the fact that this number is between 0 and 1 is going to mean this is exponential decay the derivative is going to be negative in value T is time in years from the date of the purchase and V of T is the value in thousands of dollars part A says evaluate and interpret V of two including units no calculus in there that's just a function problem plug in 2 this is time in years after we bought the car so in 2024
35 times 0.88 to the second power of replace t with two order of operations is really important do .88 squared first Powers get done first to get 0.7744 times 35 gives you 27.104 you might round that to 27.1 what are the units of this this would be thousands of dollars they are units for the output of the original function how does this get interpreted it's the price it's the value of the of the car two years after you bought it is it right it may not be we are modeling this may not be the True Value that's determined by the market
it's an approximation Part B find an expression for B Prime of t okay so we need to differentiate this exponential function even though it's exponential decay it's still exponential the base is 0.88 the 35 gets carried along for the ride natural log of 0.88 needs to get in there times 0.88 to the T power there is the derivative I said the derivative should be negative that doesn't look negative does it well guess what natural log of a number between 0 and 1 like 0.88 is negative okay so this does have negative values let's go ahead and do part C to c a particular negative value evaluate and interpret V Prime of 2 including units so we plug in t equals two we get 35 natural log of 0.88
times 0.88 to the second power we already did 0.88 to the second power times 35 what's left now is to multiply by natural log of 0.88 to get a negative number for the answer about negative 3.465 negative 3.465 if you're interested in what is the value of natural log of 0.88 itself it is about negative 0.1278 okay so this is negative as we expect for an exponential decay function what are its units and how do those units help us interpret it units would be units of value of the car per unit of time units of the dependent variable per unit of the independent variable thousands of dollars
per year but how do you interpret that I'm not going to write it out I'll just verbally say it this is a rate of change it's approximating the rate of change of the function at T equals 2 it is the in fact the exact uh instantaneous rate of change there the graph is decreasing and concave up its exponential decay the slope of the tangent line there is about negative 3.465 this is the idea of linear approximation if we let time go a little further like one year we would expect the value of the car to go by down by about 3.5 thousand dollars since its value at time 2 is about twenty seven thousand dollars we would expect that at time three the value would be in the ballpark of oh twenty three point six thousand dollars that's what the linear approximation would give us is it going to be too
big or too small the linear approximation of the tangent line is below the graph because the graph is concave up it's going to be too small the value will be a little bit bigger what is that value let's just go ahead and compute it to end the video it would be 35 times 0.88 to the third power the calculator knows to do order of operations with the power first and yes it's a little bit bigger than 23.6 it's about 23.85 000 thanks for watching

Ask anything
We've read this whole study set, so questions about it get the best answers.