Question
Question: Find the particular solution of the differential equation \(\dfrac{dx}{dy}+x\cot y=2y+{{y}^{2}}\cot ...
Find the particular solution of the differential equation dydx+xcoty=2y+y2coty,(y=0), given that x = 0 when y = 2π .
Solution
To find the answer to the given equation, first we have to observe the type of given differential equation, which is linear differential equation dydx+Rx=s. Then we will find its integrating factor as e∫Rdy and find particular solution of the equation by formula x.I.F=∫(s.I.F)dy+c by substituting given values of x and y such that x = 0 when y = 2π.
Complete step-by-step solution:
The given equation is dydx+xcoty=2y+y2coty,(y=0) .
We have to find a particular solution of the given equation.
The given equation it is in the form of linear differential equation dydx+Rx=s .
By comparing with the given equation, we get R = cot y and s = y2coty
Now we will go step by step to find our particular solution.
The formula for finding the particular solution of the differential equation is x.I.F=∫(s.I.F)dy+c...(1)
So, first we will find integrating factor,
The formula for the integrating factor is I.F. = e∫Rdy
Substituting R = cot y, we have
I.F.=e∫(coty)dy
Now, we know that ∫coty dy=logsiny+C , so we get
I.F.=elog(siny)∵elogx=x⇒I.F.=siny
Thus, our integrating factor is siny.
Now we will substitute the value of integrating factor and s in the formula of particular solution which we have mentioned above as (1), we will get
x.siny=∫(2y+y2coty).sinydy+c∴x.siny=∫(2ysinydy)+y2coty(siny)dy.+c
Here, we know sinycosy=coty, we will substitute cot y in above expression, we get
x.siny=∫((2ysiny)+y2.(sinycosy)(siny))dy.+c
∴x.siny=∫((siny.2y)+y2cosy)dy.+c
Now, we can apply sum rule, stated as: ∫(f(x)+g(x))dx=∫f(x)dx+∫g(x)dx
So, our previous expression becomes,
∴x.siny=∫siny.2ydy+∫y2cosydy+c...(2)
Now, we will evaluate the integrals separately.
Taking constant term out from first integral, we get
∫(siny).2ydy=2∫siny.ydy
We will use integration by parts rule for function y=u.v , stated as ∫u.vdy=u∫vdy−∫u′∫(vdy)dy
As we know the concept of ILATE formula which helps us decide the function u and v, we will use it and assume u and v. First function, i.e u must be taken in the order as Inverse, Logarithmic, Algebraic, Trigonometric and Exponential function.
Following this, here we will take u = sin y and v = y, so we will get
2∫siny.ydy=2[siny∫ydy−∫dxdy(siny)∫(ydy)dy]
We know that ∫xndx=n+1xn+1+C and ∫sinxdx=cosx+C , so we get