Q.Solve the following differential equation: y′=xx+y
Concept understanding — Homogeneous Differential Equation
Homogeneous Differential Equations
The idea: only the ratio y/x matters
A function f(x,y) is homogeneous of degree n if scaling both variables by t scales the function by tn: f(tx,ty)=tnf(x,y). For example f(x,y)=x2+y2 gives f(tx,ty)=t2(x2+y2) — degree 2.
A first-order equation
dxdy=f(x,y)
is called homogeneous when f is homogeneous of degree 0, i.e. f(tx,ty)=f(x,y). Scaling then changes nothing, which means the slope depends only on the ratio y/x, never on the absolute sizes. So a homogeneous equation can always be recast as
dxdy=F(xy).
Quick test in the form M(x,y)dx+N(x,y)dy=0: if every term of M and N has the same total degree (sum of the powers of x and y), the equation is homogeneous. E.g. in (x2+y2)dx−2xydy=0 both M and N are degree 2.
Why we care: it becomes separable
Recognising homogeneity buys you a guaranteed method. Substitute
y=vx⇒dxdy=v+xdxdv.
Putting this into dxdy=F(v) gives
v+xdxdv=F(v)⇒xdxdv=F(v)−v,
which separates:
F(v)−vdv=xdx.
Integrate both sides, then replace v by y/x to return to the original variables.
If instead the slope comes out as a function of x/y, the mirror substitution x=vy keeps the algebra clean — pick whichever ratio the equation hands you. Also watch for a constant solution coming from F(v)−v=0.
The one insight to carry away: a homogeneous equation reduces to a separable one, because only y/x matters and v=y/x turns that ratio into the new variable.
Homogeneous Differential Equations form a dedicated section of the CBSE Class 12 Differential Equations chapter, where the y = vx substitution method shown here is exactly the NCERT-prescribed technique tested in board exams. "Homogeneous differential equation class 12 examples" is a heavily searched revision topic, and this same substitution trick is useful for differential equation questions in JEE Main.
The key idea is that this is a first-order Initial Value Problem (though no initial condition is given here, so we find the general solution). The equation is not separable in its current form, but it can be rewritten as a linear ODE.
Step 1: Rewrite the equation.
y′=xx+y=1+xy
So y′−x1y=1.
Step 2: Identify the integrating factor.
Here P(x)=−x1, so the integrating factor is
μ(x)=e∫−x1dx=e−logx=x1.
Step 3: Multiply through and integrate.
x1y′−x21y=x1
The left side is dxd(xy).
Integrate: xy=∫x1dx=log∣x∣+C.
Step 4: Solve for y.
y=xlog∣x∣+Cx.
The general solution is y=xlog∣x∣+Cx.
This is a first-order linear ODE that simplifies to y′−xy=1. Using an integrating factor μ=x1, the general solution is y=xlog∣x∣+Cx.
The key here is to recognize that the right-hand side xx+y can be split into two simpler terms: 1+xy. That immediately reveals the equation is not separable in its current form, but it is linear in y.
An Initial Value Problem (IVP) isn’t given here — we’re just solving the differential equation generally. But the approach for a first-order linear ODE is always the same: rewrite it as y′+P(x)y=Q(x), then multiply through by an integrating factor μ(x)=e∫P(x)dx to make the left side a perfect derivative.
Let’s walk through it.
- Rewrite the equation in standard linear form. Start with y′=xx+y=1+xy. Bring the y term to the left:
y′−xy=1.
So here P(x)=−x1 and Q(x)=1.
- Find the integrating factor. Compute ∫P(x)dx=∫−x1dx=−log∣x∣=log∣x∣−1. Then the integrating factor is:
μ(x)=e∫Pdx=elog∣x∣−1=∣x∣1.
For simplicity, we usually take μ(x)=x1 (assuming x>0; the absolute value can be handled later with a sign).
Integrating factor for y′−xy=1 is μ(x)=x1.
- Multiply the entire equation by μ(x).
x1y′−x21y=x1.
Notice the left side is exactly the derivative of xy:
dxd(xy)=x1y′−x2y.
So the equation becomes:
dxd(xy)=x1.
- Integrate both sides.
xy=∫x1dx=log∣x∣+C,
where C is the constant of integration.
- Solve for y. Multiply through by x:
y=xlog∣x∣+Cx.
If you ever forget the integrating factor method, you can also treat this as a homogeneous equation (set y=vx) — try it: y′=v+xv′, then v+xv′=1+v gives xv′=1, leading to the same result.
A common mistake is to forget the absolute value inside log∣x∣ when integrating x1. For x>0, you can drop the absolute value; for x<0, the sign is absorbed into the constant C anyway. But in exams, writing log∣x∣ is safest.
The general solution is y=xlog∣x∣+Cx, where C is an arbitrary constant.
Method: y=vx for a homogeneous (initial-value) equation
Use this for equations like y′=xx+y=1+xy that depend only on xy; the y=vx substitution reduces them to a simple separable equation.
Steps
Step 1: Substitute y=vx
With dxdy=v+xdxdv and the right side =1+v, the equation becomes v+xdxdv=1+v.
Step 2: Cancel and separate
The v terms cancel, leaving xdxdv=1, i.e. dv=xdx.
Step 3: Integrate and restore y
Integrate to v=log∣x∣+C, then y=vx=xlog∣x∣+Cx. Apply any initial condition to fix C.
Watch for the v on both sides cancelling — that is what collapses a homogeneous equation into a one-line integration here.
Common Mistakes
Mistake 1: Missing the cancellation of v
Why it's wrong: after substituting, both sides carry v; cancelling gives the simple xdxdv=1. Failing to cancel over-complicates it. Correct approach: subtract v from both sides.
Mistake 2: Forgetting the modulus in log∣x∣
Why it's wrong: the integral of x1 is log∣x∣; dropping the modulus loses part of the domain. Correct approach: write v=log∣x∣+C.
Mistake 3: Not restoring y=vx
Why it's wrong: the solution must be in x,y: y=xlog∣x∣+Cx. Correct approach: multiply v back by x.
Showing the 12 most recent of 32 on this concept.
- AP EAPCET 2026Set eng-2026-05-13-FN1 markMCQQ.At a point P(x,y) on a curve x=f(y), the x-intercept of the tangent is always equal to the y-coordinate of the point of contact, then f(y)= (A) ecy2 (B) ylog(yc) (C) cy2 (D) sin(c+y)
›Reveal solutionSolution
Translating the given tangent-intercept condition into a differential equation in x=f(y) and solving the resulting linear ODE gives f(y)=ylog(c/y).
Concept and Intuition
A geometric condition on the tangent line ("the x-intercept equals ...") always converts into an ODE by writing the general tangent line at (x0,y0) and reading off where it crosses the axis in question, then equating to the stated condition.
Step-by-Step Solution
- Curve: x=f(y), so dydx=f′(y), hence slope dxdy=f′(y)1.
- Tangent at (x0,y0): Y−y0=f′(y0)1(X−x0).
- x-intercept (Y=0): X=x0−y0f′(y0).
- Given condition: this x-intercept equals the y-coordinate of the point of contact, i.e. X=y0: x0−y0f′(y0)=y0 ⇒ f′(y0)=y0x0−y0=y0x0−1.
- Writing as an ODE in x(y): dydx−yx=−1, linear with P(y)=−y1, Q(y)=−1.
- Integrating factor =e∫−1/ydy=e−lny=y1.
- dyd(yx)=−y1⇒yx=−lny+C=ln(yeC).
- Let c=eC: x=yln(yc), i.e. f(y)=ylog(yc).
Common Mistakes
- Using dxdy directly for the slope in the tangent-line formula instead of correctly relating it to f′(y)=dx/dy.
- Sign slip when writing the linear ODE's integrating factor, giving y instead of 1/y.
✓Final answerThe correct option is (B) — ylog(yc).
ANSWER: B
- AP EAPCET 2026Set eng-2026-05-14-FN1 markMCQQ.The general solution of the differential equation dxdy=2x2+3xy2xy−3y2 is (A) 3logxy=yx+c (B) log∣xy∣=2xy+c (C) 3log∣xy∣=y2x+c (D) logxy=xy+c
›Reveal solutionSolution
The DE is homogeneous of degree 0; substituting y=vx and separating variables leads, after converting back to x,y, to 3log∣xy∣=y2x+c.
Concept and Intuition
A first-order DE dxdy=Q(x,y)P(x,y) is homogeneous when P and Q are both homogeneous of the same degree — here both numerator (2xy−3y2) and denominator (2x2+3xy) are degree 2. The standard technique is the substitution y=vx, which converts the equation into one in v and x alone that separates.
Step-by-Step Solution
- Given: dxdy=2x2+3xy2xy−3y2. Both numerator and denominator are homogeneous of degree 2, so substitute y=vx, dxdy=v+xdxdv.
- Divide numerator and denominator by x2:
2x2+3xy2xy−3y2=2+3v2v−3v2
- So v+xdxdv=2+3v2v−3v2.
- Isolate the derivative term:
xdxdv=2+3v2v−3v2−v=2+3v2v−3v2−v(2+3v)=2+3v2v−3v2−2v−3v2=2+3v−6v2
- Separate variables:
v22+3vdv=x−6dx⟹(v22+v3)dv=−x6dx
- Integrate both sides:
−v2+3log∣v∣=−6log∣x∣+C
- Rearranging: −v2+3log∣v∣+6log∣x∣=C. Since 6log∣x∣=3log(x2), combine logs:
−v2+3log∣vx2∣=C
- Substitute back v=y/x, so vx2=xy and v1=yx:
3log∣xy∣−y2x=C⟹3log∣xy∣=y2x+c
Common Mistakes
- Forgetting to convert 6log∣x∣ into 3log(x2) before combining with 3log∣v∣ — this is essential to get the clean 3log∣xy∣ form that matches the given options.
- Sign slip when moving −2/v across the equation, which flips the final answer to option (A)'s form instead of (C)'s.
✓Final answerThe correct option is (C) — 3log∣xy∣=y2x+c.
ANSWER: C
- AP EAPCET 2026Set eng-2026-05-14-FN1 markMCQQ.The general solution of the differential equation (x+y−1)dy=(x−y+1)dx is (A) x2−2xy−y2+2x+2y+c=0 (B) x2+2xy−y2+2x+2y+c=0 (C) x2+2xy+y2+2x+2y+c=0 (D) x2−2xy−y2+2x−2y+c=0
›Reveal solutionSolution
Shifting the origin to remove the constant terms turns this into a homogeneous DE in X,Y; solving it and substituting back gives x2−2xy−y2+2x+2y+c=0.
Concept and Intuition
A DE of the form dxdy=a2x+b2y+c2a1x+b1y+c1 (with a1b2=a2b1) is reduced to a homogeneous equation by shifting the origin to the intersection point of the two lines a1x+b1y+c1=0 and a2x+b2y+c2=0. This removes the constant terms, and the resulting equation in the shifted variables is exactly homogeneous and solvable by Y=vX.
Step-by-Step Solution
- Given (x+y−1)dy=(x−y+1)dx, i.e. dxdy=x+y−1x−y+1.
- Shift x=X+h, y=Y+k to kill the constants. We need:
h−k+1=0,h+k−1=0
Adding: 2h=0⇒h=0; then k=1.
3. With x=X, y=Y+1: numerator x−y+1=X−Y, denominator x+y−1=X+Y. So:
dXdY=X+YX−Y
This is homogeneous of degree 0.
4. Let Y=vX, dXdY=v+XdXdv:
v+XdXdv=1+v1−v
- Isolate: XdXdv=1+v1−v−v=1+v1−v−v−v2=1+v1−2v−v2.
- Separate: 1−2v−v21+vdv=XdX. Let w=1−2v−v2, dw=−2(1+v)dv, so (1+v)dv=−21dw:
−21∫wdw=∫XdX⟹−21log∣w∣=log∣X∣+C1
- So log∣w∣=−2log∣X∣+C2⇒wX2=C3, i.e. (1−2v−v2)X2=C3.
- Expand using Y=vX: X2−2vX2−v2X2=X2−2X(vX)−(vX)2=X2−2XY−Y2=C3.
- Substitute back X=x, Y=y−1:
x2−2x(y−1)−(y−1)2=C3
x2−2xy+2x−(y2−2y+1)=C3
x2−2xy−y2+2x+2y−1=C3
x2−2xy−y2+2x+2y+c=0(c=−1−C3)
Common Mistakes
- Solving for h,k incorrectly (sign confusion between the two linear equations) — always add/subtract the two shift equations directly rather than guessing.
- Forgetting to re-expand −2vX2 and −v2X2 back in terms of X,Y (not v) before substituting the shift back to x,y.
✓Final answerThe correct option is (A) — x2−2xy−y2+2x+2y+c=0.
ANSWER: A
- AP EAPCET 2026Set eng-2026-05-13-AN1 markMCQQ.The general solution of the differential equation x(dxdy)2+2xydxdy+y=0 is (A) x+y=c (B) x+y=c (C) x2+y2=c2 (D) x−y=c
›Reveal solutionSolution
The equation is a perfect-square quadratic in dy/dx (discriminant zero), which reduces it to a simple separable equation whose solution is x+y=c.
Concept and Intuition
When a differential equation is quadratic in p=dy/dx, check the discriminant. If it is a perfect square (or zero), the quadratic factors nicely, collapsing the equation to a single, much simpler first-order relation that can be solved by separation of variables.
Step-by-Step Solution
- Given: x(dxdy)2+2xydxdy+y=0. Let p=dy/dx: xp2+2xyp+y=0.
- Treat as a quadratic in p: discriminant =(2xy)2−4(x)(y)=4xy−4xy=0.
- Since the discriminant is zero, p=2x−2xy=−xxy=−xy (using xy/x=y/x).
- So dxdy=−xy, which separates as ydy=−xdx.
- Integrate both sides: 2y=−2x+C1⇒x+y=2C1.
- Renaming the constant as c (a nonnegative constant, consistent with x+y≥0), the general solution is x+y=c.
Common Mistakes
- Trying to solve the quadratic in p using the full quadratic formula without noticing the discriminant vanishes, missing the simplification.
- Sign errors when simplifying xy/x to y/x.
✓Final answerThe correct option is (B) — x+y=c.
ANSWER: B
- AP EAPCET 2026Set eng-2026-05-18-FN1 markMCQQ.The general solution of the differential equation y(2x+y)dx=x(x+y)dy is (A) log(ycx2)+xy=0 (B) log(cx2y)+xy=0 (C) log(cx2y2)+xy=0 (D) log(cx2y)+xy=0
›Reveal solutionSolution
A homogeneous ODE solved by the substitution y=vx; simplifying and integrating gives log(cx2y)+xy=0.
Concept and Intuition
y(2x+y)dx=x(x+y)dy is homogeneous of degree 2 on both sides, so the standard substitution y=vx (with dy=vdx+xdv) reduces it to a separable equation in v and x.
Step-by-Step Solution
- Put y=vx, dy=vdx+xdv.
- LHS: y(2x+y)=vx(2x+vx)=vx2(2+v).
- RHS: x(x+y)dy=x⋅x(1+v)(vdx+xdv)=x2(1+v)(vdx+xdv).
- Equation becomes vx2(2+v)dx=x2(1+v)(vdx+xdv). Divide by x2: v(2+v)dx=v(1+v)dx+x(1+v)dv.
- Subtract v(1+v)dx from both sides: v[(2+v)−(1+v)]dx=x(1+v)dv⇒vdx=x(1+v)dv.
- Separate: xdx=v1+vdv=(v1+1)dv.
- Integrate: logx=logv+v+C⇒logvx−v=C.
- Substitute back v=y/x, so x/v=x2/y: logyx2−xy=C.
- Since C is an arbitrary constant, we may equally write −C=logc: negating the whole equation, logx2y+xy=−C=logc, i.e. logcx2y+xy=0, matching the printed answer form.
Common Mistakes
- Sign errors when combining v(2+v)dx and v(1+v)dx — the whole simplification collapses to the clean vdx=x(1+v)dv only if signs are tracked carefully.
- Not recognising that flipping the sign of the arbitrary constant of integration is legitimate (since c is arbitrary), which is needed to match the answer's printed form.
✓Final answerThe correct option is (B) — log(cx2y)+xy=0.
ANSWER: B
- AP EAPCET 2025Set eng-2025-05-21-FN1 markMCQQ.The general solution of the differential equation (xsinxy)dy=(ysinxy−x)dx is (A) logx+tanxy=c (B) logx+cosxy=c (C) logx−sinxy=c (D) logx−cosxy=c
›Reveal solutionSolution
This is a homogeneous first-order ODE solved via y=vx; the answer is (D).
Concept and Intuition
When every term in the ODE is a function of y/x times some power of x or y (a homogeneous equation), the substitution y=vx (so v=y/x) reduces it to a separable equation in v and x.
Step-by-Step Solution
- The given equation is (xsinxy)dy=(ysinxy−x)dx, so
dxdy=xsin(y/x)ysin(y/x)−x.
- Substitute y=vx, dxdy=v+xdxdv. The right side becomes xsinvvxsinv−x=sinvvsinv−1=v−sinv1.
- So v+xdxdv=v−sinv1, giving xdxdv=−sinv1.
- Separate variables: sinvdv=−xdx.
- Integrate: −cosv=−logx+k, i.e. logx−cosv=−k=c (renaming the constant).
- Substitute back v=y/x: logx−cosxy=c.
Common Mistakes
- Sign errors when moving −cosv and −logx across the equation.
- Forgetting to substitute v=y/x back at the end.
✓Final answerThe correct option is (D) — logx−cosxy=c.
ANSWER: D
- AP EAPCET 2025Set eng-2025-05-21-AN1 markMCQQ.The general solution of the differential equation dxdy+x−3y+5x+y+1=0 is (A) 3(y−1)2−2(x+2)(y−1)−(x+2)2=c (B) x2−3y2−4xy−2x−10y=c (C) 3(y+1)2+2(x−2)(y+1)−(x−2)2=c (D) x2+3y2+4xy+2x+10y=c
›Reveal solutionSolution
This is a differential equation of the form dxdy=−a′x+b′y+c′ax+by+c with non-parallel linear terms; shifting the origin to the intersection of the two lines reduces it to a homogeneous equation. The answer is (A).
Concept and Intuition
When a differential equation has the form dxdy=−x−3y+5x+y+1, the numerator and denominator are linear in x,y but not proportional, so it isn't directly homogeneous. The standard trick is to translate the axes to the point where the two lines x+y+1=0 and x−3y+5=0 intersect — in the new coordinates the equation becomes exactly homogeneous of degree one, which we can solve with the substitution Y=vX.
Step-by-Step Solution
- Find the intersection point. Solve x+y=−1 and x−3y=−5 simultaneously. Subtracting: 4y=4⇒y=1, then x=−2. So the lines meet at (−2,1).
- Shift coordinates: let X=x+2, Y=y−1 (so dX=dx, dY=dy). The equation becomes dXdY=−X−3YX+Y, which is homogeneous (every term is degree 1 in X,Y).
- Substitute Y=vX, so dXdY=v+XdXdv. Then
v+XdXdv=−1−3v1+v ⇒ XdXdv=1−3v3v2−2v−1.
- Separate variables:
3v2−2v−11−3vdv=XdX.
Factor the denominator: 3v2−2v−1=(3v+1)(v−1). Partial fractions give
(3v+1)(v−1)1−3v=3v+1−3/2+v−1−1/2.
- Integrate both sides:
−21log∣3v+1∣−21log∣v−1∣=logX+C1
⇒ −2logX=log∣3v+1∣+log∣v−1∣+C2 ⇒ X−2=K(3v+1)(v−1).
- Undo the substitution v=Y/X:
K1=X2(3v+1)(v−1)=X2(X3Y+X)(XY−X)=(3Y+X)(Y−X).
Expanding: (3Y+X)(Y−X)=3Y2−2XY−X2. So the general solution is 3Y2−2XY−X2=c.
7. Substitute back X=x+2, Y=y−1:
3(y−1)2−2(x+2)(y−1)−(x+2)2=c,
which is exactly option (A).
Common Mistakes
- Forgetting to shift the origin first and trying to treat the equation as homogeneous directly (it is not, because of the +1 and +5 constants).
- Sign errors while doing partial fractions on (3v+1)(v−1).
- Forgetting to substitute X,Y back to x,y at the end, leaving the answer in the wrong variables.
✓Final answerThe correct option is (A) — 3(y−1)2−2(x+2)(y−1)−(x+2)2=c.
ANSWER: A
- AP EAPCET 2025Set eng-2025-05-22-AN1 markMCQQ.The general solution of the differential equation dxdy=x−yx+y is (A) y−x=cx2 (B) Tan−1(xy)=log(cxx2+y2) (C) x+y=cx2 (D) Tan−1(xy)=log(cx2+y2)
›Reveal solutionSolution
The equation is homogeneous of degree 0; the substitution y=vx separates variables and integrates to the polar-flavoured solution Tan−1(y/x)=log(cx2+y2).
Concept and Intuition
dxdy=x−yx+y is homogeneous (both numerator and denominator scale the same way under x→λx,y→λy), so y=vx turns it into a separable equation in v and x. The appearance of both Tan−1(y/x) and log(x2+y2) afterwards is typical whenever the separated integral produces both an arctangent and a logarithm term.
Step-by-Step Solution
- Let y=vx, so dxdy=v+xdxdv. Then v+xdxdv=1−v1+v.
- xdxdv=1−v1+v−v=1−v1+v−v(1−v)=1−v1+v2.
- Separate: 1+v21−vdv=xdx, i.e. (1+v21−1+v2v)dv=xdx.
- Integrate: Tan−1v−21log(1+v2)=logx+C.
- So Tan−1v=logx+21log(1+v2)+C=log(x1+v2)+C.
- Since v=y/x: x1+v2=x1+y2/x2=x2+y2. So Tan−1(y/x)=log(cx2+y2) with c=eC.
Common Mistakes
- Losing the extra factor of x when converting 1+v2 back — it correctly cancels to leave just x2+y2, no extra x (ruling out the option with cxx2+y2).
- Sign error on the 1+v2v integral (it integrates to −21log(1+v2), i.e. it subtracts).
✓Final answerThe correct option is (D) — Tan−1(xy)=log(cx2+y2).
ANSWER: D
- AP EAPCET 2025Set eng-2025-05-22-FN1 markMCQQ.The general solution of the differential equation dxdy=x2−y22x2−xy−y2 is (A) logx2y2−2x2+2logy+2xy−2x+22log∣x∣=c (B) 2logx2y2−2x2+logy+2xy−2x+22log∣x∣=c (C) 2logx2y2+2x2+logy−2xy+2x+22log∣x∣=c (D) logx22x2−y2+2logy−2xy+2x+log∣x∣=c
›Reveal solutionSolution
A homogeneous ODE solved by y=vx substitution; after partial fractions, the solution is option (B).
Concept and Intuition
The right side x2−y22x2−xy−y2 is a ratio of degree-2 homogeneous polynomials in x,y, so dividing top and bottom by x2 turns everything into a function of v=y/x alone — the standard homogeneous-equation substitution y=vx.
Step-by-Step Solution
- Let y=vx, so dxdy=v+xdxdv. Dividing numerator and denominator of the RHS by x2:
v+xdxdv=1−v22−v−v2.
- Isolate xdv/dx:
xdxdv=1−v22−v−v2−v(1−v2)=1−v2v3−v2−2v+2.
- Factor the cubic: v3−v2−2v+2=(v−1)(v2−2), and 1−v2=−(v−1)(v+1). The (v−1) cancels:
xdxdv=−(v−1)(v+1)(v−1)(v2−2)=v+12−v2.
- Separate variables: 2−v2v+1dv=xdx.
- Partial fractions on 2−v2=(2−v)(2+v): writing (2−v)(2+v)v+1=2−vA+2+vB gives A=42+2, B=42−2.
- Integrating and simplifying logs (combining log∣2−v∣±log∣2+v∣ into log∣2−v2∣ and log2+v2−v terms) and multiplying through, one obtains:
2log∣2−v2∣+log2+v2−v+22log∣x∣=C.
- Substitute back v=y/x: 2−v2=x22x2−y2 and 2+v2−v=y+2xy−2x (up to sign, absorbed by the modulus), giving exactly option (B).
Common Mistakes
- Losing the (v−1) common factor and trying to integrate the un-simplified cubic-over-quadratic directly.
- Sign slips when converting log∣2−v∣−log∣2+v∣ into the ratio form, which flips which option (A)/(B)/(C)/(D) the coefficients land on.
✓Final answerThe correct option is (B) — 2logx2y2−2x2+logy+2xy−2x+22log∣x∣=c.
ANSWER: B
- AP EAPCET 2025Set eng-2025-05-23-FN1 markMCQQ.The general solution of the differential equation dxdy=2xy+x−4y−22xy−4x+y−2 is (A) 5(y−x)+2log(x−2y−2)=c (B) 2(y−x)−5log(x−2y−2)=c (C) 2(y−x)+5log(x−2y−2)=c (D) 5(y−x)−2log(x−2y−2)=c
›Reveal solutionSolution
This tests solving a separable ODE after factoring both the numerator and denominator by grouping. Answer: (C).
Concept and Intuition
A rational-function differential equation like this often hides a separable form once you notice both numerator and denominator can be grouped into two linear-in-x and linear-in-y factors. Spotting the factoring is the whole trick.
Step-by-Step Solution
- Group the numerator: 2xy−4x+y−2=2x(y−2)+1⋅(y−2)=(y−2)(2x+1).
- Group the denominator: 2xy+x−4y−2=x(2y+1)−2(2y+1)=(2y+1)(x−2).
- So dxdy=(x−2)(2y+1)(y−2)(2x+1), which is separable:
y−22y+1dy=x−22x+1dx.
- Rewrite each side to make integration easy:
y−22y+1=y−22(y−2)+5=2+y−25,x−22x+1=2+x−25.
- Integrate both sides:
2y+5log∣y−2∣=2x+5log∣x−2∣+C.
- Rearranging: 2(y−x)+5logx−2y−2=C, i.e. 2(y−x)+5log(x−2y−2)=c.
Common Mistakes
- Missing the grouping and trying to force a homogeneous-equation substitution, which makes the algebra far messier.
- Sign errors when writing y−22y+1=2+y−25 — check by expanding: 2(y−2)+5=2y−4+5=2y+1. Correct.
✓Final answerThe correct option is (C) — 2(y−x)+5log(x−2y−2)=c.
ANSWER: C
- AP EAPCET 2025Set eng-2025-05-23-AN1 markMCQQ.The general solution of the differential equation (x−(x+y)log(x+y))dx+xdy=0 is (A) ylog(x+y)=cx (B) xlog(x+y)=cy (C) log(x+y)=cy (D) log(x+y)=cx
›Reveal solutionSolution
This tests recognizing that regrouping terms via v=x+y converts an awkward mixed equation into a separable one. The general solution is log(x+y)=cx, option (D).
Concept and Intuition
The given equation mixes x, y, and log(x+y) in a way that isn't obviously separable or linear at first glance. The key insight is spotting that dx+dy (which appears once you regroup) is exactly d(x+y) — so substituting v=x+y collapses the two-variable equation into one purely in v and x, which then separates cleanly.
Step-by-Step Solution
- Expand the given equation: xdx−(x+y)log(x+y)dx+xdy=0.
- Regroup: x(dx+dy)=(x+y)log(x+y)dx.
- Let v=x+y, so dv=dx+dy. The equation becomes xdv=vlogvdx.
- Separate variables: vlogvdv=xdx.
- For the left side, let w=logv, dw=vdv, so vlogvdv=wdw, integrating to log∣w∣=log∣logv∣.
- Integrate both sides: log∣logv∣=log∣x∣+C1⇒logv=kx for some constant k (absorbing eC1 and sign).
- Substitute back v=x+y: log(x+y)=cx (renaming k→c).
Common Mistakes
- Trying to solve the equation directly in x,y without spotting the dx+dy=d(x+y) grouping, leading to a much harder (or unsolvable-by-elementary-methods) equation.
- Sign/inversion errors when separating vlogvdv=xdx, which could flip the roles of x and y and produce option (B) or (C) instead.
✓Final answerThe correct option is (D) — log(x+y)=cx.
ANSWER: D
- AP EAPCET 2025Set eng-2025-05-24-FN1 markMCQQ.The general solution of the differential equation dxdy=2y−x+32x+y−3 is (A) x2−xy−y2+3x+3y+c=0 (B) x2−xy−y2−3x−3y+c=0 (C) x2+xy−y2−3x−3y+c=0 (D) x2+xy+y2+3x−3y+c=0
›Reveal solutionSolution
The ODE rearranges into an exact differential equation; solving it directly by the exact-equation method gives x2+xy−y2−3x−3y+c=0.
Concept and Intuition
dxdy=2y−x+32x+y−3 is linear in x and y in both numerator and denominator, which is a strong hint to try the exact differential equation test: cross-multiply into Mdx+Ndy=0 form and check if ∂M/∂y=∂N/∂x.
Step-by-Step Solution
- Cross-multiplying: (2y−x+3)dy=(2x+y−3)dx⇒(2x+y−3)dx−(2y−x+3)dy=0.
- Rewrite with a plus sign: (2x+y−3)dx+(x−2y−3)dy=0, so M=2x+y−3 and N=x−2y−3.
- Check exactness: ∂y∂M=1 and ∂x∂N=1 — equal, so the equation is exact.
- Find F(x,y) with Fx=M: integrate w.r.t. x (treating y as constant):
F=∫(2x+y−3)dx=x2+xy−3x+g(y).
- Differentiate w.r.t. y and match to N: Fy=x+g′(y)=x−2y−3⇒g′(y)=−2y−3.
- Integrate: g(y)=−y2−3y (constant absorbed later).
- So F(x,y)=x2+xy−3x−y2−3y, and the general solution is F=c:
x2+xy−y2−3x−3y=c⟺x2+xy−y2−3x−3y+c=0.
Common Mistakes
- Sign error when moving N's term across, flipping x−2y−3 to −x+2y+3 incorrectly and getting the wrong cross-term sign (which distinguishes option (A)/(B) from (C)/(D)).
- Forgetting the exactness check and instead trying a substitution method — exactness is much faster here.
- Losing track of whether the xy term should be +xy or −xy: since M contributes +ydx (giving +xy upon integration) and matching N=x−2y−3 (which needs Fy=x+…, consistent with +xy), the coefficient of xy is +1.
✓Final answerThe correct option is (C) — x2+xy−y2−3x−3y+c=0.
ANSWER: C
🎓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.