# Thread: Differentiating (tan (sin x))^2

1. ## Differentiating (tan (sin x))^2

One of my homework problems is $tan^2(sinx)$. So I know I have to use the product rule? (right?) but I don't understand how I could use the product rule if my f dosen't have an x in it, it's just $tan^2$. So, what would I do?

2. Originally Posted by timmehk
One of my homework problems is $tan^2(sinx)$. So I know I have to use the product rule? (right?) but I don't understand how I could use the product rule if my f dosen't have an x in it, it's just $tan^2$. So, what would I do?
From context I gather that you need to find the derivative.

The composition of functions works like this:

$g(x)=tan^2\ x$

$h(x)=sin\ x$

$f(x)=g(h(x))$

Oh and this is a situation for the chain rule.