Class 12 Maths, Worked in Full Past papersGet updates
CBSE Board Examination 2023 · Section A · 1 mark

Q15: General solution of x dy−(1+x2) dx=dxx\,dy - (1 + x^2)\,dx = dx

The question

The general solution of the differential equation x dy−(1+x2) dx=dxx\,dy - (1 + x^2)\,dx = dx is :

(a) y=2x+x33+Cy = 2x + \frac{x^3}{3} + C

(b) y=2log⁡x+x33+Cy = 2\log x + \frac{x^3}{3} + C

(c) y=x22+Cy = \frac{x^2}{2} + C

(d) y=2log⁡x+x22+Cy = 2\log x + \frac{x^2}{2} + C

Exam answer
x dy−(1+x2) dx=dx⇒ x dy=dx+(1+x2) dx⇒ x dy=(2+x2) dx⇒ dy=(2x+x)dx\begin{aligned} &x\,dy - (1 + x^2)\,dx = dx \\ \Rightarrow\ &x\,dy = dx + (1 + x^2)\,dx \\ \Rightarrow\ &x\,dy = (2 + x^2)\,dx \\ \Rightarrow\ &dy = \left(\frac{2}{x} + x\right)dx \end{aligned}
Why?

Collect all the dxdx terms on one side: 1+(1+x2)=2+x21 + (1 + x^2) = 2 + x^2⁠.

(Add (1+x2) dx(1 + x^2)\,dx to both sides. Then dx=1 dxdx = 1\,dx⁠, so the brackets add as 1+1+x21 + 1 + x^2⁠.)

Then divide by xx to separate the variables, with yy on the left and xx on the right:

2+x2x=2x+x2x=2x+x\begin{aligned} \frac{2 + x^2}{x} &= \frac{2}{x} + \frac{x^2}{x} \\ &= \frac{2}{x} + x \end{aligned}

Integrating both sides:

∫dy=∫(2x+x)dx\int dy = \int\left(\frac{2}{x} + x\right)dx y=2log⁡x+x22+Cy = 2\log x + \frac{x^2}{2} + C
Why?

The standard integrals are

∫1x dx=log⁡∣x∣∫x dx=x22\begin{aligned} \int\frac{1}{x}\,dx &= \log|x| \\ \int x\,dx &= \frac{x^2}{2} \end{aligned}

Integrate each part on its own:

∫dy=y∫2x dx=2∫1x dx=2log⁡∣x∣∫x dx=x22\begin{aligned} \int dy &= y \\ \int \frac{2}{x}\,dx &= 2\int\frac{1}{x}\,dx \\ &= 2\log|x| \\ \int x\,dx &= \frac{x^2}{2} \end{aligned}

The options write log⁡x\log x⁠, which is the same as log⁡∣x∣\log|x| for x>0x > 0⁠. One constant CC covers both sides.

Watch out: ∫x dx\int x\,dx is x22\frac{x^2}{2}⁠, not x33\frac{x^3}{3}⁠. That slip gives option (b).

Answer: (d) y=2log⁡x+x22+Cy = 2\log x + \dfrac{x^2}{2} + C

Where this comes from

Chapter 9, Differential Equations: Variable separable differential equations.

Question type: Variables separable

How to spot it: click to see

Type 3. Variables separable: yy on one side, xx on the other

Spot it: dydx\frac{dy}{dx} equals a part in xx times a part in yy⁠, like (1+x2)(1+y2)(1 + x^2)(1 + y^2)⁠.

Here: Collect the dxdx terms: x dy=(2+x2) dxx\,dy = (2 + x^2)\,dx⁠. Divide by xx to get dy=(2x+x)dxdy = \left(\frac{2}{x} + x\right)dx⁠, and integrate both sides.

Found an error?

Tell us if something on this page is wrong or unclear. Send feedback on this question →