Differentiation
To differentiate something means to see how fast it changes with respect
to (w.r.t) something else changing, for example, time t t t . Imagine you step forward in time by a very small step h h h .
As h → 0 h\rightarrow 0 h → 0 , the change in x x x becomes the derivative of x x x with respect to time.
d d t f ( t ) = lim h → 0 f ( t + h ) − f ( t ) h \frac{d}{dt}f(t)=\lim_{h\to 0} \frac{f(t+h)-f(t)}{h} d t d f ( t ) = h → 0 lim h f ( t + h ) − f ( t )
To do this, us humans developed some nifty tricks. Here’s all of them.
d d x [ f ( x ) ± g ( x ) ] = f ′ ( x ) ± g ′ ( x ) d d x [ x n ] = n x n − 1 d d x [ f ( x ) g ( x ) ] = f ′ ( x ) g ( x ) + f ( x ) g ′ ( x ) d d x [ f ( g ( x ) ) ] = f ′ ( g ( x ) ) g ′ ( x ) d d x [ e x ] = e x d d x [ a x ] = a x ln ( a ) d d x [ ln ( x ) ] = 1 x d d x [ log a ( x ) ] = 1 x ln ( a ) d d x [ sin ( x ) ] = cos ( x ) d d x [ cos ( x ) ] = − sin ( x ) d d x [ tan ( x ) ] = ( 1 cos ( x ) ) 2 d d x ( 1 tan ( x ) ) = 1 sin 2 ( x ) d d x ( 1 cos ( x ) ) = sin x cos 2 x d d x ( 1 sin ( x ) ) = − cos x sin 2 x d d x [ arcsin ( x ) ] = 1 1 − x 2 d d x [ arccos ( x ) ] = − 1 1 − x 2 d d x [ arctan ( x ) ] = 1 1 + x 2 d d x [ arccot ( x ) ] = − 1 1 + x 2 d d x [ arcsec ( x ) ] = 1 ∣ x ∣ x 2 − 1 d d x [ arccsc ( x ) ] = − 1 ∣ x ∣ x 2 − 1 d d x [ f ( x ) g ( x ) ] = f ( x ) g ( x ) [ g ′ ( x ) ln ( f ( x ) ) + g ( x ) f ′ ( x ) f ( x ) ] d d x [ f − 1 ( x ) ] = 1 f ′ ( f − 1 ( x ) ) d n d x n [ f ( x ) g ( x ) ] = ∑ k = 0 n ( n k ) f ( k ) ( x ) g ( n − k ) ( x ) \begin{align*}
\frac{d}{dx}[f(x) \pm g(x)] & = f'(x) \pm g'(x) \\
\frac{d}{dx}[x^n] & = nx^{n-1} \\
\frac{d}{dx}[f(x)g(x)] & = f'(x)g(x) + f(x)g'(x) \\
\frac{d}{dx}[f(g(x))] & = f'(g(x))\,g'(x) \\
\frac{d}{dx}[e^x] & = e^x \\
\frac{d}{dx}[a^x] & = a^x \ln(a) \\
\frac{d}{dx}[\ln(x)] & = \frac{1}{x} \\
\frac{d}{dx}[\log_a(x)] & = \frac{1}{x \ln(a)} \\
\frac{d}{dx}[\sin(x)] & = \cos(x) \\
\frac{d}{dx}[\cos(x)] & = -\sin(x) \\
\frac{d}{dx}[\tan(x)] & = \left(\frac{1}{\cos(x)}\right)^2 \\
\frac{d}{dx}\left(\frac{1}{\tan(x)}\right) & = \frac{1}{\sin^2 (x)} \\
\frac{d}{dx}\left(\frac{1}{\cos(x)}\right) & = \frac{\sin x}{\cos^2 x} \\
\frac{d}{dx}\left(\frac{1}{\sin(x)}\right) & = -\frac{\cos x}{\sin^2 x} \\
\frac{d}{dx}[\arcsin(x)] & = \frac{1}{\sqrt{1 - x^2}} \\
\frac{d}{dx}[\arccos(x)] & = -\frac{1}{\sqrt{1 - x^2}} \\
\frac{d}{dx}[\arctan(x)] & = \frac{1}{1 + x^2} \\
\frac{d}{dx}[\operatorname{arccot}(x)] & = -\frac{1}{1 + x^2} \\
\frac{d}{dx}[\operatorname{arcsec}(x)] & = \frac{1}{|x|\sqrt{x^2 - 1}} \\
\frac{d}{dx}[\operatorname{arccsc}(x)] & = -\frac{1}{|x|\sqrt{x^2 - 1}} \\
\frac{d}{dx}[f(x)^{g(x)}] & = f(x)^{g(x)} \left[g'(x)\ln(f(x)) + \frac{g(x)\,f'(x)}{f(x)}\right] \\
\frac{d}{dx}[f^{-1}(x)] & = \frac{1}{f'(f^{-1}(x))} \\
\frac{d^n}{dx^n}[f(x)g(x)] & = \sum_{k=0}^{n} \binom{n}{k} f^{(k)}(x)\,g^{(n-k)}(x)
\end{align*} d x d [ f ( x ) ± g ( x )] d x d [ x n ] d x d [ f ( x ) g ( x )] d x d [ f ( g ( x ))] d x d [ e x ] d x d [ a x ] d x d [ ln ( x )] d x d [ log a ( x )] d x d [ sin ( x )] d x d [ cos ( x )] d x d [ tan ( x )] d x d ( tan ( x ) 1 ) d x d ( cos ( x ) 1 ) d x d ( sin ( x ) 1 ) d x d [ arcsin ( x )] d x d [ arccos ( x )] d x d [ arctan ( x )] d x d [ arccot ( x )] d x d [ arcsec ( x )] d x d [ arccsc ( x )] d x d [ f ( x ) g ( x ) ] d x d [ f − 1 ( x )] d x n d n [ f ( x ) g ( x )] = f ′ ( x ) ± g ′ ( x ) = n x n − 1 = f ′ ( x ) g ( x ) + f ( x ) g ′ ( x ) = f ′ ( g ( x )) g ′ ( x ) = e x = a x ln ( a ) = x 1 = x ln ( a ) 1 = cos ( x ) = − sin ( x ) = ( cos ( x ) 1 ) 2 = sin 2 ( x ) 1 = cos 2 x sin x = − sin 2 x cos x = 1 − x 2 1 = − 1 − x 2 1 = 1 + x 2 1 = − 1 + x 2 1 = ∣ x ∣ x 2 − 1 1 = − ∣ x ∣ x 2 − 1 1 = f ( x ) g ( x ) [ g ′ ( x ) ln ( f ( x )) + f ( x ) g ( x ) f ′ ( x ) ] = f ′ ( f − 1 ( x )) 1 = k = 0 ∑ n ( k n ) f ( k ) ( x ) g ( n − k ) ( x )