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

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 2K views
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.
 
Physics news on Phys.org
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

  • 1.png
    1.png
    23.5 KB · Views: 540