Q.Solve the following differential equation: (x2+xy)dy=(x2+y2)dx
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.
Homogeneous (every term is degree 2). Put y=vx, dxdy=v+xdxdv into dxdy=x2+xyx2+y2=1+v1+v2:
v+xdxdv=1+v1+v2⇒xdxdv=1+v1+v2−v(1+v)=1+v1−v.
Separate and write 1−v1+v=−1+1−v2:
∫(−1+1−v2)dv=∫xdx⇒−v−2log∣1−v∣=log∣x∣+C.
With v=xy and 1−v=xx−y this tidies to (x−y)2=Cxe−y/x.
(x−y)2=Cxe−y/x (equivalently −xy−2log1−xy=log∣x∣+C).
Homogeneous DE; with y=vx it separates to 1−v1+vdv=xdx, giving (x−y)2=Cxe−y/x.
1. Recognise homogeneity
dxdy=x2+xyx2+y2.
Numerator and denominator are both degree 2, so dividing through by x2 makes the right side depend only on v=y/x:
dxdy=1+v1+v2.
2. Substitute y=vx
Then dxdy=v+xdxdv, so
v+xdxdv=1+v1+v2.
3. Reduce to separable form
xdxdv=1+v1+v2−v=1+v1+v2−v−v2=1+v1−v.
So
1−v1+vdv=xdx.
4. Integrate
Write 1−v1+v=−1+1−v2:
∫(−1+1−v2)dv=∫xdx⇒−v−2log∣1−v∣=log∣x∣+C.
5. Return to x,y
With v=xy and 1−v=xx−y:
−xy−2logxx−y=log∣x∣+C.
Collecting logarithms, −xy−2log∣x−y∣+2log∣x∣=log∣x∣+C, i.e. log(x−y)2∣x∣=xy+C. Exponentiating,
(x−y)2=Cxe−y/x.
Check: differentiating (x−y)2=Cxe−y/x implicitly and simplifying returns y′=x2+xyx2+y2, the original equation.
(x−y)2=Cxe−y/x, equivalently −xy−2log1−xy=log∣x∣+C.
Method: Solving a homogeneous equation by y=vx
Use this when dxdy can be written purely in terms of xy — a homogeneous equation. The substitution y=vx turns it into a separable equation in v and x.
Steps
Step 1: Confirm homogeneity and substitute
Rewrite the right side as a function of v=xy. Set y=vx, so dxdy=v+xdxdv.
Step 2: Separate v from x
After substituting, the v terms group on one side and xdx on the other:
F(v)−vdv=xdx.
Step 3: Integrate and back-substitute
Integrate both sides, then replace v with xy to return to x,y.
Homogeneous means every term has the same total degree in x,y; that guarantees the right side depends only on y/x, which is what makes y=vx work.
Common Mistakes
Mistake 1: Forgetting dxdy=v+xdxdv after y=vx
Why it's wrong: writing only dxdy=v omits the product-rule term and breaks the whole method. Correct approach: differentiate y=vx properly to v+xdxdv.
Mistake 2: Errors simplifying 1+v1+v2−v
Why it's wrong: this must reduce to 1+v1−v before separating; algebra slips give a wrong integral. Correct approach: combine over a common denominator carefully.
Mistake 3: Not back-substituting v=xy
Why it's wrong: leaving the answer in v hides the actual x,y solution. Correct approach: replace v to reach (x−y)2=Cxe−y/x.
- CBSE 2024Set 65/2/11 markMCQQ.The differential equation dxdy=F(x,y) will not be a homogeneous differential equation, if F(x,y) is: (A) cosx−sin(xy) (B) xy (C) xyx2+y2 (D) cos2(yx)
›Reveal solutionSolution
A differential equation dxdy=F(x,y) is homogeneous if F(x,y) is a homogeneous function of degree zero. This means F(λx,λy)=F(x,y) for any non-zero λ. Option (A) contains a term cosx, which prevents F(x,y) from being homogeneous of degree zero, making it the correct answer.
To determine if a differential equation dxdy=F(x,y) is homogeneous, we need to understand what a homogeneous function is.
A function F(x,y) is called a homogeneous function of degree n if, for any non-zero constant λ, the following condition holds:
F(λx,λy)=λnF(x,y)
For a differential equation dxdy=F(x,y) to be classified as a homogeneous differential equation, the function F(x,y) must be a homogeneous function of degree zero. This means that when we replace x with λx and y with λy, the function F(x,y) must remain unchanged:
F(λx,λy)=λ0F(x,y)=F(x,y)
This property is crucial because it allows us to transform the differential equation into a separable form by substituting y=vx (or x=vy). If F(x,y) is homogeneous of degree zero, it can always be expressed as a function of xy (or yx). For example, if F(λx,λy)=F(x,y), we can choose λ=x1 (assuming x=0), then F(x,y)=F(x1⋅x,x1⋅y)=F(1,xy), which is clearly a function of xy.
Let's examine each given option to see which F(x,y) is not homogeneous of degree zero.
- Option (A): F(x,y)=cosx−sin(xy) We test for homogeneity of degree zero by replacing x with λx and y with λy:
F(λx,λy)=cos(λx)−sin(λxλy)
F(λx,λy)=cos(λx)−sin(xy)
For this to be equal to $F(x, y)$, we would need $\cos(\lambda x) = \cos x$. This is generally not true for arbitrary $\lambda \neq 1$. For instance, if $\lambda = 2$, then $\cos(2x) \neq \cos x$. Therefore, $F(x, y) = \cos x - \sin\left(\dfrac{y}{x}\right)$ is **not** a homogeneous function of degree zero. This means the differential equation $\frac{dy}{dx} = \cos x - \sin\left(\dfrac{y}{x}\right)$ is not homogeneous.2. Option (B): F(x,y)=xy
Replace x with λx and y with λy:
F(λx,λy)=λxλy=xy
This is equal to $F(x, y)$. Thus, $F(x, y) = \dfrac{y}{x}$ is a homogeneous function of degree zero.3. Option (C): F(x,y)=xyx2+y2
Replace x with λx and y with λy:
F(λx,λy)=(λx)(λy)(λx)2+(λy)2
F(λx,λy)=λ2xyλ2x2+λ2y2
F(λx,λy)=λ2xyλ2(x2+y2)
F(λx,λy)=xyx2+y2
This is equal to $F(x, y)$. Thus, $F(x, y) = \dfrac{x^2 + y^2}{xy}$ is a homogeneous function of degree zero. Alternatively, we can express it as a function of $\frac{y}{x}$:F(x,y)=x2(y/x)x2(1+(y/x)2)=y/x1+(y/x)2
This clearly shows it's a function of $\frac{y}{x}$.4. Option (D): F(x,y)=cos2(yx)
Replace x with λx and y with λy:
F(λx,λy)=cos2(λyλx)
F(λx,λy)=cos2(yx)
This is equal to $F(x, y)$. Thus, $F(x, y) = \cos^2\left(\dfrac{x}{y}\right)$ is a homogeneous function of degree zero.From our analysis, only option (A) does not satisfy the condition for being a homogeneous function of degree zero.
✓Final answerThe differential equation dxdy=F(x,y) will not be a homogeneous differential equation if F(x,y) is (A) cosx−sin(xy).
- CBSE 2024Set 65/3/11 markMCQQ.xlogxdxdy+y=2logx is an example of a: (A) variable separable differential equation (B) homogeneous differential equation (C) first order linear differential equation (D) differential equation whose degree is not defined
›Reveal solutionSolution
The given equation can be rearranged into the standard linear form dxdy+P(x)y=Q(x), making it a first order linear differential equation. The correct option is (C).
Let’s understand why this equation fits the first order linear category, and why it does not fit the others.
A differential equation is called first order linear if it can be written in the form:
dxdy+P(x)y=Q(x)
where P(x) and Q(x) are functions of x only. The key idea is that y and dxdy appear only to the first power, and there is no product like y⋅dxdy or y2.
Now, look at the given equation:
xlogxdxdy+y=2logx
- Isolate dxdy Divide the entire equation by xlogx (provided x>0 and x=1, which is the natural domain for logx):
dxdy+xlogx1y=xlogx2logx
- Simplify the right-hand side Since xlogx2logx=x2 (cancelling logx), we get:
dxdy+xlogx1y=x2
- Identify the form This is exactly dxdy+P(x)y=Q(x) with:
P(x)=xlogx1,Q(x)=x2
Both are functions of x only, and y appears linearly. So it is a first order linear differential equation.
Now, why are the other options wrong?
Watch outCommon confusion
- Variable separable: For separability, we need to write it as f(y)dy=g(x)dx. Here, y and dxdy are mixed — you cannot separate y from x completely because of the term xlogx1y. So it is not separable.
- Homogeneous: A homogeneous differential equation (in the sense of degree) requires every term to have the same total degree in x and y after rewriting dxdy as a function of xy. Here, logx is not a polynomial in x and y, so the concept of degree does not apply. It is not homogeneous.
- Degree not defined: The degree of a differential equation is defined only when it is a polynomial in derivatives. This equation is already a polynomial in dxdy (first power), so its degree is 1 — it is defined. So option (D) is false.
TipQuick check
If you see a term like P(x)y added to dxdy, it is almost always a first order linear equation. The giveaway here is the +y term on the left.
✓Final answerThe correct option is (C) first order linear differential equation.
- CBSE 2026Set 65/3/11 markMCQQ.dxdy=F(x,y) will be a homogeneous differential equation for which of the following functions?(i) F(x,y)=3x+2y(ii) F(x,y)=sinxy+logy−logx(iii) F(x,y)=ey/x+1(iv) F(x,y)=x2+y2−y (A)(i) and(ii) (B) (i),(ii) and(iii) (C) (ii),(iii) and(iv) (D)(ii) and (iii)
›Reveal solutionSolution
A differential equation dxdy=F(x,y) is homogeneous exactly when F is homogeneous of degree zero — meaning F(tx,ty)=F(x,y) for all t>0, which is equivalent to F being expressible purely as a function of y/x. Only options (ii) and (iii) satisfy this, so the correct choice is (D).
The idea is simple: a homogeneous differential equation is one where the right-hand side F(x,y) doesn't change if you scale both x and y by the same factor. Why does that matter? Because if F has that property, you can substitute y=vx and turn the equation into one in v and x alone — a separable equation you can actually solve. The test is clean: check whether F(tx,ty)=F(x,y) for any t>0.
Let's go through each option.
- Option (i): F(x,y)=3x+2y Replace x with tx and y with ty:
F(tx,ty)=3(tx)+2(ty)=t(3x+2y)=t⋅F(x,y)
This is t times the original, not equal to it — unless t=1. So F is homogeneous of degree 1, not degree 0. It also cannot be written as a function of y/x alone (try it: 3x+2y=x(3+2(y/x)) still has an x factor outside). So this is not homogeneous for the purpose of dxdy=F(x,y).
- Option (ii): F(x,y)=sinxy+logy−logx First simplify the log terms: logy−logx=logxy. So
F(x,y)=sinxy+logxy
This is already written purely in terms of y/x. That's a dead giveaway — it's homogeneous of degree 0. Check formally:
F(tx,ty)=sintxty+logtxty=sinxy+logxy=F(x,y)
The t cancels completely. So this is homogeneous.
- Option (iii): F(x,y)=ey/x+1 Again, this is already a function of y/x alone.
F(tx,ty)=ety/(tx)+1=ey/x+1=F(x,y)
The t cancels. This is homogeneous.
- Option (iv): F(x,y)=x2+y2−y Test it:
F(tx,ty)=(tx)2+(ty)2−ty=t2(x2+y2)−ty=tx2+y2−ty=t(x2+y2−y)=t⋅F(x,y)
This is homogeneous of degree 1, not degree 0. The t factor does not cancel. So it is not homogeneous for dxdy=F(x,y).
Watch outThe trap in (iv) is that x2+y2−y is homogeneous — but of degree 1, not degree 0. Many students see "homogeneous" and stop there. For dxdy=F(x,y), the required degree is exactly zero. Degree 1 doesn't qualify.
So only (ii) and (iii) pass the test.
✓Final answerThe correct option is (D) — only (ii) and (iii).
- CBSE 2023Set ANNUAL1 markMCQQ.A homogeneous differential equation of the form dxdy=g(xy) can be solved by making the substitution(a) y=vx(b) v=xy(c) x=vy(d) y=v
›Reveal solutionSolution
A homogeneous equation dxdy=g(xy) is solved by the standard substitution y=vx.
For a homogeneous differential equation of the form
dxdy=g(xy)
the standard method is to substitute y=vx, where v is a function of x. Then
dxdy=v+xdxdv
Substituting turns the equation into v+xdxdv=g(v), which is variable-separable in v and x, and can then be integrated.
✓Final answerOption (a): y=vx
- CBSE 2019Set ANNUAL1 markMCQQ.Which of the following is a homogeneous differential equation?(a) x2ydx−(x3+y3)dy=0(b) (xy)dx−(x4+y4)dy=0(c) (2x+y−3)dy−(x+2y−3)dx=0(d) (x−y)dy=(x2+y+1)dx
›Reveal solutionSolution
Option (a) is homogeneous (both coefficient functions are degree 3).
A differential equation Mdx+Ndy=0 is homogeneous when M and N are homogeneous functions of the same degree. In (a), M=x2y is degree 3 and N=x3+y3 is also degree 3 — so it can be written as dxdy=F(xy). The other options mix different degrees, so they are not homogeneous.
✓Final answer(a) x2ydx−(x3+y3)dy=0.
🎓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.