Continuity and Differentiability
- 1. Can you draw it without lifting your pencil? Continuity at a point
- 2. Continuous functions, jumps and the 1/x surprise
- 3. Building new continuous functions: the algebra of continuity
- 4. Smooth or sharp? Differentiability and continuity
- 5. The chain rule: peeling an onion
- 6. When y won't stand alone: implicit differentiation
- 7. Derivatives of inverse trigonometric functions
- 8. Faster than any polynomial: exponential and logarithmic functions
- 9. The function that is its own derivative: eˣ and log x
- 10. What is the derivative of xˣ? Logarithmic differentiation
- 11. Derivatives of functions in parametric form
- 12. Second order derivatives: the rate of the rate
- Review
9 of 12·NCERT §5.4·5 min
The function that is its own derivative: eˣ and log x
The big ideaThe natural exponential does not change when you differentiate it, \( \frac{d}{dx}e^x = e^x \), and the natural log has the simplest possible derivative, \( \frac{d}{dx}\log x = \frac{1}{x} \).
In simple words
Imagine something that grows exactly as fast as its own size. When it is small it grows slowly; when it is big it grows quickly; and the speed always equals the size. That thing is \( e^x \). It is the only kind of growth that is its own speed.
Theorem 5
Two new standard derivatives
- \( \dfrac{d}{dx}\left( e^x \right) = e^x \)
- \( \dfrac{d}{dx}\left( \log x \right) = \dfrac{1}{x} \), for \( x \gt 0 \)
The book skips the proof, but you can see why they fit together. Since \( \log \) undoes \( e^x \), put \( y = \log x \), so \( x = e^y \). Differentiating implicitly, \( 1 = e^y \frac{dy}{dx} \), so \( \frac{dy}{dx} = \frac{1}{e^y} = \frac{1}{x} \). The second rule follows from the first.
Before you read on, guess which base is special, then test it.
What makes \( e \) the "natural" base? The graph of \( e^x \) crosses the y-axis with slope exactly 1. For \( 2^x \) that slope is about 0.69; for \( 3^x \) it is about 1.10. \( e \approx 2.718 \) is the base in between that makes it exactly 1, and that is what makes the derivative come out so clean.
With the chain rule
These two rules join the chain rule like every other standard derivative:
\[ \frac{d}{dx}e^{u} = e^{u}\frac{du}{dx}, \qquad \frac{d}{dx}\log u = \frac{1}{u}\frac{du}{dx} \]Worked example 1
\( \frac{d}{dx}e^{3x} = e^{3x} \cdot 3 = 3e^{3x} \), and \( \frac{d}{dx}e^{x^2} = 2xe^{x^2} \).
Worked example 2
\( y = \log(\sin x) \), for \( \sin x \gt 0 \). \( \frac{dy}{dx} = \frac{1}{\sin x} \cdot \cos x = \cot x \).
Worked example 3
\( y = e^{\tan x} \). \( \frac{dy}{dx} = e^{\tan x}\sec^2 x \).
Worked example 4: inverse trig of an exponential
\( y = \tan^{-1}(e^x) \). \( \frac{dy}{dx} = \frac{1}{1 + (e^x)^2} \cdot e^x = \dfrac{e^x}{1 + e^{2x}} \).
Worked example 5: log of a polynomial
\( y = \log(x^2 + 1) \). \( \frac{dy}{dx} = \dfrac{2x}{x^2 + 1} \). A handy pattern: the derivative of \( \log(\text{something}) \) is \( \frac{(\text{something})'}{\text{something}} \).
Worked example 6: a product
\( y = e^x \cos x \). Product rule: \( \frac{dy}{dx} = e^x\cos x - e^x\sin x = e^x(\cos x - \sin x) \).
Guess first: what is d/dx log(5x)?
Guess: is it \( \frac{5}{x} \), \( \frac{1}{5x} \), or something else?
Commit to one, then compare the two curves.
See what happens
Don't mix these up
- \( \frac{d}{dx}e^x = e^x \), but \( \frac{d}{dx}x^e = ex^{e-1} \) (power rule: the variable is in the base, not the power).
- \( \frac{d}{dx}e^{2x} = 2e^{2x} \), not \( 2xe^{2x - 1} \): the power rule is for \( x^n \) with a fixed n, not for a variable power.
- \( \log x \) here is base e. For base 10 or any base a, use change of base: \( \log_a x = \frac{\log x}{\log a} \), so \( \frac{d}{dx}\log_a x = \frac{1}{x\log a} \).
Not in the current textbook, but JEE asks it: for \( x \lt 0 \), \( \log|x| = \log(-x) \), whose derivative is \( \frac{1}{-x} \cdot (-1) = \frac{1}{x} \). So \( \frac{d}{dx}\log|x| = \frac{1}{x} \) for every \( x \ne 0 \). This matters a lot when you reach integration.
Try it. Differentiate (a) \( e^{-2x}\sin x \), (b) \( \log(\log x) \) for \( x \gt 1 \), (c) \( \sin(\log x) \) for \( x \gt 0 \), (d) \( \log_{10} x \).
Answer
- \( (e^x)' \)
- \( e^x \): the function is its own derivative.
- \( (\log x)' \)
- \( \frac{1}{x} \) for \( x \gt 0 \) (log to base e).
- \( (e^{u})' \)
- \( e^{u}u' \), by the chain rule.
- \( (\log u)' \)
- \( \frac{u'}{u} \), by the chain rule.
Words to know
What is \( \frac{d}{dx}e^{\cos x} \)?
- \( e^{\cos x} \)
- \( -\sin x \, e^{\cos x} \)
- \( \cos x \, e^{\cos x - 1} \)
What is \( \frac{d}{dx}\log(x^3) \), for \( x \gt 0 \)?
- \( \frac{1}{x^3} \)
- \( \frac{3}{x} \)
- \( 3x^2 \)
Which function equals its own derivative?
- \( x^e \)
- \( 2^x \)
- \( e^x \)
Picture and video credits