Question
Question: Find the particular solution of the differential equation \( \dfrac{{dy}}{{dx}} + 2y\,\tan x = \sin ...
Find the particular solution of the differential equation dxdy+2ytanx=sinx given that y=0 when x=3π .
Solution
Hint : Find the integration factor and use general form for differential equation solution.
First, we are going to compare the given equation with the general differential equation form and get the P and Q values, which are needed for finding the integrating factor and then use the solution form to get the solution of the differential equation and substitute given values and get the constant value and find the required solution.
Complete step by step solution:
We are given a differential equation
dxdy+2ytanx=sinx
The general differential equation of the form
dydx+Py=Q
Now, on comparing both of them we will get
P=2tanx and Q=sinx
Now, we are going to find the integrating factor
IF=e∫Pdx
Now, we will substitute the value and get the factor
Now, using the general solution form, we will find the solution
y(IF)=∫(Q×IF)dx+c
Now, we are going to substitute the values into this general form.
We have to make the variable free from radical terms. So,
⇒y=sec2xsecx+sec2xc
⇒y=cosx+ccos2x --------(1)
We are going to need to need to find the value of constant c
So, we substitute the values of x and y into the form
0=cos3π+Ccos23π C(21)2=2−1 C=2−4 C=−2
Substitute this value into the equation (1). Then we get
y=cosx−2cos2x
This is the required solution of the given differential equation.
So, the correct answer is “ y=cosx−2cos2x ”.
Note : For solving this problem, we should be good with integration values as it helps in finding the integration factor and also, we should know the general form of the solution and general form of differential equation, as we get required value for solving.