Question
Question: Find the particular solution of the differential equation \(\dfrac{dy}{dx}=1+x+y+xy\) , given that \...
Find the particular solution of the differential equation dxdy=1+x+y+xy , given that y=0 , when x=1.
Solution
Rearrange the terms of the equation to get all the terms related to x on one side of the equation and all the terms related to y to the other side of the equation. Take common while rearranging the terms to make the process easier. Now integrate both the sides and use the identity that ∫1+ydy=log(1+y)+c to reach the solution of the general equation. For finding the constant, use the condition given in the question.
Complete step by step answer:
Let us start the solution to the above question by rearranging the terms, such that the terms related to x on one side of the equation and all the terms related to y to the other side of the equation.
dxdy=1+x+y+xy
Now, we will take y common from the last two terms of the right-hand side of the equation. On doing so, we get
dxdy=1(1+x)+y(1+x)
⇒dxdy=(1+y)(1+x)
⇒1+ydy=dx(1+x)
Now, we will integrate both sides of the equation. On doing so, we get
∫1+ydy=∫dx(1+x)
Now, we know that ∫1+ydy=log(1+y)+c and ∫(1+x)dx=∫dx+∫xdx=x+2x2+c . So, our integral becomes:
log(1+y)+c1=x+2x2+c2
⇒log(1+y)=x+2x2+c2−c1
⇒log(1+y)=x+2x2+c........(i)
Now, as it is given that y=0 when x=1 . We will put this in the equation and get the constant c. On doing so, we get
⇒log(1+0)=1+212+c
We know that log1=0.
0=23+c
⇒c=−23
Now, we will substitute the value of c in equation (i). On doing so, we get
log(1+y)=x+2x2−23
Hence, the answer to the above question is log(1+y)=x+2x2−23 .
Note: The general mistake that a student makes in a problem related to integrations is that they forget about the constant term, which makes the equation that we get after integration is completely wrong. Also, you need to learn all the formulas related to integration and differentiation, as they are used very often in such questions. Identities related to logarithmic and exponential functions are also important.