Q.Solve the following differential equation: (x3+x2+x+1)dxdy=2x2+x;y=1 when x=0
🔒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 →Concept understanding — Separation Of Variables
Separation of Variables: From Intuition to Precision
Imagine you're baking a cake. The recipe says "mix the dry ingredients separately, then add the wet ones." You keep things that belong together together, and things that don't apart — until the right moment. Separation of Variables does exactly that for certain kinds of equations.
The Core Intuition
Some equations involve two different kinds of change happening at once. Think of a cup of hot coffee cooling down. The rate at which it cools depends on:
- The temperature difference between the coffee and the room (a function of time)
- The surface area of the cup (a function of shape, not time)
These two influences are tangled together in one equation. Separation of Variables is the mathematical trick that untangles them — it lets you handle the time part first, then the space part separately.
The Precise Statement
Separation of Variables applies to ordinary differential equations (ODEs) of the form:
dxdy=f(x)⋅g(y)
where the right-hand side is a product of a function of x alone and a function of y alone. The method works in three clean steps:
dxdy=f(x)⋅g(y)⟹g(y)1dy=f(x)dx
Step 1: Separate. Multiply both sides by dx and divide by g(y) (assuming g(y)=0). This moves all y's to one side and all x's to the other.
Step 2: Integrate. Put an integral sign on both sides:
∫g(y)1dy=∫f(x)dx
Step 3: Solve. Evaluate both integrals and solve for y explicitly if possible.
You cannot separate if the equation is not in product form. For example, dxdy=x+y cannot be separated — the sum x+y is not a product f(x)g(y).
Why This Works
The justification is the chain rule in reverse. From dxdy=f(x)g(y), rewrite it as:
g(y)1dxdy=f(x)
Now integrate both sides with respect to x:
∫g(y)1dxdydx=∫f(x)dx
The left side is a substitution waiting to happen: dxdydx=dy, so you get ∫g(y)1dy. That's the entire trick — the chain rule dressed up.
A Concrete Example
Solve dxdy=2xy, with y(0)=3.
Step 1: Separate. Divide both sides by y (assuming y=0):
y1dy=2xdx
Step 2: Integrate.
∫y1dy=∫2xdx⟹log∣y∣=x2+C
Step 3: Solve for y.
∣y∣=ex2+C=eC⋅ex2
Let A=±eC (absorbing the absolute value): y=Aex2. Now use y(0)=3: 3=Ae0=A, so A=3.
Final answer: y=3ex2 …
Concept: Separation of Variables — rewrite the equation so all y terms are on one side and all x terms on the other, then integrate.
Step 1: Separate variables
dy=x3+x2+x+12x2+xdx
Step 2: Factor the denominator
x3+x2+x+1=(x+1)(x2+1)
So
dy=(x+1)(x2+1)2x2+xdx
Step 3: Partial fractions
(x+1)(x2+1)2x2+x=x+1A+x2+1Bx+C
Solving gives A=21, B=23, C=−21.
Thus
dy=(x+11/2+x2+1(3/2)x−1/2)dx
Step 4: Integrate …
y=41log[(x+1)2(x2+1)3]−21tan−1x+1
Factor the denominator: x3+x2+x+1=(x+1)(x2+1), so the equation is separable in x:
dxdy=(x+1)(x2+1)2x2+x.
Partial fractions. Write (x+1)(x2+1)2x2+x=x+1A+x2+1Bx+C. Clearing denominators, 2x2+x=A(x2+1)+(Bx+C)(x+1), so A+B=2,B+C=1,A+C=0, giving A=21,B=23,C=−21.
Integrate.
y=21∫x+1dx+∫x2+123x−21dx=21log∣x+1∣+43log(x2+1)−21tan−1x+C.
Apply y(0)=1. At x=0 every log and the arctangent vanish, so C=1. …
Method: Separation plus partial fractions, then apply the initial condition
Use this when a separable equation leaves a rational function of x whose denominator factors, so partial fractions are needed before integrating — and a condition fixes the constant.
Steps
Step 1: Separate and factor the denominator
Write dy=factored polynomialpolynomialdx. Factor the denominator fully (e.g. x3+x2+x+1=(x+1)(x2+1)).
Step 2: Decompose into partial fractions
Split into x+1A+x2+1Bx+C, solve for the constants, then integrate each piece into logs and an arctan. …
Common Mistakes
Mistake 1: Using a constant numerator over the quadratic factor
Why it's wrong: x2+11 needs a linear numerator Bx+C; using only a constant makes the partial fractions unsolvable/incorrect. Correct approach: set up x+1A+x2+1Bx+C.
Mistake 2: Forgetting to apply the initial condition
Why it's wrong: the question asks for a particular solution; leaving an arbitrary constant ignores y=1 at x=0. Correct approach: substitute the point to find the constant equals 1. …
- GUJCET 2024Set 131 markMCQQ.The general solution of the differential equation yxdy−ydx=0 is __________. (A) y=cx2 (B) x=cy2 (C) y=cx (D) xy=c
›Reveal solutionSolution
The equation reduces to ydy=xdx, whose solution is y=cx.
Steps. From yxdy−ydx=0 we get xdy−ydx=0⇒xdy=ydx, so
ydy=xdx. …
- GUJCET 2026Set x1 markMCQQ.The general solution of the differential equation dxdy=ex+y is ______ (A) ex+e−y=C (B) e−x+ey=C (C) ex+ey=C (D) e−x+e−y=C
›Reveal solutionSolution
Separate variables in dxdy=exey to get ex+e−y=C.
Write dxdy=ex+y=exey and separate:
e−ydy=exdx
Integrating both sides:
−e−y=ex+c1 …
- GUJCET 2025Set 031 markMCQQ.The general solution of the differential equation dxdy=ex−y is _____. (A) e−x−e−y=c (B) ex−ey=c (C) e−x−ey=c (D) ex−e−y=c
›Reveal solutionSolution
[!TLDR]
B increases linearly inside the wire up to r=a, then decreases as 1/r outside — graph (B).
Concept
Using Ampere's law for a long straight wire of radius a carrying uniformly distributed current I:
- Inside (r<a): B=2πa2μ0Ir — proportional to r.
- Outside (r>a): B=2πrμ0I — proportional to 1/r.
Solution …
- GSEB Higher Secondary Certificate (HSC) Examination 2025Set ANNUAL1 markMCQQ.The general solution of the differential equation dxdy=ex−y is ____.(a) ey−ex=C(b) ex+e−y=C(c) ey+ex=C(d) e−x+ey=C
›Reveal solutionSolution
This equation separates directly once ex−y is split into ex⋅e−y.
dxdy=ex⋅e−y⇒eydy=exdx.
…
- GSEB Higher Secondary Certificate (HSC) Examination 2024Set ANNUAL1 markMCQQ.The general solution of a differential equation yydx−xdy=0 is ______.(a) y=Cx2(b) y=Cx(c) x=Cy2(d) xy=C
›Reveal solutionSolution
Separate the variables directly.
ydx−xdy=0⇒xdx=ydy.
…
- GSEB Higher Secondary Certificate (HSC) Examination 2022Set ANNUAL1 markMCQQ.The general solution of the differential equation dxdy=1+x21+y2 is ___.(a) tan−1y=tan−1x+C(b) sin−1y=sin−1x+C(c) log∣y2+1∣=log∣1+x2∣+C(d) cos−1y=cos−1x+C
›Reveal solutionSolution
Separate variables: 1+y2dy=1+x2dx.
dxdy=1+x21+y2⇒∫1+y2dy=∫1+x2dx.
…
- GUJCET 2021Set 151 markMCQQ.The general solution of the differential equation dxdy=ex−y is (A) ex+ey=C (B) e−x+ey=C (C) e−x+e−y=C (D) ex−ey=C
›Reveal solutionSolution
The equation is variable-separable via e^(x-y) = e^x e^-y.
Concept. dxdy=ex−y=exe−y⇒eydy=exdx. …
- GSEB Higher Secondary Certificate (HSC) Examination 2019Set ANNUAL1 markMCQQ.The solution of the differential equation 2xdxdy−y=0; y(1)=2 represents ______.(a) Parabola(b) Straight line(c) Circle(d) Ellipse
›Reveal solutionSolution
Separate variables, integrate, and apply y(1)=2 to identify the curve.
2xdxdy=y⇒ydy=2xdx. Integrating: logy=21logx+C⇒y=kx.
…
🎓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.