Skip to content
Miscellaneous Exercise · Q5

Q.Show that the general solution of the differential equation dydx+y2+y+1x2+x+1=0\frac{dy}{dx} + \frac{y^2 + y + 1}{x^2 + x + 1} = 0 is given by (x+y+1)=A(1−x−y−2xy)(x + y + 1) = A(1 - x - y - 2xy), where AA is parameter.

Punjab PsebTextbookSubjective· 3mImportance★★★★★
Appeared in past exams:MHT-CET 2021· Set pcm-2021-09-23-M· 2mexact
50% · 110/222 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

This problem is solved by separation of variables — rewriting the equation so all yy terms are on one side and all xx terms on the other, then integrating. The final result matches the given form: (x+y+1)=A(1−x−y−2xy)(x + y + 1) = A(1 - x - y - 2xy).

The key insight here is that the equation is separable, even though it doesn't look like it at first glance. The derivative dydx\frac{dy}{dx} is isolated, and the right-hand side is a ratio of two expressions — one depending only on yy, the other only on xx. That's the classic sign that separation of variables will work.

Let's walk through it.


  1. Rewrite the equation in separable form

We have:

dydx+y2+y+1x2+x+1=0\frac{dy}{dx} + \frac{y^2 + y + 1}{x^2 + x + 1} = 0

Bring the second term to the other side:

dydx=−y2+y+1x2+x+1\frac{dy}{dx} = -\frac{y^2 + y + 1}{x^2 + x + 1}

Now multiply both sides by dxdx and divide by y2+y+1y^2 + y + 1 (assuming it's not zero — we'll handle the constant solutions later):

dyy2+y+1=−dxx2+x+1\frac{dy}{y^2 + y + 1} = -\frac{dx}{x^2 + x + 1}

Tip

Always check if the denominator can be zero. Here y2+y+1y^2 + y + 1 has discriminant 1−4=−3<01 - 4 = -3 < 0, so it's never zero for real yy. Same for x2+x+1x^2 + x + 1. So no singular solutions are lost.


  1. Integrate both sides

We need:

∫dyy2+y+1=−∫dxx2+x+1\int \frac{dy}{y^2 + y + 1} = -\int \frac{dx}{x^2 + x + 1}

Both integrals are of the same type. Complete the square in the denominator:

y2+y+1=(y+12)2+34y^2 + y + 1 = \left(y + \frac12\right)^2 + \frac34

Similarly,

x2+x+1=(x+12)2+34x^2 + x + 1 = \left(x + \frac12\right)^2 + \frac34

So each integral becomes:

∫duu2+a2with a=32\int \frac{du}{u^2 + a^2} \quad \text{with } a = \frac{\sqrt{3}}{2}

where u=y+12u = y + \frac12 or u=x+12u = x + \frac12.

The standard result is:

∫duu2+a2=1atan⁡−1(ua)+C\int \frac{du}{u^2 + a^2} = \frac{1}{a} \tan^{-1}\left(\frac{u}{a}\right) + C

∫duu2+a2=1atan⁡−1(ua)+C\int \frac{du}{u^2 + a^2} = \frac{1}{a} \tan^{-1}\left(\frac{u}{a}\right) + C

Applying this:

∫dyy2+y+1=23tan⁡−1(y+1232)=23tan⁡−1(2y+13)\int \frac{dy}{y^2 + y + 1} = \frac{2}{\sqrt{3}} \tan^{-1}\left( \frac{y + \frac12}{\frac{\sqrt{3}}{2}} \right) = \frac{2}{\sqrt{3}} \tan^{-1}\left( \frac{2y + 1}{\sqrt{3}} \right)

Similarly,

∫dxx2+x+1=23tan⁡−1(2x+13)\int \frac{dx}{x^2 + x + 1} = \frac{2}{\sqrt{3}} \tan^{-1}\left( \frac{2x + 1}{\sqrt{3}} \right)


  1. Combine the results

From step 2:

23tan⁡−1(2y+13)=−23tan⁡−1(2x+13)+C\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

Multiply through by 32\frac{\sqrt{3}}{2}:

tan⁡−1(2y+13)+tan⁡−1(2x+13)=C\tan^{-1}\left( \frac{2y + 1}{\sqrt{3}} \right) + \tan^{-1}\left( \frac{2x + 1}{\sqrt{3}} \right) = C

Let CC be an arbitrary constant (we'll rename it later).


  1. Use the tangent addition formula

Recall:

tan⁡−1u+tan⁡−1v=tan⁡−1(u+v1−uv)+kπ\tan^{-1} u + \tan^{-1} v = \tan^{-1}\left( \frac{u + v}{1 - uv} \right) + k\pi

where kk is an integer (to handle the periodicity). Since CC is arbitrary, we can absorb the kπk\pi into it.

Let:

u=2y+13,v=2x+13u = \frac{2y + 1}{\sqrt{3}}, \quad v = \frac{2x + 1}{\sqrt{3}}

Then:

tan⁡−1u+tan⁡−1v=tan⁡−1(u+v1−uv)=C\tan^{-1} u + \tan^{-1} v = \tan^{-1}\left( \frac{u + v}{1 - uv} \right) = C

Taking tangent of both sides:

u+v1−uv=tan⁡C=A′(some constant)\frac{u + v}{1 - uv} = \tan C = A' \quad (\text{some constant})

So:

2y+13+2x+131−(2y+1)(2x+1)3=A′\frac{ \frac{2y + 1}{\sqrt{3}} + \frac{2x + 1}{\sqrt{3}} }{ 1 - \frac{(2y+1)(2x+1)}{3} } = A' …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.