All Differential Equations Resources
Example Questions
Example Question #2 : Numerical Solutions Of Ordinary Differential Equations
Use Euler's Method to calculate the approximation of where is the solution of the initial-value problem that is as follows.
Using Euler's Method for the function
first make the substitution of
therefore
where represents the step size.
Let
Substitute these values into the previous formulas and continue in this fashion until the approximation for is found.
Therefore,
Example Question #2 : Euler Method
Use the implicit Euler method to approximate for , given that , using a time step of
In the implicit method, the amount to increase is given by , or in this case . Note, you can't just plug in to this form of the equation, because it's implicit: is on both sides. Thankfully, this is an easy enough form that you can solve explicitly. Otherwise, you would have to use an approximation method like newton's method to find . Solving explicitly, we have and .
Thus,
Thus, we have a final answer of
Example Question #1 : Numerical Solutions Of Ordinary Differential Equations
Use two steps of Euler's Method with on
To three decimal places
4.413
4.420
4.428
4.408
4.425
4.425
Euler's Method gives us
Taking one step
Taking another step
Example Question #1 : Multi Step Methods
The two-step Adams-Bashforth method of approximation uses the approximation scheme .
Given that and , use the Adams-Bashforth method to approximate for with a step size of
In this problem, we're given two points, so we can start plugging in immediately. If we were not, we could approximate by using the explicit Euler method on .
Plugging into , we have
.
Note, our approximation likely won't be very good with such large a time step, but the process doesn't change regardless of the accuracy.
Example Question #1 : Second Order Boundary Value Problems
Find the solutions to the second order boundary-value problem. , , .
There are no solutions to the boundary value problem.
The characteristic equation of is , with solutions of . Thus, the general solution to the homogeneous problem is . Plugging in our conditions, we find that , so that . Plugging in our second condition, we find that and that .
Thus, the final solution is .
Example Question #2 : Second Order Boundary Value Problems
Find the solutions to the second order boundary-value problem. , , .
There are no solutions to the boundary value problem.
There are no solutions to the boundary value problem.
The characteristic equation of is with solutions of . This tells us that the solution to the homogeneous equation is . Plugging in our conditions, we find that so that . Plugging in our second condition, we have which is obviously false.
This problem demonstrates the important distinction between initial value problems and boundary value problems: Boundary value problems don't always have solutions. This is one such case, as we can't find that satisfy our conditions.
Example Question #1 : System Of Linear First Order Differential Equations
Find the general solution to the given system.
To find the general solution to the given system
first find the eigenvalues and eigenvectors.
Therefore the eigenvalues are
Now calculate the eigenvectors
For
Thus,
For
Thus
Therefore,
Now the general solution is,
Example Question #1 : Homogeneous Linear Systems
Solve the initial value problem . Where
To solve the homogeneous system, we will need a fundamental matrix. Specifically, it will help to get the matrix exponential. To do this, we will diagonalize the matrix. First, we will find the eigenvalues which we can do by calculating the determinant of .
Finding the eigenspaces, for lambda = 1, we have
Adding -1/2 Row 1 to Row 2 and dividing by -1/2, we have which means
Thus, we have an eigenvector of .
For lambda = 4
Adding Row 1 to Row 2, we have
So with an eigenvector .
Thus, we have and . Using the inverse formula for 2x2 matrices, we have that . As we know that , we have
The solution to a homogenous system of linear equations is simply to multiply the matrix exponential by the intial condition. For other fundamental matrices, the matrix inverse is needed as well.
Thus, our final answer is
Example Question #1 : Homogeneous Linear Systems
Solve the homogenous equation:
With the initial conditions:
none of these answers
So this is a homogenous, second order differential equation. In order to solve this we need to solve for the roots of the equation. This equation can be written as:
Which, using the quadratic formula or factoring gives us roots of and
The solution of homogenous equations is written in the form:
so we don't know the constants, but can substitute the values we solved for the roots:
We have two initial values, one for y(t) and one for y'(t), both with t=0\
So:
so:
We can solve for : Then plug into the other equation to solve for
So, solving, we get: Then
This gives a final answer of:
Example Question #2 : System Of Linear First Order Differential Equations
Solve the second order differential equation:
Subject to the initial values:
none of these answers
So this is a homogenous, second order differential equation. In order to solve this we need to solve for the roots of the equation. This equation can be written as:
Which, using the quadratic formula or factoring gives us roots of and
The solution of homogenous equations is written in the form:
so we don't know the constants, but can substitute the values we solved for the roots:
We have two initial values, one for y(t) and one for y'(t), both with t=0
So:
so:
We can solve Then plug into the other equation to solve for
So, solving, we get: Then
This gives a final answer of:
Certified Tutor
Certified Tutor