Differential Equations/Substitution 1

From testwiki
Revision as of 07:05, 6 February 2008 by 203.123.182.27 (talk) (General substitution procedure)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
First-Order Differential Equations

As we saw in a previous example, sometimes even though an equation isn't separable in its original form, it can be factored into a form where it is. Another way you can turn non-separable equations into separable ones is to use substitution methods.

General substitution procedure

All substitution methods use the same general procedure:

  1. Take a term of the equation and replace it with a variable v. The new variable must replace all instances of the variable y.
  2. Solve for dydx in terms of v and dvdx. To do this, take the equation v=f(x,y) where f is the term you replaced and take its derivative.
  3. Plug in dvdx and solve for v.
  4. Plug v into the original term replaced, and solve for y.

Constant coefficient substitution

Lets say we have an equation with a term f(x)=ay+bx+c, such as

dydx=G(ay+bx+c).

This is non-separable. But we can sometimes solve these equations by replacing the term with v.

First, we define v(x,y) and find v'(x,y,y').

v(x,y)=ay+bx+c
dvdx=adydx+b

Next, we solve for y'(x,v,v'):

dydx=dvdxba

Now plug into the original equation, and get it into the form dvdx=f(v)

dydx=G(ay+bx+c)
dvdxba=G(v)
dvdx=aG(v)+b

Solve for v:

dvdx=aG(v)+b
dvaG(v)+b=dx
dvaG(v)+b=dx
dvaG(v)+b=x+D

Once you have v(x), plug back into the definition of v(x) to get y(x).

y(x)=v(x)cbxa

I highly suggest you do not memorize these equation, and instead remember the method of solving the problem. The final equation is rather obscure and easy to forget, but if you know the method you can always solve it. It will also help you use other substitution methods.

Example 1

dydx=(x+y+3)2

Lets replace the quantity being raised to a power with v.

v=y+x+3

Now lets find v'.

dvdx=dydx+1

Solve for y'

dydx=dvdx1

Plug in for y and y':

dvdx1=v2
dvdx=v2+1

Now we solve for v, using the methods we learned in Separable Variables:

dvv2+1=dx
dvv2+1=dx
tan1(v)=x+C
v=tan(x+C)

Now that we have v(x), plug back in and find y(x).

y+x+3=tan(x+C)
y=tan(x+C)x3

"Homogeneous" substitution

If we're given an equation in the form dydx=F(yx), we can replace yx with v to make it easier to solve. Confusingly, this kind of DE can be called homogeneous, but it does not mean the same as the definition of homogeneous in Form of a Differential 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.

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

Other methods

These are not the only possible substitution methods, just some of the more common ones. Substitution methods are a general way to simplify complex differential equations. If you ever come up with a differential equation you can't solve, you can sometimes crack it by finding a substitution and plugging in. Just look for something that simplifies the equation. Remember that between v and v' you must eliminate the y in the equation.

Example 4

2ydydx=y2+x1

This equation isn't seperable, and none of the methods we previously used will quite work. Let's use a custom substitution of v=y2+x-1. Solve for v':

dvdx=2ydydx+1
2ydydx=dvdx1

Plug into the original equation

dvdx1=v

Solve for v

dvv+1=dx
dvv+1=dx
ln(v+1)=x+C
v=Cex1

Now plug in and get y

Cex1=y2+x1
y2=Cexx


Pretty easy after using that substitution. Keep this method in mind, you will use this for more complex equations.