Differentiating a trig function

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 4K views
maphco
Messages
24
Reaction score
0

Homework Statement


Differentiate using the Chain Rule:
[tex]y=\cos^2(\frac{x^2 + 2}{x^2 - 2})[/tex]

Homework Equations


The Attempt at a Solution


[tex]y' = -2\cos(\frac{x^2 + 2}{x^2 - 2})\sin(\frac{x^2 + 2}{x^2 - 2}) [\frac{2x(x^2 - 2) - (x^2 + 2)2x}{(x^2 - 2)^2}][/tex]
[tex]\mbox{derivative of cos is -sin so I brought the negative to the front}[/tex]
[tex]y' = -2\cos(\frac{x^2 + 2}{x^2 - 2})\sin(\frac{x^2 + 2}{x^2 - 2}) [\frac{2x(x^2 - 2 - x^2 - 2)}{(x^2 - 2)^2}][/tex]
[tex]y' = -2\cos(\frac{x^2 + 2}{x^2 - 2})\sin(\frac{x^2 + 2}{x^2 - 2})[\frac{-8x}{(x^2 - 2)^2}][/tex]
[tex]y' = 16x(x^2 - 2)^{-2} \cos(\frac{x^2 + 2}{x^2 - 2})\sin(\frac{x^2 + 2}{x^2 - 2})[/tex]

However the worksheet says the answer is:
[tex]y' = 8x(x^2 - 2)^{-2} \sin(\frac{2x^2 + 4}{x^2 - 2})[/tex]

What the *flat line* did I do wrong? My answer isn't even close.
 
Last edited:
Physics news on Phys.org
they simplified using a formula for:
[tex]\sin(\alpha)\cos(\beta)=\frac{1}{2}\sin(\alpha-\beta)+\frac{1}{2}\sin(\alpha+\beta)[/tex]

when you plug in your values for sin(a)cos(b) the first sin cancels out
 
double angle identity

[tex]2sinxcosx = sin2x[/tex]
 
Bob, we haven't been shown the half angle identities, which is what I assume that formula is used for. I know those formulae, but can't use them because we haven't been shown them formally :p.

Roco, that is genius! :D
 
if you find that you're differentiating cosine or sine to the 2nd power, i usually differentiate and simplify using double-angle identity

also, when you have secx to some power, re-write the power and just add tanx at the end.

[tex]\sec^{2}x[/tex]

[tex]\sec^{2}x\tan{x}[/tex]

makes the writing a lil easier
 
Roco, thanks for the idea on simplifying the 2nd power part.