Ordinary Differential Equations/Homogeneous x and y

From testwiki
Jump to navigation Jump to search

Not to be confused with homogeneous equations, an equation homogeneous in x and y of degree n is an equation of the formF(x,y,y)=0Such that

anF(x,y,y)=F(ax,ay,y).

Then the equation can take the form

xnF(1,yx,y)=0

Which is essentially another in the form

xnF(yx,y)=0.

If we can solve this equation for y, then we can easily use the substitution method mentioned earlier to solve this equation. Suppose, however, that it is more easily solved for yx,

yx=f(y)

So that

y=xf(y).

We can differentiate this to get

y=f(y)+xf(y)dydx

Then re-arranging things,

dxx=f(y)yf(y)dy

So that upon integrating,

ln(x)=f(y)yf(y)dy+C

We get

x=Cef(y)yf(y)dy

Thus, if we can eliminate y' between two simultaneous equations

y=xf(y)

and

x=Cef(y)yf(y)dy,

then we can obtain the general solution..

Homogeneous Ordinary Differential Equations

A function P is homogeneous of order α if aαP(x,y)=P(ax,ay). A homogeneous ordinary differential equation is an equation of the form P(x,y)dx+Q(x,y)dy=0 where P and Q are homogeneous of the same order.

The first usage of the following method for solving homogeneous ordinary differential equations was by Leibniz in 1691. Using the substitution y=vx or x=vy, we can make turn the equation into a separable equation.

dydx=F(yx)
v(x,y)=yx
y=vx

Now we need to find v':

dydx=v+dvdxx

Plug back into the original equation

v+xdvdx=F(v)
dvdx=F(v)vx
Solve for v(x), then plug into the equation of v to get y
y(x)=xv(x)

Again, don't memorize the equation. Remember the general method, and apply it.

Example 2

dydx=5yx+3xy

Let's use v=yx. Solve for y(x,v,v)

y=vx
dydx=v+xdvdx

Now plug into the original equation

v+xdvdx=5v+3v
xdvdx=4v+3v
vdvdx=(4v2+3)x

Solve for v

vdv4v2+3=dxx
vdv4v2+3=dxx
18ln(4v2+3)=ln(x)
4v2+3=e8ln(x)
4v2+3=eln(x8)
4v2+3=x8
v2=x834

Plug into the definition of v to get y.

y=vx
y2=v2x2
y2=x103x24

We leave it in y2 form, since solving for y would lose information.

Note that there should be a constant of integration in the general solution. Adding it is left as an exercise.

Example 3

dydx=xsin(yx)+yx

Lets use v=yx again. Solve for y(x,v,v)

y=vx
dydx=v+xdvdx

Now plug into the original equation

v+xdvdx=xsin(v)+v
xdvdx=xsin(v)
sin(v)dv=dx

Solve for v:

sin(v)dv=dx
cosv=x+C
v=arccos(x+C)

Use the definition of v to solve for y.

y=vx
y=arccos(x+C)x

An equation that is a function of a quotient of linear expressions

Given the equation dy+f(a1x+b1y+c1a2x+b2y+c2)dx=0,

We can make the substitution x=x'+h and y=y'+k where h and k satisfy the system of linear equations:

a1h+b1k+c1=0
a2h+b2k+c2=0

Which turns it into a homogeneous equation of degree 0:

dy+f(a1x+b1ya2x+b2y)dx=0

Template:BookCat