Differential equations/Separable differential equations

From testwiki
Revision as of 01:50, 23 November 2019 by imported>Dave Braunschweig (Cleanup)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:RightTOC Template:Tertiary education Template:Lesson Template:Mathematics Template:50%done

Template:Big3

The order of a differential equation is the largest derivative involved. For example, in the equation d2ydx2+dydx+y=0, the largest derivative is the second, so the order is 2.

Separable Equations

One of the easiest class of ODEs to solve is separable equations.

Definition

A differential equation is called separable when it can be manipulated into an equation with the dependent variable and its differentials on one side of the equality, and the independent variable and its differentials on the other side. Thus, each side is in terms of a single variable.

Example

The equation dydx=y has a fairly obvious solution if you know your differentiation rules well. Recall that ddxex=ex and hence y=ex is a solution. But how could we have found this if we did not remember that ex happened to be its own derivative? Additionally, is it possible to find any more solutions? Observe that the equation above is separable, and can be written as 1ydy=dx. Now that both sides are in terms of their own variable, we can integrate:

1ydy=log|y|+C1=x+C2=dx

And thus, |y|=ex+C2C1=exeC2C1=Aex. Since C1 and C2 are arbitrary constants of integration, A=eC2C1 is another arbitrary constant, so that the final solution is y=Aex for any A.

General Solution

Suppose we have some separable equation:

f(y)dy=g(x)dx

Then we can integrate both sides:

F(y)+C1=G(x)+C2

Since the constants are arbitrary, we really only need one. However, do not forget the constant of integration, or you will lose a large number of solutions. Additionally, do not wait until the last step to add the constant of integration. Many times when learning calculus, students add a +C to the end of a problem without really thinking, but remember that the C comes from the integration, so you need to add it at that step. In the above example, adding the C at the last step would give y=ex+C as a solution. But we can see that, for example, ddx(ex+1)=exex+1, so that ex+C is not a solution (whenever C0)!

At any rate, the equation is now of the form F(y)=G(x)+C, which can be solved for y using any available algebra tools.

In short:

  1. If possible, manipulate the equation using algebra to get each variable on its own side of the equation. The form should be f(y)dy=g(x)dx.
  2. Integrate both sides of the equation. Include a constant of integration.
  3. Solve for the function in terms of the independent variable.

It can be misleading, however, to think that a constant of integration necessarily must appear in the solution of a differential equation. This is true for linear equations, but for nonlinear ones, all bets are off.

Consider for example the equation

|y|+|y|=0.

The only solution to this equation is y=0, and no arbitrary constant of integration can be imposed anywhere.

Template:CourseCat