Simple Differential Equation: Finding General Solution for y'\cos(x) = \sin(2x)

3 replies · 2K views · last reply
Science Advisor
Messages
436
Reaction score
13
Hello;

Found an exercise on simple differential equations on some website, got all correct except for this one. It only supplies answers but no method, but am stuck as to how they got their answer. Asked to find a general solution to the following differential equation:

[tex]y'\cos(x) = \sin(2x)[/tex]

Here's my method:

Had to make it in the form y' = f(x), so;

[tex]y' = \frac{\sin(2x)}{\cos(x)}[/tex]

Integrating both sides gives us;

[tex]y = \int \frac{\sin(2x)}{\cos(x)}dx[/tex]

EDIT: Forget about method I wrote underneath. I saw my error. But can anyone show me how/why the above equates to -2cos(x) + C?

Thanks.
 
Hello FeDeX_LaTeX! :smile:

You really need to learn your trigonometric identities …

in this case, sin2x = 2sinxcosx :wink:​
 
Ack! I completely missed that! I knew that identity and it just completely fell out of my head... haha. Thanks! :)
 
see attached
 
Attachments
  • Handwritten derivation solving y'cos(x) = sin(2x): y' = sin(2x)/cos(x), sin(2x) = 2sin(x)cos(x), cos(x) cancelled in red, y = 2 integral of sin(x), y = 2(-cos(x)) + c. Cartoon face says 'The trick is to use this!'
    1.png
    23.5 KB · Views: 552