Q.Show that the differential equation (x−y)dxdy=x+2y is homogeneous and solve it.
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.
Homogeneity: dxdy=x−yx+2y=1−(y/x)1+2(y/x) depends only on y/x, so the equation is homogeneous.
Put y=vx, dxdy=v+xdxdv:
v+xdxdv=1−v1+2v ⇒ xdxdv=1−vv2+v+1.
Separate: v2+v+1(1−v)dv=xdx. Split 1−v=−21(2v+1)+23 and integrate:
−21log(v2+v+1)+3tan−132v+1=log∣x∣+C.
Put v=xy (so v2+v+1=x2x2+xy+y2); the log∣x∣ terms cancel, and multiplying by −2:
log∣x2+xy+y2∣−23tan−13xx+2y=C.
logx2+xy+y2−23tan−1(3xx+2y)=C.
The equation is homogeneous; y=vx separates it, and the general solution is log∣x2+xy+y2∣−23tan−13xx+2y=C.
Show it is homogeneous
dxdy=x−yx+2y.
Numerator and denominator are both degree 1, so dividing by x leaves only the ratio y/x:
dxdy=1−(y/x)1+2(y/x)=F(xy).
That is the homogeneous form.
Substitute y=vx
With dxdy=v+xdxdv,
v+xdxdv=1−v1+2v.
Subtract v:
xdxdv=1−v1+2v−v(1−v)=1−vv2+v+1.
Separate
v2+v+11−vdv=xdx.
Integrate the left side
Split the numerator using the derivative of the denominator, 2v+1:
1−v=−21(2v+1)+23.
Then
∫v2+v+11−vdv=−21log(v2+v+1)+23∫v2+v+1dv.
Completing the square, v2+v+1=(v+21)2+43, so
∫v2+v+1dv=32tan−132v+1,
and the left integral is
−21log(v2+v+1)+3tan−132v+1.
Equating to ∫xdx=log∣x∣+C:
−21log(v2+v+1)+3tan−132v+1=log∣x∣+C.
Return to x,y
With v=xy, v2+v+1=x2x2+xy+y2, so
−21log(x2+xy+y2)+log∣x∣+3tan−13x2y+x=log∣x∣+C.
The log∣x∣ terms cancel; multiplying by −2,
log∣x2+xy+y2∣−23tan−13xx+2y=C.
logx2+xy+y2−23tan−1(3xx+2y)=C, C an arbitrary constant.
Method: Solving a homogeneous equation by y=vx
Use this when dxdy=N(x,y)M(x,y) with M and N of the same degree, so the right side depends only on the ratio xy.
Steps
Step 1: Confirm homogeneity.
Divide numerator and denominator by the appropriate power of x until only xy appears; then dxdy=F(xy).
Step 2: Substitute y=vx, so dxdy=v+xdxdv.
Replace y and dxdy. The equation becomes an equation in v and x.
Step 3: Subtract v and separate.
Isolate xdxdv, then split the variables into ⋯(function of v)dv=xdx.
Step 4: Integrate, then return to x,y.
For a rational integrand like v2+v+11−v, write the numerator as a multiple of the denominator's derivative plus a constant, giving a log term plus an inverse-tangent (after completing the square). Finally substitute v=xy back.
Common Mistakes
Mistake 1: Forgetting to subtract v after substituting.
Why it's wrong: dxdy=v+xdxdv, so the plain v must be moved to the right before separating; skipping it gives a wrong equation. Correct approach: isolate xdxdv=1−v1+2v−v=1−vv2+v+1.
Mistake 2: Integrating v2+v+11−v without splitting the numerator.
Why it's wrong: it is not a basic form; you must write 1−v=−21(2v+1)+23 so one piece is a log and the other an inverse tangent (after completing the square). Correct approach: use the derivative of the denominator, 2v+1, to split it.
Mistake 3: Not substituting v=xy back.
Why it's wrong: an answer left in v is incomplete. Correct approach: replace v with xy so the log∣x∣ terms combine into log∣x2+xy+y2∣.
Showing the 12 most recent of 32 on this concept.
- 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 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 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 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
- 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 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 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 2023Set eng-2023-05-17-FN1 markMCQQ.Which one of the following is a homogeneous differential equation? (A) dxdy=x3+(sinx)y (B) dxdy=(x3+y3)ex/y+xy (C) (x2+y2)dx=2xydy (D) xdxdy=y+ex/y
›Reveal solutionSolution
Only option (C) has both numerator and denominator of the same total degree when written as dy/dx=F(x,y), so it is the homogeneous equation.
Concept and Intuition
A first-order DE dxdy=F(x,y) is homogeneous if F(λx,λy)=F(x,y) for all λ — equivalently, if F can be written purely as a function of t=y/x. The quickest test is to check whether every additive term in F scales with the same power of λ when x→λx,y→λy.
Step-by-Step Solution
- (A) dxdy=x3+(sinx)y: under x→λx,y→λy, this becomes λ3x3+(sinλx)λy — the terms don't scale uniformly, and sinx isn't scale-invariant at all. Not homogeneous.
- (B) dxdy=(x3+y3)ex/y+xy: the exponential factor ex/y is scale-invariant (since x/y is unchanged by x→λx,y→λy), so (x3+y3)ex/y scales as λ3; but xy scales as λ3/2. Different degrees ⇒ not homogeneous.
- (C) Rewrite as dxdy=2xyx2+y2. Numerator scales as λ2, denominator as λ2, so the ratio is invariant under x→λx,y→λy — genuinely a function of y/x only: 2(y/x)1+(y/x)2. Homogeneous.
- (D) xdxdy=y+ex/y⇒dxdy=xy+xex/y: the second term has an explicit x1 outside the scale-invariant ex/y, so under x→λx this term becomes λxex/y, which is not equal to the original — not homogeneous.
- Hence only (C) qualifies.
Common Mistakes
- Assuming any equation containing ex/y is automatically homogeneous — it is only homogeneous if the rest of the expression also has matching, uniform degree.
- Forgetting to first solve for dy/dx before checking degrees (as needed in (C) and (D)).
✓Final answerThe correct option is (C) — (x2+y2)dx=2xydy.
ANSWER: C
- AP EAPCET 2023Set eng-2023-05-18-FN1 markMCQQ.If X=x+h, Y=y+k transforms dxdy=3x+2y−82x+3y−7 to a homogeneous differential equation, then (h,k)= (A) (1,2) (B) (2,1) (C) (7,8) (D) (8,7)
›Reveal solutionSolution
To make dxdy=3x+2y−82x+3y−7 homogeneous, shift the origin to the point where both linear expressions vanish simultaneously; solving the two equations gives (h,k)=(2,1).
Concept and Intuition
A differential equation of the form dxdy=a2x+b2y+c2a1x+b1y+c1 (with nonzero constants c1,c2) is made homogeneous by translating the origin to the point (h,k) that is the simultaneous solution of a1x+b1y+c1=0 and a2x+b2y+c2=0 — this removes the constant terms and leaves purely ratio-of-linear-forms in the new variables X=x−h,Y=y−k (or x=X+h,y=Y+k as stated), which is homogeneous of degree 0.
Step-by-Step Solution
- We need (h,k) such that both numerator and denominator vanish at x=h,y=k: 2h+3k−7=0 and 3h+2k−8=0.
- Rewrite: 2h+3k=7 …(i), 3h+2k=8 …(ii).
- Multiply (i) by 2: 4h+6k=14. Multiply (ii) by 3: 9h+6k=24.
- Subtract: (9h+6k)−(4h+6k)=24−14⇒5h=10⇒h=2.
- Substitute back into (i): 2(2)+3k=7⇒4+3k=7⇒k=1.
- So (h,k)=(2,1), and one can verify: 2(2)+3(1)−7=4+3−7=0 ✓, 3(2)+2(1)−8=6+2−8=0 ✓.
Common Mistakes
- Swapping the roles of h and k with x and y in the two equations.
- Arithmetic slip solving the simultaneous linear system (elimination coefficients).
✓Final answerThe correct option is (B) — (2,1).
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 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 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
🎓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.