Q.(1+eyx)dx+eyx(1−yx)dy=0
🔒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. …
The key idea is that this is a homogeneous differential equation — it can be rewritten in terms of yx.
Step 1: Rewrite in standard form
dydx=−1+ex/yex/y(1−yx)
The right-hand side depends only on yx, confirming homogeneity.
Step 2: Substitute x=vy, so dydx=v+ydydv.
The equation becomes:
v+ydydv=−1+evev(1−v)
Step 3: Separate variables
ydydv=−1+evev(1−v)−v=−1+evv+ev
Thus:
v+ev1+evdv=−ydy
Step 4: Integrate both sides
∫v+ev1+evdv=−log∣y∣+C …
This is a homogeneous differential equation in x and y. Substituting x=vy and separating variables leads to the general solution x+yex/y=C. The problem asks for the general solution (no initial condition is given in the text), so the answer is x+yex/y=C.
The given equation is:
(1+eyx)dx+eyx(1−yx)dy=0
We can rewrite it as:
dydx=−1+eyxeyx(1−yx)
The right-hand side is a function of yx alone. This is the hallmark of a homogeneous differential equation (in the sense that the function f(x,y) is homogeneous of degree zero). When you see an equation where every term has the same total degree in x and y, or where the ratio x/y appears naturally, the substitution x=vy (or y=ux) is the standard path.
Why does this work? Because if x=vy, then dydx=v+ydydv. The original equation, which is messy in x and y, becomes a separable equation in v and y. That is the entire point: turn a complicated coupled pair into something you can integrate.
Let’s do it step by step.
-
Substitute x=vy.
Then dydx=v+ydydv. Also, yx=v.
The equation becomes:
v+ydydv=−1+evev(1−v)
- Isolate the derivative term. Bring v to the right:
ydydv=−1+evev(1−v)−v
Combine the right-hand side into a single fraction:
ydydv=−1+evev(1−v)+v(1+ev)
Simplify the numerator:
ev(1−v)+v(1+ev)=ev−vev+v+vev=ev+v
So we have:
ydydv=−1+evev+v
- Separate variables. Multiply both sides by dy and divide by the v-expression:
ev+v1+evdv=−ydy
Notice that the numerator 1+ev is exactly the derivative of ev+v with respect to v. That is, dvd(ev+v)=ev+1. This is a perfect setup for a logarithmic integration.
- Integrate both sides. …
Method: Homogeneous equation with ex/y — use x=vy
Use this when the exponential is ex/y (as in (1+ex/y)dx+ex/y(1−yx)dy=0); since yx is the natural ratio, substitute x=vy.
Steps
Step 1: Substitute x=vy
With v=yx and dydx=v+ydydv, every ex/y becomes ev.
Step 2: Separate and spot the gg′ pattern
After simplifying, the v-side takes the form v+evd(v+ev), whose integral is a logarithm. …
Common Mistakes
Mistake 1: Substituting y=vx when the exponent is x/y
Why it's wrong: ex/y becomes clean only under x=vy (giving ev); y=vx makes it e1/v, which is far harder. Correct approach: match the substitution to the ratio in the exponent.
Mistake 2: Missing the v+evd(v+ev) pattern …
- COMEDK 2025Set 2025-M1 markMCQQ.The general solution of the differential equation (x−y)dy=(x+y)dx is (A) tan−1(xy)=cx2+y2 (B) tan−1(xy)=x2+y2+c (C) etan−1(xy)=xcx2+y2 (D) etan−1(xy)=cx2+y2
›Reveal solutionSolution
This is a homogeneous differential equation solved by substituting y=vx, separating variables, and integrating; the general solution is etan−1(y/x)=cx2+y2, which matches option (D).
We start by recognizing the structure: the equation (x−y)dy=(x+y)dx is homogeneous — both coefficients are homogeneous functions of degree 1. For such equations, the substitution y=vx (or x=vy) simplifies the relationship between x and y into a separable form.
Why this works:
When we set y=vx, we get dy=vdx+xdv. The original equation becomes an equation in x and v where the variables can be separated. This is the classic method for homogeneous first-order ODEs.
- Rewrite the equation in standard form
(x−y)dy=(x+y)dx
Divide both sides by dx (assuming dx=0):
(x−y)dxdy=x+y
So
dxdy=x−yx+y
- Substitute y=vx Then dxdy=v+xdxdv. The equation becomes:
v+xdxdv=x−vxx+vx=x(1−v)x(1+v)=1−v1+v
- Separate variables Subtract v from both sides:
xdxdv=1−v1+v−v=1−v1+v−v(1−v)=1−v1+v−v+v2=1−v1+v2
So
1+v21−vdv=xdx
- 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, du=2vdv, so ∫1+v2vdv=21log(1+v2).
Thus:
tan−1v−21log(1+v2)=log∣x∣+C
- Back-substitute v=y/x
tan−1(xy)−21log(1+x2y2)=log∣x∣+C
Simplify the log term:
1+x2y2=x2x2+y2
So
21log(x2x2+y2)=21[log(x2+y2)−log(x2)]=21log(x2+y2)−log∣x∣
Plugging back:
tan−1(xy)−[21log(x2+y2)−log∣x∣]=log∣x∣+C …
- COMEDK 2024Set 2024-E1 markMCQQ.The general solution of the differential equation xdxdy=y+xtan(xy) is (A) sin(xy)=xC (B) sin(xy)=Cx (C) sin(yx)=Cx (D) sin(yx)=Cy
›Reveal solutionSolution
This is a homogeneous differential equation solved by substituting y=vx. The general solution simplifies to sin(xy)=Cx, which corresponds to option (B).
The key insight is that the equation is homogeneous — every term has the same degree when y and x are considered together. That means we can set y=vx (where v=y/x), which turns the equation into one that separates cleanly. The presence of tan(y/x) is a dead giveaway: it’s a function of the ratio y/x alone.
- Rewrite the equation in standard form Given:
xdxdy=y+xtan(xy)
Divide through by x (assuming x=0):
dxdy=xy+tan(xy)
This is clearly homogeneous: the right-hand side depends only on y/x.
- Substitute y=vx Let v=y/x, so y=vx. Then differentiate:
dxdy=v+xdxdv
Substitute into the equation:
v+xdxdv=v+tan(v)
The v terms cancel on both sides, leaving:
xdxdv=tan(v)
- Separate variables Bring the v-terms to one side and x-terms to the other:
tan(v)dv=xdx
Since tan(v)=cos(v)sin(v), we have tan(v)1=sin(v)cos(v). So:
sin(v)cos(v)dv=xdx
- Integrate both sides The left side integrates to log∣sin(v)∣ (because the derivative of sin(v) is cos(v)):
∫sin(v)cos(v)dv=log∣sin(v)∣+C1
The right side gives:
∫xdx=log∣x∣+C2
Combining constants:
log∣sin(v)∣=log∣x∣+C …
- COMEDK 2024Set 2024-A1 markMCQQ.
[!FORMULA] The general solution of the differential equation dxdy=x2+y2xy is
(A) y=ce(2y2x2) (B) y=ce(3y2x2) (C) y=ce(−2y2x2) (D) y=ce(y2x2)›Reveal solutionSolution
The differential equation is homogeneous, so we substitute y=vx to separate variables. Solving yields y=Ce2y2x2, which corresponds to option (A).
We are given:
dxdy=x2+y2xy
Concept & Intuition
The right-hand side is a ratio where both numerator and denominator are homogeneous of degree 2 (each term has total power 2). This suggests the substitution y=vx (or v=y/x), which turns the equation into one where variables separate. The trick is that after substitution, the x and v parts can be isolated, leading to an implicit relation between y and x.
Step-by-step solution
- Rewrite using substitution y=vx Let v=y/x, so y=vx. Then
dxdy=v+xdxdv
Substitute into the DE:
v+xdxdv=x2+(vx)2x(vx)=x2(1+v2)vx2=1+v2v
- Isolate the derivative term Subtract v from both sides:
xdxdv=1+v2v−v=1+v2v−v(1+v2)=1+v2v−v−v3=−1+v2v3
- Separate variables Multiply both sides by dx and divide by the factor involving v:
v31+v2dv=−x1dx
(We assume v=0; v=0 gives y=0, which is a trivial solution but not part of the general family.)
- Integrate both sides Left side:
∫v31+v2dv=∫(v−3+v−1)dv=−2v−2+log∣v∣+C1=−2v21+log∣v∣+C1
Right side:
∫−x1dx=−log∣x∣+C2
Combine constants:
−2v21+log∣v∣=−log∣x∣+C
- Simplify using logarithms Bring the log terms together:
log∣v∣+log∣x∣=2v21+C
That is:
log∣vx∣=2v21+C
But vx=y, so:
log∣y∣=2v21+C
- Replace v back in terms of x and y …
- COMEDK 2021Set 20211 markMCQQ.The solution of the differential equation ydxdy=xx2y2+ϕ′(x2y2)ϕ(x2y2) is (where, C is a constant) (A) ϕ(x2y2)=Cx (B) xϕ(x2y2)=C (C) ϕ(x2y2)=Cx2 (D) x2ϕ(x2y2)=C
›Reveal solutionSolution
Integrate: log|phi(v)| = 2 log|x| + log C => phi(v) = C x^2 => phi(y^2/x^2) = C x^2.
Concept: substitute v = y^2/x^2 to reduce to a separable equation.
Given: y dy/dx = x [ y^2/x^2 + phi(v)/phi'(v) ], where v = y^2/x^2.
From v = y^2/x^2 we get y^2 = v x^2. Differentiate with respect to x:
2y (dy/dx) = x^2 (dv/dx) + 2vx
=> y (dy/dx) = (x^2/2)(dv/dx) + vx.
Substitute into the given equation:
(x^2/2)(dv/dx) + vx = xv + x * phi(v)/phi'(v)
=> (x^2/2)(dv/dx) = x * phi(v)/phi'(v) …
- KCET 2019Set A-11 markMCQQ.The equation of the curve passing through the point (1,1) such that the slope of the tangent at any point (x,y) is equal to the product of its co-ordinates is (A) 2logx=y2−1 (B) 2logy=x2+1 (C) 2logy=x2−1 (D) 2logx=y2+1
›Reveal solutionSolution
The slope condition gives dxdy=xy, a separable differential equation. Solving with the initial condition (1,1) yields 2logy=x2−1, which is option (C).
The problem gives a geometric condition: at any point (x,y) on the curve, the slope of the tangent equals the product of the coordinates. That is,
dxdy=x⋅y.
This is a first-order differential equation. The key is to recognise it as separable — we can collect all y terms on one side and all x terms on the other, then integrate.
The curve must pass through (1,1), so that fixes the constant of integration. Let’s work through it.
- Set up the differential equation The slope of the tangent at (x,y) is dxdy. The product of the coordinates is xy. So
dxdy=xy.
- Separate the variables Bring y terms to the left and x terms to the right:
ydy=xdx.
(We assume y=0; the point (1,1) ensures y>0 here.)
- Integrate both sides
∫ydy=∫xdx
gives
log∣y∣=2x2+C.
Since y is positive near (1,1), we can drop the absolute value:
logy=2x2+C.
- Apply the initial condition The curve passes through (1,1), so x=1, y=1:
log1=212+C⇒0=21+C⇒C=−21.
- Write the particular solution Substitute C=−21:
- COMEDK 2021Set 2021-B1 markMCQQ.The differential equation xdx+ydy=xdy−ydx has solution (A) x2+y2=2ktan−1xy (B) x2+y2=ke2tan−1xy (C) log(x2+y2)=2tan−1xy+c (D) log(x2+y2)=tan−1xy+c
›Reveal solutionSolution
[!TLDR]
Recognise the two sides as exact differentials of x2+y2 and tan−1(y/x); separating and integrating gives log(x2+y2)=2tan−1(y/x)+c.
Concept
This CBSE Class 12 differential-equations problem is solved fastest by spotting standard exact-differential combinations: d(x2+y2)=2(xdx+ydy) and d(tan−1xy)=x2+y2xdy−ydx.
Solution
Start from
xdx+ydy=xdy−ydx.
Write each side as a differential:
21d(x2+y2)=(x2+y2)d(tan−1xy).
Divide both sides by x2+y2:
21⋅x2+y2d(x2+y2)=d(tan−1xy).
Integrate:
21log(x2+y2)=tan−1xy+c1. …
- COMEDK 2024Set 2024-M1 markMCQQ.Which of the following is not a homogenous function of x and y (A) sinx−cosy (B) cos2(xy)+xy (C) x2+2xy (D) 2x−y
›Reveal solutionSolution
A homogeneous function satisfies f(tx,ty)=tnf(x,y) for some n. Checking each option shows that sinx−cosy fails this test, so it is not homogeneous.
Concept & Intuition
A function of two variables is homogeneous of degree n if scaling both inputs by the same factor t multiplies the output by tn. This is a powerful symmetry property: the function’s form depends only on the ratio of the variables (like y/x) when n=0, or more generally on powers of t times that ratio. To test homogeneity, replace x with tx and y with ty, then see if you can factor out a single power of t. If you cannot — because the function involves non-polynomial terms like sin or cos of the original variables (not their ratio) — it is not homogeneous.
Step-by-step reasoning
- Option (A): f(x,y)=sinx−cosy Replace x with tx and y with ty:
f(tx,ty)=sin(tx)−cos(ty)
There is no way to factor out a common power of t because sin(tx)=tnsinx for any constant n (except trivially t=1). The function does not scale uniformly. Hence, this is not homogeneous.
- Option (B): f(x,y)=cos2(xy)+xy Replace:
f(tx,ty)=cos2(txty)+txty=cos2(xy)+xy
The t cancels completely, so f(tx,ty)=t0f(x,y). This is homogeneous of degree 0.
- Option (C): f(x,y)=x2+2xy Replace: f(tx,ty)=(tx)2+2(tx)(ty)=t2x2+2t2xy=t2(x2+2xy)=t2f(x,y) …
- KCET 2023Set A-21 markMCQQ.The degree of the differential equation 1+(dxdy)2+(dx2d2y)2=3dx2d2y+1 is (A) 3 (B) 1 (C) 2 (D) 6
›Reveal solutionSolution
Remove the radical by cubing both sides, then read off the highest power of the highest-order derivative.
1. The definition being tested
The degree of a differential equation is the power of the highest-order derivative, after the equation has been made free of radicals and fractional powers in the derivatives. If it cannot be made polynomial in the derivatives, the degree is not defined. So the cube root here must be cleared first — you may not read the degree off the equation as printed.
2. The equation
1+(dxdy)2+(dx2d2y)2=3dx2d2y+1
3. Cube both sides
[1+(dxdy)2+(dx2d2y)2]3=dx2d2y+1
This is now a polynomial in dxdy and dx2d2y.
4. Identify order and degree
- Order = 2 (the highest derivative present is dx2d2y). …
🎓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.