What is the Second Derivative of xtanx?

Click For Summary
SUMMARY

The discussion focuses on finding the second derivative of the function y = x tan(x). The correct second derivative is derived as y'' = 2x sec^2(x) tan(x) + 2 sec^2(x). Key points include the application of the product rule and the chain rule in differentiation, particularly for secant and tangent functions. The participants clarify common mistakes in derivative calculations, emphasizing the importance of understanding the rules for differentiating powers of secant and tangent.

PREREQUISITES
  • Understanding of basic calculus concepts, including derivatives and differentiation rules.
  • Familiarity with the product rule and chain rule in calculus.
  • Knowledge of trigonometric functions, specifically secant and tangent.
  • Ability to manipulate and simplify algebraic expressions involving trigonometric identities.
NEXT STEPS
  • Study the product rule for differentiation in calculus.
  • Learn the chain rule and its applications in differentiating composite functions.
  • Explore the differentiation of trigonometric functions, focusing on secant and tangent.
  • Practice solving second derivatives of functions involving trigonometric products.
USEFUL FOR

Students studying calculus, particularly those focusing on differentiation techniques, as well as educators looking for examples of common mistakes in derivative calculations.

escryan
Messages
13
Reaction score
0

Homework Statement



Given y=xtanx, find y'' (second derivative)

Homework Equations



Uh... I'm not even sure if I'm using the right one...
d/dx(tanx) = sec^2x

The Attempt at a Solution



y=xtanx
y'= (x)(sec^2(x)) + (tanx)(1)
y'= xsec^2(x) + tanx

y'' = [(x)(2sec^3(x)) + sec^2(x)(1)] + sec^2x
y'' = 2xsec^3(x) + sec^2(x) + sec^2(x)

...

The key answer says it is supposed to be (2cosx + 2xsinx)/(cos^3(x))
 
Physics news on Phys.org
you took the 2nd derivative wrong

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

y''=x\cdot2\sec^{2-1}x\cdot\sec x\tan x+\sec^{2}x+\sec^{2}x
=2x\sec^{2}x\tan x+2\sec^{2}x

What you did was increase the power rather than decreasing it.

In general, the derivative of secant raised to a power is ... \frac{d}{dx}(\sec^{n}x)=n\sec^{n}x\tan x
 
Last edited:
Oh wow, I'm an idiot..

So is the general rule d/dx(sec^n(x)) = nsec^n(x)tan(x) just a combination of the (x^n)' = nx^x-1 and d/dx(secx) = secxtanx?

What if I were to be givin d/dx(tan^n(x))... would the answer be like nsec^2(n-1)(x)? nsec^n(x)? ...

Thanks so much for your help, by the way :).
 
No, don't forget the chain rule!

\frac{d}{dx}(\tan^{n}x)=n\tan^{n-1}x\sec^{2}x
 
The chain rule?
... I've never actually seen that before.
Haha, I guess that explains a few things! I haven't been taught that yet.

Guess I'll go read up on that, and thanks again for your help! I really appreciate it :).
 
rocomath said:
you took the 2nd derivative wrong

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

y''=x\cdot2\sec^{2-1}x\cdot\sec x\tan x+\sec^{2}x+\sec^{2}x
=2x\sec^{2}x\tan x+2\sec^{2}x

What you did was increase the power rather than decreasing it.

In general, the derivative of secant raised to a power is ... \frac{d}{dx}(\sec^{n}x)=n\sec^{n}x\tan x

i got the + sec^2x but how did you get the other + sec^2x
 

Similar threads

  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 11 ·
Replies
11
Views
14K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
1
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
19
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K