Intuition The big idea (WHY this matters)
Most functions get messier when you differentiate them (x 3 → 3 x 2 x^3 \to 3x^2 x 3 → 3 x 2 , sin → cos \sin \to \cos sin → cos ). But e x e^x e x is the one function that is its own derivative : its slope at every point equals its height. That single fact is why e e e is the "natural" base and why e x e^x e x rules all of growth, decay, and probability. Everything below is built to answer one question: what is the slope of an exponential, and why is e e e special?
Definition Derivative from first principles
For any f f f ,
f ′ ( x ) = lim h → 0 f ( x + h ) − f ( x ) h . f'(x) = \lim_{h\to 0}\frac{f(x+h)-f(x)}{h}. f ′ ( x ) = lim h → 0 h f ( x + h ) − f ( x ) .
This is the slope of the tangent : rise over run as the run h h h shrinks to 0 0 0 .
Apply this to f ( x ) = a x f(x)=a^x f ( x ) = a x with a > 0 a>0 a > 0 . HOW: use the exponent law a x + h = a x a h a^{x+h}=a^x\,a^h a x + h = a x a h .
f ′ ( x ) = lim h → 0 a x + h − a x h = lim h → 0 a x a h − a x h = a x ⋅ lim h → 0 a h − 1 h ⏟ call this M ( a ) . f'(x)=\lim_{h\to 0}\frac{a^{x+h}-a^x}{h}
=\lim_{h\to 0}\frac{a^x a^h-a^x}{h}
=a^x\cdot\underbrace{\lim_{h\to 0}\frac{a^h-1}{h}}_{\text{call this }M(a)}. f ′ ( x ) = h → 0 lim h a x + h − a x = h → 0 lim h a x a h − a x = a x ⋅ call this M ( a ) h → 0 lim h a h − 1 .
Intuition WHY the limit factors out
a x a^x a x
The x x x lives only in a x a^x a x , which is a constant as h → 0 h\to 0 h → 0 — it doesn't depend on h h h . So it slides outside the limit. What's left, M ( a ) = lim h → 0 a h − 1 h M(a)=\lim_{h\to0}\frac{a^h-1}{h} M ( a ) = lim h → 0 h a h − 1 , is a pure number depending on a a a alone. It is the slope of a x a^x a x at x = 0 x=0 x = 0 (the height there is a 0 = 1 a^0=1 a 0 = 1 ).
So for every exponential:
d d x a x = M ( a ) a x , M ( a ) = lim h → 0 a h − 1 h \boxed{\;\frac{d}{dx}a^x = M(a)\,a^x,\qquad M(a)=\lim_{h\to0}\frac{a^h-1}{h}\;} d x d a x = M ( a ) a x , M ( a ) = h → 0 lim h a h − 1
The derivative is the function back again, just scaled by the constant M ( a ) M(a) M ( a ) .
e e e special
We want a base where the slope-at-0 0 0 is exactly 1 1 1 , so the function is its own derivative with no annoying constant out front. Define e e e to be that base:
lim h → 0 e h − 1 h = 1. \lim_{h\to0}\frac{e^h-1}{h}=1. lim h → 0 h e h − 1 = 1.
This is one clean way to define e ≈ 2.71828 e\approx 2.71828 e ≈ 2.71828 . From it:
d d x e x = e x \boxed{\;\frac{d}{dx}e^x=e^x\;} d x d e x = e x
M ( a ) = 1 M(a)=1 M ( a ) = 1 gives self-derivative
Plug a = e a=e a = e into the boxed result of §1: d d x e x = M ( e ) e x = 1 ⋅ e x = e x \frac{d}{dx}e^x = M(e)\,e^x = 1\cdot e^x = e^x d x d e x = M ( e ) e x = 1 ⋅ e x = e x . Why this step? Because we chose e e e precisely so M ( e ) = 1 M(e)=1 M ( e ) = 1 .
Consistency check (forecast-then-verify): does this limit definition agree with the famous e = lim n → ∞ ( 1 + 1 n ) n e=\lim_{n\to\infty}(1+\tfrac1n)^n e = lim n → ∞ ( 1 + n 1 ) n ? Set h h h small: e h − 1 ≈ h e^h-1\approx h e h − 1 ≈ h means e h ≈ 1 + h e^h\approx 1+h e h ≈ 1 + h , i.e. e ≈ ( 1 + h ) 1 / h e\approx(1+h)^{1/h} e ≈ ( 1 + h ) 1/ h . Letting h = 1 / n → 0 h=1/n\to0 h = 1/ n → 0 gives e = lim ( 1 + 1 / n ) n e=\lim(1+1/n)^n e = lim ( 1 + 1/ n ) n . ✓ Same number.
We don't want to leave M ( a ) M(a) M ( a ) as a mystery limit. HOW: write any base in terms of e e e .
a = e ln a ⟹ a x = ( e ln a ) x = e ( ln a ) x . a = e^{\ln a}\quad\Longrightarrow\quad a^x=\big(e^{\ln a}\big)^x=e^{(\ln a)\,x}. a = e l n a ⟹ a x = ( e l n a ) x = e ( l n a ) x .
Now differentiate e ( ln a ) x e^{(\ln a)x} e ( l n a ) x using the chain rule (outer e u e^u e u , inner u = ( ln a ) x u=(\ln a)x u = ( ln a ) x ):
d d x a x = d d x e ( ln a ) x = e ( ln a ) x ⋅ ( ln a ) = a x ln a . \frac{d}{dx}a^x=\frac{d}{dx}e^{(\ln a)x}
= e^{(\ln a)x}\cdot(\ln a)
= a^x\ln a. d x d a x = d x d e ( l n a ) x = e ( l n a ) x ⋅ ( ln a ) = a x ln a .
ln a \ln a ln a and not something else
If a = e a=e a = e , then ln a = ln e = 1 \ln a=\ln e=1 ln a = ln e = 1 → slope constant = 1 =1 = 1 → self-derivative. ✓
If a > e a>e a > e the curve is steeper at 0 0 0 , and indeed ln a > 1 \ln a>1 ln a > 1 . If a < 1 a<1 a < 1 (decay), ln a < 0 \ln a<0 ln a < 0 , so the slope is negative — the curve falls. All consistent with the picture.
d d x 3 x \dfrac{d}{dx}\,3^x d x d 3 x
= 3 x ln 3 =3^x\ln 3 = 3 x ln 3 . Why? Direct use of d d x a x = a x ln a \frac{d}{dx}a^x=a^x\ln a d x d a x = a x ln a with a = 3 a=3 a = 3 .
d d x e 5 x \dfrac{d}{dx}\,e^{5x} d x d e 5 x
Inner function u = 5 x u=5x u = 5 x , u ′ = 5 u'=5 u ′ = 5 . Chain rule: e 5 x ⋅ 5 = 5 e 5 x e^{5x}\cdot 5 = 5e^{5x} e 5 x ⋅ 5 = 5 e 5 x .
Why this step? e x e^x e x is self-derivative, so the only extra factor is the inner derivative 5 5 5 .
d d x 2 x 2 \dfrac{d}{dx}\,2^{x^2} d x d 2 x 2
Write 2 x 2 = e x 2 ln 2 2^{x^2}=e^{x^2\ln 2} 2 x 2 = e x 2 l n 2 . Derivative = e x 2 ln 2 ⋅ ( 2 x ln 2 ) = 2 x 2 ( 2 x ) ln 2 =e^{x^2\ln2}\cdot(2x\ln2)=2^{x^2}\,(2x)\ln 2 = e x 2 l n 2 ⋅ ( 2 x ln 2 ) = 2 x 2 ( 2 x ) ln 2 .
Why? Convert to base e e e so chain rule is clean; inner derivative of x 2 ln 2 x^2\ln2 x 2 ln 2 is 2 x ln 2 2x\ln2 2 x ln 2 .
Worked example (d) Slope of
e x e^x e x at x = 0 x=0 x = 0 vs 2 x 2^x 2 x at x = 0 x=0 x = 0
e x e^x e x : slope = e 0 = 1 =e^0=1 = e 0 = 1 . 2 x \quad 2^x 2 x : slope = 2 0 ln 2 = ln 2 ≈ 0.693 =2^0\ln2=\ln2\approx0.693 = 2 0 ln 2 = ln 2 ≈ 0.693 .
Why it matters: 2 x 2^x 2 x rises slower at the start than e x e^x e x — visible in the diagram as a gentler tangent.
d d x a x = x a x − 1 \dfrac{d}{dx}a^x = x\,a^{x-1} d x d a x = x a x − 1 "
Why it feels right: it copies the power rule d d x x n = n x n − 1 \frac{d}{dx}x^n=nx^{n-1} d x d x n = n x n − 1 .
Why it's wrong: in x n x^n x n the base varies and the exponent is fixed; in a x a^x a x the exponent varies and the base is fixed — opposite situation, so the power rule does not apply.
Fix: exponential variable → a x ln a a^x\ln a a x ln a . Memorise which thing is moving.
d d x e x = x e x − 1 \dfrac{d}{dx}e^x = xe^{x-1} d x d e x = x e x − 1 "
Same power-rule trap with a = e a=e a = e . Fix: e x e^x e x is its own derivative, full stop.
d d x e 5 x = e 5 x \dfrac{d}{dx}e^{5x}=e^{5x} d x d e 5 x = e 5 x (forgot the chain rule)"
Why it feels right: "e stuff e^{\text{stuff}} e stuff is its own derivative." True only when stuff = x =x = x .
Fix: multiply by the inner derivative: e 5 x ⋅ 5 e^{5x}\cdot5 e 5 x ⋅ 5 .
M ( a ) = log 10 a M(a)=\log_{10} a M ( a ) = log 10 a "
Why it feels right: "log of a a a " is vague. Fix: the proof forces a = e ln a a=e^{\ln a} a = e l n a with natural log. It must be ln a \ln a ln a , not log 10 a \log_{10}a log 10 a .
Recall Feynman: explain to a 12-year-old
Imagine money that grows. A normal curve like x 2 x^2 x 2 speeds up when you climb it, but its slope is a different shape. e x e^x e x is the magic curve where how steep it is right now is exactly how tall it is right now . So if it's 5 5 5 units tall, it's climbing at speed 5 5 5 . For other growth-curves like 2 x 2^x 2 x or 3 x 3^x 3 x , the climb-speed is the height times a fixed "personality number" — and that number is the natural log of the base. e e e is the one base whose personality number is exactly 1 1 1 , which is why mathematicians call it natural.
"e e e is selfie, others wear ln \ln ln ."
e x e^x e x takes a selfie (returns itself). a x a^x a x must put on a ln a \ln a ln a coat: a x ln a a^x\ln a a x ln a .
What is d d x e x \frac{d}{dx}e^x d x d e x ? e x e^x e x (it is its own derivative).
What is d d x a x \frac{d}{dx}a^x d x d a x ? Why does a x a^x a x factor as a x M ( a ) a^x\,M(a) a x M ( a ) in the difference quotient? Because
a x + h = a x a h a^{x+h}=a^x a^h a x + h = a x a h , and
a x a^x a x is constant in
h h h so it leaves the limit;
M ( a ) = lim h → 0 a h − 1 h M(a)=\lim_{h\to0}\frac{a^h-1}{h} M ( a ) = lim h → 0 h a h − 1 .
What does the limit M ( a ) = lim h → 0 a h − 1 h M(a)=\lim_{h\to0}\frac{a^h-1}{h} M ( a ) = lim h → 0 h a h − 1 equal, and what does it represent? ln a \ln a ln a ; it is the slope of
a x a^x a x at
x = 0 x=0 x = 0 .
How is e e e defined via this limit? e e e is the base with
lim h → 0 e h − 1 h = 1 \lim_{h\to0}\frac{e^h-1}{h}=1 lim h → 0 h e h − 1 = 1 .
Derive d d x a x \frac{d}{dx}a^x d x d a x from e e e . a x = e ( ln a ) x a^x=e^{(\ln a)x} a x = e ( l n a ) x ; chain rule gives
e ( ln a ) x ⋅ ln a = a x ln a e^{(\ln a)x}\cdot\ln a=a^x\ln a e ( l n a ) x ⋅ ln a = a x ln a .
What is d d x e 5 x \frac{d}{dx}e^{5x} d x d e 5 x and why not just e 5 x e^{5x} e 5 x ? 5 e 5 x 5e^{5x} 5 e 5 x ; chain rule multiplies by inner derivative
5 5 5 .
Differentiate 2 x 2 2^{x^2} 2 x 2 . 2 x 2 ( 2 x ) ln 2 2^{x^2}(2x)\ln 2 2 x 2 ( 2 x ) ln 2 .
Why is "d d x a x = x a x − 1 \frac{d}{dx}a^x=xa^{x-1} d x d a x = x a x − 1 " wrong? Power rule is for fixed exponent/varying base; here the exponent varies, so it doesn't apply.
Slope of 2 x 2^x 2 x at x = 0 x=0 x = 0 ? ln 2 ≈ 0.693 \ln 2\approx0.693 ln 2 ≈ 0.693 .
M of a = limit of a^h - 1 over h
e = limit of 1+1/n to the n
Intuition Hinglish mein samjho
Dekho, idea simple hai: jab tum kisi exponential a x a^x a x ka derivative nikalte ho first principles se, to a x + h = a x a h a^{x+h}=a^x a^h a x + h = a x a h likh ke a x a^x a x bahar aa jaata hai, aur andar bachta hai ek pure number M ( a ) = lim h → 0 a h − 1 h M(a)=\lim_{h\to0}\frac{a^h-1}{h} M ( a ) = lim h → 0 h a h − 1 . Ye number actually x = 0 x=0 x = 0 par curve ki slope hai. To har exponential ka derivative apne aap ko wapas deta hai, bas ek constant M ( a ) M(a) M ( a ) se multiply hoke.
Ab e e e ki khaasiyat ye hai ki uske liye M ( e ) = 1 M(e)=1 M ( e ) = 1 — yahi e e e ki definition maan lo. Isliye d d x e x = e x \frac{d}{dx}e^x=e^x d x d e x = e x , yaani slope = height, hamesha. Ye "natural" isiliye kehte hain.
Baaki bases ke liye trick: kisi bhi a a a ko a = e ln a a=e^{\ln a} a = e l n a likho, to a x = e ( ln a ) x a^x=e^{(\ln a)x} a x = e ( l n a ) x . Chain rule lagao, andar ka derivative ln a \ln a ln a aata hai, aur mil jaata hai d d x a x = a x ln a \frac{d}{dx}a^x=a^x\ln a d x d a x = a x ln a . Matlab wo mysterious M ( a ) M(a) M ( a ) asal mein ln a \ln a ln a tha.
Sabse common galti: power rule (x n → n x n − 1 x^n\to nx^{n-1} x n → n x n − 1 ) yahan mat lagao. Wahan base chalta hai exponent fixed; yahan exponent chalta hai base fixed — ulta case. Aur e 5 x e^{5x} e 5 x me chain rule mat bhoolna, answer 5 e 5 x 5e^{5x} 5 e 5 x hota hai, e 5 x e^{5x} e 5 x nahi.