How do you differentiate #g(x) =x^2tanx# using the product rule?

2 Answers
Feb 8, 2016

#g'(x)=2xtanx+x^2sec^2x#

Explanation:

The product rule states that the derivative of #uv#, where #u# and #v# are functions of #x#, is #u'v+uv'#. In other words, it's the derivative of one function times the other plus the derivative of the other function times the other.

We solve these problems by first finding the derivatives of each piece. In this case, we have #u=x^2# and #v=tanx# (note that #v# can be #x^2# and #u# can be #tanx#, it really doesn't matter).
#d/dxx^2=2x#
#d/dxtanx=sec^2x#

Now we substitute #u# and #v# and their derivatives into the product rule formula:
#g'(x)=(x^2)'(tanx)+(x^2)(tanx)'#
#g'(x)=2xtanx+x^2sec^2x#

We could rewrite this in other ways, like #xsecx(2sinx+secx)#, but they all mean the same thing. If your instructor prefers writing it using only sines and cosines, with the help of identities, you can express the result as #(xsin2x+x^2)/cos^2x#.

Feb 8, 2016

g'(x) = # x^2sec^2x + 2xtanx #

Explanation:

using the product rule :

If g(x) = f(x).h(x) then g'(x) = f(x).h'(x) + h(x).f'(x)

here let f(x) #=x^2color(black)(" and ") h(x)= tanx #

hence g'(x)# = x^2 d/dx(tanx) + tanx d/dx(x^2) #

# = x^2 (sec^2x) + tanx(2x) = x^2sec^2x + 2xtanx #