Q.Solve the following differential equation: (x−y)dy−(x+y)dx=0
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 homogeneous differential equation — the coefficients of dx and dy are homogeneous functions of the same degree (degree 1).
Step 1: Rewrite in standard form
(x−y)dy=(x+y)dx⇒dxdy=x−yx+y
Step 2: Substitute y=vx so dxdy=v+xdxdv.
v+xdxdv=x−vxx+vx=1−v1+v
Step 3: Separate variables
xdxdv=1−v1+v−v=1−v1+v−v(1−v)=1−v1+v2
1+v21−vdv=xdx
Step 4: Integrate both sides
∫1+v21dv−∫1+v2vdv=∫xdx
tan−1v−21log(1+v2)=log∣x∣+C
Replace v=y/x:
tan−1(xy)−21log(1+x2y2)=log∣x∣+C
Simplify the log term:
tan−1(xy)−21log(x2x2+y2)=log∣x∣+C
tan−1(xy)−21log(x2+y2)+log∣x∣=log∣x∣+C
Cancel log∣x∣ on both sides:
tan−1(xy)−21log(x2+y2)=C
The general solution is tan−1(xy)=21log(x2+y2)+C.
This is a homogeneous differential equation — the substitution y=vx (or x=vy) reduces it to a separable form. The general solution is tan−1(xy)=21log(x2+y2)+C.
Why the homogeneous approach works
A differential equation of the form M(x,y)dx+N(x,y)dy=0 is homogeneous if M and N are homogeneous functions of the same degree — meaning each term has the same total power of x and y. Here, every term in (x−y)dy−(x+y)dx=0 is of degree 1: x, y each appear linearly.
The key insight: when both M and N are homogeneous of degree n, the ratio dxdy depends only on xy. That lets us substitute y=vx, turning the equation into one where variables separate cleanly. No guesswork — it’s a standard, reliable method.
Step-by-step solution
1. Rewrite in standard form
Start with
(x−y)dy−(x+y)dx=0
Bring the dx term to the other side:
(x−y)dy=(x+y)dx
Divide through by dx (assuming x=0):
(x−y)dxdy=x+y
So
dxdy=x−yx+y
This is our working form.
2. Confirm homogeneity
The right-hand side is a ratio of two degree‑1 expressions. Divide numerator and denominator by x:
dxdy=1−xy1+xy
It depends only on v=xy — homogeneous, confirmed.
3. Substitute y=vx
Let y=vx, where v is a function of x. Then
dxdy=v+xdxdv
Plug into the equation:
v+xdxdv=1−v1+v
4. Separate variables
Subtract v from both sides:
xdxdv=1−v1+v−v
Combine the right-hand side over a common denominator:
1−v1+v−v=1−v1+v−v(1−v)=1−v1+v−v+v2=1−v1+v2
Thus
xdxdv=1−v1+v2
Separate:
1+v21−vdv=xdx
5. Integrate both sides
Left side:
∫1+v21−vdv=∫1+v21dv−∫1+v2vdv
The first integral is tan−1v. For the second, let u=1+v2, so du=2vdv and vdv=2du:
∫1+v2vdv=21∫udu=21log∣u∣=21log(1+v2)
(Since 1+v2>0, absolute value is unnecessary.)
Right side:
∫xdx=log∣x∣+C
Putting it together:
tan−1v−21log(1+v2)=log∣x∣+C
6. Back-substitute v=xy
tan−1(xy)−21log(1+x2y2)=log∣x∣+C
Simplify the log term:
1+x2y2=x2x2+y2
So
21log(x2x2+y2)=21log(x2+y2)−21log(x2)=21log(x2+y2)−log∣x∣
Substitute back:
tan−1(xy)−[21log(x2+y2)−log∣x∣]=log∣x∣+C
The −log∣x∣ on the left and +log∣x∣ on the right cancel:
tan−1(xy)−21log(x2+y2)=C
7. Rearrange for the final form
tan−1(xy)=21log(x2+y2)+C
(Note: the constant C is arbitrary; its sign is absorbed.)
A common mistake is forgetting to handle the v term when substituting dxdy=v+xdxdv. Skipping that step leads to an incorrect separable equation. Also, when integrating 1+v2v, don’t forget the factor 21.
If you prefer, you can substitute x=vy instead — the algebra is symmetric and leads to the same result. Try it as an exercise.
The general solution is tan−1(xy)=21log(x2+y2)+C.
Method: Homogeneous equation giving an arctan–log answer
Use this for homogeneous equations such as dxdy=x−yx+y, where after y=vx the v-integral splits into an inverse-tangent part and a logarithm part.
Steps
Step 1: Substitute y=vx and simplify
Replace to get v+xdxdv=1−v1+v, then isolate xdxdv=1−v1+v2.
Step 2: Separate and split the numerator
1+v21−vdv=xdx; split the left side into 1+v21−1+v2v.
Step 3: Integrate and back-substitute
These give tan−1v−21log(1+v2)=log∣x∣+C; put v=xy to reach tan−1xy=21log(x2+y2)+C.
When the separated v-side is 1+v21−v, always split it into the arctan piece and the 1+v2v log piece — they integrate differently.
Common Mistakes
Mistake 1: Not splitting 1+v21−v into two integrals
Why it's wrong: it must break into 1+v21 (gives tan−1v) and 1+v2v (gives 21log(1+v2)); treating it as one blocks integration. Correct approach: separate the two pieces.
Mistake 2: Sign error on the logarithm term
Why it's wrong: the middle sign is minus, so you get tan−1v−21log(1+v2); a sign slip changes the final relation. Correct approach: carry the minus through.
Mistake 3: Not converting 1+v2 back to x2x2+y2
Why it's wrong: skipping this leaves the answer in v instead of the clean tan−1xy=21log(x2+y2)+C. Correct approach: back-substitute v=xy and simplify the log.
Showing the 12 most recent of 32 on this concept.
- AP EAPCET 2024Set eng-2024-05-18-FN1 markMCQQ.The general solution of the differential equation (x−y−1)dy=(x+y+1)dx is (A) tan−1(xy+1)−21log(x2+y2+2y+1)=c (B) (x−y)+log(x+y)=c (C) y2−x2+xy−3y−x=c (D) (x−y−1)2(x+y+1)3=c
›Reveal solutionSolution
A shift of origin to where x+y+1=0 meets x−y−1=0 turns this into a standard homogeneous equation, giving tan−1(xy+1)−21log(x2+y2+2y+1)=c.
Concept and Intuition
Equations of the form dxdy=a′x+b′y+c′ax+by+c that are not homogeneous (because of the constant terms) can be made homogeneous by shifting the origin to the point where the two linear expressions both vanish — this removes the constants and leaves a pure ratio of linear terms in the new variables.
Step-by-Step Solution
- Given (x−y−1)dy=(x+y+1)dx, i.e. dxdy=x−y−1x+y+1.
- Find the point where x+y+1=0 and x−y−1=0 intersect: adding gives 2x=0⇒x=0; then y=−1.
- Shift: let X=x, Y=y+1 (so x=X, y=Y−1). Then x+y+1=X+Y and x−y−1=X−Y.
- The equation becomes dXdY=X−YX+Y — homogeneous of degree 0.
- Let Y=vX, so dXdY=v+XdXdv=1−v1+v.
- So XdXdv=1−v1+v−v=1−v1+v2, giving 1+v21−vdv=XdX.
- Integrate: ∫1+v2dv−∫1+v2vdv=logX+c, i.e. tan−1v−21log(1+v2)=logX+c.
- Substitute back v=Y/X=(y+1)/x: 1+v2=x2x2+(y+1)2, so 21log(1+v2)=21log(x2+(y+1)2)−log∣x∣.
- The equation becomes tan−1(xy+1)−21log(x2+(y+1)2)+log∣x∣=log∣x∣+c, and the log∣x∣ terms cancel, leaving tan−1(xy+1)−21log(x2+y2+2y+1)=c (expanding (y+1)2=y2+2y+1).
Common Mistakes
- Trying to treat the equation as homogeneous without first shifting the origin — the +1 constants make it non-homogeneous as originally written.
- Losing track of the log∣x∣ terms that cancel between the two sides.
✓Final answerThe correct option is (A) — tan−1(xy+1)−21log(x2+y2+2y+1)=c.
ANSWER: A
- 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-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-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 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 2022Set eng-2022-07-08-AN1 markMCQQ.The general solution of xdy - ydx = ydy is (A) y=Ae−x/y (B) y=Aex (C) xy=Aex (D) yx+xy=C
›Reveal solutionSolution
The ODE is homogeneous; solving with y=Vx and simplifying the resulting logarithmic relation gives y=Ae−x/y.
Concept and Intuition
"xdy−ydx" style equations are homogeneous in x,y and standardly solved by substituting y=Vx, which turns them into separable equations in V and x.
Step-by-Step Solution
- Rearrange: xdy−ydy=ydx⇒dy(x−y)=ydx⇒dxdy=x−yy.
- Let y=Vx, so dxdy=V+xdxdV. RHS becomes x−VxVx=1−VV.
- So V+xdxdV=1−VV⇒xdxdV=1−VV−V(1−V)=1−VV2.
- Separate: V21−VdV=xdx⇒(V21−V1)dV=xdx.
- Integrate: −V1−logV=logx+C1.
- Substitute back V=y/x: −yx−logxy=logx+C1⇒−yx−logy+logx=logx+C1⇒−yx−logy=C1.
- So yx=−logy−C1=logA−logy=logyA (writing −C1=logA). Exponentiating: ex/y=yA⇒y=Ae−x/y.
Common Mistakes
- Sign slips when substituting V=y/x back into the logarithm — the log(y/x) term splits into logy−logx, and the logx pieces cancel, easy to mishandle.
- Trying to solve for y explicitly (it's implicit — the answer is naturally in the exponential-implicit form given).
✓Final answerThe correct option is (A) — y=Ae−x/y.
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 2024Set eng-2024-05-22-FN1 markMCQQ.The general solution of the differential equation xdy−ydx=x2+y2dx is (A) y+x2+y2=cx2 (B) y+x2+y2=cx (C) x+x2+y2=cy (D) x−x2+y2=cy2
›Reveal solutionSolution
A homogeneous differential equation, solved with the substitution y=vx. Answer: y+x2+y2=cx2.
Concept and Intuition
Every term here — xdy, ydx, and x2+y2dx — scales the same way if x,y are both scaled by the same factor, which is the signature of a homogeneous equation. The standard substitution y=vx converts it into a separable equation in v and x.
Step-by-Step Solution
- Write dxdy=xy+x2+y2 (dividing through by dx, taking x>0).
- Let y=vx, so dxdy=v+xdxdv. Then: v+xdxdv=xvx+x2+v2x2=v+1+v2.
- So xdxdv=1+v2, which separates: 1+v2dv=xdx.
- Integrate: log(v+1+v2)=logx+logC⇒v+1+v2=Cx.
- Substitute back v=y/x: xy+1+x2y2=Cx⇒xy+x2+y2=Cx⇒y+x2+y2=Cx2.
Common Mistakes
- Forgetting to multiply through by x at the final step, mistakenly leaving the constant with only one power of x (option B).
- Sign error in identifying ∫1+v2dv=log(v+1+v2), a standard but easy-to-misremember integral.
✓Final answerThe correct option is (A) — y+x2+y2=cx2.
ANSWER: A
- AP EAPCET 2024Set eng-2024-05-20-AN1 markMCQQ.The general solution of the differential equation (xsinxy)dy=(ysinxy−x)dx is (A) cosyx=logex+c (B) cosxy=logex+c (C) cosyx=logey+c (D) cosxy=logey+c
›Reveal solutionSolution
This is a homogeneous DE; the substitution y=vx cleanly separates variables, giving cos(y/x)=logex+c — (B).
Concept and Intuition
An equation is homogeneous when every term has the same total "degree" once you notice it depends only on the ratio y/x. The standard substitution y=vx turns it into a separable equation in v and x.
Step-by-Step Solution
- Given: (xsinxy)dy=(ysinxy−x)dx.
- Let y=vx⇒dy=vdx+xdv, and xy=v.
- Substitute: xsinv(vdx+xdv)=(vxsinv−x)dx.
- Expand LHS: vxsinvdx+x2sinvdv. RHS: vxsinvdx−xdx.
- The vxsinvdx term cancels from both sides, leaving: x2sinvdv=−xdx.
- Divide by x2 (assuming x=0): sinvdv=−xdx.
- Integrate both sides: −cosv=−ln∣x∣+C1⇒cosv=ln∣x∣+C (relabeling the constant).
- Substitute back v=y/x: cosxy=logex+c.
Common Mistakes
- Forgetting that the vxsinvdx terms cancel — trying to solve without spotting this cancellation leads to a much harder (and wrong) equation.
- Mixing up y/x vs x/y in the final answer — since the original substitution was y=vx, the answer must be in terms of v=y/x, matching option (B) rather than (A) or (C) which have x/y.
✓Final answerThe correct option is (B) — cosxy=logex+c.
ANSWER: B
- AP EAPCET 2024Set eng-2024-05-20-FN1 markMCQQ.The general solution of the differential equation (x+y)ydx+(y−x)xdy=0 is (A) x+ylog(cy)=0 (B) xy=log(xy)+c (C) x+ylog(cxy)=0 (D) xy=log(cxy)
›Reveal solutionSolution
This is a homogeneous first-order ODE; the substitution y=vx turns it into a separable equation whose integral rearranges to x+ylog(cxy)=0.
Concept and Intuition
Every term of (x+y)ydx+(y−x)xdy=0 is of the same total degree (degree 2 in x,y), which is the signature of a homogeneous differential equation. The standard technique is to set y=vx, turning the equation into one involving only v and x, which separates.
Step-by-Step Solution
- Expand: (xy+y2)dx+(xy−x2)dy=0 — every term has degree 2, confirming homogeneity.
- Put y=vx, so dy=vdx+xdv. Then xy+y2=x2v(1+v) and xy−x2=x2(v−1).
- Substituting: x2v(1+v)dx+x2(v−1)(vdx+xdv)=0. Dividing by x2: v(1+v)dx+(v−1)vdx+x(v−1)dv=0.
- Collect the dx coefficient: v(1+v)+v(v−1)=v[(1+v)+(v−1)]=2v2. So 2v2dx+x(v−1)dv=0.
- Separate variables: xdx=2v2(1−v)dv=(2v21−2v1)dv.
- Integrate: logx=−2v1−21logv+C. Multiply by 2: 2logx+logv=−v1+2C⇒log(x2v)=−v1+K.
- Since x2v=x2⋅xy=xy and v1=yx: log(xy)+yx=K.
- Multiply through by y: ylog(xy)+x=Ky, i.e. x+y[log(xy)−K]=0. Writing log(xy)−K=log(xy)−log(eK)=log(xy⋅e−K)=log(cxy) (with c=e−K), this is x+ylog(cxy)=0.
Common Mistakes
- Forgetting to convert v1 back to yx and v back to xy before comparing to the answer choices.
- Losing track of which constant absorbs the e−K term when rewriting log(xy)−K as log(cxy).
✓Final answerThe correct option is (C) — x+ylog(cxy)=0.
ANSWER: C
- 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 2024Set eng-2024-05-22-AN1 markMCQQ.The general solution of the differential equation (xy+y2)dx−(x2−2xy)dy=0 is (A) cxy2=ex/y (B) cxy2ex/y=1 (C) cxyex/y=1 (D) cxy=ex/y
›Reveal solutionSolution
This is a homogeneous first-order ODE; the substitution y=vx solves it, giving cxy2ex/y=1, option (B).
Concept and Intuition
Both (xy+y2) and (x2−2xy) are homogeneous of degree 2 in x,y, so the standard substitution y=vx (turning the equation into one in v and x alone) separates variables.
Step-by-Step Solution
- Write the ODE as (xy+y2)dx=(x2−2xy)dy. Substitute y=vx, dy=vdx+xdv.
- xy+y2=x2(v+v2) and x2−2xy=x2(1−2v). The equation becomes
x2(v+v2)dx=x2(1−2v)(vdx+xdv).
- Divide by x2 and collect dx terms: [(v+v2)−v(1−2v)]dx=(1−2v)xdv. The bracket simplifies to 3v2, so
3v2dx=(1−2v)xdv⇒xdx=3v21−2vdv.
- Integrate: logx=31∫(v21−v2)dv=31(−v1−2logv)+C.
- Multiply by 3: 3logx+2logv+v1=C′, i.e. log(x3v2)=C′−v1, so x3v2=Ke−1/v.
- Substitute back v=y/x: x3⋅x2y2=xy2 and 1/v=x/y, giving xy2=Ke−x/y, i.e. cxy2ex/y=1 (absorbing constants).
Common Mistakes
- Sign error in simplifying (v+v2)−v(1−2v) (it's +3v2, not v2 or −3v2).
- Forgetting to convert v back to y/x correctly in the exponential term (1/v=x/y, easy to invert incorrectly).
✓Final answerThe correct option is (B) — cxy2ex/y=1.
ANSWER: B
🎓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.