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 6 Write down the form of the particular solution to
a)
b)
c)
So, we have an exponential in the function. Remember the rule. We will ignore the exponential and write down a guess for then put the exponential back in.
The guess for the sine is
Now, for the actual guess for the particular solution we’ll take the above guess and tack an exponential onto it. This gives,
One final note before we move onto the next part. The 16 in front of the function has absolutely no bearing on our guess. Any constants multiplying the whole function are ignored.
The guess for the sine is
Now, for the actual guess for the particular solution we’ll take the above guess and tack an exponential onto it. This gives,
One final note before we move onto the next part. The 16 in front of the function has absolutely no bearing on our guess. Any constants multiplying the whole function are ignored.
b)
We will start this one the same way that we initially started the previous example. The guess for the polynomial is
and the guess for the cosine is
If we multiply the two guesses we get.
Let’s simplify things up a little. First multiply the polynomial through as follows.
Notice that everywhere one of the unknown constants occurs it is in a product of unknown constants. This means that if we went through and used this as our guess the system of equations that we would need to solve for the unknown constants would have products of the unknowns in them. These types of systems are generally very difficult to solve.
So, to avoid this we will do the same thing that we did in the previous example. Everywhere we see a product of constants we will rename it and call it a single constant. The guess that we’ll use for this function will be.
This is a general rule that we will use when faced with a product of a polynomial and a trig function. We write down the guess for the polynomial and then multiply that by a cosine. We then write down the guess for the polynomial again, using different coefficients, and multiply this by a sine.
and the guess for the cosine is
If we multiply the two guesses we get.
Let’s simplify things up a little. First multiply the polynomial through as follows.
Notice that everywhere one of the unknown constants occurs it is in a product of unknown constants. This means that if we went through and used this as our guess the system of equations that we would need to solve for the unknown constants would have products of the unknowns in them. These types of systems are generally very difficult to solve.
So, to avoid this we will do the same thing that we did in the previous example. Everywhere we see a product of constants we will rename it and call it a single constant. The guess that we’ll use for this function will be.
This is a general rule that we will use when faced with a product of a polynomial and a trig function. We write down the guess for the polynomial and then multiply that by a cosine. We then write down the guess for the polynomial again, using different coefficients, and multiply this by a sine.
c)
This final part has all three parts to it. First, we will ignore the exponential and write down a guess for.
The minus sign can also be ignored. The guess for this is
Now, tack an exponential back on and we’re done.
Notice that we put the exponential on both terms.
The minus sign can also be ignored. The guess for this is
Now, tack an exponential back on and we’re done.
Notice that we put the exponential on both terms.
There a couple of general rules that you need to remember for products.
- If contains an exponential, ignore it and write down the guess for the remainder. Then tack the exponential back on without any leading coefficient.
- For products of polynomials and trig functions you first write down the guess for just the polynomial and multiply that by the appropriate cosine. Then add on a new guess for the polynomial with different coefficients and multiply that by the appropriate sine.
If you can remember these two rules you can’t go wrong with products. Writing down the guesses for products is usually not that difficult. The difficulty arises when you need to actually find the constants.
Now, let’s take a look at sums of the basic components and/or products of the basic components. To do this we’ll need the following fact.
Fact
If is a particular solution for
and if is a particular solution for
then + is a particular solution for
and if is a particular solution for
then + is a particular solution for
This fact can be used to both find particular solutions to differential equations that have sums in them and to write down guess for functions that have sums in them.
Example 7 Find a particular solution for the following differential equation.
This example is the reason that we’ve been using the same homogeneous differential equation for all the previous examples. There is nothing to do with this problem. All that we need to do it go back to the appropriate examples above and get the particular solution from that example and add them all together.
Doing this gives
Doing this gives
Let’s take a look at a couple of other examples. As with the products we’ll just get guesses here and not worry about actually finding the coefficients.
Example 8 Write down the form of the particular solution to
for the following ’s.
a)
b)
c)
d)
e)
So, this look like we’ve got a sum of three terms here. Let’s write down a guess for that.
Notice however that if we were to multiply the exponential in the second term through we would end up with two terms that are essentially the same and would need to be combined. This is a case where the guess for one term is completely contained in the guess for a different term. When this happens we just drop the guess that’s already included in the other term.
So, the guess here is actually.
Notice that this arose because we had two terms in our whose only difference was the polynomial that sat in front of them. When this happens we look at the term that contains the largest degree polynomial, write down the guess for that and don’t bother writing down the guess for the other term as that guess will be completely contained in the first guess.
f)
g)
This first one we’ve actually already told you how to do. This is in the table of the basic functions. However, we wanted to justify the guess that we put down there. Using the fact on sums of function we would be tempted to write down a guess for the cosine and a guess for the sine. This would give.
So, we would get a cosine from each guess and a sine from each guess. The problem with this as a guess is that we are only going to get two equations to solve after plugging into the differential equation and yet we have 4 unknowns. We will never be able to solve for each of the constants.
To fix this notice that we can combine some terms as follows.
Upon doing this we can see that we’ve really got a single cosine with a coefficient and a single sine with a coefficient and so we may as well just use
The general rule of thumb for writing down guesses for functions that involve sums is to always combine like terms into single terms with single coefficients. This will greatly simplify the work required to find the coefficients.
So, we would get a cosine from each guess and a sine from each guess. The problem with this as a guess is that we are only going to get two equations to solve after plugging into the differential equation and yet we have 4 unknowns. We will never be able to solve for each of the constants.
To fix this notice that we can combine some terms as follows.
Upon doing this we can see that we’ve really got a single cosine with a coefficient and a single sine with a coefficient and so we may as well just use
The general rule of thumb for writing down guesses for functions that involve sums is to always combine like terms into single terms with single coefficients. This will greatly simplify the work required to find the coefficients.
b)
For this one we will get two sets of sines and cosines. This will arise because we have two different arguments in them. We will get one set for the sine with just a as its argument and we’ll get another set for the sine and cosine with the 14 as their arguments.
The guess for this function is
The guess for this function is
c)
The main point of this problem is dealing with the constant. But that isn’t too bad. We just wanted to make sure that an example of that is somewhere in the notes. If you recall that a constant is nothing more than a zeroth degree polynomial the guess becomes clear.
The guess for this function is
The guess for this function is
d)
This one can be a little tricky if you aren’t paying attention. Let’s first rewrite the function
All we did was move the 9. However, upon doing that we see that the function is really a sum of a quadratic polynomial and a sine. The guess for this is then
If we don’t do this and treat the function as the sum of three terms we would get
and as with the first part in this example we would end up with two terms that are essentially the same (the and the ) and so would need to be combined. An added step that isn’t really necessary if we first rewrite the function.
Look for problems where rearranging the function can simplify the initial guess.
All we did was move the 9. However, upon doing that we see that the function is really a sum of a quadratic polynomial and a sine. The guess for this is then
If we don’t do this and treat the function as the sum of three terms we would get
and as with the first part in this example we would end up with two terms that are essentially the same (the and the ) and so would need to be combined. An added step that isn’t really necessary if we first rewrite the function.
Look for problems where rearranging the function can simplify the initial guess.
e)
Notice however that if we were to multiply the exponential in the second term through we would end up with two terms that are essentially the same and would need to be combined. This is a case where the guess for one term is completely contained in the guess for a different term. When this happens we just drop the guess that’s already included in the other term.
So, the guess here is actually.
Notice that this arose because we had two terms in our whose only difference was the polynomial that sat in front of them. When this happens we look at the term that contains the largest degree polynomial, write down the guess for that and don’t bother writing down the guess for the other term as that guess will be completely contained in the first guess.
f)
In this case we’ve got two terms whose guess without the polynomials in front of them would be the same. Therefore, we will take the one with the largest degree polynomial in front of it and write down the guess for that one and ignore the other term. So, the guess for the function is
g)
This last part is designed to make sure you understand the general rule that we used in the last two parts. This time there really are three terms and we will need a guess for each term. The guess here is
We can only combine guesses if they are identical up to the constant. So, we can’t combine the first exponential with the second because the second is really multiplied by a cosine and a sine and so the two exponentials are in fact different functions. Likewise, the last sine and cosine can’t be combined with those in the middle term because the sine and cosine in the middle term are in fact multiplied by an exponential and so are different.
We can only combine guesses if they are identical up to the constant. So, we can’t combine the first exponential with the second because the second is really multiplied by a cosine and a sine and so the two exponentials are in fact different functions. Likewise, the last sine and cosine can’t be combined with those in the middle term because the sine and cosine in the middle term are in fact multiplied by an exponential and so are different.
So, when dealing with sums of functions make sure that you look for identical guesses that may or may not be contained in other guesses and combine them. This will simplify your work later on.
We have one last topic in this section that needs to be dealt with. In the first few examples we were constantly harping on the usefulness of having the complementary solution in hand before making the guess for a particular solution. We never gave any reason for this other that “trust us”. It is now time to see why having the complementary solution in hand first is useful. This is best shown with an example so let’s jump into one.
Comments
Post a Comment