How do you find the derivative of y=xtan(x)?

1 Answer
Aug 1, 2014

This is a type of problem involving logarithmic differentiation.

Whenever you're trying to differentiate a variable raised to some power also involving that variable, it's a good hint that logarithmic differentiation will help you out.

1.) y=xtanx

The first step is to take the natural log of both sides:

2.) lny=lnxtanx

Using the exponents property of logarithms, we bring the exponent out in front of the log as a multiplier. This is done to make differentiating easier:

3.) lny=tanxlnx

Now we implicitly differentiate, taking care to use the chain rule on lny. We will also apply the product rule to the right side of the equation:

4.) 1ydydx=ddx[tanx]lnx+ddx[lnx]tanx

We know that the derivative of tanx is equal to sec2x, and the derivative of lnx is 1x:

5.) 1ydydx=sec2xlnx+tanxx

Multiply both sides by y to isolate dydx:

6.) dydx=y(sec2xlnx+tanxx)

We know y from step 1, so we will substitute:

7.) dydx=xtanx(sec2xlnx+tanxx)

And there is the derivative.