Ordinary Differential Equations/Separable equations: Separation of variables

From testwiki
Revision as of 11:00, 4 December 2024 by imported>R. Henrik Nilsson (occuring > occurring)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Definition

A separable ODE is an equation of the form

x(t)=g(t)f(x(t))

for some functions g:, f:nn. In this chapter, we shall only be concerned with the case n=1.

We often write for this ODE

x=g(t)f(x)

for short, omitting the argument of x.

[Note that the term "separable" comes from the fact that an important class of differential equations has the form

x=h(t,x)

for some h:×n; hence, a separable ODE is one of these equations, where we can "split" the h as h(t,x)=g(t)f(x).]

Informal derivation of the solution

Using Leibniz' notation for the derivative, we obtain an informal derivation of the solution of separable ODEs, which serves as a good mnemonic.

Let a separable ODE

x=g(t)f(x)

be given. Using Leibniz notation, it becomes

dxdt=g(t)f(x).

We now formally multiply both sides by dt and divide both sides by f(x) to obtain

dxf(x)=g(t)dt.

Integrating this equation yields

dxf(x)=g(t)dt.

Define

F(x):=dxf(x);

this shall mean that F is a primitive of 1f(x). If then F is invertible, we get

x=F1(g(t)dt)=F1G,

where G is a primitive of g; that is, x(s)=F1(G(s)), now inserting the variable of x back into the notation.

Now the formulae in this derivation don't actually mean anything; it's only a formal derivation. But below, we will prove that it actually yields the right result.

General solution

Template:TextBox

Proof:

By the inverse and chain rules,

ddtF1(G(t))=11f(F1(G(t)))G(t)=f(F1(G(t)))g(t);

since f is never zero, the fraction occurring above involving f is well-defined.

Examples

Exercises

Template:BookCat