I'm doing a trig calc question right now and I'm confused as to why I'm not getting the right answer. The question is asking to take the derivative of this equation:
[math]f(x)= \frac{sin(5x)}{cos(x^2)}\\[/math]
I thought I'd get the right answer by applying the quotient rule, and so it led me to an output as follows:
[math]\frac{d}{dx}\frac{sin(5x)}{cos(x^2)}=\\ \frac{5(cos(5x))(cos(x^2))-2x(-sin(x^2))(sin(5x))}{cos^2(x^2)}[/math]
However, I checked my answer with WolframAlpha and that is definitively not what it's supposed to be. I checked the steps for solving it, and it said that I should change it using trig identities so that it's not a fraction. Is there a rule saying I shouldn't take derivatives of equations where 2 trig functions are both the numerator and the denominator? Is there a way to solve it when it's in its original form and, if so, where did I go wrong?
Just as a reference, this is what Wolfram produced:
[math]\frac{d}{dx}\frac{sin(5x)}{cos(x^2)}=\\ sin(x^2)(2xsin(5x)tan(x^2)+5cos(5x))[/math]
Thank you for the help!
[math]f(x)= \frac{sin(5x)}{cos(x^2)}\\[/math]
I thought I'd get the right answer by applying the quotient rule, and so it led me to an output as follows:
[math]\frac{d}{dx}\frac{sin(5x)}{cos(x^2)}=\\ \frac{5(cos(5x))(cos(x^2))-2x(-sin(x^2))(sin(5x))}{cos^2(x^2)}[/math]
However, I checked my answer with WolframAlpha and that is definitively not what it's supposed to be. I checked the steps for solving it, and it said that I should change it using trig identities so that it's not a fraction. Is there a rule saying I shouldn't take derivatives of equations where 2 trig functions are both the numerator and the denominator? Is there a way to solve it when it's in its original form and, if so, where did I go wrong?
Just as a reference, this is what Wolfram produced:
[math]\frac{d}{dx}\frac{sin(5x)}{cos(x^2)}=\\ sin(x^2)(2xsin(5x)tan(x^2)+5cos(5x))[/math]
Thank you for the help!