M2 Guide First Principles Powers Find d d x x 3 \dfrac{d}{dx}x^{3} d x d x 3 from first principles.
Solution d d x x 3 = lim h → 0 ( x + h ) 3 − x 3 h = lim h → 0 ( x 3 + 3 x 2 h + 3 x h 2 + h 3 ) − x 3 h = lim h → 0 3 x 2 h + 3 x h 2 + h 3 h = lim h → 0 ( 3 x 2 + 3 x h + h 2 ) = 3 x 2 + 3 x ( 0 ) + ( 0 ) 2 = 3 x 2 \begin{aligned} \dfrac{d}{dx}x^{3} &= \lim_{h \to 0}\dfrac{(x+h)^{3}-x^{3}}{h} \\ &= \lim_{h \to 0}\dfrac{(x^{3}+3x^{2}h+3xh^{2}+h^{3})-x^{3}}{h} \\ &= \lim_{h \to 0}\dfrac{3x^{2}h+3xh^{2}+h^{3}}{h} \\ &= \lim_{h \to 0}(3x^{2}+3xh+h^{2}) \\ &= 3x^{2}+3x(0)+(0)^{2} \\ &= 3x^{2} \end{aligned} d x d x 3 = h → 0 lim h ( x + h ) 3 − x 3 = h → 0 lim h ( x 3 + 3 x 2 h + 3 x h 2 + h 3 ) − x 3 = h → 0 lim h 3 x 2 h + 3 x h 2 + h 3 = h → 0 lim ( 3 x 2 + 3 x h + h 2 ) = 3 x 2 + 3 x ( 0 ) + ( 0 ) 2 = 3 x 2
Find d d x 1 x + 1 \dfrac{d}{dx}\dfrac{1}{x+1} d x d x + 1 1 from first principles.
Solution d d x 1 x + 1 = lim h → 0 1 h [ 1 x + h + 1 − 1 x + 1 ] = lim h → 0 1 h [ ( x + 1 ) − ( x + h + 1 ) ( x + h + 1 ) ( x + 1 ) ] = lim h → 0 1 h [ − h ( x + h + 1 ) ( x + 1 ) ] = lim h → 0 − 1 ( x + h + 1 ) ( x + 1 ) = − 1 ( x + 0 + 1 ) ( x + 1 ) = − 1 ( x + 1 ) 2 \begin{aligned} \dfrac{d}{dx}\dfrac{1}{x+1} &= \lim_{h \to 0}\dfrac{1}{h}\left[\dfrac{1}{x+h+1}-\dfrac{1}{x+1}\right] \\ &= \lim_{h \to 0}\dfrac{1}{h}\left[\dfrac{(x+1)-(x+h+1)}{(x+h+1)(x+1)}\right] \\ &= \lim_{h \to 0}\dfrac{1}{h}\left[\dfrac{-h}{(x+h+1)(x+1)}\right] \\ &= \lim_{h \to 0}\dfrac{-1}{(x+h+1)(x+1)} \\ &= \dfrac{-1}{(x+0+1)(x+1)} \\ &= \dfrac{-1}{(x+1)^{2}} \end{aligned} d x d x + 1 1 = h → 0 lim h 1 [ x + h + 1 1 − x + 1 1 ] = h → 0 lim h 1 [ ( x + h + 1 ) ( x + 1 ) ( x + 1 ) − ( x + h + 1 ) ] = h → 0 lim h 1 [ ( x + h + 1 ) ( x + 1 ) − h ] = h → 0 lim ( x + h + 1 ) ( x + 1 ) − 1 = ( x + 0 + 1 ) ( x + 1 ) − 1 = ( x + 1 ) 2 − 1
Find d d x x \dfrac{d}{dx}\sqrt{x} d x d x from first principles.
Solution d d x x = lim h → 0 x + h − x h = lim h → 0 ( x + h − x ) ( x + h + x ) h ( x + h + x ) = lim h → 0 ( x + h ) 2 − ( x ) 2 h ( x + h + x ) = lim h → 0 x + h − x h ( x + h + x ) = lim h → 0 h h ( x + h + x ) = lim h → 0 1 x + h + x = 1 x + 0 + x = 1 2 x \begin{aligned} \dfrac{d}{dx}\sqrt{x} &= \lim_{h \to 0}\dfrac{\sqrt{x+h}-\sqrt{x}}{h} \\ &= \lim_{h \to 0}\dfrac{(\sqrt{x+h}-\sqrt{x})(\sqrt{x+h}+\sqrt{x})}{h(\sqrt{x+h}+\sqrt{x})} \\ &= \lim_{h \to 0}\dfrac{(\sqrt{x+h})^{2}-(\sqrt{x})^{2}}{h(\sqrt{x+h}+\sqrt{x})} \\ &= \lim_{h \to 0}\dfrac{x+h-x}{h(\sqrt{x+h}+\sqrt{x})} \\ &= \lim_{h \to 0}\dfrac{h}{h(\sqrt{x+h}+\sqrt{x})} \\ &= \lim_{h \to 0}\dfrac{1}{\sqrt{x+h}+\sqrt{x}} \\ &= \dfrac{1}{\sqrt{x+0}+\sqrt{x}} \\ &= \dfrac{1}{2\sqrt{x}} \end{aligned} d x d x = h → 0 lim h x + h − x = h → 0 lim h ( x + h + x ) ( x + h − x ) ( x + h + x ) = h → 0 lim h ( x + h + x ) ( x + h ) 2 − ( x ) 2 = h → 0 lim h ( x + h + x ) x + h − x = h → 0 lim h ( x + h + x ) h = h → 0 lim x + h + x 1 = x + 0 + x 1 = 2 x 1
Find d d x 1 x \dfrac{d}{dx}\dfrac{1}{\sqrt{x}} d x d x 1 from first principles.
Solution d d x 1 x = lim h → 0 1 h [ 1 x + h − 1 x ] = lim h → 0 1 h [ x − x + h x + h x ] = lim h → 0 1 h [ ( x − x + h ) ( x + x + h ) x + h x ( x + x + h ) ] = lim h → 0 1 h [ ( x ) 2 − ( x + h ) 2 x + h x ( x + x + h ) ] = lim h → 0 1 h [ x − ( x + h ) x + h x ( x + x + h ) ] = lim h → 0 1 h [ − h x + h x ( x + x + h ) ] = lim h → 0 − 1 x + h x ( x + x + h ) = − 1 x + 0 x ( x + x + 0 ) = − 1 2 x x \begin{aligned} \dfrac{d}{dx}\dfrac{1}{\sqrt{x}} &= \lim_{h \to 0}\dfrac{1}{h}\left[\dfrac{1}{\sqrt{x+h}}-\dfrac{1}{\sqrt{x}}\right] \\ &= \lim_{h \to 0}\dfrac{1}{h}\left[\dfrac{\sqrt{x}-\sqrt{x+h}}{\sqrt{x+h}\sqrt{x}}\right] \\ &= \lim_{h \to 0}\dfrac{1}{h}\left[\dfrac{(\sqrt{x}-\sqrt{x+h})(\sqrt{x}+\sqrt{x+h})}{\sqrt{x+h}\sqrt{x}(\sqrt{x}+\sqrt{x+h})}\right] \\ &= \lim_{h \to 0}\dfrac{1}{h}\left[\dfrac{(\sqrt{x})^{2}-(\sqrt{x+h})^{2}}{\sqrt{x+h}\sqrt{x}(\sqrt{x}+\sqrt{x+h})}\right] \\ &= \lim_{h \to 0}\dfrac{1}{h}\left[\dfrac{x-(x+h)}{\sqrt{x+h}\sqrt{x}(\sqrt{x}+\sqrt{x+h})}\right] \\ &= \lim_{h \to 0}\dfrac{1}{h}\left[\dfrac{-h}{\sqrt{x+h}\sqrt{x}(\sqrt{x}+\sqrt{x+h})}\right] \\ &= \lim_{h \to 0}\dfrac{-1}{\sqrt{x+h}\sqrt{x}(\sqrt{x}+\sqrt{x+h})} \\ &= \dfrac{-1}{\sqrt{x+0}\sqrt{x}(\sqrt{x}+\sqrt{x+0})} \\ &= \dfrac{-1}{2x\sqrt{x}} \end{aligned} d x d x 1 = h → 0 lim h 1 [ x + h 1 − x 1 ] = h → 0 lim h 1 [ x + h x x − x + h ] = h → 0 lim h 1 [ x + h x ( x + x + h ) ( x − x + h ) ( x + x + h ) ] = h → 0 lim h 1 [ x + h x ( x + x + h ) ( x ) 2 − ( x + h ) 2 ] = h → 0 lim h 1 [ x + h x ( x + x + h ) x − ( x + h ) ] = h → 0 lim h 1 [ x + h x ( x + x + h ) − h ] = h → 0 lim x + h x ( x + x + h ) − 1 = x + 0 x ( x + x + 0 ) − 1 = 2 x x − 1
Find d d x x 3 \dfrac{d}{dx}\sqrt[3]{x} d x d 3 x from first principles.
Solution Let a = x + h 3 a=\sqrt[3]{x+h} a = 3 x + h and b = x 3 b=\sqrt[3]{x} b = 3 x .
d d x x 3 = lim h → 0 x + h 3 − x 3 h = lim h → 0 a − b h = lim h → 0 ( a − b ) ( a 2 + a b + b 2 ) h ( a 2 + a b + b 2 ) = lim h → 0 a 3 − b 3 h ( a 2 + a b + b 2 ) = lim h → 0 ( x + h 3 ) 3 − ( x 3 ) 3 h [ ( x + h 3 ) 2 + x + h 3 x 3 + ( x 3 ) 2 ] = lim h → 0 x + h − x h [ ( x + h 3 ) 2 + x + h 3 x 3 + ( x 3 ) 2 ] = lim h → 0 1 ( x + h 3 ) 2 + x + h 3 x 3 + ( x 3 ) 2 = 1 ( x 3 ) 2 + x 3 x 3 + ( x 3 ) 2 = 1 3 ( x 3 ) 2 \begin{aligned} \dfrac{d}{dx}\sqrt[3]{x} &= \lim_{h \to 0}\dfrac{\sqrt[3]{x+h}-\sqrt[3]{x}}{h} \\ &= \lim_{h \to 0}\dfrac{a-b}{h} \\ &= \lim_{h \to 0}\dfrac{(a-b)(a^{2}+ab+b^{2})}{h(a^{2}+ab+b^{2})} \\ &= \lim_{h \to 0}\dfrac{a^{3}-b^{3}}{h(a^{2}+ab+b^{2})} \\ &= \lim_{h \to 0}\dfrac{(\sqrt[3]{x+h})^{3}-(\sqrt[3]{x})^{3}}{h\left[(\sqrt[3]{x+h})^{2}+\sqrt[3]{x+h}\sqrt[3]{x}+(\sqrt[3]{x})^{2}\right]} \\ &= \lim_{h \to 0}\dfrac{x+h-x}{h\left[(\sqrt[3]{x+h})^{2}+\sqrt[3]{x+h}\sqrt[3]{x}+(\sqrt[3]{x})^{2}\right]} \\ &= \lim_{h \to 0}\dfrac{1}{(\sqrt[3]{x+h})^{2}+\sqrt[3]{x+h}\sqrt[3]{x}+(\sqrt[3]{x})^{2}} \\ &= \dfrac{1}{(\sqrt[3]{x})^{2}+\sqrt[3]{x}\sqrt[3]{x}+(\sqrt[3]{x})^{2}} \\ &= \dfrac{1}{3(\sqrt[3]{x})^{2}} \end{aligned} d x d 3 x = h → 0 lim h 3 x + h − 3 x = h → 0 lim h a − b = h → 0 lim h ( a 2 + ab + b 2 ) ( a − b ) ( a 2 + ab + b 2 ) = h → 0 lim h ( a 2 + ab + b 2 ) a 3 − b 3 = h → 0 lim h [ ( 3 x + h ) 2 + 3 x + h 3 x + ( 3 x ) 2 ] ( 3 x + h ) 3 − ( 3 x ) 3 = h → 0 lim h [ ( 3 x + h ) 2 + 3 x + h 3 x + ( 3 x ) 2 ] x + h − x = h → 0 lim ( 3 x + h ) 2 + 3 x + h 3 x + ( 3 x ) 2 1 = ( 3 x ) 2 + 3 x 3 x + ( 3 x ) 2 1 = 3 ( 3 x ) 2 1
Trig Find d d x sin x \dfrac{d}{dx}\sin x d x d sin x from first principles.
Method 1: Sum-to-product Formula d d x sin x = lim h → 0 sin ( x + h ) − sin x h = lim h → 0 2 cos ( x + h + x 2 ) sin ( x + h − x 2 ) h ← sum-to-product = lim h → 0 cos ( x + h 2 ) sin ( h 2 ) h 2 = lim h → 0 cos ( x + h 2 ) ⋅ sin ( h 2 ) h 2 = cos ( x + 0 ) ⋅ ( 1 ) = cos x \begin{aligned} \dfrac{d}{dx}\sin x &= \lim_{h \to 0}\dfrac{\sin(x+h)-\sin x}{h} \\ &= \lim_{h \to 0}\dfrac{2\cos\left(\dfrac{x+h+x}{2}\right)\sin\left(\dfrac{x+h-x}{2}\right)}{h} && \leftarrow \text{sum-to-product} \\ &= \lim_{h \to 0}\dfrac{\cos\left(x+\dfrac{h}{2}\right)\sin\left(\dfrac{h}{2}\right)}{\dfrac{h}{2}} \\ &= \lim_{h \to 0}\cos\left(x+\dfrac{h}{2}\right)\cdot\dfrac{\sin\left(\dfrac{h}{2}\right)}{\dfrac{h}{2}} \\ &= \cos(x+0)\cdot(1) \\ &= \cos x \end{aligned} d x d sin x = h → 0 lim h sin ( x + h ) − sin x = h → 0 lim h 2 cos ( 2 x + h + x ) sin ( 2 x + h − x ) = h → 0 lim 2 h cos ( x + 2 h ) sin ( 2 h ) = h → 0 lim cos ( x + 2 h ) ⋅ 2 h sin ( 2 h ) = cos ( x + 0 ) ⋅ ( 1 ) = cos x ← sum-to-product
Method 2: Compound Angle Formula d d x sin x = lim h → 0 sin ( x + h ) − sin x h = lim h → 0 sin x cos h + cos x sin h − sin x h = lim h → 0 cos x sin h − sin x ( 1 − cos h ) h = lim h → 0 [ cos x ⋅ sin h h − sin x ⋅ 1 − cos h h ] = lim h → 0 [ cos x ⋅ sin h h − sin x ⋅ 2 sin 2 ( h 2 ) h ] = lim h → 0 [ cos x ⋅ sin h h − sin x sin ( h 2 ) ⋅ sin ( h 2 ) h 2 ] = cos x ⋅ ( 1 ) − sin x sin 0 ⋅ ( 1 ) = cos x \begin{aligned} \dfrac{d}{dx}\sin x &= \lim_{h \to 0}\dfrac{\sin(x+h)-\sin x}{h} \\ &= \lim_{h \to 0}\dfrac{\sin x\cos h+\cos x\sin h-\sin x}{h} \\ &= \lim_{h \to 0}\dfrac{\cos x\sin h-\sin x(1-\cos h)}{h} \\ &= \lim_{h \to 0}\left[\cos x\cdot\dfrac{\sin h}{h}-\sin x\cdot\dfrac{1-\cos h}{h}\right] \\ &= \lim_{h \to 0}\left[\cos x\cdot\dfrac{\sin h}{h}-\sin x\cdot\dfrac{2\sin^{2}\left(\dfrac{h}{2}\right)}{h}\right] \\ &= \lim_{h \to 0}\left[\cos x\cdot\dfrac{\sin h}{h}-\sin x\sin\left(\dfrac{h}{2}\right)\cdot\dfrac{\sin\left(\dfrac{h}{2}\right)}{\dfrac{h}{2}}\right] \\ &= \cos x\cdot(1)-\sin x\sin 0\cdot(1) \\ &= \cos x \end{aligned} d x d sin x = h → 0 lim h sin ( x + h ) − sin x = h → 0 lim h sin x cos h + cos x sin h − sin x = h → 0 lim h cos x sin h − sin x ( 1 − cos h ) = h → 0 lim [ cos x ⋅ h sin h − sin x ⋅ h 1 − cos h ] = h → 0 lim cos x ⋅ h sin h − sin x ⋅ h 2 sin 2 ( 2 h ) = h → 0 lim cos x ⋅ h sin h − sin x sin ( 2 h ) ⋅ 2 h sin ( 2 h ) = cos x ⋅ ( 1 ) − sin x sin 0 ⋅ ( 1 ) = cos x
Find d d x cos x \dfrac{d}{dx}\cos x d x d cos x from first principles.
Method 1: Sum-to-product Formula d d x cos x = lim h → 0 cos ( x + h ) − cos x h = lim h → 0 − 2 sin ( x + h + x 2 ) sin ( x + h − x 2 ) h ← sum-to-product = lim h → 0 − sin ( x + h 2 ) sin ( h 2 ) h 2 = lim h → 0 − sin ( x + h 2 ) ⋅ sin ( h 2 ) h 2 = − sin ( x + 0 ) ⋅ ( 1 ) = − sin x \begin{aligned} \dfrac{d}{dx}\cos x &= \lim_{h \to 0}\dfrac{\cos(x+h)-\cos x}{h} \\ &= \lim_{h \to 0}\dfrac{-2\sin\left(\dfrac{x+h+x}{2}\right)\sin\left(\dfrac{x+h-x}{2}\right)}{h} && \leftarrow \text{sum-to-product} \\ &= \lim_{h \to 0}\dfrac{-\sin\left(x+\dfrac{h}{2}\right)\sin\left(\dfrac{h}{2}\right)}{\dfrac{h}{2}} \\ &= \lim_{h \to 0}-\sin\left(x+\dfrac{h}{2}\right)\cdot\dfrac{\sin\left(\dfrac{h}{2}\right)}{\dfrac{h}{2}} \\ &= -\sin(x+0)\cdot(1) \\ &= -\sin x \end{aligned} d x d cos x = h → 0 lim h cos ( x + h ) − cos x = h → 0 lim h − 2 sin ( 2 x + h + x ) sin ( 2 x + h − x ) = h → 0 lim 2 h − sin ( x + 2 h ) sin ( 2 h ) = h → 0 lim − sin ( x + 2 h ) ⋅ 2 h sin ( 2 h ) = − sin ( x + 0 ) ⋅ ( 1 ) = − sin x ← sum-to-product
Method 2: Compound Angle Formula d d x cos x = lim h → 0 cos ( x + h ) − cos x h = lim h → 0 cos x cos h − sin x sin h − cos x h = lim h → 0 − sin x sin h − cos x ( 1 − cos h ) h = lim h → 0 [ − sin x ⋅ sin h h − cos x ⋅ 1 − cos h h ] = lim h → 0 [ − sin x ⋅ sin h h − cos x ⋅ 2 sin 2 ( h 2 ) h ] = lim h → 0 [ − sin x ⋅ sin h h − cos x sin ( h 2 ) ⋅ sin ( h 2 ) h 2 ] = − sin x ⋅ ( 1 ) − cos x sin 0 ⋅ ( 1 ) = − sin x \begin{aligned} \dfrac{d}{dx}\cos x &= \lim_{h \to 0}\dfrac{\cos(x+h)-\cos x}{h} \\ &= \lim_{h \to 0}\dfrac{\cos x\cos h-\sin x\sin h-\cos x}{h} \\ &= \lim_{h \to 0}\dfrac{-\sin x\sin h-\cos x(1-\cos h)}{h} \\ &= \lim_{h \to 0}\left[-\sin x\cdot\dfrac{\sin h}{h}-\cos x\cdot\dfrac{1-\cos h}{h}\right] \\ &= \lim_{h \to 0}\left[-\sin x\cdot\dfrac{\sin h}{h}-\cos x\cdot\dfrac{2\sin^{2}\left(\dfrac{h}{2}\right)}{h}\right] \\ &= \lim_{h \to 0}\left[-\sin x\cdot\dfrac{\sin h}{h}-\cos x\sin\left(\dfrac{h}{2}\right)\cdot\dfrac{\sin\left(\dfrac{h}{2}\right)}{\dfrac{h}{2}}\right] \\ &= -\sin x\cdot(1)-\cos x\sin 0\cdot(1) \\ &= -\sin x \end{aligned} d x d cos x = h → 0 lim h cos ( x + h ) − cos x = h → 0 lim h cos x cos h − sin x sin h − cos x = h → 0 lim h − sin x sin h − cos x ( 1 − cos h ) = h → 0 lim [ − sin x ⋅ h sin h − cos x ⋅ h 1 − cos h ] = h → 0 lim − sin x ⋅ h sin h − cos x ⋅ h 2 sin 2 ( 2 h ) = h → 0 lim − sin x ⋅ h sin h − cos x sin ( 2 h ) ⋅ 2 h sin ( 2 h ) = − sin x ⋅ ( 1 ) − cos x sin 0 ⋅ ( 1 ) = − sin x
Find d d x tan x \dfrac{d}{dx}\tan x d x d tan x from first principles.
Method 1 d d x tan x = lim h → 0 1 h [ tan ( x + h ) − tan x ] = lim h → 0 1 h [ sin ( x + h ) cos ( x + h ) − sin x cos x ] = lim h → 0 1 h [ sin ( x + h ) cos x − sin x cos ( x + h ) cos ( x + h ) cos x ] = lim h → 0 1 h [ sin ( x + h − x ) cos ( x + h ) cos x ] = lim h → 0 1 h [ sin h cos ( x + h ) cos x ] = lim h → 0 [ sin h h ⋅ 1 cos ( x + h ) cos x ] = ( 1 ) ⋅ 1 cos ( x + 0 ) cos x = 1 cos 2 x = sec 2 x \begin{aligned} \dfrac{d}{dx}\tan x &= \lim_{h \to 0}\dfrac{1}{h}\left[\tan(x+h)-\tan x\right] \\ &= \lim_{h \to 0}\dfrac{1}{h}\left[\dfrac{\sin(x+h)}{\cos(x+h)}-\dfrac{\sin x}{\cos x}\right] \\ &= \lim_{h \to 0}\dfrac{1}{h}\left[\dfrac{\sin(x+h)\cos x-\sin x\cos(x+h)}{\cos(x+h)\cos x}\right] \\ &= \lim_{h \to 0}\dfrac{1}{h}\left[\dfrac{\sin(x+h-x)}{\cos(x+h)\cos x}\right] \\ &= \lim_{h \to 0}\dfrac{1}{h}\left[\dfrac{\sin h}{\cos(x+h)\cos x}\right] \\ &= \lim_{h \to 0}\left[\dfrac{\sin h}{h}\cdot\dfrac{1}{\cos(x+h)\cos x}\right] \\ &= (1)\cdot\dfrac{1}{\cos(x+0)\cos x} \\ &= \dfrac{1}{\cos^{2}x} \\ &= \sec^{2}x \end{aligned} d x d tan x = h → 0 lim h 1 [ tan ( x + h ) − tan x ] = h → 0 lim h 1 [ cos ( x + h ) sin ( x + h ) − cos x sin x ] = h → 0 lim h 1 [ cos ( x + h ) cos x sin ( x + h ) cos x − sin x cos ( x + h ) ] = h → 0 lim h 1 [ cos ( x + h ) cos x sin ( x + h − x ) ] = h → 0 lim h 1 [ cos ( x + h ) cos x sin h ] = h → 0 lim [ h sin h ⋅ cos ( x + h ) cos x 1 ] = ( 1 ) ⋅ cos ( x + 0 ) cos x 1 = cos 2 x 1 = sec 2 x
Method 2 d d x tan x = lim h → 0 1 h [ tan ( x + h ) − tan x ] = lim h → 0 1 h [ tan ( x + h ) − tan x 1 + tan ( x + h ) tan x ] [ 1 + tan ( x + h ) tan x ] = lim h → 0 1 h [ tan ( x + h − x ) ] [ 1 + tan ( x + h ) tan x ] = lim h → 0 1 h [ tan h ] [ 1 + tan ( x + h ) tan x ] = lim h → 0 sin h h ⋅ 1 cos h [ 1 + tan ( x + h ) tan x ] = ( 1 ) ⋅ 1 cos 0 [ 1 + tan ( x + 0 ) tan x ] = 1 + tan 2 x = sec 2 x \begin{aligned} \dfrac{d}{dx}\tan x &= \lim_{h \to 0}\dfrac{1}{h}\left[\tan(x+h)-\tan x\right] \\ &= \lim_{h \to 0}\dfrac{1}{h}\left[\dfrac{\tan(x+h)-\tan x}{1+\tan(x+h)\tan x}\right]\left[1+\tan(x+h)\tan x\right] \\ &= \lim_{h \to 0}\dfrac{1}{h}\left[\tan(x+h-x)\right]\left[1+\tan(x+h)\tan x\right] \\ &= \lim_{h \to 0}\dfrac{1}{h}\left[\tan h\right]\left[1+\tan(x+h)\tan x\right] \\ &= \lim_{h \to 0}\dfrac{\sin h}{h}\cdot\dfrac{1}{\cos h}\left[1+\tan(x+h)\tan x\right] \\ &= (1)\cdot\dfrac{1}{\cos 0}\left[1+\tan(x+0)\tan x\right] \\ &= 1+\tan^{2}x \\ &= \sec^{2}x \end{aligned} d x d tan x = h → 0 lim h 1 [ tan ( x + h ) − tan x ] = h → 0 lim h 1 [ 1 + tan ( x + h ) tan x tan ( x + h ) − tan x ] [ 1 + tan ( x + h ) tan x ] = h → 0 lim h 1 [ tan ( x + h − x ) ] [ 1 + tan ( x + h ) tan x ] = h → 0 lim h 1 [ tan h ] [ 1 + tan ( x + h ) tan x ] = h → 0 lim h sin h ⋅ cos h 1 [ 1 + tan ( x + h ) tan x ] = ( 1 ) ⋅ cos 0 1 [ 1 + tan ( x + 0 ) tan x ] = 1 + tan 2 x = sec 2 x
Find d d x csc x \dfrac{d}{dx}\csc x d x d csc x from first principles.
Solution d d x csc x = lim h → 0 1 h [ csc ( x + h ) − csc x ] = lim h → 0 1 h [ 1 sin ( x + h ) − 1 sin x ] = lim h → 0 1 h [ sin x − sin ( x + h ) sin ( x + h ) sin x ] = lim h → 0 sin ( x + h ) − sin x h × − 1 sin ( x + h ) sin x = ⋯ ( same steps as d d x sin x = lim h → 0 sin ( x + h ) − sin x h ) = cos x × − 1 sin ( x + 0 ) sin x = − cos x sin 2 x = − csc x cot x \begin{aligned} \dfrac{d}{dx}\csc x &= \lim_{h \to 0}\dfrac{1}{h}\left[\csc(x+h)-\csc x\right] \\ &= \lim_{h \to 0}\dfrac{1}{h}\left[\dfrac{1}{\sin(x+h)}-\dfrac{1}{\sin x}\right] \\ &= \lim_{h \to 0}\dfrac{1}{h}\left[\dfrac{\sin x-\sin(x+h)}{\sin(x+h)\sin x}\right] \\ &= \lim_{h \to 0}\dfrac{\sin(x+h)-\sin x}{h}\times\dfrac{-1}{\sin(x+h)\sin x} \\ &= \cdots\left(\text{same steps as }\dfrac{d}{dx}\sin x=\lim_{h \to 0}\dfrac{\sin(x+h)-\sin x}{h}\right) \\ &= \cos x\times\dfrac{-1}{\sin(x+0)\sin x} \\ &= \dfrac{-\cos x}{\sin^{2}x} \\ &= -\csc x\cot x \end{aligned} d x d csc x = h → 0 lim h 1 [ csc ( x + h ) − csc x ] = h → 0 lim h 1 [ sin ( x + h ) 1 − sin x 1 ] = h → 0 lim h 1 [ sin ( x + h ) sin x sin x − sin ( x + h ) ] = h → 0 lim h sin ( x + h ) − sin x × sin ( x + h ) sin x − 1 = ⋯ ( same steps as d x d sin x = h → 0 lim h sin ( x + h ) − sin x ) = cos x × sin ( x + 0 ) sin x − 1 = sin 2 x − cos x = − csc x cot x
Find d d x sec x \dfrac{d}{dx}\sec x d x d sec x from first principles.
Solution d d x sec x = lim h → 0 1 h [ sec ( x + h ) − sec x ] = lim h → 0 1 h [ 1 cos ( x + h ) − 1 cos x ] = lim h → 0 1 h [ cos x − cos ( x + h ) cos ( x + h ) cos x ] = lim h → 0 cos ( x + h ) − cos x h × − 1 cos ( x + h ) cos x = ⋯ ( same steps as d d x cos x = lim h → 0 cos ( x + h ) − cos x h ) = − sin x × − 1 cos ( x + 0 ) cos x = sin x cos 2 x = sec x tan x \begin{aligned} \dfrac{d}{dx}\sec x &= \lim_{h \to 0}\dfrac{1}{h}\left[\sec(x+h)-\sec x\right] \\ &= \lim_{h \to 0}\dfrac{1}{h}\left[\dfrac{1}{\cos(x+h)}-\dfrac{1}{\cos x}\right] \\ &= \lim_{h \to 0}\dfrac{1}{h}\left[\dfrac{\cos x-\cos(x+h)}{\cos(x+h)\cos x}\right] \\ &= \lim_{h \to 0}\dfrac{\cos(x+h)-\cos x}{h}\times\dfrac{-1}{\cos(x+h)\cos x} \\ &= \cdots\left(\text{same steps as }\dfrac{d}{dx}\cos x=\lim_{h \to 0}\dfrac{\cos(x+h)-\cos x}{h}\right) \\ &= -\sin x\times\dfrac{-1}{\cos(x+0)\cos x} \\ &= \dfrac{\sin x}{\cos^{2}x} \\ &= \sec x\tan x \end{aligned} d x d sec x = h → 0 lim h 1 [ sec ( x + h ) − sec x ] = h → 0 lim h 1 [ cos ( x + h ) 1 − cos x 1 ] = h → 0 lim h 1 [ cos ( x + h ) cos x cos x − cos ( x + h ) ] = h → 0 lim h cos ( x + h ) − cos x × cos ( x + h ) cos x − 1 = ⋯ ( same steps as d x d cos x = h → 0 lim h cos ( x + h ) − cos x ) = − sin x × cos ( x + 0 ) cos x − 1 = cos 2 x sin x = sec x tan x
Find d d x cot x \dfrac{d}{dx}\cot x d x d cot x from first principles.
Solution d d x cot x = lim h → 0 1 h [ cot ( x + h ) − cot x ] = lim h → 0 1 h [ 1 tan ( x + h ) − 1 tan x ] = lim h → 0 1 h [ tan x − tan ( x + h ) tan ( x + h ) tan x ] = lim h → 0 tan ( x + h ) − tan x h × − 1 tan ( x + h ) tan x = ⋯ ( same steps as d d x tan x = lim h → 0 tan ( x + h ) − tan x h ) = sec 2 x × − 1 tan ( x + 0 ) tan x = 1 cos 2 x × − 1 tan 2 x = − 1 sin 2 x = − csc 2 x \begin{aligned} \dfrac{d}{dx}\cot x &= \lim_{h \to 0}\dfrac{1}{h}\left[\cot(x+h)-\cot x\right] \\ &= \lim_{h \to 0}\dfrac{1}{h}\left[\dfrac{1}{\tan(x+h)}-\dfrac{1}{\tan x}\right] \\ &= \lim_{h \to 0}\dfrac{1}{h}\left[\dfrac{\tan x-\tan(x+h)}{\tan(x+h)\tan x}\right] \\ &= \lim_{h \to 0}\dfrac{\tan(x+h)-\tan x}{h}\times\dfrac{-1}{\tan(x+h)\tan x} \\ &= \cdots\left(\text{same steps as }\dfrac{d}{dx}\tan x=\lim_{h \to 0}\dfrac{\tan(x+h)-\tan x}{h}\right) \\ &= \sec^{2}x\times\dfrac{-1}{\tan(x+0)\tan x} \\ &= \dfrac{1}{\cos^{2}x}\times\dfrac{-1}{\tan^{2}x} \\ &= \dfrac{-1}{\sin^{2}x} \\ &= -\csc^{2}x \end{aligned} d x d cot x = h → 0 lim h 1 [ cot ( x + h ) − cot x ] = h → 0 lim h 1 [ tan ( x + h ) 1 − tan x 1 ] = h → 0 lim h 1 [ tan ( x + h ) tan x tan x − tan ( x + h ) ] = h → 0 lim h tan ( x + h ) − tan x × tan ( x + h ) tan x − 1 = ⋯ ( same steps as d x d tan x = h → 0 lim h tan ( x + h ) − tan x ) = sec 2 x × tan ( x + 0 ) tan x − 1 = cos 2 x 1 × tan 2 x − 1 = sin 2 x − 1 = − csc 2 x
Exp and Log Find d d x e x \dfrac{d}{dx}e^{x} d x d e x from first principles.
Solution d d x e x = lim h → 0 e x + h − e x h = lim h → 0 e x ⋅ e h − e x h = lim h → 0 e x ( e h − 1 ) h = lim h → 0 e x ⋅ e h − 1 h = e x ⋅ ( 1 ) = e x \begin{aligned} \dfrac{d}{dx}e^{x} &= \lim_{h \to 0}\dfrac{e^{x+h}-e^{x}}{h} \\ &= \lim_{h \to 0}\dfrac{e^{x}\cdot e^{h}-e^{x}}{h} \\ &= \lim_{h \to 0}\dfrac{e^{x}(e^{h}-1)}{h} \\ &= \lim_{h \to 0}e^{x}\cdot\dfrac{e^{h}-1}{h} \\ &= e^{x}\cdot(1) \\ &= e^{x} \end{aligned} d x d e x = h → 0 lim h e x + h − e x = h → 0 lim h e x ⋅ e h − e x = h → 0 lim h e x ( e h − 1 ) = h → 0 lim e x ⋅ h e h − 1 = e x ⋅ ( 1 ) = e x
Find d d x ln x \dfrac{d}{dx}\ln x d x d ln x from first principles.
Solution d d x ln x = lim h → 0 1 h [ ln ( x + h ) − ln x ] = lim h → 0 1 h ln ( x + h x ) = lim h → 0 1 h ln ( 1 + h x ) = lim n → + ∞ n x ln ( 1 + 1 n ) ← let h x = 1 n = lim n → + ∞ 1 x ln ( 1 + 1 n ) n = 1 x ln e ← e = lim n → + ∞ ( 1 + 1 n ) n = 1 x \begin{aligned} \dfrac{d}{dx}\ln x &= \lim_{h \to 0}\dfrac{1}{h}\left[\ln(x+h)-\ln x\right] \\ &= \lim_{h \to 0}\dfrac{1}{h}\ln\left(\dfrac{x+h}{x}\right) \\ &= \lim_{h \to 0}\dfrac{1}{h}\ln\left(1+\dfrac{h}{x}\right) \\ &= \lim_{n \to +\infty}\dfrac{n}{x}\ln\left(1+\dfrac{1}{n}\right) && \leftarrow \text{let }\dfrac{h}{x}=\dfrac{1}{n} \\ &= \lim_{n \to +\infty}\dfrac{1}{x}\ln\left(1+\dfrac{1}{n}\right)^{n} \\ &= \dfrac{1}{x}\ln e && \leftarrow e=\lim_{n \to +\infty}\left(1+\dfrac{1}{n}\right)^{n} \\ &= \dfrac{1}{x} \end{aligned} d x d ln x = h → 0 lim h 1 [ ln ( x + h ) − ln x ] = h → 0 lim h 1 ln ( x x + h ) = h → 0 lim h 1 ln ( 1 + x h ) = n → + ∞ lim x n ln ( 1 + n 1 ) = n → + ∞ lim x 1 ln ( 1 + n 1 ) n = x 1 ln e = x 1 ← let x h = n 1 ← e = n → + ∞ lim ( 1 + n 1 ) n
Find d d x x e x \dfrac{d}{dx}xe^{x} d x d x e x from first principles.
Solution d d x x e x = lim h → 0 ( x + h ) e x + h − x e x h = lim h → 0 x e x + h + h e x + h − x e x h = lim h → 0 x ( e x + h − e x ) + h e x + h h = lim h → 0 [ x ⋅ e x + h − e x h + e x + h ] = ⋯ ( same steps as d d x e x = lim h → 0 e x + h − e x h ) = x ⋅ e x + e x + 0 = x e x + e x \begin{aligned} \dfrac{d}{dx}xe^{x} &= \lim_{h \to 0}\dfrac{(x+h)e^{x+h}-xe^{x}}{h} \\ &= \lim_{h \to 0}\dfrac{xe^{x+h}+he^{x+h}-xe^{x}}{h} \\ &= \lim_{h \to 0}\dfrac{x(e^{x+h}-e^{x})+he^{x+h}}{h} \\ &= \lim_{h \to 0}\left[x\cdot\dfrac{e^{x+h}-e^{x}}{h}+e^{x+h}\right] \\ &= \cdots\left(\text{same steps as }\dfrac{d}{dx}e^{x}=\lim_{h \to 0}\dfrac{e^{x+h}-e^{x}}{h}\right) \\ &= x\cdot e^{x}+e^{x+0} \\ &= xe^{x}+e^{x} \end{aligned} d x d x e x = h → 0 lim h ( x + h ) e x + h − x e x = h → 0 lim h x e x + h + h e x + h − x e x = h → 0 lim h x ( e x + h − e x ) + h e x + h = h → 0 lim [ x ⋅ h e x + h − e x + e x + h ] = ⋯ ( same steps as d x d e x = h → 0 lim h e x + h − e x ) = x ⋅ e x + e x + 0 = x e x + e x