


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



Differential equations describe relationships involving the derivatives of functions. For our purposes, we will make two basic distinctions.
Definition: Pure-Time Differential Equation A pure-time differential equation is a differential equation where the derivative of a function is given as an explicit function of the independent variable (ie. the function itself is only present as a derivative), generally assumed to be time.
An example of a pure-time differential equation is an equation of the form
dV dt
= α
where α ∈ R. Without having developed more sophisticated methods, guessing a solution is our best means of solving an equation of this form. We need to ‘guess’ a function with a derivative that is a constant, α. Based on our knowledge of the derivative, we know that any linear function with a slope α will have a derivative of α, so any function of the form
V (t) = αt + β
where β ∈ R will be a solution to this differential equation. When we differentiate V (t) the constant β vanishes, so we can choose any value β and we will still have a solution. Since all of these solutions have the same functional form (lines with slope α), they are sometimes referred to as a family of solutions to this differential equation.
It is only possible to find a unique solution (a representative within the family of solutions) if we have an initial condition. An initial condition provides us with a numerical value for either the function or derivative at some point. For instance, if we had an initial condition that V (0) = 2, then we would need to find a function in our family that satisfies both V (0) = 2 and dVdt = α. Applying the initial condition to this family of functions we find
V (0) = α · 0 + β = 2
which implies that β = 2. Thus, V (t) = αt + 2 is the function which satisfies both the differential equation and the initial condition. The problem of finding a specific solution to a differential equation based on initial conditions is called an initial value problem.
Example 1 Solve the differential equation
dP dt
= e−t
with the initial condition P (0) = 0. Solution The exponential et^ is a function with the same form as its derivative. In this case we need to choose a function with derivative e−t, so we know it must some multiple of the exponential e−t. Since d dt
e−t^ = −e−t
we need to choose a function of the form −e−t, so that the negative signs cancel. Once again, we can shift this function by any constant and still have a solution to the differential equation. We find that our solutions belong to the family
P (t) = −e−t^ + β
where β ∈ R. To find which specific function in the family our solution is, we need to use the initial condition P (0) = 0. We find
P (0) = −e−^0 + β = −1 + β = 0
Thus, we find β = 1. Therefore, our exact solution is P (t) = 1 − e−t.
We can also consider a second type of differential equation, called an autonomous differential equation.
Definition: Autonomous Differential Equation An autonomous differential equation is a differential equation which does not explic- itly contain the independent variable, which is often assumed to be time.
An example of an autonomous differential equation is the equation
db dt
= λb
Note that in this equation there are no explicit references to t, and we are looking at a function b which has a rate of change proportional to the function itself. Recall that
d dx
eλx^ = λeλx
and notice that eλt^ is exactly the solution we need to this differential equation. In general, adding a constant to a solution to an autonomous differential equation will not yeild a new solution (the derivative of eλx^ + β is not proportional to eλx^ + β, as the β vanishes upon differentiation). In this case, constant multiples of this solution are also solutions, so the family of solutions is b(t) = βeλt
where β ∈ R. Given some initial condition we could find a restriction on β to find an exact solution to the equation.
It is often easiest to solve problems of this type using a chart. We will outline this process in the following examples.
Example 1 Apply Euler’s method to the differential equation
dV dt
= 2t
within initial condition V (0) = 2. Approximate the value of V (1) using ∆t = 0.25. Solution We begin by setting Vˆ (0) = 2. Next we construct the chart
t Vˆ (t) V ′(t) = 2t Vˆ (t + ∆t) = Vˆ (t) + V ′(t)∆t 0 2 2 · 0 = 0 2 + 0 · 0 .25 = 2
So we find that V (1) ≈ 3 .25. It turns out that V (t) = t^2 + 2 is the analytical solution to this differential equation, and V (1) = 3, so Euler’s method provides a somewhat reasonable approximation, which could be greatly improved upon by decreasing the size of ∆t.
Example 2 Apply Euler’s method to the differential equation
dP dt
= e−t
with the initial condition P (0) = 0. Approximate the value of P (2). Solution We begin by setting Pˆ (0) = 0. We will use the time step ∆t = 0.5. Next we construct the chart
t Pˆ (t) P ′(t) = e−t^ Pˆ (t + ∆t) = Pˆ (t) + P ′(t)∆t 0 0 e−^0 = 1 0 + 1 · 0 .5 = 0. 5
We have already solved for the analytical solution, P (t) = 1−e−t, so we find P (2) = 0.86466, which is somewhat lower than our approximation. By shrinking the size of the interval ∆t, we could calculate a more accurate estimate.