Show that the general solution of the differential equation \(\dfrac{dy}{dx}+\dfrac{y^2+y+1}{x^2+x+1}=0\) is given by \((x+y+1)=A\ (1-x-y-2xy),\) where \(A\) is parameter.
CBSE Class 12 Maths · Differential Equations
CBSE Class 12 Maths · Differential Equations
Imagine two see-saws that are perfectly balanced. This equation is like a balancing rule linking \( x \) and \( y \). To solve it, we push all the \( y \) pieces to one side and all the \( x \) pieces to the other, just like sorting toys into two boxes. Once everything is sorted, we add up both sides. A special trick with angles (inverse tangent) helps us tidy up the answer into a neat, clean form.
Answer: \[ (x+y+1) = A\,(1-x-y-2xy), \] where \( A \) is an arbitrary constant.
The given equation is a first-order differential equation that can be solved by the method of variables separable. In this method we rearrange the equation so that all terms containing \( y \) are on one side with \( dy \), and all terms containing \( x \) are on the other side with \( dx \). Then we integrate both sides. Here both \( x^2+x+1 \) and \( y^2+y+1 \) are quadratics whose denominators, after completing the square, take the form \( t^2 + a^2 \), so we use the standard integral \( \int \frac{dt}{t^2+a^2} = \frac{1}{a}\tan^{-1}\frac{t}{a} + C \). Finally we use inverse-trigonometric and tangent identities to simplify the result into the required form.
\[ \int \frac{dt}{t^2 + a^2} = \frac{1}{a}\tan^{-1}\frac{t}{a} + C \] and \[ \tan^{-1}u + \tan^{-1}v = \tan^{-1}\frac{u+v}{1-uv} \]
\[ (x+y+1) = A\,(1-x-y-2xy), \] where \( A \) is an arbitrary constant.
A common mistake is forgetting to add the arbitrary constant after integration, or incorrectly completing the square (e.g. taking \( a^2 = \frac{3}{4} \) but using \( a = \frac{3}{2} \) instead of \( a = \frac{\sqrt{3}}{2} \)). Another frequent error is mishandling the \( \tan^{-1} \) addition identity, especially the sign in the denominator \( 1 - uv \).
\[ (x+y+1) = A\,(1-x-y-2xy), \] where \( A \) is an arbitrary constant.
One common mistake: When applying the tangent addition formula \( \tan^{-1} u + \tan^{-1} v = \tan^{-1}\dfrac{u+v}{1-uv} \), students often forget to expand \( (2x+1)(2y+1) \) fully in the denominator \( 1 - uv \), leading to errors in simplification. Always expand bracket products completely before simplifying.
Answer: \[ (x+y+1) = A\,(1-x-y-2xy), \] where \( A \) is an arbitrary constant.
Question: Show that the general solution of the differential equation \[ \frac{dy}{dx} + \frac{y^2 - y + 1}{x^2 - x + 1} = 0 \] is given by \( (x + y - 1) = A(1 - x - y + 2xy) \), where \( A \) is an arbitrary parameter.
Solution: Step 1: Separate variables. The equation is \[ \frac{dy}{dx} = -\frac{y^2 - y + 1}{x^2 - x + 1}. \] Separating variables: \[ \frac{dy}{y^2 - y + 1} = -\frac{dx}{x^2 - x + 1}. \] Step 2: Integrate both sides. We compute \( I_1 = \int \frac{dy}{y^2 - y + 1} \) and \( I_2 = \int \frac{dx}{x^2 - x + 1} \). Complete the square: \[ y^2 - y + 1 = \left(y - \frac{1}{2}\right)^2 + \frac{3}{4}. \] So \[ I_1 = \int \frac{dy}{\left(y - \frac{1}{2}\right)^2 + \left(\frac{\sqrt{3}}{2}\right)^2} = \frac{1}{\frac{\sqrt{3}}{2}} \tan^{-1}\!\left(\frac{y - \frac{1}{2}}{\frac{\sqrt{3}}{2}}\right) = \frac{2}{\sqrt{3}}\tan^{-1}\!\left(\frac{2y-1}{\sqrt{3}}\right). \] Similarly, \[ I_2 = \frac{2}{\sqrt{3}}\tan^{-1}\!\left(\frac{2x-1}{\sqrt{3}}\right). \] The integrated equation becomes \[ \frac{2}{\sqrt{3}}\tan^{-1}\!\left(\frac{2y-1}{\sqrt{3}}\right) = -\frac{2}{\sqrt{3}}\tan^{-1}\!\left(\frac{2x-1}{\sqrt{3}}\right) + C_1, \] which simplifies to \[ \tan^{-1}\!\left(\frac{2y-1}{\sqrt{3}}\right) + \tan^{-1}\!\left(\frac{2x-1}{\sqrt{3}}\right) = k \] where \( k \) is an arbitrary constant. Step 3: Use the addition formula for inverse tangent. Let \( u = \frac{2y-1}{\sqrt{3}} \) and \( v = \frac{2x-1}{\sqrt{3}} \). Then \[ \tan^{-1} u + \tan^{-1} v = \tan^{-1}\!\left(\frac{u+v}{1-uv}\right) + n\pi \] for appropriate integer \( n \). Write this as \[ \frac{u+v}{1-uv} = \tan(k) = K \text{ (say, a new constant)}. \] Now \[ u + v = \frac{2y-1}{\sqrt{3}} + \frac{2x-1}{\sqrt{3}} = \frac{2(x+y-1)}{\sqrt{3}} \] and \[ uv = \frac{(2y-1)(2x-1)}{3} = \frac{4xy - 2x - 2y + 1}{3}. \] So \[ 1 - uv = 1 - \frac{4xy - 2x - 2y + 1}{3} = \frac{3 - 4xy + 2x + 2y - 1}{3} = \frac{2 + 2x + 2y - 4xy}{3} = \frac{2(1 + x + y - 2xy)}{3}. \] Therefore \[ \frac{u+v}{1-uv} = \frac{\frac{2(x+y-1)}{\sqrt{3}}}{\frac{2(1+x+y-2xy)}{3}} = \frac{2(x+y-1)}{\sqrt{3}} \cdot \frac{3}{2(1+x+y-2xy)} = \frac{\sqrt{3}(x+y-1)}{1+x+y-2xy}. \] Setting this equal to \( K \): \[ \frac{x+y-1}{1+x+y-2xy} = \frac{K}{\sqrt{3}} = A \text{ (absorbing the constant)}. \] Hence the general solution is \[ x + y - 1 = A(1 + x + y - 2xy), \] i.e., \( (x + y - 1) = A(1 - x - y + 2xy) \) after rewriting \( A \to -A \) (since \( A \) is arbitrary). This completes the proof.
Answer: \( (x + y - 1) = A(1 - x - y + 2xy) \), where \( A \) is an arbitrary constant.
Question: Find the general solution of the differential equation \[ \frac{dy}{dx} + \frac{y^2 + 1}{x^2 + 1} = 0. \] Show that it can be written as \( (x - y) = C(1 + xy) \), where \( C \) is an arbitrary parameter.
Solution: Step 1: Separate variables. Rewrite as \[ \frac{dy}{y^2 + 1} = -\frac{dx}{x^2 + 1}. \] Step 2: Integrate both sides. Recall that \( \int \frac{dt}{t^2+1} = \tan^{-1} t + \text{const} \). So \[ \tan^{-1} y = -\tan^{-1} x + k \] where \( k \) is an arbitrary constant. Rearranging: \[ \tan^{-1} x + \tan^{-1} y = k. \] Step 3: Use the addition formula. Apply the identity \( \tan^{-1} x + \tan^{-1} y = \tan^{-1}\!\left(\frac{x+y}{1-xy}\right) \) (valid when \( xy < 1 \)). The equation becomes \[ \tan^{-1}\!\left(\frac{x+y}{1-xy}\right) = k. \] Taking the tangent of both sides: \[ \frac{x+y}{1-xy} = \tan(k) = K \] where \( K \) is an arbitrary constant. Step 4: Rearrange into the required form. From \( x + y = K(1 - xy) \) we get \[ x + y = K - Kxy. \] This is the general solution. To write it as \( (x - y) = C(1 + xy) \), note that \( K \) is completely arbitrary. We verify by checking: starting from \( \tan^{-1} x + \tan^{-1} y = k \), we can also write \( \tan^{-1} x - \tan^{-1}(-y) = k \), i.e., \( \tan^{-1} x = k + \tan^{-1}(-y) \). Alternatively, use the subtraction identity: \[ \tan^{-1} x - \tan^{-1} y = \tan^{-1}\!\left(\frac{x - y}{1 + xy}\right). \] From the integrated result \( \tan^{-1} x + \tan^{-1} y = k \), write \( \tan^{-1} x = k - \tan^{-1} y \). Applying \( \tan \): \[ x = \frac{\tan k - y}{1 + y\tan k}. \] Solving for \( (x - y) \): \[ x - y = \frac{\tan k - y}{1 + y\tan k} - y = \frac{\tan k - y - y - y^2 \tan k}{1 + y\tan k} = \frac{\tan k(1 - y^2) - 2y}{1 + y\tan k}. \] This approach becomes cumbersome. The cleaner route: from \( x + y = K(1-xy) \), set \( K = -C \) (since \( K \) is arbitrary and can be any real number), giving \[ x + y = -C(1 - xy) = C(xy - 1). \] That still differs from the target. Let us directly verify that \( x - y = C(1 + xy) \) is also a valid form by differentiating implicitly. Differentiating \( x - y = C(1+xy) \) with respect to \( x \): \[ 1 - \frac{dy}{dx} = C\left(y + x\frac{dy}{dx}\right). \] Also from \( x - y = C(1+xy) \) we get \( C = \frac{x-y}{1+xy} \). Substituting: \[ 1 - \frac{dy}{dx} = \frac{x-y}{1+xy}\left(y + x\frac{dy}{dx}\right). \] Expand: \[ (1+xy) - (1+xy)\frac{dy}{dx} = (x-y)y + (x-y)x\frac{dy}{dx}. \] Collect \( \frac{dy}{dx} \) terms: \[ (1+xy) - y(x-y) = \frac{dy}{dx}\left[(1+xy) + x(x-y)\right]. \] Left side: \( 1 + xy - xy + y^2 = 1 + y^2 \). Right side coefficient: \( 1 + xy + x^2 - xy = 1 + x^2 \). So \[ \frac{dy}{dx} = \frac{1+y^2}{1+x^2} = -\frac{y^2+1}{x^2+1} \] only if \( \frac{dy}{dx} \) is negative, meaning the sign must be \[ \frac{dy}{dx} = -\frac{1+y^2}{1+x^2}, \] which matches the original ODE. Hence \( x - y = C(1+xy) \) is indeed the general solution.
Answer: \( x - y = C(1 + xy) \), where \( C \) is an arbitrary constant.
Question: Show that the general solution of the differential equation \[ \frac{dy}{dx} + \frac{y^2 - y + 1}{x^2 - x + 1} = 0 \] is given by \[ (x - y)(x + y - 1) = A\,(x^2 - x + 1)(y^2 - y + 1)^{-1}, \] or equivalently \[ \tan^{-1}\!\left(\frac{2x-1}{\sqrt{3}}\right) + \tan^{-1}\!\left(\frac{2y-1}{\sqrt{3}}\right) = C, \] where \( C \) is an arbitrary constant.
Answer: The general solution is \[ \tan^{-1}\!\left(\frac{2x-1}{\sqrt{3}}\right) + \tan^{-1}\!\left(\frac{2y-1}{\sqrt{3}}\right) = C, \] where \( C \) is an arbitrary constant.