In this section we need to take a look at the equation of a line in R 3 R 3 . As we saw in the previous section the equation y = m x + b y = m x + b does not describe a line in R 3 R 3 , instead it describes a plane. This doesn’t mean however that we can’t write down an equation for a line in 3-D space. We’re just going to need a new way of writing down the equation of a curve. So, before we get into the equations of lines we first need to briefly look at vector functions. We’re going to take a more in depth look at vector functions later. At this point all that we need to worry about is notational issues and how they can be used to give the equation of a curve. The best way to get an idea of what a vector function is and what its graph looks like is to look at an example. So, consider the following vector function. → r ( t ) = ⟨ t , 1 ⟩ r → ( t ) = ⟨ t , 1 ⟩ A vector function is a function that takes one or more variables, one in this case, and returns a...
Example 9 Find a particular solution for the following differential equation.
This problem seems almost too simple to be given this late in the section. This is especially true given the ease of finding a particular solution for ()’s that are just exponential functions. Also, because the point of this example is to illustrate why it is generally a good idea to have the complementary solution in hand first we’ll let’s go ahead and recall the complementary solution first. Here it is,
Now, without worrying about the complementary solution for a couple more seconds let’s go ahead and get to work on the particular solution. There is not much to the guess here. From our previous work we know that the guess for the particular solution should be,
Plugging this into the differential equation gives,
Hmmmm…. Something seems wrong here. Clearly an exponential can’t be zero. So, what went wrong? We finally need the complementary solution. Notice that the second term in the complementary solution (listed above) is exactly our guess for the form of the particular solution and now recall that both portions of the complementary solution are solutions to the homogeneous differential equation,
In other words, we had better have gotten zero by plugging our guess into the differential equation, it is a solution to the homogeneous differential equation!
So, how do we fix this? The way that we fix this is to add a to our guess as follows.
Plugging this into our differential equation gives,
Now, we can set coefficients equal.
So, the particular solution in this case is,
Now, without worrying about the complementary solution for a couple more seconds let’s go ahead and get to work on the particular solution. There is not much to the guess here. From our previous work we know that the guess for the particular solution should be,
Plugging this into the differential equation gives,
Hmmmm…. Something seems wrong here. Clearly an exponential can’t be zero. So, what went wrong? We finally need the complementary solution. Notice that the second term in the complementary solution (listed above) is exactly our guess for the form of the particular solution and now recall that both portions of the complementary solution are solutions to the homogeneous differential equation,
In other words, we had better have gotten zero by plugging our guess into the differential equation, it is a solution to the homogeneous differential equation!
So, how do we fix this? The way that we fix this is to add a to our guess as follows.
Plugging this into our differential equation gives,
Now, we can set coefficients equal.
So, the particular solution in this case is,
So, what did we learn from this last example. While technically we don’t need the complementary solution to do undetermined coefficients, you can go through a lot of work only to figure out at the end that you needed to add in a to the guess because it appeared in the complementary solution. This work is avoidable if we first find the complementary solution and comparing our guess to the complementary solution and seeing if any portion of your guess shows up in the complementary solution.
If a portion of your guess does show up in the complementary solution then we’ll need to modify that portion of the guess by adding in a to the portion of the guess that is causing the problems. We do need to be a little careful and make sure that we add the in the correct place however. The following set of examples will show you how to do this.
Example 10 Write down the guess for the particular solution to the given differential equation. Do not find the coefficients.
a)
b)
c)
d)
e)
In these solutions we’ll leave the details of checking the complementary solution to you.
a)
The complementary solution is
Remembering to put the “-1” with the 7 gives a first guess for the particular solution.
Notice that the last term in the guess is the last term in the complementary solution. The first two terms however aren’t a problem and don’t appear in the complementary solution. Therefore, we will only add a onto the last term.
The correct guess for the form of the particular solution is.
Remembering to put the “-1” with the 7 gives a first guess for the particular solution.
Notice that the last term in the guess is the last term in the complementary solution. The first two terms however aren’t a problem and don’t appear in the complementary solution. Therefore, we will only add a onto the last term.
The correct guess for the form of the particular solution is.
b)
The complementary solution is
A first guess for the particular solution is
Notice that if we multiplied the exponential term through the parenthesis that we would end up getting part of the complementary solution showing up. Since the problem part arises from the first term the whole first term will get multiplied by . The second and third terms are okay as they are.
The correct guess for the form of the particular solution in this case is.
So, in general, if you were to multiply out a guess and if any term in the result shows up in the complementary solution, then the whole term will get a not just the problem portion of the term.
A first guess for the particular solution is
Notice that if we multiplied the exponential term through the parenthesis that we would end up getting part of the complementary solution showing up. Since the problem part arises from the first term the whole first term will get multiplied by . The second and third terms are okay as they are.
The correct guess for the form of the particular solution in this case is.
So, in general, if you were to multiply out a guess and if any term in the result shows up in the complementary solution, then the whole term will get a not just the problem portion of the term.
c)
The complementary solution is
A first guess for the particular solution is
In this case both the second and third terms contain portions of the complementary solution. The first term doesn’t however, since upon multiplying out, both the sine and the cosine would have an exponential with them and that isn’t part of the complementary solution. We only need to worry about terms showing up in the complementary solution if the only difference between the complementary solution term and the particular guess term is the constant in front of them.
So, in this case the second and third terms will get a while the first won’t
The correct guess for the form of the particular solution is.
A first guess for the particular solution is
In this case both the second and third terms contain portions of the complementary solution. The first term doesn’t however, since upon multiplying out, both the sine and the cosine would have an exponential with them and that isn’t part of the complementary solution. We only need to worry about terms showing up in the complementary solution if the only difference between the complementary solution term and the particular guess term is the constant in front of them.
So, in this case the second and third terms will get a while the first won’t
The correct guess for the form of the particular solution is.
d)
To get this problem we changed the differential equation from the last example and left the alone. The complementary solution this time is
As with the last part, a first guess for the particular solution is
This time however it is the first term that causes problems and not the second or third. In fact, the first term is exactly the complementary solution and so it will need a . Recall that we will only have a problem with a term in our guess if it only differs from the complementary solution by a constant. The second and third terms in our guess don’t have the exponential in them and so they don’t differ from the complementary solution by only a constant.
The correct guess for the form of the particular solution is.
As with the last part, a first guess for the particular solution is
This time however it is the first term that causes problems and not the second or third. In fact, the first term is exactly the complementary solution and so it will need a . Recall that we will only have a problem with a term in our guess if it only differs from the complementary solution by a constant. The second and third terms in our guess don’t have the exponential in them and so they don’t differ from the complementary solution by only a constant.
The correct guess for the form of the particular solution is.
e)
The complementary solution is
The two terms in are identical with the exception of a polynomial in front of them. So this means that we only need to look at the term with the highest degree polynomial in front of it. A first guess for the particular solution is
Notice that if we multiplied the exponential term through the parenthesis the last two terms would be the complementary solution. Therefore, we will need to multiply this whole thing by a .
The next guess for the particular solution is then.
This still causes problems however. If we multiplied the and the exponential through, the last term will still be in the complementary solution. In this case, unlike the previous ones, a wasn’t sufficient to fix the problem. So, we will add in another to our guess.
The correct guess for the form of the particular solution is.
Upon multiplying this out none of the terms are in the complementary solution and so it will be okay.
The two terms in are identical with the exception of a polynomial in front of them. So this means that we only need to look at the term with the highest degree polynomial in front of it. A first guess for the particular solution is
Notice that if we multiplied the exponential term through the parenthesis the last two terms would be the complementary solution. Therefore, we will need to multiply this whole thing by a .
The next guess for the particular solution is then.
This still causes problems however. If we multiplied the and the exponential through, the last term will still be in the complementary solution. In this case, unlike the previous ones, a wasn’t sufficient to fix the problem. So, we will add in another to our guess.
The correct guess for the form of the particular solution is.
Upon multiplying this out none of the terms are in the complementary solution and so it will be okay.
As this last set of examples has shown, we really should have the complementary solution in hand before even writing down the first guess for the particular solution. By doing this we can compare our guess to the complementary solution and if any of the terms from your particular solution show up we will know that we’ll have problems. Once the problem is identified we can add a to the problem term(s) and compare our new guess to the complementary solution. If there are no problems we can proceed with the problem, if there are problems add in another and compare again.
Can you see a general rule as to when a will be needed and when a t2 will be needed for second order differential equations?
Comments
Post a Comment