# Homogeneous Equations

## Definition of Homogeneous Differential Equation

A first order differential equation

is called homogeneous equation, if the right side satisfies the condition

for all \(t.\) In other words, the right side is a homogeneous function (with respect to the variables \(x\) and \(y\)) of the zero order:

A homogeneous differential equation can be also written in the form

or alternatively, in the differential form:

where \(P\left( {x,y} \right)\) and \(Q\left( {x,y} \right)\) are homogeneous functions of the same degree.

## Definition of Homogeneous Function

A function \(P\left( {x,y} \right)\) is called a homogeneous function of the degree \(n\) if the following relationship is valid for all \(t \gt 0:\)

## Solving Homogeneous Differential Equations

A homogeneous equation can be solved by substitution \(y = ux,\) which leads to a separable differential equation.

A differential equation of kind

is converted into a separable equation by moving the origin of the coordinate system to the point of intersection of the given straight lines. If these straight lines are parallel, the differential equation is transformed into separable equation by using the change of variable:

## Solved Problems

Click or tap a problem to see the solution.

### Example 1

Solve the differential equation \[\left( {2x + y} \right)dx - xdy = 0.\]

### Example 2

Solve the differential equation \[xy^\prime = y\ln {\frac{y}{x}}.\]

### Example 1.

Solve the differential equation \[\left( {2x + y} \right)dx - xdy = 0.\]

Solution.

It is easy to see that the polynomials \(P\left( {x,y} \right)\) and \(Q\left( {x,y} \right),\) respectively, at \(dx\) and \(dy,\) are homogeneous functions of the first order. Therefore, the original differential equation is also homogeneous.

Suppose that \(y = ux,\) where \(u\) is a new function depending on \(x.\) Then

Substituting this into the differential equation, we obtain

Hence,

Dividing both sides by \(x\) yields:

When dividing by \(x,\) we could lose the solution \(x = 0.\) The direct substitution shows that \(x = 0\) is indeed a solution of the given differential equation.

Integrate the latter expression to obtain:

where \(C\) is a constant of integration.

Returning to the old variable \(y,\) we can write:

Thus, the equation has two solutions:

### Example 2.

Solve the differential equation \[xy^\prime = y\ln {\frac{y}{x}}.\]

Solution.

We notice that the root \(x = 0\) does not belong to the domain of the differential equation. Rewrite the equation in the form:

As you can see, this equation is homogeneous.

Make the substitution \(y = ux.\) Hence,

Substituting this expression into the equation gives:

Divide by \(x \ne 0\) to get:

We obtain the separable equation:

The next step is to integrate the left and the right side of the equation:

Hence,

Here the constant \(C\) can be written as \(\ln {C_1}\) \(\left( {{C_1} \gt 0} \right).\) Then

Thus, we have got two solutions:

If \({C_1} = 0,\) the answer is \(y = xe\) and we can make sure that it is also a solution to the equation. Indeed, substituting

into the differential equation, we obtain:

Then all the solutions can be represented by one formula:

where \(C\) is an arbitrary real number.