Pages

Friday, April 21, 2023

ODE NON HOMOGENEOUS EQUATIONS

ODE  NON HOMOGENEOUS EQUATIONS 



NON HOMOGENOUS EQUATIONS ARE THE EQUATIONS OF THE TYPE:

                                                 y''+py'+qy=r(x)  ,  where r(x)≠0

HOW TO FIND SOLUTION TO NON HOMOGENEOUS EQUATIONS ??


TO RETRIVE THE SOLUTION , THERE ARE 2 METHODS 
  • METHOD OF VARIABLE OF PARAMETERS
  • METHOD OF UNDETERMINED CO-EFFICIENTS(TO BE DISCUSSED IN NEXT BLOG)

1.    METHOD OF VARIABLE OF PARAMETERS

For more complex expressions for ()the equation function, it may be difficult to come up with a particular solution that we can easily use. When that happens, it is much better for us to apply the method of variation parameters, where we assume that the general and particular solution components have the same forms. Below are the guidelines to remember when using this method:

()=11()+22()

Remember as well that this is the general solution to the homogeneous differential equation.

(2)()+()+()=0

Also recall that in order to write down the complementary solution we know that 1() and 2() are a fundamental set of solutions.

What we’re going to do is see if we can find a pair of functions, 1() and 2() so that

()=1()1()+2()2()

will be a solution to (1). We have two unknowns here and so we’ll need two equations eventually. One equation is easy. Our proposed solution must satisfy the differential equation, so we’ll get the first equation by plugging our proposed solution into (1). The second equation can come from a variety of places. We are going to get our second equation simply by making an assumption that will make our work easier. We’ll say more about this shortly.

So, let’s start. If we’re going to plug our proposed solution into the differential equation we’re going to need some derivatives so let’s get those. The first derivative is

()=11+11+22+22

Here’s the assumption. Simply to make the first derivative easier to deal with we are going to assume that whatever 1() and 2() are they will satisfy the following.

(3)11+22=0

Now, there is no reason ahead of time to believe that this can be done. However, we will see that this will work out. We simply make this assumption on the hope that it won’t cause problems down the road and to make the first derivative easier so don’t get excited about it.

With this assumption the first derivative becomes.

()=11+22

The second derivative is then,

()=11+11+22+22

Plug the solution and its derivatives into (1).

()(11+11+22+22)+()(11+22)+()(11+22)=()

Rearranging a little gives the following.

()(11+22)+1()(()1+()1+()1)+2()(()2+()2+()2)=()

Now, both 1() and 2() are solutions to (2) and so the second and third terms are zero. Acknowledging this and rearranging a little gives us,

()(11+22)+1()(0)+2()(0)=()(4)11+22=()()

We’ve almost got the two equations that we need. Before proceeding we’re going to go back and make a further assumption. The last equation, (4), is actually the one that we want, however, in order to make things simpler for us we are going to assume that the function ()=1.

In other words, we are going to go back and start working with the differential equation,

+()+()=()

If the coefficient of the second derivative isn’t one divide it out so that it becomes a one. The formula that we’re going to be getting will assume this! Upon doing this the two equations that we want to solve for the unknown functions are

(5)11+22=0(6)11+22=()

Note that in this system we know the two solutions and so the only two unknowns here are 1 and 2. Solving this system is actually quite simple. First, solve (5) for 1 and plug this into (6) and do some simplification.

(7)1=221(221)1+22=()2(2211)=()2(12211)=()(8)2=1()1221

So, we now have an expression for 2. Plugging this into (7) will give us an expression for 1.

(9)1=2()1221

Next, let’s notice that

(1,2)=12210

Recall that 1() and 2() are a fundamental set of solutions and so we know that the Wronskian won’t be zero!

Finally, all that we need to do is integrate (8) and (9) in order to determine what 1() and 2() are. Doing this gives,

1()=2()(1,2)2()=1()(1,2)

So, provided we can do these integrals, a particular solution to the differential equation is

Consider the differential equation,

+()+()=()

Assume that 1() and 2() are a fundamental set of solutions for

+()+()=0

Then a particular solution to the nonhomogeneous differential equation is,


EXAMPLES

Example 1 Find a general solution to the following differential equation.2+18=6tan(3)Solution 

SOLUTION 

First, since the formula for variation of parameters requires a coefficient of a one in front of the second derivative let’s take care of that before we forget. The differential equation that we’ll actually be solving is

+9=3tan(3)

We’ll leave it to you to verify that the complementary solution for this differential equation is

()=1cos(3)+2sin(3)

So, we have

1()=cos(3)2()=sin(3)

The Wronskian of these two functions is

=|cos(3)sin(3)3sin(3)3cos(3)|=3cos2(3)+3sin2(3)=3

The particular solution is then,

()=cos(3)3sin(3)tan(3)3+sin(3)3cos(3)tan(3)3=cos(3)sin2(3)cos(3)+sin(3)sin(3)=cos(3)1cos2(3)cos(3)+sin(3)sin(3)=cos(3)sec(3)cos(3)+sin(3)sin(3)=cos(3)3(ln|sec(3)+tan(3)|sin(3))+sin(3)3(cos(3))=cos(3)3ln|sec(3)+tan(3)|

The general solution is,

Example 2 Find a general solution to the following differential equation.2+=2+1 Solution 

SOLUTION

We first need the complementary solution for this differential equation. We’ll leave it to you to verify that the complementary solution is,

()=1+2

So, we have

1()=2()=

The Wronskian of these two functions is

=|+|=(+)()=2

The particular solution is then,

()=2(2+1)+2(2+1)=2+1+12+1=12ln(1+2)+tan1()

The general solution is

y(t)=c1et+c2tet12etln(1+t2)+tettan1(t
)


Example 3 Find the general solution to(+1)+=2

given that

1()=2()=+1

form a fundamental set of solutions for the homogeneous differential equation.

Hide Solution 

As with the first example, we first need to divide out by a .

(1+1)+1=

The Wronskian for the fundamental set of solutions is

=|+11|=(+1)=

The particular solution is.

()=(+1)+(+1)()=(+1)(+1)=((+2))(+1)=222

The general solution for this differential equation is.

No comments:

Post a Comment

PREVIOUS POSTS