Equations with Homogeneous Coefficients
First-Order ODEs with Homogeneous Coefficients
A first-order equation dy/dx=F(x,y) has homogeneous coefficients in this context when its slope function is unchanged by simultaneous scaling: F(λx,λy)=F(x,y). Such a function can be written in terms of the ratio y/x. For example, a quotient of polynomials whose terms have the same total degree often has this property.
Decision and substitution workflow for a first-order equation with a scale-invariant slope.
This meaning of homogeneous is different from a homogeneous linear equation. Here the key diagnostic is scale invariance. Constants added to x or y, or terms of unequal total degree, generally break it.
The ratio substitution
Set v=y/x, so y=vx. Because v depends on x, differentiate with the product rule:
Substitute both y=vx and this derivative into the equation. The right side becomes a function of v alone, leaving a relation of the form xdv/dx=G(v). Separate v and x, integrate, and finally replace v by y/x. Check any values excluded when dividing by a function of v.
Worked example: Solve y′=4+y/x with y(1)=7. Let y=vx. Then v+xv′=4+v, so xv′=4 and v=4ln∣x∣+C. Back-substitution gives y=x(4ln∣x∣+C). The initial condition lies on x>0 and gives C=7, hence y=x(4lnx+7) on that interval.
The solution interval cannot cross x=0 when the original slope contains y/x. This domain restriction remains even if later algebra hides the quotient.
Representative solution curve on a positive domain
A common mistake is to write y′=v after setting y=vx. That treats v as constant and loses the essential term xv′. Another mistake is recognizing equal-degree terms but failing to divide numerator and denominator by the same power of x to expose y/x.
For y′=2x−yx+2y, find the slope at (x,y)=(2,1).
Give your answer as a number.
The graph is a representative curve from the family y=x(lnx+C) on x>0. Which differential equation has this family as its general solution?
Decision and substitution workflow for a first-order equation with a scale-invariant slope.
Representative solution curve on a positive domain