An Ordinary Differential Equation is a rule relating derivatives of a function () on one variable ().
Given an ordinary differential equation, our goal is to find the function(s) satisfying the equation, known as solutions.
- A solution is a general solution if it represents all possible solutions to the system.
- A solution is a specific solution, if it is a solution to the system and satisfies some initial data provided, known as an initial value problem.
Here, we will discuss various methods and concepts surrounding solving ordinary differential equations!
First Order Differential Equations
A First Order Differential Equation is an ordinary differential equation whose highest order derivative is .
All first order differential equations can be expressed in the form
Where is a function of and .
Given a first order differential equation, we want to find the functions satisfying the equation.
In an initial value problem to the equation, we want to find a solution satisfying , where .
Explicit Equations
The Explicit First Order Differential Equation relates the derivative of to a function on , as so:
Where is some function of .
The explicit first order differential equation is arguably the easiest form of differential equation to solve! To solve, we simply take the antiderivative of both sides.
Where is some arbitrary constant of integration.
Given initial value problem , we can solve for the specific solution by taking
As when , the integral evaluates to 0, meeting the required conditions.
Example: Solving Explicit Equations
Find such that
The domain of this differential equation is , the real number line. After integrating, we obtain
Where represents some arbitrary constant.
This is the general solution to the differential equation.
The following theorem guarantees the existence of a solution for these equations.
Theorem: Existence and Uniqueness
Let be a continuous function, where is some interval.
For every , and any , there exists a unique solution defined on the same interval , satisfying
Separable Equations
A separable equation is a differential equation which can be expressed in the form
Where and are functions of and , respectively.
We can easily solve this differential equation by integrating both sides with respect to their variables.
Example: Solving Separable Equations
Find the solutions of differential equation
We see that this differential equation is separable. Thus, we can integrate both sides with respect to their variables.
In some cases, a differential equation that isn’t separable can actually turn out to be.
For example, consider differential equation
Defining , we find
Now, define function as
Then, we find
which is actually a separable equation!
Autonomous Equations
An autonomous equation is a separable equation in the form
Where is a function of .
Notice how there is no explicit t-dependence provided.
Given an autonomous equation, we are commonly interested in its stationary solutions (discussed more in depth in Differential Systems).
We say solution to a differential equation is stationary if
Where is some constant value.
Also known as critical, fixed point, and equilibrium.
We can solve for stationary solutions from separable equations by solving for .
Linear First Order Equations
The Linear First Order Differential Equation follows the form
Where and are functions of .
Given a linear first order differential equation, the following theorem guarantees the existence of a solution.
Theorem: Existence and Uniqueness
Define linear first order differential equation
Now suppose and are continuous on .
Then, for some and , the initial value problem
has a solution on .
Furthermore, this solution is unique.
We now solve this differential equation.
General Solution
Take linear first order differential equation
Define function , and multiply it with both sides of the equation.
Because we are multiplying both sides of the equation by the same function, we aren’t changing its solutions!
Now, observe that
which is awfully similar to our differential equation! In fact, if we can find a function such that , then we can consolidate the left side of our equation to the above derivative.
We solve for a function satisfying this property. Dividing by , we obtain
Now, observe that
We can solve this to find as
Plugging this back into our differential equation, we obtain
Where , as our general solution to the linear equation.
Example: Solving Linear Equations
We find . Then
Now suppose we have initial value problem . We can plug in to find , to find our specific solution
Example: Long-Term Behavior of Linear Equations
Define the long-term behavior of linear equation
defined on interval , where .
This differential equation defines a family of differential equations, because we can vary the .
We solve the equation to find
We now describe the long behavior of this family through a case analysis.
- Case 1: For , we find , a constant function.
- Case 2: For , we find , which converges to as .
- Case 3: For , we find , which diverges as .
Exact Equations
Let and be functions on and . Now, define differential equation
This differential equation is exact, if there exists a function such that
We can solve for by integrating and (shown below). We find a solution , where to find a specific solution, we solve for given initial conditions and .
This is a solution because we have eliminated the derivatives!
Theorem: Exact Differential Equations
Define differential equation
where and are continuously differentiable on region .
The differential equation is an exact differentiable exaction if and only if holds on all .
We can connect this back to vector fields, and finding the potential function such that , where is a conservative vector field.
Example: Solving Exact Equations
Determine if the following differential equation is exact.
We define
To determine if the differential equation is exact, we check .
The equation is exact!
Let’s now solve for .
For any value , , we sub in to find . That is our solution to the initial value problem.
Integrating Factor Technique
If the differential equation in the form
is not exact, we may be able to make it exact by multiplying by function , known as an integration factor.
From before, to be exact, the following must hold true:
Solving for will yield us an integration factor to use to solve the equation.
The issue is, this differential equation for is a partial differential equation, which are notoriously difficult to solve.
Thus, we will look at unique cases where is independent of either or . Which will simplify this equation so that we can solve for .
-
Case 1: Suppose
is independent of on . Then, we can find a such that is independent of ()! We sub this in and solve for as
We can then solve this differential equation to find .
-
Case 2: Suppose
is independent of on . Then, we can find a such that is independent of ()! We sub this in and solve for as
We can then solve this differential equation to find .
Note: The integrating factor will not work when , as this will yield a trivial solution which may not be present in the original differential equation.
Thus, the integrating factor will work best when the functions and are very different and do not equal each other much!
Example: Integrating Factor (1)
We first observe that the equation is not exact.
However, we find that
is independent of ! So, we can find an integrating factor independent of such that
We can now multiply our equation by our integrating factor, and solve!
Example: Integrating Factor (2)
We first observe that the equation is not exact.
However, we find that
So we can find an integrating factor independent of such that
We can now multiply our equation by our integrating factor, and solve!
What if we cannot find independent of or ?
In this case, we try to find which takes a combination of and as an input, such as
a single-variable function where the input is a combination of and !
While this may seem like a convoluted approach, by the chain rule,
Which, we can sub into the equation to obtain
and eliminate the partial derivatives!
Example: Integrating Factor (Advanced)
To solve this, take . We take the equation
\begin{align*} f' M + f M_y &= f' N + f N_t \\ &\to f' \cdot (2 \sin(t) + (y+t) \cos(t)) + f \cdot \cos(t) = f' \cdot 2 \sin(t) + f \cdot 2 \cos(t) \\ &\to f' (y + t) \cos(t) = f \cos(t) \\ &\to (y + t) f' = f \\Letting , we obtain the equation
Which can be solved normally.
Well-Posed Equations
A differential equation is well-posed if:
- It has a solution.
- The solution is unique given initial conditions.
- The solution depends continuously on initial data.
Only well-posed differential equations have predictive power, allowing us to use them in real-world applications (where many measurements are approximate).
Picard Iteration
Now consider a well-posed first order differential equation given by
where is a function of and , with known solution .
By integrating both sides of the differential equation, we obtain a new differential equation
Because both differential equations have the same solutions, if we find a function satisfying this equation, we will have found a solution to our original differential equation!
We want to find this function that satisfies this differential equation!
Now say we have our known solution .
Using this solution, we can sub this into the equation to produce , and then sub in to produce , and so on and so forth. This can be described in the rule
These functions are successive approximations of , known as Picard Iterates.
If we can show that these Picard Iterates converge to a function on a suitable interval, we will have found our solution .
Remember that if we can find a single function satisfying the differential equation, we will have found a solution to our original equation!
Example: Picard Iteration (1)
We solve this differential equation using Picard Iteration.
We now find our general formula for as
Now, starting with our initial data, we continuously sub into our formula to find successive approximations of .
Continuing this, we obtain the series
Which converges to the function (and our solution)
Example: Picard Iteration (2)
We solve this differential equation using Picard Iteration.
We now find our general formula for as
Now, starting with our initial data, we continuously sub into our formula to find successive approximations of .
Continuing this, we obtain the series
Which converges to the function (and our solution)
Convergence of Picard Iterates
Performing Picard Iteration on nonlinear differential equations may fail, as solutions of nonlinear differential equations may not exist for all time . Thus, the Picard iterates will similarly fail to converge for all .
The following theorem helps us find an interval where all are bounded (), and provide a rectangle where all these iterates exist.
Theorem: Picard–Lindelöf
Let . Choose as the rectangle bounded by
Let be differentiable, and be continuous in .
We define as the maximum of in , and as the following:
Then, for every in the interval , the Picard iterates must be contained in , and moreover, will converge.
The theorem shows must necessarily be sandwiched between the lines
For , which exit the rectangle at either or (whichever comes first).
Then, there exists a unique solution ) defined on the interval for the initial value problem
Furthermore, along this interval.
It’s important to note that this theorem only allows us to make local approximations. Increasing the size of will also increase in size, eventually limiting our interval of approximation.
Example: Existence of Picard Iterates
Show that the solution to the IVP
Exists for , and in this interval, .
Let be the rectangle bounded by
We compute as
And see that exists for
And in this interval, .
Example: Existence of Picard Iterates (2)
Lets choose as the rectangle bounded by
Then, we find
Letting , we observe that converges to 1 to yield an interval of which the approximation exists on.
Example: Existence of Picard Iterates (3)
Define as the region where .
We find and to be
Letting , we obtain , creating an interval of . Because there is no bound on , we have proven that there exists a solution for all , .
Higher Order (Linear) Differential Equations
We now begin our discussion of higher order ordinary differential equations.
For simplicity, when dealing with the higher order, we will only deal with linear differential equations, defined later.
Linear Differential Equations
Given some differential equation, we define it as linear if all functions and its derivatives are all in the first power, and are independent of one another.
We define the order of a linear differential equation as the degree of its highest derivative.
Given any order linear differential equation, we can express it in the form
known as the equation’s standard (normal) form.
Note: All coefficients and are functions of .
We call the forcing equation, as it sets a constraint which all solutions must follow. When , the equation is homogeneous.
Otherwise, when , the equation is non-homogeneous.
Now define as the derivative operator. Using , we can redefine the differential equation as
Where is the order linear operator defined by
We commonly represent differential equations using this operator!
It may sometimes help to think of as a linear map from differential functions to continuous functions.
Properties of Solutions
When given a differential equation, often our primary goal is to solve it, or in other words, find all functions satisfying the equation. In other words, a function is a solution to the differential equation if
Now suppose we have some homogeneous order linear equation given by
Then, given any two solutions to this equation and , we see that by property of linear operators,
So, we can form new solutions to our differential equation using combinations of known solutions! This forms a space of solutions, described in the following theorem.
Theorem: Solutions to Homogenous Equations
Suppose we have homogenous order differential equation
where is the linear operator given by
Then, the set of solutions to the homogeneous equation is a vector space with , where , the set of all functions differentiable (at least) times.
Furthermore, .
Now, given a non-homogeneous equation
with known solution , and solution to corresponding homogeneous equation , note that we can form new solutions to the non-homogeneous equation by combining these two solutions!
This is formalized in the following theorem.
Theorem: Solutions for Homogenous and Non-Homogenous Equations
Suppose we have a non-homogenous differential equation
with some known solution .
Then, the general solution to this non-homogenous differential equation is
Where is the general solution to the associated homogenous differential equation .
Alternatively, we can find a single function , or set of functions in the solution set, satisfying an Initial Value Problem (IVP). In these problems, we’re given initial conditions
And are tasked with finding a solution to the differential equation , which also satisfies these conditions at .
Typically, all of the initial conditions will be given in terms of one point , as this is the most practical use of initial value problems.
Fundamental Sets of Solutions
Let be a differential equation, and suppose is the set of all solutions to this differential equation.
Now suppose we have a set of solutions . We say this set forms a Fundamental Set of Solutions (FSoS) for the differential equation if it is a basis of . In other words, the set:
- Is Linearly Independent: No functions in the set can be recreated as scalar combinations of the others.
- Spans : All solutions in can be created as a combination of the functions in this set.
Now suppose we have a point .
Define a fundamental set of solutions . We say this set is a Natural Fundamental Set of Solutions (NFSoS) if
In other words, all at are 1 only on their derivative, and 0 for all other derivatives. This is a fundamental set of solutions that’s very “nice” to use at the IVP .
Solving Initial Value Problems with the NFSoS
Why are we interested in the Natural Fundamental Set of Solutions?
Let be a NFSoS at to the differential equation . By definition, all solutions to the differential equation can be expressed in terms of these functions.
In other words, for any arbitrary solution ,
Now consider initial value problem at such that
We observe that by definition of a NFSoS, at various derivatives of at ,
Thus, for any initial conditions , we can easily find the solution to the IVP as
Example: Fundamental Set of Solutions
Take differential equation
We see that .
We can find the basis for the set of solutions as . So, all solutions for the differential equation can be represented in the general form
Where are scalar values.
Now, say we want to find the fundamental set of solutions at such that
We find these as , and . This fundamental set of solutions is highly useful , as if we have some initial value problem
We can easily find the solution as
The Wronskian
How do we know if our set of solutions is a fundamental set of solutions?
Suppose we have differential equation , with representing the set of all solutions.
Now suppose we have a set of solutions . We know is a basis if and all initial conditions , we can find scalars such that the solution can be uniquely expressed as a combination of the functions in .
In other words, the set on elements spans the solution set.
Say we have initial conditions at , and let be scalars.
Then, our set of functions must satisfy
Which is a system of equations, which can be represented in matrix form
To uniquely satisfy this system of equations, the matrix must be invertible. Thus, by the invertible matrix theorem, the determinant of the matrix cannot be 0!
Let be a set of solutions to some differential equation.
We define the Wronskian, denoted as
If the set of solutions is a fundamental set of solutions, the Wronskian cannot be 0 for any on which the differential equation is defined!
This is because by taking the Wronskian, we are simultaneously evaluating invertibility for all , and if there is any making the determinant 0, the functions are not linearly independent for that !
Theorem: Wronskian and FSoS
Suppose we have a differential equation
Defined on .
Let be a set of solutions to the differential equation. These functions are a fundamental set of solutions to the differential equation if the Wronskian for all .
The following theorem simplifies this fact - it guarantees that if we find for any , the Wronskian is never 0 on which is defined!
So, if the Wronskian for any , we know that our set of functions is a fundamental set of solutions!
Theorem: Abel's Theorem
Suppose we have homogeneous order linear differential equation of the form
defined over interval . Then, the Wronskian of any fundamental set of solutions must satisfy the relationship
Furthermore, by solving for the Wronskian, we can find it as
Corollary: By this theorem, we see that the Wronskian is always positive, always 0, or always negative over , for any order homogeneous linear differential equation.
This theorem (and corollary) can be generalized to higher order equations.
Proof
Suppose we have two solutions to the differential equation . We that by definition, the Wronskian is given by
We then calculate the derivative of the Wronskian as follows:
W' = y_1' y_2' + y_1 y_2'' - y_2' y_1' - y_2 y_1'' = y_1 y_2'' - y_2 y_1'' $$ Now take differential equationy” + p(t) y’ + q(t) y = 0
Because we know that $y_1$ and $y_2$ are, by definition, solutions to the differential equation,\begin{align*}
Multiplying the first equation by $-y_2$, and the second by $y_1$ and adding the two equations together, we obtain
&y_1” + p(t) y_1’ + q(t) y_1 = 0 \
&y_2” + p(t) y_2’ + q(t) y_2 = 0
\end{align*}\begin{align*}
-&y_2 y_1” - p(t) y_2 y_1’ - q(t) y_2 y_1 = 0 \
&y_1 y_2” + p(t) y_1 y_2’ + q(t) y_1 y_2 = 0 \
&(y_1 y_2” - y_2 y_1”) + p(t) (y_1 y_2’ - y_2 y_1’) = 0 \
&W’ + p(t) W = 0
\end{align*}\frac{W’}{W} = -p(t) \to \ln(W) = \int -p(t) dt + C
W = C e^{\int -p(t) dt}
We now discuss finding solutions to these higher order differential equations.
Constant Homogeneous Equations
We define a constant differential equation as an order differential equation
such that are all constants, and is a function on .
In this section, we discuss how we solve the constant homogeneous differential equation
and later use these findings to solve the non-homogeneous variant.
2nd Order Case
Consider the order case
We want to find solutions to this differential equation. In other words, we want to find
Where .
We can easily find the general solution as , where is some scalar, giving us a solution set of .
Example: Homogeneous Second Order Cases
Let be the linear operator to some homogeneous constant differential equation. Then,
- If , we have solution .
- If , we have solution .
Higher Order Cases
Now let’s consider higher order cases. Given some new linear operator , we can express the higher order cases as a composition of order cases.
For example,
Let and be order linear operators. Then,
Now say we have a solution to the differential equation . Then, just needs to satisfy or . Thus, we find the solution set to be .
Notice how our solutions to the higher order differential equation are the solutions to each 2nd order “root”.
We can generalize from this example for any number of roots.
Theorem: Solutions to Homogenous Equations with Constant Coefficients
Let be a linear operator with constant coefficients
and let be the characteristic polynomial of such that
with distinct roots .
Then, the fundamental set of solutions for homogenous order differential equation represented by
is .
Solutions with Complex Roots
Say is a pair of complex roots to . Then the complex solutions corresponding to the conjugate pairs can be replaced by real solutions
These real functions are much more useful in real world applications!
A simple proof for this is given below.
Proof
Say we have solutions . Then,
e^{(a \pm bi) t} = e^{at} e^{\pm ibt} = e^{at} ( \cos(bt) \pm i \sin(bt) )
\to { e^{at} \cos(bt), e^{at} \sin(bt) }
Example: Solving Constant Homogenous Differential Equations
Suppose we have differential equation given by
We obtain the characteristic polynomial for the equation as
To obtain solution set .
We then show it is a fundamental set of solutions by finding the Wronskian.
Repeated Roots
Suppose has a repeated root with multiplicity .
Multiplicity of Roots
Say is a root of . Then, the multiplicity of as a root of is if and only if
Corollary: has a repeated root if and only if it shares a root with its derivatives.
As shown earlier, we know that is a solution to the differential equation. Now, observe that
Thus, we see that the repeated root has solution set .
This is very similar to generalized eigenvectors in Jordan form!
We additionally show that this set is linearly independent.
Define as a linear transformation such that .
We see that . Then, taking linear combination
As the kernel of is 0, all coefficients are forced to be 0.
Solutions with Repeated Roots
Let be a linear operator with constant coefficients
and let be the characteristic polynomial of such that
Suppose is a root of with multiplicity . Then, the solution set to this root is given by .
Example: Solving Constant Homogenous Equations (1)
Suppose we have differential equation with characteristic polynomial given by
Then, the set of solutions for the differential equation is given by
We then show that this set of functions is linearly independent (using the Wronskian) to show that it is a fundamental set of solutions.
Example: Solving Constant Homogenous Equations (2)
Has solution set
Example: Finding Periodic Solutions
Suppose we have differential equation
What are the differential equation’s periodic solutions?
We find the characteristic polynomial as , yielding roots and solution set
Inspecting the solution set, we see that we have periodic solutions , where are some scalar value.
Constant Non-Homogeneous Equations
Now say we have a constant non-homogeneous differential equation
Where is some constant value.
How can we find this equation’s fundamental set of solutions?
By an earlier theorem, we know that if we have the general solution set to the associated homogeneous differential equation
and a specific solution to the non-homogeneous differential equation, then all solutions of can be found as
Where is the general solution to the homogeneous differential equation.
This is because, by property of linear transformations,
Telling us that is a solution to the non-homogeneous differential equation, with dimensions (so it must span the solution space)!
Note that combinations of solutions to non-homogeneous constant equations cannot form new solutions.
- If and are solutions, then and , but .
- If is a solution, and c is a scalar, then , but .
How can we find this specific solution?
Key Identities
In this section, we find a specific solution given some forcing function , where , , and are scalars.
Suppose we have a constant linear operator such that
Through computation, we can calculate the following key identities:
Notice that the coefficients are those in Pascal’s Triangle, and for the derivative of , it’s multiplied by a -term .
Note: This is why the exponential functions are solutions! If is a root to , then (satisfying the differential equation)!
Additionally, is a solution to root with multiplicity , as we know by multiplicity that all functions must be , which will make !
We can use these key identities to find specific solutions!
Theorem: Specific Solutions for Forcing Function
Given differential equation , with characteristic polynomial such that , then
is a specific solution to the differential equation.
More generally, if we have specific solution , then
If , the .
If , then .
Proof
Suppose our forcing function is , and . Then, we must find some function such that
Observe that
We can find a specific solution by dividing by scalar , because by property of linear transformation,
Example: Solving with Forcing Function
Suppose we have differential equation
We find the characteristic polynomial as
to find solution set .
We now find a specific non-homogeneous solution.
Observe that as , then , so, !This gives us general solution
We can use this intuition to find the specific solution for higher orders.
Take on our forcing function. What functions can we subtract and what values can we divide by to remove the other terms?
What if is a root of ?
If is a root of with multiplicity , we know that all derivatives . Thus, our particular solution will always be one degree higher than the root’s multiplicity.
For example, consider where has multiplicity 1. Then, observe that
However, as is a root, we know ! So,
Note: Because is a linear operator, if our forcing term is a summation of functions, we can find functions satisfying each component separately to form a solution!
Undetermined Coefficients
In this section, we find specific solutions given some root which has multiplicity , and forcing function
where and are polynomials.
When the “root” has multiplicity , then it is not a root.
Suppose we have a constant linear operator such that
Then, the equation has a particular solution of the form
Where are coefficients, and is the maximum degree of and .
To use this method, first obtain the forcing function in the above form, and then solve for by taking its derivatives and forming a system of linear equations!
Variation of Parameters
In this section, we find a general way to find specific solutions for non-homogeneous constant differential equations.
Suppose we have a constant linear operator such that
Additionally, suppose that the homogeneous differential equation has fundamental set of solutions . Given this fundamental set of solutions, we can find a specific solution for .
Take specific solution to the non-homogeneous equation . We know must be equal to
where are the functions in our fundamental set of solutions, and are non-constant functions.
We find information about these functions and solve for them to find .
2nd Order Case
Consider the order case
With fundamental set of solutions . If we have non-homogeneous equation
We guess specific solution , and obtain
We don’t want to find the second derivatives of and , as that would make our equation a mess (we obtain a order equation)!
Thus, to simplify, assume , and attempt to see if we can obtain a solution under these simplified conditions.
Plugging everything into the differential equation, we obtain
However, observe that
As are solutions to the homogeneous solution! This gives us a system of equations
Which is a system of equations, which we can take the Wronskian of to find our solution!
Where is the Wronskian of .
Thus, if we have a basis for any second order homogeneous equation, we can solve for any associated non-homogeneous equation!
This can be generalized for higher orders!
Theorem: Variation of Parameters,
If are a basis of homogeneous differential equation such that
then has a solution where
Furthermore, the solutions and are given by
This is the most important case to know for variation of parameters!
Example: Solving Using Variation of Parameters
We know we have solutions , . We find the Wronskian as . This gives us
We see that and are solutions to our homogeneous equation! So, our specific solution is
Higher Orders (Generalization)
We can generalize our findings to the order case.
Theorem: Variation of Parameters, Order
Say we have differential operator such that
Now suppose we have a fundamental set of solutions for the homogeneous differential equation .
Then, we can obtain specific solution such that
Where can be found by solving the system of equations
Furthermore, this method is guaranteed to work (though it might be computationally difficult), as the determinant of the matrix, otherwise known as the Wronskian, will never be 0 on the interval (by property of FSoS).
This method can be computationally difficult (and inefficient) for higher orders, and so is mainly just used for order differential equations!
2nd Order Non-Constant Equations
In this section, we discuss methods of solving order non-constant equations.
Reduction of Order
Assuming solution , we can find
such that is some non-constant function.
We solve for this function by taking its derivatives
plugging them back into the differential equation, and solving.
If we have a known solution, we can multiply that solution with another function to find another solution.
In fact, reduction of order is why we know the solutions of repeated roots for linear equations (see below).
Example: Reduction of Order (Constant)
We start with a constant equation example to show how we can obtain the same result. Note that reduction of order is actually why we know the solutions of repeated roots.
We want to find the other solution for
Given that is a solution to our equation.
Suppose we have another solution . Then,
Substituting in , we obtain system of equations
Because (by assumption) is a solution, it should satisfy our differential equation. Thus, we plug into our differential equation to obtain
As can never be 0, we need . Solving for , we obtain
where and are scalars. This yields us a solution
but as we already know solution , we set , to obtain new solution
Thus, our fundamental set of solutions is !
Some other examples are given below.
Example: Reduction of Order (Non-Constant)
We now see how reduction of order can be used beyond constant differential equations.
We want to find the other solution for
given solution on .
Assume we have second solution such that
We now find the derivatives of as
As is (by assumption) a solution, it should satisfy our differential equation. We thus sub into our differential equation to obtain
We can solve for .
Where are scalars.
Having solved for , we find as
which, letting , gives us solution !
Thus, we have a fundamental set of solutions (this can be verified by taking the Wronskian)!
Example: Reduction of Order (Wronskian)
Given a differential equation, it may be possible to solve it using the Wronskian.
Take our previous example from before.
We want to find another solution linearly independent to on . Let this solution by .
By Abel’s Theorem, we know the Wronskian must satisfy
Using this equation, we solve for the Wronskian to obtain
\frac{W'(t)}{W(t)} = \frac{2}{t} \to W(t) = Ct^2 $$ where $C$ is a scalar. We can use this equation to find $y_2$. We find the Wronskian asW(y_1, y_2) = \begin{vmatrix}
We set this equal o our equation to solve for $y_2$.
\frac{1}{t} & y_2 \
-\frac{1}{t^2} & y_2’
\end{vmatrix} = \frac{y_2’}{t} + \frac{y_2}{t\begin{align*}
Observe that $y_2 = t^4$ satisfies the equation. This gives us our second solution!
&\frac{y_2’}{t} + \frac{y_2}{t^2} = Ct^2 \
&ty_2’ + y_2 = Ct^4 \
\end{align*}
Power Series (Ordinary Equations)
A power series is an infinite series of the form
where is the coefficient of the term.
In differential equations, we look at a special form of power series, the Taylor Series of a function at , given by
Using an infinite summation, Taylor Series can give the value of a function at and around !
We find the radius of convergence of a given series as
describing the interval in which the Taylor Series equals the function.
Inside this radius of convergence, differentiation and integration will work as normal.
A function is analytic at if the following conditions are met:
- The radius of convergence of the Taylor series of at is positive
- On this interval given by the radius of convergence (), .
We apply this to help us solve differential equations.
Given differential equation
A point is an ordinary point of the differential equation, if and are both analytic at . If this is not the case, we call the point a singular point.
If a point is ordinary, we can substitute the Taylor series for the functions into the equation and solve for as a power series.
Solutions Using Power Series
Given , we want to…
- (Always) Find a recursion for
- (Often) Find a formula for
- (Rarely) Identify as a function
This rule is commonly found by seeing what comparison of terms are necessary to set every term to 0.
In an initial value problem, we can find a specific solution by setting because at those derivatives, those are the only terms.
Note: If the initial data is given at where , we will find to find the coefficients as polynomials in , and express the power series as
This will allow us to easily solve initial value problems!
Solutions at Ordinary Points
If functions are both analytic at , then every solution to differential equation
is analytic at .
Furthermore, the radius of convergence of these solutions , denoted , is guaranteed to be greater than or equal to the minimum radius of convergence of and .
Example: Power Series (1)
Let’s look at a simple example of power series that we can verify.
Let’s solve initial value problem
At , we see that and are trivially analytical over . Thus, is an ordinary point, and we can find a series solution for over all of .
We know from the previous section that we have solutions . We now see how we can obtain this same solution using power series?Let . We find the derivatives of .
Then, we find each term in the differential equation as a series
These added together should equal the 0-series, meaning all terms should have coefficients equal to 0!
Now observe the following:
- At , we have coefficient
- At , we have coefficient
- At , we have coefficient
Continuing this, we see that for any term , we have coefficient
Notice that the coefficients match that of the characteristic polynomial!
This gives us second order recursion
where choosing , will determine our function! Given our initial conditions, we want to find a general which satisfies the above equation. This would then be our solution!
In fact, let , . We obtain sequence
Which is the power series for !
Similarly, choosing , gives us the power series for .Furthermore, if we want to obtain a normalized fundamental set of solutions, we find and such that
Example: Power Series (2)
We want to solve initial value problem
At , we see that are analytic over all of . Thus, is an ordinary point, and we can find a series solution for valid over all of .
Let . We find the derivatives of .
Then, we find each term in the differential equation as a series
These terms combined form our differential equation, and as our equation is homogeneous, their summation must equal the 0-series.
In other words, for all , , must necessarily be equal to 0.Now observe the following:
- For term , we have coefficient
- For term , we have coefficient
- For term , we have coefficient
- For term , we have coefficient
Continuing this pattern, we see that for any term such that , we have coefficient
We simplify this to obtain
Now let . We end with the recursive definition
This is a third order recursion! So, we must pick 3 terms to satisfy this recursion and find a solution (except that must necessarily be 0).
For example, let’s pick
With these terms, we obtain the series
which can be expressed as the summation
which is our solution for these initial values!
Euler’s Equation
If is a singular point, then we can’t use power series to solve the initial value problem. This makes singular point problems significantly more annoying to solve!
Here, we discuss solving a form of singular point equation, known as Euler’s Equation. Euler’s Equation is given as follows:
where and are constants. We see that is a singular point!
Interestingly enough, we can still find solutions to this problem!
Note that every derivative is being multiplied by a term, keeping the order of every derivative the same.
This suggests that may be a good solution, where . So, we guess that is a solution, and sub into the differential equation.
Because , we need to find all values satisfying polynomial
This suggests that we only have 2 choices of exponents for our solutions (the 2 values of ), which forms a FSoS.
Theorem: Euler's Equations
Suppose and are the roots of the equation
for differential equation
Then, if and and are real numbers, then
form a fundamental set of solutions for the differential equation at .
Repeated Roots
What if ?
We find that the key identities of this differential equation closely resemble that of the constant differential equations.
Let . Then,
Recall that with constant differential equations, if are roots of the characteristic polynomial , we have solutions .
Using similar logic, if , then we find
Let . Then, . Because is a repeated root, we find another solution (like with constant differential equations)
Complex Roots
What if ?
We apply a similar logic as earlier.
Let to obtain
Regular Singular Equations
We can generalize the ideas seen in Euler’s equation to regular singular equations.
Say we have differential equation
This differential equation is regular singular at if
are both finite values. Otherwise, is an irregular singular point.
The Euler Equation was regular singular at with and .
This suggests that if we can solve Euler equations, we can solve any regular singular point.
Theorem: Regular Singular Equations
Suppose we have a differential equation
which is regular singular at . , such that
Let be the roots of
Then, the fundamental set of solutions for the differential equation is as follows:
We do this by taking a singular point , and shifting it so that becomes the new singular point.
Define as our shift. Then, we obtain differential equation
which we can solve.
Laplace Transforms
Given a function , , we define the Laplace Transform as the linear mapping such that
where is a function on some variable .
Note: The Laplace Tranform’s linearity is really important. Because the Laplace Transform is a linear transformation, the following properties must be true:
where and are functions on , and is a scalar.
Properties of Laplace Transforms
Consider the following Laplace transforms:
- Let . We find its Laplace transform as…
- Let . Using a similar method, we find its Laplace transform as… In fact, multiplying a function by shifts its Laplace transform by . Additionally, note that
- Let , . To find their Laplace transforms, consider the geometric complex exponential identity . Letting us find these Laplace transforms!
These transforms will be useful in identifying solutions to differential equations later!
Now, suppose we have a function . Given , can we find a relation between and it’s derivative ?
Applying parts by integration, we let , and .
Now suppose is a function such that
Then, this expression evaluates to
Which is an extremely elegant way to relate the Laplace Transform of and its derivative !
We can formalize this with the following theorem:
Theorem: One-To-One Laplace Transforms
Given a function , we say it is…
- Piecewise continuous if it is continuous on except at a finite set of points.
- Of Exponential Order if such that or in other words, there exists an exponential function that grows faster than .
Now let and both be functions that are piecewise continuous and of exponential order .
If the Laplace Transformsover some interval , where is a finite value, then .
In other words, if is of exponential order and piecewise continuous, uniquely determines . Furthermore,
so, we know ‘s Laplace Transform if we know what is!
We can use this with higher order derivatives too. For example,
Note: Because we need values of , we need initial values! Thus, Laplace Transforms can only be used to solve initial value problems!
This theorem is important, as it allows us to solve differential equations using Laplace Transforms!
By creating a one-to-one mapping , we can convert our differential equation on to an algebraic equation on , solve for , and then deduce the solutions from this (known as taking the inverse Laplace Transform)!
Let’s see some simple examples below.
Example: Laplace Transforms, Simple (1)
Suppose we have initial value problem
Let’s solve it using Laplace Transforms. Let be some solution to the differential equation, and define the Laplace Transform of as
Because the Laplace Transform is a linear operator, we can apply it to each separate component of the differential equation
Then, using the identities above, convert the differential equation to an algebraic equation. must satisfy this equation, and we can solve for it to find !
We then apply partial fraction decomposition to obtain
Because we know our Laplace Transform is a one to one mapping, we can convert each term of the expression back to our solution on ! Recall that .
Example: Laplace Transforms, Simple (2)
Suppose we have initial value problem
Let’s solve it using Laplace Transforms. Let be some solution to the differential equation, and define the Laplace Transform of as
We apply the Laplace Transform on the differential equation to obtain
We now solve for , and use that to find our original function .
We use this to identify our solution as
The Heaviside Function
We define the Heaviside Function as
which can be thought of a switch (initially off) that “switches on” at .
Additionally, we define (sometimes denoted ) as the translated Heaviside function, such that the function “switches on” at .
We can combine Heaviside functions to switch “on” and “off” at certain times. For example, to create the function which is equal to 1 between and 0 elsewhere, we take:
We find the Laplace Transform of the Heaviside function (and variants) as follows. Because the Heaviside function is before (or in the case of , ), note that we can modify the integral:
The Heaviside function lets us “select” parts of a function, to create discontinuous functions.
We can then use its Laplace transform to find the solution to differential equations with discontinuities!
Say we have a function , and we want to select all values of for , starting at .
We do this by shifting the function over by taking , and then setting the portion to 0 by multiplying it by the Heaviside function!
We continue by taking the Laplace transformation
Note: Both functions are shifted the same amount .
If we have a function multiplied by , we’ll need to find the corresponding function such that to perform the Laplace transform.
So, multiplying any function with the Heaviside function adds a term in the Laplace Transform!
Example: Laplace Transform, Heaviside
Suppose we have discontinuous differential equation
We see that for , we have the homogeneous differential equation
and for , we have the non-homogeneous differential equation
How can we solve this?
Suppose we have a solution . We define the Laplace Transform of as . Then, we take the Laplace Transform of the differential equation to obtain
From this, we obtain solution
Example: Laplace Transforms, Heaviside
Suppose we have differential equation
We see that between , we have non-homogeneous equation
and outside of this, we have a homogeneous equation.
Suppose we have solution . We define the Laplace Transform of as . Then, we take the Laplace Transform of the differential equation to obtain
From this, we find our solution as
Note that because we have a different equation between , our solution takes on a different form (using Heaviside functions) in this interval.
Dirac Delta Function
Suppose we have a series of functions such that
So,
- is between
- is between
- is between
- …
Observe that the area under the curves always equals 1.
As we take this limit to infinity, we obtain
But because we know all functions in the series have a total area under the curve of 1, we know that
We define this as the Dirac Delta function, denoted . It is 0 everywhere, with a large value at . More formally, the Dirac Delta is defined as the function satisfying the integral
Note that if , for all values the integral evaluates to 1. This actually creates the Heaviside function !
Though you cannot actually derive the Dirac Delta function, we call a weak derivative .
The Dirac Delta function has the property such that if you have any integrable function ,
Moreover, if you shift of the Dirac Delta function, you obtain
Note: The extent bounds of the integral don’t really matter - what really matters is if the bounds contain , where the Dirac Delta isn’t 0.
We can use this property with the Laplace Transform to find the Laplace Transform as
Example: Laplace Transform, Dirac Delta
Suppose we have differential equation
Now suppose we have solution . Define the Laplace Transform of as .
We take the Laplace Transform of the differential equation to obtainFrom this, we obtain the solution
Common Laplace Transforms
We end Laplace Transforms with a section on common Laplace Transforms. Let be real numbers, be a non-negative integer.
Furthermore, let be a function of , where is it’s Laplace transform. Then,
Additionally, we define the convolution of two functions , as
Where the Laplace transform of the convolution is simply
The convolution is commutative - .
It may be useful if we cannot do partial fraction decomposition!
Example: Laplace Transforms
Find the Laplace Transform of the following functions.
- We first observe that . We then use the Laplace Transform for to obtain
- g(t) = \begin{cases}
1 & 0 \le t \le 2 \
We first express $g$ as a combination of Heaviside functions.
t^2 - 4t + 4 & t \ge 2
\end{cases}\begin{align*}
g(t) &= 1 (H(t) - H(t - 2)) + (t^2 - 4t + 4)H(t - 2) \
&= H(t) - H(t - 2) + (t - 2)^2 H(t - 2)
\end{align*}\mathcal{L}{g} = \frac{1}{s} - \frac{e^{-2s}}{s} + \frac{2!}{s^3} e
3. $$ h(t) = t^2 H(t-2)We first observe that our formula for the Laplace Transform of Heaviside functions is given by
Thus, we need to find the corresponding function such that . This function can very easily be seen to be
We now evaluate the Laplace Transform.
Example: Inverse Laplace Transforms
Given the following Laplace Transforms, find the inverse Laplace Transform.
To find the inverse Laplace Transform, we note the resemblance to the Laplace Transform of to find
To find the inverse Laplace Transform, we note the resemblance to the Laplace Transforms of and , respectively to find
To find the inverse Laplace Transform, we note how our functions have been shifted (we shift by multiplying by ), and their resemblance to the Laplace Transform of , to find
To find the inverse Laplace Transform, we note how our functions are being multiplied by , which can be obtained by multiplying by the Heaviside function.
We additionally note that the inverse Laplace Transform of is
However, because we’re multiplying by the Heaviside function (to obtain the ), we must find a function such that its Laplace transform is the above!
This turns out to be
Giving us solution
