Exponential and Logarithmic Functions
Transcript
We're going to talk about the exponential and logarithmic functions today. What is an exponential function? Basically it's a function that can be written with base b and a variable in the exponent. The simplest form of what we want to look at it is f(x) = b^x Again, when we see the x in the exponent you automatically classify it as an exponential function. b is just a constant It can be any constant. It could be a 5. It could be a 2. It could be a 1/2. But we want to look at it in the general
term to begin with. Examples an exponential functions We have f(x) = 16^x, f(x) = (square root of 2) ^x and f(x) = 1(1/8)^x. Again just emphasizing that our base can be any number we care for it to be, and again are variable is in our exponents. Now we do properties of exponents, rules for exponents that you learned sure way back algebra. We do know that if we have the same base and we multiply two numbers with the same base we add the exponents. So b^m times b^n is b^(m+n)
Similarly if we divide two numbers with the same base (b^m divided by b^n) we subtract the exponents that equals b^(m-n) One of the last ones is if we raise a base to an exponent ... so if we already have a have the power, so we raise a power to an exponent: b^m to the "n" power so we wind up multiplying. So this is b^(mn) power. We are going to apply this last one to our next slide. We want to understand that if we have b^m, that is if we have a base to an exponent and
raise it to a power then we are going to multiply the two exponents. Let's go back to our original examples we had f(x) = 16^x, f(x) = (square root of two) ^x and f(x) = (1/8)^x. What we want to do is rewrite these in the form 2^kx. In other words, we want to change to base two. So if we look at sixteen realize that sixteen is just 2^4 , so I can rewrite 16^x as (2^4)^x. If you remember our last property says if you raise a base to a power, excuse me, if I raise
an exponent to a power I simply multiply. And this becomes 2^4x. All I'm doing is multiplying exponents here. And the real key is just rewriting 16 = 2^4 Now I've rewritten this as 2^kx power. In this case, k is 4. Some of these are a little trickier but still doable. If we recognize this is the square root of 2. The square root is the same as the 1/2 power, so I can rewrite this as 2^(1/2) all to the x power. which becomes 2^(1/2 x) power.
Again what we are trying to do if just manipulate to get the same base. Once we have the same base things a lot easier to work with. We will look more at that later. 1/8, this is maybe the little more trickier one. because we don't see a 2 anywhere but we do realize 8 is 2^3 and since this is in the denominator, 1/8 = 2^(-3) power. So we can apply our exponent to a power property this becomes 2^(-3x) Let's look at something a little more complicated. I want to do the same thing. I want to
rewrite these in the form 2^kx. Well I have 16^x in the numerator. I have 2 times 2^-4x in my denominator. I'm just going to follow the properties I know that we did in our previous slide. Let's write everything to the power of 2. So this becomes sixteen we know from our previous slide this is 2^4x and we should also know from our rules for exponents that when I multiply I add exponents. Well this is 2 times 2^-4x. This is just 2 to the first power so this becomes 2^(1-4x)
now we're going to apply our last rule. Our last rule says if I have divided numbers that have the same base, I subtract exponents. so this is 2^(4x) divided by 2^(1-4x) I'm going to subtract exponents. I need to remember to distribute this minus sign into everything, so 4x -(1 -4x) becomes 4x - 1 +4x which becomes 2^(8x - 1) power. We also want to be able to solve exponential equations. Our basic solutions if the bases are equal ... the basic idea is if I have the same base I must simply set
the exponents equal to each other and solve. Well I have 9^4x = 9^12 power. Well notice my bases are both 9, so all I'm going to simply do is get rid of the bases and just look at the exponents. I'm going to set 4x = 12, so x = 3. When I plug 3 back in, we should clearly see that the left hand side becomes 9^12 power as well. What happens when the bases aren't equal? Well, one of the simple tricks is to try to write them as the same base. So we have another problems 7^(2-4x) = 49
7^(2-4x) = 49. Well, one of the things that should occur to us is that we do know that 49 = 7^2 So I can rewrite the right hand side 7^2. Now I have the same base. I can take the same approach as I did before. Once I have the same base I just take my exponents and i set them equal, so 2- 4x = 2 and clearly the twos are going to cancel so -4x=0, so x = 0 is my final solution. Now we do have what is known as the natural exponential function. This is
f(x) = e^x. "e" is actually a number. I think it's 2.718. It's kind of like pi. It's an irrational number. It never repeats itself. However it has very powerful property in the fact that the derivative of f(x) = e^x, f'(x) = e^x as well. In fact it is the only function minus the function f(x) = 0 ( a horizontal line) whose derivative is itself. Lets practice taking these derivatives Well we did this in our previous lecture. We take to derivative of e^x
this is one of our rules. We could look at this and say we want to use a quotient rule. Or we could recognize that I could divide and separate each these fractions out and take the derivative separately. The derivative of (3/5)x is just 3/5. The derivative of 8/5. The derivative of a constant is zero. The derivative of (2/5)e^x. We know when we have a constant out front we don't take the derivative of it. If it's multiplied by function, we just carry the constant down and then take the derivative of the functions. So the derivative of e^x is e^x So our final answers just f'(x) = 3/5 - (2/5)e^x. f'(x) = 3/5 - (2/5)e^x. Now our next one we have f(x) = sqrt(e^x -1) We do realize we can rewrite this is f(x) = (e^x -1)^(1/2) Now we studied the chain rule in our previous lecture and your chain rule says you take the derivative of your outside leaving the inside alone, and then you take the derivative of the inside
So if I take the derivative of the outside function which is the one half power, I bring the one half down subtract one which gives me negative one half. I leave the inside alone to begin with and then I multiply it by the derivative of the inside. The derivative of e^x - 1 is just e^x. Now we can rewrite this if we wanted to. We know this -1/2 puts this in the denominator. and makes it a radical and then we just bring the e^x up top. Notice that is all I did here I rewrote the (e^x-1)^(-1/2) power as the sqrt(e^x-1) and put it in the denominator. I also put the 2 in the denominator and brought the e^x up top. You remember from our chain rule, our basic rule was the derivative of e^u was e^u du/dx. We assumed u was a differentiable function of x. and what we did was we just took the derivative of e^u and brought e^u down and multiply it by the derivative of the actual exponent or whatever the function was in the exponent.
Let's take some practice. We've already practiced with this a little bit. Let's take the derivative of y = -4e^(-3x) again we bring the - 4 down. We bring the e^u down and then we just take the derivative of u which in this case is -3. and we just simplify: -4 times -3 is -12 So this becomes: y' = 12e^(-3x). Similarly, if we have a polynomial in our exponent we can do the same thing. The derivative of e^u is e^u du We bring this e^u down and multiply it by the derivative
of the exponent. The exponents derivative is 3x^2 - 10 Again we are just going to multiply this out. This is (3x^2 - 10x) e^(x^3 -5x^2) Some of you may question what's the difference between step 2 in step 3 really nothing we just typically put the derivative (du/dx) out front to simplify it. Take the derivative of the following function. Here is a situation where we use our quotient rule. We have 6e^x in our numerator and 8x - 1 in our denominator. We have two variables: on e in the numerator and one in the denominator. So I can I just split this up and make separate factions out of it , and do what we did in our previous problem. You can remember your derivative for your quotient rule is low times the derivative of the high the derivative of 6e^4x is 6e^4x time 4 minus high d low the derivative of 8x -1 is just 8 all over low squared.
We want to simplify this and I want to encourage you when you take derivatives to of exponential functions one of the easiest ways to simplify it is to try to factor things out and if you look at this first this is my Low d high and my High d Low. Notice that each of these has a factor 6e^4x. So I am going to factor that out and they have a factual of four here and a factor of 8 here so the greatest common factor is 4, so I'm going to pull out a factor of 4. So I'm going to actually factor out a factor of 6e^4x time 4 which is 24 e^4x. That's going to get rid of all of this and leave me with a factor of 8x - 1 and it's going to get rod of most of this would most and is just going to leave me with a two because I pulled a four out of the 8. So I am left with 8x - 1 -2 in my numerator which is 24e^4x times (8x-3) all over a (8x-1)^2 Again we're just building on the rules
we've already study. It is important that you work toward mastering these rules so you can pull on them, use year arsenal of tools when you need them. Let's look at an example. Let's tie this back into what we already know about derivatives A works of art purchased in 1980 for 25,000 is estimated to be worth 𝑣(𝑡)=25000𝑒^(𝑡/10) dollars after t years. At what rate will the work of art be appreciating in 2010? The way these exponential function is that you have a beginning value and at time 0 if you want to think about this as e^(0/10) - any base to the zero power is one. So at time zero we start out with the initial value of the art work, which is $25,000. And this is how it is appreciating. It is growing exponentially. It says "at what rate?" We do know that derivatives give us a rate of
change. So what we are going to do is start with our original function and we want to take the derivative. We know the derivative of e^u. We'll start by bringing the 25,000 down then e^u (du/du) du/dx in this case is 1/10, so 1/10 of 25,000 is 2500 so my derivative is simply 2500e^(t/10) When you have a simple function like this, one of the easiest ways instead of taking two steps is just take the derivative of this exponent and multiply it by what is out front, which is really what we're doing. We're going to take the derivative and then move it out front. We're just doing it in one step. So now I have the derivative of our value function. Now they want to know what the rate of the art work will be appreciating in 2010. Well, I started in 1980 and I'm measuring t years after 1980. So I'm measuring thirty years into the future. So, I'm going to plug in 30 for t. I'm going to get 30/10 which is 3
So I'm going to have 2500e^3 so I wind up with 50213.84. So basically to interpret this means that the work of are will be appreciating at a rate literally over fifty thousand dollars per year in 2010 which is a nice rate of return on the investment for something that was purchased for 25,000 back in 1980 We are going to get briefly into what is called differential equations. W're only going to do a handful of problems here. We're not going to linger.
Basically we're going to give you a very simple form For any equation of the form y'= ky, so I have a situation where the derivative is equal to multiple up the original function. All solutions are of the form y = C e^kx. So we're going to be given that k originally and we're going to know that the solution is y = C e^kx. Well let's look at an example: Determine all solutions of the differential equation below: y' = -4y In this case, I know k = -4 so my solutions have to be in this form
y = C e^kx. We know k = -4, so my solutions are y = C e^4x. This is my actual answer. This is all solutions of this differential equation. Okay? Now, if I was given an initial value or specific value, I could plug in and solve for C. We're not given that here. So this tells me that all general forms to this equation / all solutions occur in this form. How can we check? With checking, we can actually differentiate what we got for y. If we differentiable what we have for y y' = Ce^u (du/dx)
so y' = -4Ce^(-4x) So if we plug this back into our original equation Here's the left hand side is equal this If you look at the right hand side, the right hand side is just -4y and the Ce^(-4x) is my y So my left hand side does most definitely equal my right hand side. Again we don't have to taking this extra step. Just want to show you why it works. But really we are going to stop here. This is our answer for this differential equation
y' = -4y. l want to talk briefly as we transition over to the natural law. The natural log is just your typical logarithm. It behaves like every other log we study it's just different in the fact that it's base "e" instead of base 10 or base whatever. The properties are still the same. We know ln (ab), I'm multiplying two things inside my log I can split it up and it is equal to = ln a + ln b Similarly if I'm dividing two things in my log. Then ln (a/b) = ln a - ln b
And finally if I'm raising a power inside a log: ln (a^k) = k ln a Please understand whenever you see these equal signs for these properties, they go both directions. So I can go left to right or right to left on any these properties. Let's see how some of these properties work. I want to simplify this: ln 8 + ln 3 - ln 6 I can actually combine these into single log. Your rule says that when you add logs you multiply and when you subtract logs you divide. So this equal to the ln ( (8*3)/6)
ln ( (8*3)/6). We can simplify the numerator which gives us 24, now divide that by 6 and then reduce that just ln 4 So I can take this entire equation and reduce it to simply ln 4. Similarly, if I have something like this 1/3 ln 8 Like I said before, the properties work left to right and right to left. This 1/3 can be brought inside the log this becomes ln 8^(1/3) We need carry this out a bit further because the cubed root of 8 is 2 and this becomes ln 2
The basics for our national log function. Why are our natural log function important? Well the ln x which is the natural log function and e^x which is the natural exponential function are inverse functions. They basically undo each other. So if I look at ln (e^x) Since they are inverse functions, inverse functions always undo each other and leave you with what you began with. So ln (e^x) = x because I hit the x with the "e" and then I undo it with the ln. And so I am just left with what I began with which is just the x. Similarly e^(ln x) = x as well . Again I hit it with the ln and then I hit it with the "e" and they undo each other. Let's simplify the following I had ln(e^7). Again the natural log and e are inverse functions so they undo each other. Our final answer simply going to be 7 This one's a little more complicated because even though we see e and the ln there's a three in between here. I have e^(3 lnx)
I can't just assume that they undo to each other right away. They have to come back to back consecutively. I have to find a way to get rid of the 3 or move the 3. Well, if we just look at the the exponent 3 ln x I can rewrite 3 ln x = ln x^3 because this 3 can be brought inside as an exponent. Now I have the e and the ln hitting consecutively. And so they do each other and I'm just left with what's remaining the x^3 and that's my final answer. x^3
Let's look at another example. e^x = 6, rewrite in terms of natural log. In other words I want to remove the e^x and get a natural log into this equation I'm going to start with my original equation and then what I'm going to do is that I'm going to use the properties of all equations. Your equations property says whatever you do one side you can do to your other and it doesn't change your solution. So what am i going to do is I am going to hit both sides with the natural log function so the left hand side become the ln (e^x) and the right hand side become ln (6) Now the nice thing about it, remember what we said: they undo each other. ln and e undo each other and the left hand side becomes x. So x = ln (6) So now I am done. I have written this in terms of the natural log. I converted from one form to the other. These two forms are equivalent. let's look at solving the following function. I have e^3x = 12 If you remember when we started solving
exponential functions that we said to try to match bases. Well a lot of times we can't match bases. Okay. So what do we do? Well this is where our logarithms come in. Notice I have e^3x. Well I do know that the inverse function of e is the natural log. I'm gonna hit both sides with the natural log. What that's going to do is that's going to get rid of the e so we are left with 3x on the left hand side. 3x = ln 12 so x = (ln 12) / 3 or (1/3) ln 12. Please don't multiply the 1/3 into the 12. That's not allowed, because you can't distribute this in. What we could do if we want to take a step further which I didn't in this case. could write this as ln 12^(1/3) Bring the 1/3 in as an exponenty.
Let's talk about the derivative of the natural log function. We do know that we have a function f(u) = ln 8 We're going to assume u is a function of x The derivative of th natural log of u 1/u (du/dx) In other words, I take whatever is inside the natural log. I drop it down into my denominator, and then I multiply it by the derivative of what was in the natural log. Let's look at a couple of examples. I have f(x) = ln (4x) + ln (5) A couple of things to begin with. Don't get tripped up when I
see something like this to begin with ln 5. When I take the derivative, ln 5 is still a constant. Notice there is no variable here. When I take it's derivative, it's still going to be a zero. My derivative of ln 4x, this is my u. I'm going to bring it down to my denominator. That gives me 1/4x. times the derivative of 4x which is just 4. again to derivative of ln 5 is just 0. So when I simplify this f'(x) = (1/4x)(4) = 1/x. and that is my derivative of ln(4x) + ln 5. A slightly more complex example this is the natural log of a polynomial. The polynomial in this case is x^2 - 5x + 7. Our properties still apply. this is my u, so the derivative is going to be 1/u times it's derivative, du/dx. So it is 1/(x^2 - 5x + 7) times 2x - 5 which is just (2x-5)/(x^2 - 5x + 7) . You're actually able to go straight from the first step to the last step if you want to. Just put the derivative of u over u and that is actually the derivative of the
natural log of u.

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