What could be the easiest way to remember all common derivative and common integral formulas? 
*

*Calculus cheat sheet
Remembering the following formulas has been a nuisance for me for years now.
Common Derivatives

Common Integrals


*

*They are too many in numbers

*Intuition doesn't work

*I mix up derivatives and integrals frequently

Can anyone suggest the best way to remember them?
 A: Memorize the derivatives of $x^n$, $e^x$, $\ln|x|$, $\sin x$, $\cos x$, $\arcsin x$, $\arctan x$, and maybe $\tan x$ (which are used all the time), and derive the rest whenever you need them (which isn't often, in my experience).
Then many of the integrals will just be “backwards versions” of what you already know, so there's no extra memory required to store them, and for those that are not, you can compute them when needed rather than memorizing them. For example,
$$
\int \ln x \, dx = \int 1 \cdot \ln x \, dx = \cdots \quad \text{(integrate by parts)}
$$
or
$$
\int \tan x \, dx = \int \frac{\sin x}{\cos x} \, dx = - \int \frac{-\sin x}{\cos x} \, dx = - \ln|\cos x| + C
\qquad
\text{(pattern recognition, $\tfrac{f'(x)}{f(x)}$)}
.
$$
One tricky case, which I would recommend memorizing (even though it's not included in your list) is
$$
\int \frac{dx}{\sqrt{a^2+x^2}} = \ln\left|x + \sqrt{a^2+x^2}\right| + C
.
$$
A: Here is a trick I use to remember the derivatives and antiderivatives of trigonometric functions. If you know that
\begin{align}
\sin'(x) &= \cos(x) \\
\sec'(x) &= \sec(x)\tan(x) \\
\tan'(x) &= \sec^2(x) \, .
\end{align}
then the derivatives of $\cos$, $\cot$, and $\csc$ can be memorised with no extra effort. These functions have the prefix co- in them for a reason: cosine is the sine of the co-angle, cotangent is the tangent of the co-angle, and cosecant is the secant of the co-angle. This leads to the identities
\begin{align}
\cos(x) &= \sin\left(\frac{\pi}{2}-x\right) \\
\csc(x) &= \sec\left(\frac{\pi}{2}-x\right) \\
\cot(x) &= \tan\left(\frac{\pi}{2}-x\right) \, .
\end{align}
These identities, along with the chain rule, can be used to find the derivatives of the 'co-functions':
\begin{align}
\frac{d}{dx}\left(\cos(x)\right) &= \frac{d}{dx}\left(\sin(\pi/2-x)\right)=-\cos(\pi/2-x)=-\sin x \, , \\
\frac{d}{dx}\left(\csc(x)\right) &= \frac{d}{dx}\sec(\pi/2 - x) = -\sec(\pi/2 - x)\tan(\pi/2 - x) = -\csc x \cot x \, , \\
\frac{d}{dx}\left(\cot(x)\right) &= \frac{d}{dx}\tan(\pi/2 - x) = -\sec^2(\pi/2 - x) = -\csc^2 x \, .
\end{align}
In general, if
$$
\frac{d}{dx}\left(\operatorname{something}(x)\right)=\operatorname{anotherthing}(x)
$$
then
$$
\frac{d}{dx}\left(\operatorname{cosomething}(x)\right)=-\operatorname{coanotherthing}(x) \, .
$$
This trick also works for integrals:
$$
\int \tan x = -\ln(\cos x)+C
$$
and so
$$
\int \cot x = \ln(\sin x) + C \, .
$$
A: For inverse functions, use the formula
$$
(f^{-1})'(x)=\frac{1}{f'(f^{-1}(x))} \, .
$$
The lesser-known
$$
\int f^{-1}(x) \, dx  = xf^{-1}(x) - F(f^{-1}(x)) + C \, ,
$$
where $F$ is an antiderivative of $f$, also comes in handy. This formula can be derived using integration by parts.
