Find the general solution of the following linear differential equation:
Use as the constant of integration.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
I'm not sure if this counts as separable variables, but is how I solved it: y ′ + y tan ( x ) = 2 sin ( x ) ⋅ cos ( x ) ⇒ sec ( x ) y ′ + sec ( x ) ⋅ tan ( x ) y = 2 sin ( x ) ⇒ d x d ( sec ( x ) y ) = 2 sin ( x ) ⇒ sec ( x ) y = − 2 cos ( x ) + C ⇒ y = C cos ( x ) − cos 2 ( x )