How can I find the second derivative of y=xtanx?

AI Thread Summary
To find the second derivative of y = x tan x, the correct first derivative is y' = tan x + x sec² x, which requires using the product rule. The second derivative can be calculated from this first derivative, resulting in y'' = 2 sec² x + 2x sec² x tan x or an equivalent form involving sine and cosine. It's emphasized that applying the product rule correctly is crucial for both derivatives. The discussion highlights the importance of simplifying expressions before differentiation for clarity.
ms. confused
Messages
90
Reaction score
0
Hey,

Anyone out there able to help me out? I'm trying to find y'' of the equation y=xtanx. I found y' to equal 1(sec²x) but I don't know what to do after that. I know the final answer should be 2cosx + 2xsinx/ cos³x after being simplified and stuff, but I am clueless as to how to get there. Thanks in advance to anyone who can help me!
 
Physics news on Phys.org
Nope,it can't be.Are u sure u want to compute

\frac{d^{2}(x\tan x)}{dx^{2}}...?

Then better apply the Leibniz rule with care.

Daniel.
 
You mean 2cosx + 2xsinx/ cos³x isn't the right answer or the y' I came up with to help me get the y'' isn't right?
 
Do you how to get to this result

\frac{d(x\tan x)}{dx}=\tan x +x\sec^{2}x...?

If u do,i don't see any reason not to compute the 2-nd derivative correctly.

Daniel.
 
Oh,your final aswer for the 2-nd derivative is in terms of "sin" & "cos",u'd better conver the 1-st derivative to a form containing "sin" a "cos" b4 the differentiation.

Daniel.
 
Your first derivative is wrong. You need to use the product rule. Do you remember it?
 
Data is right use the product rule to find first derivative and in finding the second derivative also.

\frac{d(x\tan x)}{dx}=\tan x +x\sec^{2}x


\frac{d^2(x\tan x)}{dx^2}= \frac{(2)(\cos{x} +x\sin{x})}{\cos^3{x}}
 
Last edited:
indeed. Or for the second derivative you can just take it without converting to sines and cosines and get 2\sec^2{x} + 2x\sec^2{x}\tan{x}, an equivalent answer.
 
Data said:
indeed. Or for the second derivative you can just take it without converting to sines and cosines and get 2\sec^2{x} + 2x\sec^2{x}\tan{x}, an equivalent answer.

Where did you get the 2's from? Why isn't it just sec^2{x} + sec^2{x}\tan{x}
 
  • #10
\frac{d}{dx} (\tan{x} + x\sec^2{x}) = \sec^2{x} + \frac{d}{dx} x\sec^2{x}

= \sec^2{x} + \left(\sec^2{x}\frac{d}{dx} x + x \frac{d}{dx}\sec^2{x}\right) <------- Product Rule

= \sec^2{x} + \left(\sec^2{x} + x\left(2(\sec{x}\tan{x})\sec{x}\right)\right) <----- Chain Rule

= \sec^2{x} + \sec^2{x} + 2x\sec^2{x}\tan{x}

= 2\sec^2{x} + 2x\sec^2{x}\tan{x}

Remember, when you're taking the derivative of a product, you need to use the product rule:

\frac{d}{dx} f(x)g(x) = f^\prime(x)g(x) + g^\prime(x)f(x) \neq f^\prime(x)g^\prime(x)
 
Last edited:
Back
Top