Once upon a time, I memorized the following formula out of laziness.
Let $k(x)=\frac{f(x)^{g(x)}h(x)+i(x)}{j(x)}$. Then $k'(x)$ is as follows.
$k'(x)=\frac{j(x)(g(x)h(x)f(x)^{g(x)-1}f'(x)+f(x)^{g(x)}(h(x)log(f(x))g'(x)+h'(x)+i'(x))-j'(x)(h(x)f(x)^{g(x)}+i(x))}{j(x)^2}$
(as confirmed by wolframalpha)
This was because I did not want to bother with logarithmic functions or the chain rule to find the derivatives of functions such as $x^{sin(x)}$
After some considerable time and effort, I had managed to memorize the formula.
However, I had trouble actually applying this formula to tests for $f'(x)$, mostly because the formula is too long and complicated, and started to wonder if I had wasted my time and effort.
This suspicions were heightened when I made several mistakes while using this formula.
Would memorizing such a formula actually prove useful for tests?
Any advice would be appreciated.