What would be a easy way to help me remember how the chain rule works?
Forget the "formula" entirely. Look at the function to be differentiated. Working from the outside in, working step-by-step down inside to the variable, what is the first operation that you encounter? Differentiate that operation, leaving the "insides" intact. What is the next operation? Differentiate this operation, leaving its insides intact, and multiplying the result against the previous result. Continue until you reach the variable, at which point you're done.
Example: \(\displaystyle f(x)\, =\, \sqrt{\sin(\ln(x^2))}\)
The first operation, the one "on" (or "around") everything else, is the square root. So differentiate that, leaving everything inside the square root the same:
\(\displaystyle \displaystyle{f'(x)\, =\, \left(\frac{1}{2}\right)\left(\frac{1}{\sqrt{\sin(\ln(x^2))}}\right)\, \times\, \frac{d}{dx}\, \sin(\ln(x^2))}\)
The next operation, the one "on" everything left, is the sine, so differentiate that, leaving the log expression inside the sine the same:
\(\displaystyle \displaystyle{f'(x)\, =\, \left(\frac{1}{2}\right)\left(\frac{1}{\sqrt{\sin(\ln(x^2))}}\right)\, \times\, \cos(\ln(x^2))\, \times\, \frac{d}{dx}\, \ln(x^2)}\)
The next operation is the log, so differentiate that, leaving the x^2 inside unchanged:
\(\displaystyle \displaystyle{f'(x)\, =\, \left(\frac{1}{2}\right)\left(\frac{1}{\sqrt{\sin(\ln(x^2))}}\right)\, \times\, \cos(\ln(x^2))\, \times\, \frac{1}{x^2}\, \times\, \frac{d}{dx}\, x^2}\)
The last operation, before you've drilled down to the variable, is the squaring, so finish with that:
\(\displaystyle \displaystyle{f'(x)\, =\, \left(\frac{1}{2}\right)\left(\frac{1}{\sqrt{\sin(\ln(x^2))}}\right)\, \times\, \cos(\ln(x^2))\, \times\, \frac{1}{x^2}\, \times\, 2x}\)
Now that you've reached the variable, you're done. Multiply stuff together, simplify if possible, and you're got your derivative.
Think of complicated functions as onions, and differentiate each layer as you peel it off the variable.
