# More differentiation problems

cscott
1. If $x = \cos \theta$ and $y = \cos \theta + \sin \theta$, $\frac{dy}{dx}$ is? (Answer: $1 - \cot \theta$)

I'm just not seeing this question... any help appreciated.

2. $y = \ln(\sec 2x + \tan 2x)$ (Answer = $2\sec 2x$)

I get to $$\frac{1}{(2\sec x\tan x) + (2\sec^2 x)}$$ but it doesn't seem that I'm on the right track compared to the answers I have.

Last edited:

Homework Helper
1) If $x = \cos \theta$ then $dx = - \sin \theta$, right?
Now compute $dy$ as well and do the division 2) What do you have to do here? Just compute $dy$ or $dy/dx$ again with the x from 1?

cscott
TD said:
1) If $x = \cos \theta$ then $dx = - \sin \theta$, right?
Now compute $dy$ as well and do the division 2) What do you have to do here? Just compute $dy$ or $dy/dx$ again with the x from 1?

Thanks I got 1 now! As for 2, it's a separate question. I just need to differentiate with respect to x.

Gold Member
MHB
For your second one, you need to remember that $$\frac{d(\ln{x})}{dx}=\frac{1}{x}*dx$$ Just remember to use the chain rule and you should get the right answer.

Homework Helper
For the derivative of an ln of a function, you can use the following (follows from the chain rule)

$$\left(\ln \left( {f\left( x \right)} \right)\right)^\prime = \frac{{f'\left( x \right)}} {{f\left( x \right)}}$$

cscott
OK, so I should get $$\frac{(2 \sec 2x \tan 2x) + (2 \sec^2 2x)}{(\sec 2x + \tan 2x)}$$ but I still can't get it to [itex]2 \sec 2x[/tex], my algebra is failing me! Last edited:
Homework Helper
For the derivative

$$\left( {\sec \left( {2x} \right) + \tan \left( {2x} \right)} \right)^\prime = \frac{{2\sin \left( {2x} \right)}}{{\cos ^2 \left( {2x} \right)}} + \frac{2}{{\cos ^2 \left( {2x} \right)}} = \frac{{2\sin \left( {2x} \right) + 2}}{{\cos ^2 \left( {2x} \right)}}$$

Then it's just putting everything into sines and cosines

$$\frac{{\frac{{2\sin \left( {2x} \right) + 2}}{{\cos ^2 \left( {2x} \right)}}}}{{\sec \left( {2x} \right) + \tan \left( {2x} \right)}} = \frac{{\frac{{2\sin \left( {2x} \right) + 2}}{{\cos ^2 \left( {2x} \right)}}}}{{\frac{1}{{\cos \left( {2x} \right)}} + \frac{{\sin \left( {2x} \right)}}{{\cos \left( {2x} \right)}}}} = \frac{{\frac{{2\left( {1 + \sin \left( {2x} \right)} \right)}}{{\cos ^2 \left( {2x} \right)}}}}{{\frac{{1 + \sin \left( {2x} \right)}}{{\cos \left( {2x} \right)}}}} = \frac{2}{{\cos \left( {2x} \right)}} = 2\sec \left( {2x} \right)$$

cscott
Wow, I never would have figured it out thinking the way I was. Thank you for being patient with me Homework Helper
No problem.

Normally I'd have tried to guide you more through it but I hope my previous posts is clear enough and that you actually understand what happened.

Since you try to simpplify, it is easier to lose the tangent and secans and switch all over to sines and cosines. Then it's purely algebra, simplifying the expression.

Homework Helper
cscott said:
OK, so I should get $$\frac{(2 \sec 2x \tan 2x) + (2 \sec^2 2x)}{(\sec 2x + \tan 2x)}$$ but I still can't get it to [itex]2 \sec 2x[/tex], my algebra is failing me! take out [itex]2 \sec 2x[/tex] as a factor from the numerator. The other bits will cancel.

cscott
Fermat said:
take out [itex]2 \sec 2x[/tex] as a factor from the numerator. The other bits will cancel.

Ah, I never thought of that either. Thanks.