Homogeneous Differential Equations

A homogeneous differential equation is a type of ordinary differential equation (ODE) that can be expressed in the form:

dydx=F(yx)\frac{dy}{dx} = F\left(\frac{y}{x}\right)

where FF is a function of the ratio yx\frac{y}{x}. This means that the equation is homogeneous of degree zero, as it can be rewritten in terms of the variable v=yxv = \frac{y}{x}.

To solve a homogeneous differential equation, we can use the substitution v=yxv = \frac{y}{x}, which implies that y=vxy = vx. Differentiating both sides with respect to xx, we get:

dydx=v+xdvdx\frac{dy}{dx} = v + x\frac{dv}{dx}

Substituting this back into the original equation gives us:

v+xdvdx=F(v)v + x\frac{dv}{dx} = F(v)

Rearranging this, we can express it as:

xdvdx=F(v)vx\frac{dv}{dx} = F(v) - v

This is a separable differential equation, which can be solved by separating the variables:

1F(v)v dv=1x dx\frac{1}{F(v) - v}~dv = \frac{1}{x}~dx

Integrating both sides, we have:

1F(v)v dv=1x dx\int \frac{1}{F(v) - v}~dv = \int \frac{1}{x}~dx

The integral on the right side is straightforward and yields:

1x dx=lnx+C\int \frac{1}{x}~dx = \ln|x| + C

where CC is the constant of integration. The integral on the left side will depend on the specific form of the function F(v)F(v). Once we evaluate the integral on the left, we can express the solution in terms of vv and then substitute back to find yy in terms of xx.

Example

Consider the homogeneous differential equation:

2xydydx=y2x2x>02xy \frac{dy}{dx}=y^2-x^2 \quad \quad x>0

Show a general solution, where cc is a positive constant, for this equation is:

x2+y2=cxx^2+y^2=cx

First, we can rewrite the given equation in the form of a homogeneous differential equation. We have:

dydx=y2x22xy\frac{dy}{dx} =\frac{y^2 - x^2}{2xy}

Then, recognizing the fraction can be separated into two:

=12v12v=\frac{1}{2}v-\frac{1}{2v}

Then equating the derivative substitution (for y=vxy=vx) to the above gives us:

v+xdvdx=12v12vv + x\frac{dv}{dx} = \frac{1}{2}v-\frac{1}{2v}

Rearranging this, we can express it as:

xdvdx=12v12vx\frac{dv}{dx} = -\frac{1}{2}v-\frac{1}{2v}

This is a separable differential equation, which can be solved by separating the variables:

1x dx=112v12v dv\frac{1}{x}~dx = \frac{1}{-\frac{1}{2}v-\frac{1}{2v}}~dv

Integrating both sides, we have:

1x dx=112v12v dv\int \frac{1}{x}~dx = \int \frac{1}{-\frac{1}{2}v-\frac{1}{2v}}~dv

The integral on the left side is straightforward and yields:

1x dx=lnx+C\int \frac{1}{x}~dx = \ln|x| + C

The integral on the right side can be simplified as follows:

2v1+v2 dv-\int \frac{2v}{1+v^2}~dv

Using u-substitution, let u=1+v2u = 1 + v^2, then du=2v dvdu = 2v~dv. This gives us:

1u du=lnu+C=ln1+v2+C-\int \frac{1}{u}~du = -\ln|u| + C = -\ln|1 + v^2| + C

Equating the two integrals, we have:

lnx+C=ln1+v2\ln|x| + C = -\ln|1 + v^2|

Rearranging this, we can express it as:

lnx+ln1+v2=C\ln|x| + \ln|1 + v^2| = C

Using the properties of logarithms, we can combine the left side:

lnx(1+v2)=C\ln|x(1 + v^2)| = C

Exponentiating both sides gives us:

x(1+v2)=eCx(1 + v^2) = e^C

Let c=eCc = e^C, which is a positive constant. Then we have:

x(1+v2)=cx(1 + v^2) = c

Substituting back v=yxv = \frac{y}{x}, we get:

x(1+(yx)2)=cx\left(1 + \left(\frac{y}{x}\right)^2\right) = c

This simplifies to:

x2+y2=cxx^2 + y^2 = cx