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

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
3 replies · 2K views
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
see attached
 

Attachments

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