The question
The general solution of the differential equation xdy−(1+x2)dx=dx is :
(a) y=2x+3x3+C
(b) y=2logx+3x3+C
(c) y=2x2+C
(d) y=2logx+2x2+C
Exam answer
⇒ ⇒ ⇒ xdy−(1+x2)dx=dxxdy=dx+(1+x2)dxxdy=(2+x2)dxdy=(x2+x)dx
Why?
Collect all the dx terms on one side: 1+(1+x2)=2+x2.
(Add (1+x2)dx to both sides. Then dx=1dx, so the brackets add as 1+1+x2.)
Then divide by x to separate the variables, with y on the left and x on the right:
x2+x2=x2+xx2=x2+x
Integrating both sides:
∫dy=∫(x2+x)dx
y=2logx+2x2+C
Why?
The standard integrals are
∫x1dx∫xdx=log∣x∣=2x2
Integrate each part on its own:
∫dy∫x2dx∫xdx=y=2∫x1dx=2log∣x∣=2x2
The options write logx, which is the same as log∣x∣ for x>0. One constant C covers both sides.
Watch out: ∫xdx is 2x2, not 3x3. That slip gives option (b).
Answer: (d) y=2logx+2x2+C
Where this comes fromChapter 9, Differential Equations: Variable separable differential equations.
Question type: Variables separable
How to spot it: click to see
Type 3. Variables separable: y on one side, x on the other
Spot it: dxdy equals a part in x times a part in y, like (1+x2)(1+y2).
Here: Collect the dx terms: xdy=(2+x2)dx. Divide by x to get dy=(x2+x)dx, and integrate both sides.
Quick lesson · Worked NCERT solutions · Interactive lesson