Q.Find a particular solution of the differential equation (x−y)(dx+dy)=dx−dy, given that y=−1, when x=0. (Hint: put x−y=t)
🔒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 — 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. …
Use the hint t=x−y, so dt=dx−dy and (from y=x−t) dy=dx−dt, giving dx+dy=2dx−dt.
Substitute into (x−y)(dx+dy)=dx−dy:
t(2dx−dt)=dt ⇒ 2tdx=(1+t)dt.
Separate and integrate:
2dx=(1+t1)dt ⇒ 2x=t+log∣t∣+C. …
The hint t=x−y reduces the equation to a separable one; with y(0)=−1 the particular solution is x+y+1=log∣x−y∣.
Why the substitution helps
The combination x−y appears on the left and dx−dy on the right. Setting t=x−y makes dt=dx−dy appear directly, collapsing two variables into one.
Rewrite everything in t and x
From t=x−y we get y=x−t, so dy=dx−dt and therefore
dx+dy=dx+(dx−dt)=2dx−dt.
The equation (x−y)(dx+dy)=dx−dy becomes
t(2dx−dt)=dt.
Separate
Expand and collect the dt terms:
2tdx−tdt=dt ⇒ 2tdx=(1+t)dt.
Divide by t (the case t=0, i.e. x=y, fails the initial condition and is excluded):
2dx=t1+tdt=(1+t1)dt.
Integrate
2x=t+log∣t∣+C.
Restore t=x−y: …
Method: A hinted substitution to reduce to variable-separable
When a problem supplies a substitution like x−y=t, use it to collapse the equation to a separable one.
Steps
Step 1: Apply the given substitution.
Let t=x−y, so dt=dx−dy; express dy (or dx) and any combination like dx+dy in terms of dx and dt.
Step 2: Rewrite the whole equation in t and x.
Substitute so only t and x (and their differentials) remain. …
Common Mistakes
Mistake 1: Not using the given hint x−y=t.
Why it's wrong: the substitution is what collapses the equation; ignoring it leaves a tangled form. Correct approach: set t=x−y, so dt=dx−dy.
Mistake 2: Expressing dx+dy incorrectly in terms of t.
Why it's wrong: from y=x−t, dy=dx−dt, so dx+dy=2dx−dt; a wrong expression derails the algebra. Correct approach: substitute dy=dx−dt carefully. …
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∣. …
- 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. …
- AP EAPCET 2024Set eng-2024-05-19-AN1 markMCQQ.The solution of xdy−ydx=x2+y2dx when y(3)=1 is (A) y2+x2+y2=x2 (B) 5y−x2+y2=x2 (C) y+x2+y2=x2 (D) 5y2−x2+y2=x
›Reveal solutionSolution
A homogeneous first-order ODE; the substitution y=vx reduces it to a separable equation, and the given point fixes the constant to give y+x2+y2=x2.
Concept and Intuition
An equation is homogeneous in x,y when dxdy can be written purely as a function of y/x. The standard trick is y=vx, dxdy=v+xdxdv, which always converts a homogeneous equation into a separable one in v and x.
Step-by-Step Solution
- Given xdy−ydx=x2+y2dx, so dxdy=xy+x2+y2 (taking x>0).
- Put y=vx, so dxdy=v+xdxdv.
- RHS becomes xvx+x2+v2x2=v+1+v2.
- So v+xdxdv=v+1+v2⇒xdxdv=1+v2.
- Separate: 1+v2dv=xdx.
- Integrate: log(v+1+v2)=logx+C1⇒v+1+v2=kx (with k=eC1). …
- 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. …
- AP EAPCET 2023Set eng-2023-05-17-AN1 markMCQQ.If y=y(x) is the solution of xdxdy=y+xe−(y/x), y(1)=loge, then y(e)= (A) log(e1+1) (B) elog(1+e) (C) elog(e1+1) (D) elog(1−e1)
›Reveal solutionSolution
The ODE is homogeneous; substituting y=vx separates variables to evdv=dx/x, and applying the initial condition y(1)=1 gives y(e)=elog(1+e).
Concept and Intuition
xdxdy=y+xe−y/x is homogeneous of degree 0 in x,y (both terms on the right, divided by x, depend only on y/x). The standard substitution y=vx always reduces such equations to a separable one in v and x.
Step-by-Step Solution
- Let y=vx, so dxdy=v+xdxdv.
- Substitute: x(v+xdxdv)=vx+xe−v⇒x2dxdv=xe−v⇒xdxdv=e−v.
- Separate: evdv=xdx. Integrate: ev=logx+C.
- Initial condition: y(1)=loge=1, so v=y/x=1 at x=1: e1=ln1+C⇒e=C.
- So ey/x=logx+e. …
- 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. …
- 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). …
- 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. …
- 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). …
- 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. …
- 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. …
- 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. …
🎓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.