Question
Question: Given that \(\left( {{x}^{2}}+x+1 \right)dy+\left( {{y}^{2}}+y+1 \right)dx=0\). The constant value o...
Given that (x2+x+1)dy+(y2+y+1)dx=0. The constant value of the equation is C. What is C equal to?
& A.1 \\\ & B.-1 \\\ & C.2 \\\ & D.\text{None of the above} \\\ \end{aligned}$$Solution
At first, separate the terms according to the variables, then use the following identity,
∫x2+a2dx=a1tan−1(ax)
Where ‘a’ is any constant. Then, simplify it further and finally compare it with the given general equation to find the desired answer.
Complete step-by-step solution:
In the above question we are given a differential equation as
(x2+x+1)dy+(y2+y+1)dx=0
And its constant value of the main equation is C and we have to find its value.
So, we are given the following equation which is,
(x2+x+1)dy+(y2+y+1)dx=0
Which can also be written as,
(x2+x+1)dy=−(y2+y+1)dx
Which can be further written as,
∫(y2+y+1)dy=∫−(x2+x+1)dx
We can write the given expression y2+y+1 as (y+21)2+43⇒(y+21)2+(23)2 and x2+x+1 as (x+21)2+43⇒(x+21)2+(23)2
So we can write the equation as,
∫(y+21)2+(23)2dy=∫−(x+21)2+(23)2dx
Now we all use a formula which is,
∫x2+a2dx=a1tan−1(ax)
Where, ‘a’ is constant. On applying this, we get:
32tan−123y+21=3−2tan−123x+21+C
Let’s take C as 32tan−1g which is a constant for ease of simplifying, so we get: