Alright class, settle in! Today, we're diving into one of the most fascinating and incredibly useful areas of calculus:
differentiating logarithmic and exponential functions. Now, I know what some of you might be thinking β "Exponents and logs? Aren't they those tricky things from algebra?" Yes, they are! But in calculus, they become our best friends because of some truly magical properties.
We've already learned about differentiating polynomials, trigonometric functions, and even functions using the product, quotient, and chain rules. But what about functions like $2^x$ or $log_3(x)$? They don't quite fit into the rules we've seen so far. That's where today's lesson comes in!
Let's start from the absolute beginning, assuming you've never met these functions in a calculus context before.
### What are Exponential Functions? A Quick Recap!
Think about growth. Rapid growth. If you invest money at compound interest, it grows exponentially. If a population of bacteria doubles every hour, that's exponential growth. An
exponential function is generally of the form $f(x) = a^x$, where 'a' is a positive constant (the base) and $x$ is the variable in the exponent.
For example, $2^x$, $10^x$, or even $(1.05)^x$ are all exponential functions.
Now, among all these exponential functions, there's one that stands out, one that's considered "natural" in mathematics. Can anyone guess which one it is? Yes, you got it! It's the one with base
'e'.
#### The Magic of 'e' (Euler's Number)
What is 'e'? It's an irrational number, approximately $2.71828...$, much like $pi$. But why is it so special in calculus?
Imagine you have βΉ1 and you invest it at 100% annual interest.
* If compounded annually: You get βΉ$(1+1)^1 = βΉ2$.
* If compounded semi-annually (twice a year): You get βΉ$(1 + 1/2)^2 = βΉ2.25$.
* If compounded quarterly (4 times a year): You get βΉ$(1 + 1/4)^4 = βΉ2.44$.
* If compounded monthly (12 times a year): You get βΉ$(1 + 1/12)^{12} = βΉ2.61$.
* If compounded daily (365 times a year): You get βΉ$(1 + 1/365)^{365} approx βΉ2.714$.
As you compound more and more frequently, the amount approaches a specific limit. This limit is
'e'! So, 'e' naturally arises when we talk about continuous growth. This is why the function $f(x) = e^x$ is called the
natural exponential function. It's the function that describes continuous growth or decay processes in nature β think radioactive decay, population growth without limits, or even how capacitors charge and discharge.
Graphically, $e^x$ is always positive, always increasing, and passes through $(0,1)$.
### What about Logarithmic Functions?
Logarithms are simply the
inverse of exponential functions. If $a^x = y$, then $log_a y = x$. It's like asking, "To what power must I raise 'a' to get 'y'?"
Just as $e^x$ is the natural exponential function, its inverse is the
natural logarithmic function. This is denoted as $ln x$, which means $log_e x$. So, $e^y = x$ is equivalent to $y = ln x$.
For example, if you want to solve for $x$ in $e^x = 7$, you take the natural logarithm of both sides: $ln(e^x) = ln 7$, which simplifies to $x = ln 7$.
Graphically, $ln x$ is defined only for positive $x$, it's always increasing, and passes through $(1,0)$. It's a reflection of $e^x$ across the line $y=x$.
### The Big Reveal: Derivatives of $e^x$ and $ln x$
Now for the exciting part! What happens when we differentiate these special functions?
#### 1. Derivative of $e^x$
Let's try to derive it using the first principle definition of the derivative:
$f'(x) = lim_{h o 0} frac{f(x+h) - f(x)}{h}$
For $f(x) = e^x$:
$f'(x) = lim_{h o 0} frac{e^{x+h} - e^x}{h}$
$f'(x) = lim_{h o 0} frac{e^x cdot e^h - e^x}{h}$ (using $a^{m+n} = a^m cdot a^n$)
$f'(x) = lim_{h o 0} frac{e^x (e^h - 1)}{h}$
Since $e^x$ doesn't depend on $h$, we can take it out of the limit:
$f'(x) = e^x lim_{h o 0} frac{e^h - 1}{h}$
Now, this limit, $lim_{h o 0} frac{e^h - 1}{h}$, is a very famous and important limit. It's one of the fundamental limits we encounter when defining 'e' or its properties. It turns out that this limit is exactly equal to
1. (We can prove this using L'Hopital's rule or series expansion, but for now, let's accept it as a known fundamental limit).
So, substituting this back:
$f'(x) = e^x cdot 1$
$f'(x) = e^x$
This is truly remarkable! The derivative of $e^x$ is itself, $e^x$. This is one of the most powerful properties of the natural exponential function and a key reason why it's so fundamental in mathematics and science. It means that the rate of change of $e^x$ at any point is equal to the value of the function at that point. If something grows proportionally to its current size, it's an $e^x$ kind of growth!
Key Formula 1 |
Verbal Description |
|---|
$frac{d}{dx}(e^x) = e^x$ |
The derivative of the natural exponential function is the function itself. |
Example 1:
Differentiate $y = e^x + 5x^2$.
Solution:
Using the sum rule, we differentiate each term separately:
$frac{dy}{dx} = frac{d}{dx}(e^x) + frac{d}{dx}(5x^2)$
$frac{dy}{dx} = e^x + 5 cdot (2x)$
$frac{dy}{dx} = e^x + 10x$
#### 2. Derivative of $ln x$
Now, let's find the derivative of the natural logarithm, $f(x) = ln x$. We can use a neat trick here by leveraging the inverse relationship with $e^x$.
Let $y = ln x$.
This means $e^y = x$. (Remember, definition of natural log!)
Now, we can differentiate both sides of $e^y = x$ with respect to $x$. Since $y$ is a function of $x$, we'll need to use the chain rule on the left side:
$frac{d}{dx}(e^y) = frac{d}{dx}(x)$
$e^y cdot frac{dy}{dx} = 1$ (Here, we treated 'y' as the inner function and $e^{( ext{function})}$ as the outer. The derivative of $e^u$ is $e^u cdot frac{du}{dx}$)
Now, we solve for $frac{dy}{dx}$:
$frac{dy}{dx} = frac{1}{e^y}$
But we know that $e^y = x$ (from our initial definition of $y = ln x$). Let's substitute that back in:
$frac{dy}{dx} = frac{1}{x}$
And there we have it!
Key Formula 2 |
Verbal Description |
|---|
$frac{d}{dx}(ln x) = frac{1}{x}$ |
The derivative of the natural logarithm of x is one over x. |
Important Note: Since $ln x$ is only defined for $x > 0$, its derivative $1/x$ is also valid only for $x > 0$. If we consider $ln|x|$, the derivative is still $1/x$ for $x
eq 0$, but that's a topic for a slightly deeper dive! For now, assume $x > 0$.
Example 2:
Differentiate $y = ln x - sin x$.
Solution:
Using the difference rule:
$frac{dy}{dx} = frac{d}{dx}(ln x) - frac{d}{dx}(sin x)$
$frac{dy}{dx} = frac{1}{x} - cos x$
### Generalizing to Other Bases ($a^x$ and $log_a x$)
What if the base isn't 'e'? What if we have $2^x$ or $log_{10} x$? No worries, we can use our knowledge of properties of logarithms and exponentials to convert them to base 'e' and then apply our new rules!
#### 3. Derivative of $a^x$
Consider $y = a^x$, where $a$ is a positive constant and $a
eq 1$.
We can rewrite any exponential function with base 'e' using the property $a^x = e^{ln(a^x)} = e^{x ln a}$.
So, $y = e^{x ln a}$.
Now, we can differentiate this using the chain rule. Let $u = x ln a$. Then $y = e^u$.
$frac{dy}{dx} = frac{dy}{du} cdot frac{du}{dx}$
$frac{dy}{du} = frac{d}{du}(e^u) = e^u$
$frac{du}{dx} = frac{d}{dx}(x ln a)$
Since $ln a$ is a constant (because $a$ is a constant), this is like differentiating $cx$.
$frac{du}{dx} = ln a cdot frac{d}{dx}(x) = ln a cdot 1 = ln a$
Substituting back:
$frac{dy}{dx} = e^u cdot ln a$
$frac{dy}{dx} = e^{x ln a} cdot ln a$
Since $e^{x ln a} = a^x$, we get:
$frac{dy}{dx} = a^x ln a$
Key Formula 3 |
Verbal Description |
|---|
$frac{d}{dx}(a^x) = a^x ln a$ |
The derivative of an exponential function with base 'a' is the function itself multiplied by the natural logarithm of the base. |
Notice how this formula includes our earlier one for $e^x$! If $a=e$, then $ln e = 1$, so $e^x cdot ln e = e^x cdot 1 = e^x$. Beautiful, isn't it?
Example 3:
Differentiate $y = 3^x$.
Solution:
Using the formula $frac{d}{dx}(a^x) = a^x ln a$, with $a=3$:
$frac{dy}{dx} = 3^x ln 3$
#### 4. Derivative of $log_a x$
Finally, let's tackle $log_a x$.
Consider $y = log_a x$.
We know the change of base formula for logarithms: $log_a x = frac{ln x}{ln a}$.
So, $y = frac{ln x}{ln a}$.
Here, $frac{1}{ln a}$ is a constant. So, differentiating $y$ is straightforward:
$frac{dy}{dx} = frac{d}{dx} left( frac{1}{ln a} cdot ln x
ight)$
$frac{dy}{dx} = frac{1}{ln a} cdot frac{d}{dx}(ln x)$
We already know $frac{d}{dx}(ln x) = frac{1}{x}$.
So, $frac{dy}{dx} = frac{1}{ln a} cdot frac{1}{x}$
$frac{dy}{dx} = frac{1}{x ln a}$
Key Formula 4 |
Verbal Description |
|---|
$frac{d}{dx}(log_a x) = frac{1}{x ln a}$ |
The derivative of a logarithm with base 'a' is one over x times the natural logarithm of the base. |
Again, notice that if $a=e$, then $ln e = 1$, so $frac{1}{x ln e} = frac{1}{x cdot 1} = frac{1}{x}$. The formula is consistent!
Example 4:
Differentiate $y = log_{10} x$.
Solution:
Using the formula $frac{d}{dx}(log_a x) = frac{1}{x ln a}$, with $a=10$:
$frac{dy}{dx} = frac{1}{x ln 10}$
### Summary of Fundamental Rules:
Let's put all our new powerful formulas in one place. These are essential for your toolkit!
Function |
Derivative |
Notes |
|---|
$e^x$ |
$e^x$ |
The 'natural' one. Simplest derivative! |
$ln x$ |
$frac{1}{x}$ |
The 'natural' inverse. For $x > 0$. |
$a^x$ |
$a^x ln a$ |
General exponential. If $a=e$, $ln e=1$, so reduces to $e^x$. |
$log_a x$ |
$frac{1}{x ln a}$ |
General logarithm. If $a=e$, $ln e=1$, so reduces to $frac{1}{x}$. |
### CBSE vs. JEE Focus:
For
CBSE and Boards, understanding these four fundamental formulas and how to apply them directly or with simple chain rule applications will be key. Derivations using first principles for $e^x$ and using inverse functions for $ln x$ are often asked.
For
JEE Mains & Advanced, these are just the starting point! You'll need to master their application within complex chain rule problems, product rule, quotient rule, and especially in problems involving
logarithmic differentiation (which is a technique we'll discuss soon for functions like $x^x$ or very complicated products/quotients). The understanding of 'e' as a limit and the fundamental limits involving $e^x$ and $ln x$ are crucial.
By understanding these fundamental rules, we've unlocked the power to differentiate a whole new class of functions! In the next sessions, we'll see how to combine these with the chain rule and other differentiation techniques to tackle much more complex expressions. Keep practicing, and you'll find these functions surprisingly friendly!