Every elementary function is differentiable wherever it is defined, and its derivative is again elementary. This checkpoint collects the proofs: starting from two fundamental limits, you can derive the derivatives of the exponential, logarithm, all trigonometric and inverse trigonometric functions, and all hyperbolic and inverse hyperbolic functions.
Two foundational limits
All the proofs below rest on two limits.
Lemma 1. lim h → 0 e h − 1 h = 1 \displaystyle\lim_{h \to 0} \frac{e^h - 1}{h} = 1 h → 0 lim h e h − 1 = 1 .
Proof. Substitute u = e h − 1 u = e^h - 1 u = e h − 1 , so h = ln ( 1 + u ) h = \ln(1+u) h = ln ( 1 + u ) and u → 0 u \to 0 u → 0 as h → 0 h \to 0 h → 0 :
e h − 1 h = u ln ( 1 + u ) . \frac{e^h - 1}{h} \;=\; \frac{u}{\ln(1+u)}. h e h − 1 = ln ( 1 + u ) u .
From the inequality x 1 + x ≤ ln ( 1 + x ) ≤ x \dfrac{x}{1+x} \leq \ln(1+x) \leq x 1 + x x ≤ ln ( 1 + x ) ≤ x (valid for x > − 1 x > -1 x > − 1 ), dividing by u > 0 u > 0 u > 0 :
1 1 + u ≤ ln ( 1 + u ) u ≤ 1. \frac{1}{1+u} \;\leq\; \frac{\ln(1+u)}{u} \;\leq\; 1. 1 + u 1 ≤ u ln ( 1 + u ) ≤ 1.
As u → 0 + u \to 0^+ u → 0 + , the left side → 1 \to 1 → 1 , so by the squeeze theorem ln ( 1 + u ) / u → 1 \ln(1+u)/u \to 1 ln ( 1 + u ) / u → 1 . The same holds for u → 0 − u \to 0^- u → 0 − by symmetry. Therefore u ln ( 1 + u ) → 1 \dfrac{u}{\ln(1+u)} \to 1 ln ( 1 + u ) u → 1 . □ \square □
Lemma 2. lim h → 0 sin h h = 1 \displaystyle\lim_{h \to 0} \frac{\sin h}{h} = 1 h → 0 lim h sin h = 1 .
Proof. For 0 < h < π / 2 0 < h < \pi/2 0 < h < π /2 , compare areas in a unit circle:
1 2 sin h ≤ h 2 ≤ 1 2 tan h . \tfrac{1}{2}\sin h \;\leq\; \tfrac{h}{2} \;\leq\; \tfrac{1}{2}\tan h. 2 1 sin h ≤ 2 h ≤ 2 1 tan h .
Dividing by 1 2 sin h > 0 \tfrac{1}{2}\sin h > 0 2 1 sin h > 0 and inverting:
cos h ≤ sin h h ≤ 1. \cos h \;\leq\; \frac{\sin h}{h} \;\leq\; 1. cos h ≤ h sin h ≤ 1.
As h → 0 + h \to 0^+ h → 0 + , cos h → 1 \cos h \to 1 cos h → 1 , so by the squeeze theorem sin h / h → 1 \sin h / h \to 1 sin h / h → 1 . The case h → 0 − h \to 0^- h → 0 − follows from sin ( − h ) / ( − h ) = sin h / h \sin(-h)/(-h) = \sin h/h sin ( − h ) / ( − h ) = sin h / h . □ \square □
From Lemma 2 we also derive lim h → 0 cos h − 1 h = 0 \displaystyle\lim_{h \to 0}\frac{\cos h - 1}{h} = 0 h → 0 lim h cos h − 1 = 0 , since
cos h − 1 h = − sin ( h / 2 ) h / 2 ⋅ sin ( h / 2 ) → − 1 ⋅ 0 = 0. \frac{\cos h - 1}{h} \;=\; -\frac{\sin(h/2)}{h/2} \cdot \sin(h/2) \;\to\; -1 \cdot 0 \;=\; 0. h cos h − 1 = − h /2 sin ( h /2 ) ⋅ sin ( h /2 ) → − 1 ⋅ 0 = 0.
Derivatives of the exponential and logarithm
Natural exponential
d d x ( e x ) = e x . \frac{d}{dx}(e^x) \;=\; e^x. d x d ( e x ) = e x .
Proof. By Lemma 1:
lim h → 0 e x + h − e x h = e x lim h → 0 e h − 1 h = e x . □ \lim_{h\to 0}\frac{e^{x+h}-e^x}{h} \;=\; e^x \lim_{h\to 0}\frac{e^h-1}{h} \;=\; e^x. \;\square h → 0 lim h e x + h − e x = e x h → 0 lim h e h − 1 = e x . □
General exponential
For a > 0 a > 0 a > 0 , a ≠ 1 a \neq 1 a = 1 , write a x = e x ln a a^x = e^{x\ln a} a x = e x l n a and apply the chain rule:
d d x ( a x ) = e x ln a ⋅ ln a = a x ln a . \frac{d}{dx}(a^x) \;=\; e^{x\ln a} \cdot \ln a \;=\; a^x \ln a. d x d ( a x ) = e x l n a ⋅ ln a = a x ln a .
Natural logarithm
Applying the inverse function rule to e x e^x e x :
d d x ( ln x ) = 1 e ln x = 1 x , x > 0. \frac{d}{dx}(\ln x) \;=\; \frac{1}{e^{\ln x}} \;=\; \frac{1}{x}, \quad x > 0. d x d ( ln x ) = e l n x 1 = x 1 , x > 0.
General power x α x^\alpha x α
For x > 0 x > 0 x > 0 and α ∈ R \alpha \in \mathbb{R} α ∈ R , write x α = e α ln x x^\alpha = e^{\alpha \ln x} x α = e α l n x and apply the chain rule:
d d x ( x α ) = e α ln x ⋅ α x = α x α − 1 . \frac{d}{dx}(x^\alpha) \;=\; e^{\alpha\ln x} \cdot \frac{\alpha}{x} \;=\; \alpha x^{\alpha - 1}. d x d ( x α ) = e α l n x ⋅ x α = α x α − 1 .
This extends the integer power rule to all real exponents.
General logarithm
By the change-of-base formula log a x = ln x / ln a \log_a x = \ln x / \ln a log a x = ln x / ln a :
d d x ( log a x ) = 1 x ln a . \frac{d}{dx}(\log_a x) \;=\; \frac{1}{x \ln a}. d x d ( log a x ) = x ln a 1 .
Derivatives of trigonometric functions
Sine
d d x ( sin x ) = cos x . \frac{d}{dx}(\sin x) \;=\; \cos x. d x d ( sin x ) = cos x .
Proof. Using the addition formula sin ( x + h ) = sin x cos h + cos x sin h \sin(x+h) = \sin x \cos h + \cos x \sin h sin ( x + h ) = sin x cos h + cos x sin h :
sin ( x + h ) − sin x h = sin x ⋅ cos h − 1 h + cos x ⋅ sin h h . \frac{\sin(x+h)-\sin x}{h} \;=\; \sin x \cdot \frac{\cos h - 1}{h} + \cos x \cdot \frac{\sin h}{h}. h sin ( x + h ) − sin x = sin x ⋅ h cos h − 1 + cos x ⋅ h sin h .
As h → 0 h \to 0 h → 0 : ( cos h − 1 ) / h → 0 (\cos h - 1)/h \to 0 ( cos h − 1 ) / h → 0 and ( sin h ) / h → 1 (\sin h)/h \to 1 ( sin h ) / h → 1 by the lemmas, so the limit is cos x \cos x cos x . □ \square □
Cosine
d d x ( cos x ) = − sin x . \frac{d}{dx}(\cos x) \;=\; -\sin x. d x d ( cos x ) = − sin x .
Proof. Using cos ( x + h ) = cos x cos h − sin x sin h \cos(x+h) = \cos x \cos h - \sin x \sin h cos ( x + h ) = cos x cos h − sin x sin h :
cos ( x + h ) − cos x h = cos x ⋅ cos h − 1 h − sin x ⋅ sin h h → − sin x . □ \frac{\cos(x+h)-\cos x}{h} \;=\; \cos x \cdot \frac{\cos h-1}{h} - \sin x \cdot \frac{\sin h}{h} \;\to\; -\sin x. \;\square h cos ( x + h ) − cos x = cos x ⋅ h cos h − 1 − sin x ⋅ h sin h → − sin x . □
Tangent and cotangent
By the quotient rule applied to tan x = sin x / cos x \tan x = \sin x / \cos x tan x = sin x / cos x and cot x = cos x / sin x \cot x = \cos x / \sin x cot x = cos x / sin x :
d d x ( tan x ) = cos 2 x + sin 2 x cos 2 x = sec 2 x , x ≠ π 2 + n π , \frac{d}{dx}(\tan x) \;=\; \frac{\cos^2 x + \sin^2 x}{\cos^2 x} \;=\; \sec^2 x, \qquad x \neq \tfrac{\pi}{2}+n\pi, d x d ( tan x ) = cos 2 x cos 2 x + sin 2 x = sec 2 x , x = 2 π + nπ ,
d d x ( cot x ) = − csc 2 x , x ≠ n π . \frac{d}{dx}(\cot x) \;=\; -\csc^2 x, \qquad x \neq n\pi. d x d ( cot x ) = − csc 2 x , x = nπ .
Derivatives of inverse trigonometric functions
All four follow from the inverse function rule and Pythagorean identities.
Function Domain Derivative arcsin x \arcsin x arcsin x ( − 1 , 1 ) (-1,1) ( − 1 , 1 ) 1 1 − x 2 \dfrac{1}{\sqrt{1-x^2}} 1 − x 2 1 arccos x \arccos x arccos x ( − 1 , 1 ) (-1,1) ( − 1 , 1 ) − 1 1 − x 2 \dfrac{-1}{\sqrt{1-x^2}} 1 − x 2 − 1 arctan x \arctan x arctan x R \mathbb{R} R 1 1 + x 2 \dfrac{1}{1+x^2} 1 + x 2 1 arccot x \text{arccot}\, x arccot x R \mathbb{R} R − 1 1 + x 2 \dfrac{-1}{1+x^2} 1 + x 2 − 1
The last entry: ( cot x ) ′ = − csc 2 x = − ( 1 + cot 2 x ) (\cot x)' = -\csc^2 x = -(1+\cot^2 x) ( cot x ) ′ = − csc 2 x = − ( 1 + cot 2 x ) , so at x = cot t x = \cot t x = cot t the inverse function rule gives ( arccot x ) ′ = − 1 / ( 1 + x 2 ) (\text{arccot}\, x)' = -1/(1+x^2) ( arccot x ) ′ = − 1/ ( 1 + x 2 ) .
Derivatives of hyperbolic functions
Recall sinh x = e x − e − x 2 \sinh x = \dfrac{e^x-e^{-x}}{2} sinh x = 2 e x − e − x and cosh x = e x + e − x 2 \cosh x = \dfrac{e^x+e^{-x}}{2} cosh x = 2 e x + e − x . Differentiating term by term using ( e x ) ′ = e x (e^x)' = e^x ( e x ) ′ = e x and ( e − x ) ′ = − e − x (e^{-x})' = -e^{-x} ( e − x ) ′ = − e − x :
d d x ( sinh x ) = cosh x , d d x ( cosh x ) = sinh x . \frac{d}{dx}(\sinh x) \;=\; \cosh x, \qquad \frac{d}{dx}(\cosh x) \;=\; \sinh x. d x d ( sinh x ) = cosh x , d x d ( cosh x ) = sinh x .
By the quotient rule on tanh x = sinh x / cosh x \tanh x = \sinh x / \cosh x tanh x = sinh x / cosh x :
d d x ( tanh x ) = cosh 2 x − sinh 2 x cosh 2 x = sech 2 x . \frac{d}{dx}(\tanh x) \;=\; \frac{\cosh^2 x - \sinh^2 x}{\cosh^2 x} \;=\; \text{sech}^2 x. d x d ( tanh x ) = cosh 2 x cosh 2 x − sinh 2 x = sech 2 x .
Similarly, ( coth x ) ′ = − csch 2 x (\text{coth}\, x)' = -\text{csch}^2 x ( coth x ) ′ = − csch 2 x for x ≠ 0 x \neq 0 x = 0 .
Derivatives of inverse hyperbolic functions
The logarithmic representations of inverse hyperbolic functions make their derivatives easy to compute.
Arsinh. Since arsinh x = ln ( x + x 2 + 1 ) \text{arsinh}\, x = \ln(x+\sqrt{x^2+1}) arsinh x = ln ( x + x 2 + 1 ) :
( arsinh x ) ′ = 1 + x x 2 + 1 x + x 2 + 1 = x 2 + 1 + x ( x + x 2 + 1 ) x 2 + 1 = 1 x 2 + 1 . (\text{arsinh}\, x)' \;=\; \frac{1+\tfrac{x}{\sqrt{x^2+1}}}{x+\sqrt{x^2+1}} \;=\; \frac{\sqrt{x^2+1}+x}{(x+\sqrt{x^2+1})\sqrt{x^2+1}} \;=\; \frac{1}{\sqrt{x^2+1}}. ( arsinh x ) ′ = x + x 2 + 1 1 + x 2 + 1 x = ( x + x 2 + 1 ) x 2 + 1 x 2 + 1 + x = x 2 + 1 1 .
Arcosh. For x > 1 x > 1 x > 1 , arcosh x = ln ( x + x 2 − 1 ) \text{arcosh}\, x = \ln(x+\sqrt{x^2-1}) arcosh x = ln ( x + x 2 − 1 ) :
( arcosh x ) ′ = 1 + x x 2 − 1 x + x 2 − 1 = 1 x 2 − 1 . (\text{arcosh}\, x)' \;=\; \frac{1+\tfrac{x}{\sqrt{x^2-1}}}{x+\sqrt{x^2-1}} \;=\; \frac{1}{\sqrt{x^2-1}}. ( arcosh x ) ′ = x + x 2 − 1 1 + x 2 − 1 x = x 2 − 1 1 .
Artanh. For ∣ x ∣ < 1 |x| < 1 ∣ x ∣ < 1 , artanh x = 1 2 ln 1 + x 1 − x \text{artanh}\, x = \tfrac{1}{2}\ln\tfrac{1+x}{1-x} artanh x = 2 1 ln 1 − x 1 + x :
( artanh x ) ′ = 1 2 ( 1 1 + x + 1 1 − x ) = 1 1 − x 2 . (\text{artanh}\, x)' \;=\; \tfrac{1}{2}\left(\frac{1}{1+x}+\frac{1}{1-x}\right) \;=\; \frac{1}{1-x^2}. ( artanh x ) ′ = 2 1 ( 1 + x 1 + 1 − x 1 ) = 1 − x 2 1 .
Summary
Function Derivative Domain e x e^x e x e x e^x e x R \mathbb{R} R a x a^x a x a x ln a a^x \ln a a x ln a R \mathbb{R} R ln x \ln x ln x 1 / x 1/x 1/ x x > 0 x>0 x > 0 log a x \log_a x log a x 1 / ( x ln a ) 1/(x\ln a) 1/ ( x ln a ) x > 0 x>0 x > 0 x α x^\alpha x α α x α − 1 \alpha x^{\alpha-1} α x α − 1 x > 0 x>0 x > 0 sin x \sin x sin x cos x \cos x cos x R \mathbb{R} R cos x \cos x cos x − sin x -\sin x − sin x R \mathbb{R} R tan x \tan x tan x sec 2 x \sec^2 x sec 2 x x ≠ π / 2 + n π x\neq\pi/2+n\pi x = π /2 + nπ cot x \cot x cot x − csc 2 x -\csc^2 x − csc 2 x x ≠ n π x\neq n\pi x = nπ arcsin x \arcsin x arcsin x 1 / 1 − x 2 1/\sqrt{1-x^2} 1/ 1 − x 2 ( − 1 , 1 ) (-1,1) ( − 1 , 1 ) arccos x \arccos x arccos x − 1 / 1 − x 2 -1/\sqrt{1-x^2} − 1/ 1 − x 2 ( − 1 , 1 ) (-1,1) ( − 1 , 1 ) arctan x \arctan x arctan x 1 / ( 1 + x 2 ) 1/(1+x^2) 1/ ( 1 + x 2 ) R \mathbb{R} R arccot x \text{arccot}\, x arccot x − 1 / ( 1 + x 2 ) -1/(1+x^2) − 1/ ( 1 + x 2 ) R \mathbb{R} R sinh x \sinh x sinh x cosh x \cosh x cosh x R \mathbb{R} R cosh x \cosh x cosh x sinh x \sinh x sinh x R \mathbb{R} R tanh x \tanh x tanh x sech 2 x \text{sech}^2 x sech 2 x R \mathbb{R} R coth x \text{coth}\, x coth x − csch 2 x -\text{csch}^2 x − csch 2 x x ≠ 0 x\neq 0 x = 0 arsinh x \text{arsinh}\, x arsinh x 1 / x 2 + 1 1/\sqrt{x^2+1} 1/ x 2 + 1 R \mathbb{R} R arcosh x \text{arcosh}\, x arcosh x 1 / x 2 − 1 1/\sqrt{x^2-1} 1/ x 2 − 1 x > 1 x>1 x > 1 artanh x \text{artanh}\, x artanh x 1 / ( 1 − x 2 ) 1/(1-x^2) 1/ ( 1 − x 2 ) ∣ x ∣ < 1 \lvert x\rvert<1 ∣ x ∣ < 1