How do you differentiate f(x) =2xcos xtanx f(x)=2xcosxtanx?

1 Answer
Jan 22, 2017

f'(x) = 2(sinx + xcosx)

Explanation:

Rewrite tanx as sinx/cosx:

f(x) = 2xcosx(sinx/cosx)

f(x) = 2xsinx

Differentiate using the product rule. Let f(x) = g(x) * h(x), withg(x) = 2x and h(x) =sinx. Then g'(x) = 2 and h'(x) = cosx.

The product rule states that f'(x) = g'(x)h(x) + h'(x)g(x).

f'(x) = 2sinx + 2xcosx

f'(x) = 2(sinx + xcosx)

Hopefully this helps!