Ordinary Differential Equations/Introduction

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

Directly integrable differential equations

An example of an ordinary differential equation is the equation

x(t)=0.

To solve this equation shall mean that we find a function x:I defined on some interval I=(a,b) such that the above equation holds for all tI. That is, as opposed to "normal" algebraic equations such as

x3=12,

to which the solution is a number (in this case x=72=3.5), the solution to an ordinary differential equation is a function.

There is a theorem in calculus that says that a differentiable function x:I on a connected interval I=(a,b) has vanishing derivative if and only if it is a constant function. Thus, the solutions to the equation

x(t)=0

are precisely the constant functions xc (c). Note here that we have lost the uniqueness of solutions (which we had in our example for an algebraic equation); every constant function is a solution. We will later be able to restore the uniqueness of solutions (at least in some special cases) by imposing initial conditions; for example, if we additionally require that

x(t0)=x0

(where we also require that t0 is contained within the solution interval I), then we have only one choice for a solution to our equation: c=x0.

Let's turn to a slightly more difficult differential equation:

x(t)=f(t)

for some function f:. In this case, by the fundamental theorem of calculus we have

x(t)=t0tf(s)ds+C for some t0 to be contained in the solution interval I,

where again C is an arbitrary integration constant. The arbitraryness of C of course implies that we have infinitely many solutions, but by imposing an initial condition x(t0)=x0, we get that C must equal x0, and hence we have once again obtained a unique solution if we additionally require the initial condition to be satisfied.

Exercises

  • Solve the differential equation x(t)=t2 under the initial condition x(0)=0. More generally, solve the differential equation x(t)=tk under the initial condition x(2k)=k2.

Order of an ordinary differential equation

Instead of looking at the equation

x(t)=0,

we may instead look at the equation

x(t)=0, or, more generally, x(t)=f(t)

for some function f:. Note the difference: Previously, we had only had a first-order derivative, and now we have a second order derivative. The new equation is still an ordinary differential equation (we will give the precise definition of an ordinary differential equation at the end, when we are finished with the simple examples), but this time involving a second-order derivative. This gives rise to the following definition.

Template:TextBox

In fact, for the above examples, we can easily compute the solutions using just integration. If x(t)=0, then x(t)=c1 for some constant c1. Therefore, integrating that again, we get

x(t)=t0tx(s)ds=(tt0)c1+c2

for some constant c2.

Exercises

  • What is the order of the ordinary differential equation x(t)+2x(t)+3x(t)=2t? What is the order of the ODE x(k)(t)=t2? Based on the last question, write down an ordinary differential equation of order 23.
  • Solve the differential equation x(t)=t3 under the conditions x(0)=1 and x(1)=2.

Linear differential equations

Consider the differential equation

x(t)=cx(t),

where c is an arbitrary constant. This differential equation has a remarkable property: Whenever x1,x2 are solutions to it, so is ax1+bx2 for arbitrary a,b (in fact, complex numbers are permissible as well). More generally, every linear combination of solutions is again a solution. This is a direct consequence of linearity of the derivatives as follows:

(a1x1(t)++anxn(t))=a1x1(t)++anxn(t)=a1cx1(t)+ancxn(t)=c(a1x1(t)++anxn(t)).

Differential equations with this property are called linear.

Template:TextBox

Note that since zero can be written as a linear combination of any existing solution (as 0x), a linear ODE has either no solution or zero is a solution.

There is also such a thing as an inhomogenous linear equation, which is closely related, but not equal, to linear equations.

Consider the ordinary differential equation

x(t)=cx(t)+g(t)

for some function g(t). This is an example of what's called an inhomogenous linear equation, for the following reason: Suppose it has a solution x, and y is a solution of the above equation y(t)=cy(t). Then any superposition z(t):=x(t)+ay(t) (a) is again a solution:

z(t)=(x(t)+ay(t))=x(t)+ay(t)=cx(t)+g(t)+acy(t)=cz(t)+g(t).

We capture this property in the following definition.

Template:TextBox

To contrast linear ODEs from inhomogeneous linear ODEs, we often call the former homogenous linear ODEs. Some mathematicians also use the term "linear" to refer to homogenous or inhomogenous ODEs, which is why it is advisable to use the term "homogenous" anyway.

We will see only later how to solve these things, although it's actually very easy.

Exercises

Let λ. Prove by direct computation that the function x(t):=eλt is a solution to the ODE x(t)=λx(t).

More than one dimension

Autonomous differential equations

Delimitation from partial differential equations

The precise definition of an ordinary differential equation

Template:BookCat