Q.Show that the differential equation xcos(xy)dxdy=ycos(xy)+x 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.
Concept: Homogeneous Differential Equation — an equation of the form dxdy=F(xy).
Rewrite the given equation:
xcos(xy)dxdy=ycos(xy)+x
Divide through by xcos(xy) (assuming cos(xy)=0):
dxdy=xy+cos(xy)1=xy+sec(xy)
The right-hand side is a function of xy alone, so the equation is homogeneous.
Substitute y=vx, so dxdy=v+xdxdv:
v+xdxdv=v+secv⇒xdxdv=secv
Separate variables:
cosvdv=xdx
Integrate:
∫cosvdv=∫xdx⇒sinv=log∣x∣+C
Replace v=xy:
sin(xy)=log∣x∣+C
The general solution is sin(xy)=log∣x∣+C.
This is a homogeneous differential equation because it can be written in the form dxdy=F(y/x). The substitution y=vx reduces it to a separable equation. The solution is sin(xy)=log∣x∣+C.
Why This Approach Works
A differential equation is homogeneous if every term in the numerator and denominator (when written as dxdy=N(x,y)M(x,y)) has the same total degree in x and y. The key property: such equations can be transformed by the substitution y=vx, where v=y/x. This works because the function depends only on the ratio y/x, not on x and y separately. The substitution turns the equation into one where variables separate cleanly — you get v on one side and x on the other, and then integrate.
Let’s see this in action.
Step-by-Step Solution
1. Rewrite the equation in standard form.
We start with:
xcos(xy)dxdy=ycos(xy)+x
Divide both sides by xcos(y/x) (assuming x=0 and cos(y/x)=0 for now):
dxdy=xcos(y/x)ycos(y/x)+x
Split the fraction:
dxdy=xcos(y/x)ycos(y/x)+xcos(y/x)x
Simplify:
dxdy=xy+cos(y/x)1
So:
dxdy=xy+sec(xy)
The right-hand side is a function of y/x only — that’s the hallmark of a homogeneous equation. No x or y appears alone; everything is in the ratio.
2. Confirm homogeneity.
A function f(x,y) is homogeneous of degree n if f(tx,ty)=tnf(x,y). Here, the right-hand side is xy+sec(y/x). Replace x with tx and y with ty:
txty+sec(txty)=xy+sec(xy)
No factor of t appears — the function is homogeneous of degree 0. This confirms the substitution y=vx will work.
3. Apply the substitution y=vx.
Let v=y/x, so y=vx. Differentiate with respect to x:
dxdy=v+xdxdv
Substitute into the equation dxdy=v+secv:
v+xdxdv=v+secv
Cancel v from both sides:
xdxdv=secv
4. Separate variables.
Multiply both sides by dx and divide by xsecv (or equivalently, multiply by cosv):
cosvdv=xdx
Now the variables are separated — v on the left, x on the right.
The cancellation of v is not a coincidence — it happens because the original equation was homogeneous. If you ever try this substitution and v doesn’t cancel, check your algebra or whether the equation is truly homogeneous.
5. Integrate both sides.
Integrate:
∫cosvdv=∫xdx
We get:
sinv=log∣x∣+C
where C is the constant of integration.
6. Substitute back v=y/x.
Replace v:
sin(xy)=log∣x∣+C
This is the general solution of the differential equation.
We assumed cos(y/x)=0 when dividing. If cos(y/x)=0, then y/x=π/2+nπ, which gives y=(π/2+nπ)x. Substituting into the original equation shows these are also solutions (they satisfy dy/dx=y/x, which matches the original after simplification). So the complete solution includes these singular solutions, but the general solution above covers most cases.
The general solution is sin(xy)=log∣x∣+C, with the singular solutions y=(2π+nπ)x for integer n.
Method: Homogeneous equation, isolate F(y/x) then substitute
Use this for equations where trigonometric or other functions of xy appear but every term still has the same degree, so the equation is homogeneous.
Steps
Step 1: Rearrange into dxdy=F(xy).
Divide through by whatever multiplies dxdy and simplify until the right side is a function of the single ratio xy. This confirms homogeneity of degree 0.
Step 2: Put y=vx, dxdy=v+xdxdv.
Because the right side is exactly F(v), the plain v on the left usually cancels a matching v on the right, leaving a clean xdxdv=(function of v).
Step 3: Separate and integrate.
Move the v-part to the left and dvdx-part to the right, then integrate both standard pieces.
Step 4: Substitute v=xy to express the answer in the original variables.
Common Mistakes
Mistake 1: Not isolating dxdy before substituting.
Why it's wrong: you must first divide by xcos(y/x) to reach dxdy=xy+sec(xy); substituting into the un-simplified form is messy and error-prone. Correct approach: get the clean F(y/x) first.
Mistake 2: Missing the cancellation of v.
Why it's wrong: after y=vx the equation becomes v+xdxdv=v+secv, and the v terms cancel to leave xdxdv=secv. Forgetting this leaves an unsolvable-looking equation. Correct approach: cancel v, then separate as cosvdv=xdx.
Mistake 3: Leaving the answer in v.
Why it's wrong: the solution must be in x and y. Correct approach: after integrating to sinv=log∣x∣+C, substitute v=xy.
Showing the 12 most recent of 32 on this concept.
- AP EAPCET 2025Set eng-2025-05-27-FN1 markMCQQ.The general solution of the differential equation (xsinxy)dy=(ysinxy−x)dx is (A) cos(xy)=log∣x∣+c (B) cos(xy)=x1+c (C) cos(yx)=log∣y∣+c (D) cosxy=x2+c
›Reveal solutionSolution
The equation is homogeneous in x,y; the substitution y=vx makes it separable and integrates to cos(y/x)=log∣x∣+c.
Concept and Intuition
A differential equation where every term has the same total degree in x,y (here, degree 1, since xsin(y/x) and ysin(y/x) and x are all "degree 1" once y/x is treated as dimensionless) is homogeneous, and the standard move is y=vx: it reduces the two variables x,y to one variable v=y/x plus x, making the equation separable.
Step-by-Step Solution
- Given: (xsin(y/x))dy=(ysin(y/x)−x)dx.
- Let y=vx, so dy=vdx+xdv and y/x=v. Substitute:
xsinv(vdx+xdv)=(vxsinv−x)dx.
- Expand: xvsinvdx+x2sinvdv=xvsinvdx−xdx.
- The xvsinvdx terms on both sides cancel exactly, leaving
x2sinvdv=−xdx ⇒ sinvdv=−xdx(x=0).
- Integrate both sides: −cosv=−log∣x∣+C1⇒cosv=log∣x∣−C1=log∣x∣+c.
- Substituting back v=y/x: cos(y/x)=log∣x∣+c.
Common Mistakes
- Not spotting the cancellation of the xvsinvdx terms and getting stuck trying to integrate a mixed expression.
- Sign error turning −cosv=−log∣x∣+C1 into cosv=−log∣x∣+c instead of +log∣x∣+c.
✓Final answerThe correct option is (A) — cos(xy)=log∣x∣+c.
ANSWER: A
- 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-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 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 2024Set eng-2024-05-21-AN1 markMCQQ.dxdy=xy+xtanxy⇒sinxy= (A) cx2 (B) cx (C) cx3 (D) cx4
›Reveal solutionSolution
Substituting y=vx reduces the equation to cotvdv=dx/x, giving sin(y/x)=cx.
Concept and Intuition
An ODE of the form dy/dx=F(y/x) is homogeneous and is solved by substituting v=y/x, which always cancels the v term linearly and leaves a separable equation in v and x.
Step-by-Step Solution
- Let y=vx⇒dxdy=v+xdxdv.
- RHS: xy+xtan(y/x)=v+tanv.
- So v+xdxdv=v+tanv⇒xdxdv=tanv.
- Separate: cotvdv=xdx.
- Integrate: log∣sinv∣=log∣x∣+const⇒sinv=cx.
- Substitute back v=y/x: sin(y/x)=cx.
Common Mistakes
- Forgetting the v terms cancel, leaving an unnecessarily complicated equation.
- Sign/log-constant handling errors when exponentiating log∣sinv∣=log∣x∣+k.
✓Final answerThe correct option is (B) — cx.
ANSWER: B
- AP EAPCET 2022Set eng-2022-07-06-AN1 markMCQQ.If cosxy=Alogx+C is the general solution of (xsinxy)dy=(ysinxy−x)dx, then A= (A) 2 (B) 1 (C) -1 (D) -2
›Reveal solutionSolution
The equation is homogeneous; the substitution y=vx reduces it to a separable form whose integration directly gives cos(y/x)=logx+C, so A=1.
Concept and Intuition
The differential equation (xsin(y/x))dy=(ysin(y/x)−x)dx is homogeneous (every term scales the same way under x→λx,y→λy), so the standard substitution y=vx (with v=y/x) converts it into a separable equation in v and x.
Step-by-Step Solution
- Let y=vx, so dy=vdx+xdv.
- Substitute into (xsinv)dy=(vxsinv−x)dx: (xsinv)(vdx+xdv)=(vxsinv−x)dx.
- Expand LHS: vxsinvdx+x2sinvdv=vxsinvdx−xdx.
- The vxsinvdx terms cancel from both sides: x2sinvdv=−xdx.
- Divide by x2 (assuming x=0): sinvdv=−xdx.
- Integrate both sides: −cosv=−log∣x∣+C′⇒cosv=log∣x∣+C.
- Substitute back v=y/x: cos(y/x)=logx+C.
- Comparing with the given general solution cos(y/x)=Alogx+C: A=1.
Common Mistakes
- Sign errors when integrating sinvdv (the integral is −cosv, easy to drop the minus sign).
- Not simplifying/cancelling the vxsinvdx terms correctly, leading to an unnecessarily messy equation.
✓Final answerThe correct option is (B) — 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 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 2022Set eng-2022-07-08-AN1 markMCQQ.Suppose that f(x,y) and g(x,y) are homogeneous functions of same order. If x=Vy reduces the equation dxdy=g(x,y)f(x,y) to the form dydV=y1(F(V)), then F(V)= (A) (g(1,V)f(1,V)−V) (B) (g(V,1)f(V,1)−V) (C) (f(1,V)g(1,V)−V) (D) (f(V,1)g(V,1)−V)
›Reveal solutionSolution
Using x=Vy and inverting the given ODE to work with dx/dy (not dy/dx) shows F(V)=f(V,1)g(V,1)−V.
Concept and Intuition
This is the homogeneous-equation substitution, but with the roles of x and y swapped compared to the usual y=Vx textbook form (here it's x=Vy, and the new variable is a function of y, not x). Since a homogeneous function of degree n satisfies h(x,y)=ynh(x/y,1)=ynh(V,1), ratios of two same-order homogeneous functions simplify by cancelling the yn factor.
Step-by-Step Solution
- Given dxdy=g(x,y)f(x,y), so its reciprocal is dydx=f(x,y)g(x,y).
- Let x=Vy (V a function of y). Then dydx=V+ydydV (product rule).
- Since f,g are homogeneous of the same degree n: f(x,y)=f(Vy,y)=ynf(V,1) and g(x,y)=yng(V,1).
- So f(x,y)g(x,y)=ynf(V,1)yng(V,1)=f(V,1)g(V,1).
- Equate: V+ydydV=f(V,1)g(V,1)⇒dydV=y1[f(V,1)g(V,1)−V].
- Comparing to dydV=y1F(V): F(V)=f(V,1)g(V,1)−V.
Common Mistakes
- Using dy/dx directly instead of correctly switching to dx/dy to match the substitution x=Vy (which naturally treats x as depending on y).
- Mixing up whether it's f(V,1)/g(V,1) or g(V,1)/f(V,1) — since we inverted dy/dx to get dx/dy, the ratio also inverts.
✓Final answerThe correct option is (D) — (f(V,1)g(V,1)−V).
ANSWER: D
- 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-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 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
🎓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.