Homogeneous Differential Equation

A differential equation of the form f(x,y)dy = g(x,y)dx is said to be homogeneous differential equation if the degree of f(x,y) and g(x, y) is same. A function of form F(x,y) which can be written in the form kn F(x,y) is said to be a homogeneous function of degree n, for k≠0. Hence, f and g are the homogeneous functions of the same degree of x and y. Here, the change of variable y = ux directs to an equation of the form;

dx/x = h(u) du

which could be easily integrated.

Contrarily, a differential equation is homogeneous if it is a similar function of the anonymous function and its derivatives. For linear differential equations, there are no constant terms. The solutions of any linear ordinary differential equation of any degree or order may be calculated by integration from the solution of the homogeneous equation achieved by eliminating the constant term.

Consider the following functions in x and y,

F1(x,y)=2x−8y

F2(x,y)=x2+8xy+9y2

F3(x,y) = sin(x/y)

F4(x,y) = sin x + cos y

If we replace x and y with vx and vy respectively, for non-zero value of v, we get

F1(vx,vy)=2(vx)−8(vy)=v(2x−8y)=vF1(x,y)

F2(vx,vy) = v2x2 + 8(vx)(vy) + 9v2y2 = v2(x2+8xy+9y2) = v2F2(x,y)

F3(vx,vy)=sin(vx/vy)=v0sin(vx/vy)=v0F3(x,y)

F4(vx,vy)=sin(vx)+cos(vy)≠vnF4(x,y)

Hence, functions F1, F2, F3 can be written in the form vnF(x,y), whereas F4 cannot be written. Thus first three are homogeneous functions and the last function is not homogeneous.

Also, read:

Steps to Solve Homogeneous Differential Equation

You must have learned to solve the differential equations in previous sections. To solve a homogeneous differential equation following steps are followed:-

Given differential equation of the type

\(\begin{array}{l}\frac{\mathrm{d} y}{\mathrm{d} x} = F(x,y) = g\left ( \frac{y}{x} \right )\end{array} \)

Step 1- Substitute  y = vx in the given differential equation.

Step 2 – Differentiating, we get,

\(\begin{array}{l}\frac{dy}{dx} = v + x\frac{dv}{dx}\end{array} \)
. Now substitute the value of and y in the given differential equation, we get

\(\begin{array}{l} v + x\frac{dv}{dx}= g(v)\end{array} \)

\(\begin{array}{l}\Rightarrow x\frac{dv}{dx} = g(v)- v\end{array} \)

Step 3 – Separating the variables, we get

\(\begin{array}{l}\frac{dv}{g(v)-v}=\frac{dx}{x}\end{array} \)

Step 4 – Integrating both side of equation, we have

\(\begin{array}{l}\int \frac{dv}{g(v)-v} dv =\int \frac{dx}{x} + C\end{array} \)

Step 5 – After integration we replace v=y/x

Solved Example

Solve dy/dx = (x-y)/(x+y)

Solution: Given, dy/dx = (x-y)/(x+y)

Divide the RHS by x

((x-y)/x)/((x+y)/x) = (1-y/x)/(1+y/x)

Now, we can write;

dy/dx = (1-y/x)/(1+y/x)

If y = vx and dy/dx = v + xdv/dx

Then,

v + xdv/dx = (1-v)/(1+v)

Subtracting v from both the sides;

xdv/dx = (1-v)/(1+v) – v

xdv/dx = [(1-v)/(1+v)] -[(v+v2)/(1+v)]

xdv/dx = (1-2v-v2))/(1+v)

Now we can use the separation of variables method;

(1+v)/(1-2v-v2) dv = (1/x) dx

Integrating both the sides;

∫(1+v)/(1-2v-v2) dv = ∫(1/x) dx

-1/2 ln(1-2v-v2) = ln(x) + C

Put C=ln(k)

-1/2 ln(1-2v-v2) = ln(x) + ln(k)

(1-2v-v2)-1/2 = kx

or we can write;

1-2v-v2 = 1/k2x2

Again, putting v = y/x;

1-2(y/x)-(y/x)2 = 1/k2x2

Eliminating x2 term from denominator on both the sides, we get;

x2-2xy-y2 = 1/k2

or

y2+2xy-x2 = -1/k2

Now, put -/k2 = c

Adding 2x2 on both the sides;

y2+2xy+x2 = c+2x2

Now factoring the above equation, we get;

(y+x)2 = 2x2+c

y+x=√(2x2)+c

Or y = ±√(2x2+c) − x

This is the solution for the given equation.

Nonhomogeneous Differential Equation

A linear nonhomogeneous differential equation of second order is represented by;

y”+p(t)y’+q(t)y = g(t)

where g(t) is a non-zero function.

The associated homogeneous equation is;

y”+p(t)y’+q(t)y = 0

which is also known as complementary equation.

This was all about the solution to the homogeneous differential equation. To learn more on this topic, download BYJU’S- The Learning App.

Examples of Homogeneous Equations

Q.1: Find the equation of the curve passing through the point
\(\begin{array}{l}(2, \frac{\pi}{3} )\end{array} \)
when the tangent at any point makes an angle
\(\begin{array}{l} tan^{-1}(\frac{y}{x} – sin^2 \frac{y}{x}) \end{array} \)
.

Solution:

\(\begin{array}{l}\phi = tan^-1 (\frac{y}{x} – sin^2 \frac{y}{x})\end{array} \)

Or

\(\begin{array}{l}\frac{dy}{dx} = tan\phi = \frac{y}{x} – sin^2 \frac{y}{x} \end{array} \)

Since this equation represents a differential equation of homogeneous type therefore we substitute

\(\begin{array}{l} y = vx \end{array} \)
in the above equation.

\(\begin{array}{l}\Rightarrow v + x\frac{dv}{dx} = v – sin^2 v\end{array} \)

\(\begin{array}{l}\Rightarrow x \frac{dv}{dx} = – sin^2 v\end{array} \)

\(\begin{array}{l}\Rightarrow \frac{dx}{x} = -cosec^2 v dv \end{array} \)

Now integrating both the sides w.r.t. to x and v respectively, we get

\(\begin{array}{l} \int \frac{dx}{x} = \int -cosec^2 v dv \end{array} \)

\(\begin{array}{l} ln x = \frac{1}{tan v} + C \end{array} \)
…………………(i)

Also as it passes through the point

\(\begin{array}{l} (2, \frac{\pi}{3})\end{array} \)
, for (x,y).

We know that v = y/x, thus value of v =

\(\begin{array}{l}\frac{\pi}{3} \div 2 = \frac{\pi}{6}\end{array} \)

So substituting the values of x and v in the equation (i), we get

\(\begin{array}{l} ln 2 = \sqrt{3} + C \end{array} \)

\(\begin{array}{l} \Rightarrow C = ln 2 – \sqrt{3} \end{array} \)

Or

\(\begin{array}{l} ln x = \frac{1}{tan v} + ln 2 – \sqrt{3} \end{array} \)

Or

\(\begin{array}{l} ln x = \frac{1}{tan\frac{y}{x}} + ln 2 – \sqrt{3} \end{array} \)

This is the required solution.

Q.2: Find the equation of the curve passing through the point (1,-2) when the tangent at any point is given by

\(\begin{array}{l} \frac{y(x + y^3)}{x(y^3 – x)} \end{array} \)
.

Solution: The equation of tangent represents the slope of the curve i.e.

This equation is homogeneous in nature.

On cross-multiplication, we get-

\(\begin{array}{l} (xy^3 – x^2)dy = (xy + y^4)dx \end{array} \)

Solving the equation, we get

\(\begin{array}{l}x^{2}y^{3} \frac{\left( xdy – ydx \right )}{x^{2}} – x (xdy – ydx) = 0\end{array} \)

\(\begin{array}{l}\Rightarrow x^{2}y^{3} d\frac{y}{x} – xd(xy) = 0\end{array} \)

Dividing both the sides by

\(\begin{array}{l} x^3y^2 \end{array} \)
we get,

\(\begin{array}{l} \frac{y}{x} d(\frac{y}{x}) – \frac{d(xy)}{x^2y^2} = 0 \end{array} \)

Now integrating this equation with respect to

\(\begin{array}{l}\frac{y}{x} and xy \end{array} \)
we have,

\(\begin{array}{l} \int \frac{y}{x} d(\frac{y}{x}) = \int \frac{d(xy)}{x^2y^2}\end{array} \)

\(\begin{array}{l}\frac{1}{2} \left ( \frac{y}{x} \right )^{2} = – \frac{1}{xy} +C\end{array} \)
………………. (1)

Now substituting the value of the given point in the above equation, we have

\(\begin{array}{l} \Rightarrow \frac{1}{2} \times 4 – \frac{1}{2} = C \end{array} \)

\(\begin{array}{l} \Rightarrow C = \frac{3}{2} \end{array} \)

Put this value of the constant C in equation (1) we get

\(\begin{array}{l} \frac{1}{2} (\frac{y}{x})^2 + \frac{1}{xy} = \frac{3}{2} \end{array} \)

This is the required solution.

 

Comments

Leave a Comment

Your Mobile number and Email id will not be published.

*

*