Question
Question: Find the particular solution of the differential equation: \[\dfrac{{dy}}{{dx}} = - \dfrac{{x + y\...
Find the particular solution of the differential equation:
dxdy=−1+sinxx+ycosx given that y=1, when x=0
Solution
We are given a differential equation, whose particular solution has to be found. We do this by separating the term with purely x function from the differential and mix of x and y function. Then we find a differential equation of form such that we have to find the integrating factor. We solve it further ahead using the formulas to solve this problem.
Formula used: The solution of differential equation of form dxdy+yP(x)=Q(x) is given by
y×IF=∫IF×Q(x)dx, where IF is the integrating factor given as, IF=e∫P(x)dx.
Complete step-by-step solution:
WE are given the differential equation as,
dxdy=−1+sinxx+ycosx
We now separate the term with purely x function from the differential and mix of x and y function. ⇒dxdy+1+sinxycosx=−1+sinxx
This is of form,
dxdy+yP(x)=Q(x)
So solve such differential equations, find the integrating factor IF of P(x). We find it as, IF=e∫P(x)dx.Using this ,
Hence, we get the integrating factor as1+sinx. Now, we know that solution of a differential equation of kind dxdy+yP(x)=Q(x) is,
y×IF=∫IF×Q(x)dx
Using this solution we move ahead as,
Where c is a constant.
Now to find the particular solution when we are given that y=1, when x=0,
Putting these values in equation (1)
We get the value of constant as 1. Putting this in equation (1) we get the particular solution as,
y=−2(1+sinx)x2+1+sinx1
Note: We have to be careful in finding the form of the differential equation and then solving it as missing of finding its form may lead to more lengthy and complex calculations. When we once find the form of the given differential equation, the rest of the process becomes easy if we remember the formulas related to it.