The equation is the following:
cosx∗y′=cosx+2sinx∗y
Here is how I tried to solve it (attached image of blank paper with the problem solved on it).
The official solution, however, is:
y=1/(cos2x)∗(x/2+sin2x/4)
I don't understand why my solution is not correct, when I successfully identified P(x) and Q(x) (according to the differential equation solver website), and plugged them in the formula for y(x) for linear DE. For clarification, the last formula I was talking about was this one:
y(x)=e(−∫P(x)dx)∗(C+∫Q(x)∗e(∫P(x)dx))
I would appreciate any help given.
cosx∗y′=cosx+2sinx∗y
Here is how I tried to solve it (attached image of blank paper with the problem solved on it).
The official solution, however, is:
y=1/(cos2x)∗(x/2+sin2x/4)
I don't understand why my solution is not correct, when I successfully identified P(x) and Q(x) (according to the differential equation solver website), and plugged them in the formula for y(x) for linear DE. For clarification, the last formula I was talking about was this one:
y(x)=e(−∫P(x)dx)∗(C+∫Q(x)∗e(∫P(x)dx))
I would appreciate any help given.