For each of the differential equations given in question, find a particular solution satisfying the given condition:

It is given that ![]()
This is equation in the form of
(where, p = 2tanx and Q =sinx )
Now, I.F. = ![]()
Thus, the solution of the given differential equation is given by the relation:
y(I.F.) = ![]()
![]()
![]()
----------------(1)
Now, it is given that y = 0 at x = ![]()
![]()
⇒ 0 = 2 + C
⇒ C = -2
Now, Substituting the value of C = -2 in (1), we get,
![]()
⇒ y = cosx – 2cos2x
Therefore, the required general solution of the given differential equation is
y = cosx – 2cos2x.