When you have a function inside a function, differentiate the outside, then multiply by the derivative of the inside.
Chain rule
(f(g(x)))' = f'(g(x)) · g'(x)
Try it
d/dx(sin(x²))
cos(x²) · 2x.
When you have a function inside a function, differentiate the outside, then multiply by the derivative of the inside.
d/dx(sin(x²))
cos(x²) · 2x.