Variation of parameter, Programming Languages

Assignment Help:

VARIATION OF PARAMETERS - HIGHER ORDER DIFFERENTIAL EQUATIONS

We now require taking a look at the second method of finding a particular solution to a differential equation. Since we did while we first saw Variation of Parameters we'll go through the complete process and derive up a set of formulas which can be used to generate an exact solution.

Though as we saw earlier when looking at 2nd order differential equations this method can lead to integrals which are not easy to calculate. Therefore, while this method can always be used, not like Undetermined Coefficients, to at least write down a formula for an exact solution this is not always going to be possible to actually find a solution.

Therefore let's get started on the process. We'll begin this with the differential equation,

y(n) + pn-1(t) y(n-1) + ......+ p1(t) y' + p0(t) y = g(t)            (1)

And suppose that we've got a fundamental set of solutions, y1(t), y2(t),  ..., yn(t), as for the associated homogeneous differential equation.

Since we have a fundamental set of solutions to the homogeneous differential equation we this time know that the complementary solution is,

y (t ) = c1 y1 (t ) + c2 y2 (t ) + L + cn yn (t )

The method of variation of parameters includes trying to get a set of new functions, u1(t), u2(t),  ..., un(t), hence,

Y(t) = u1(t)  y1(t) + u2(t)  y2(t) +    .............     + un(t)  yn(t)     (2)

It will be a solution to the non-homogeneous differential equation. So as to determine if it is possible, and to get the ui(t) if this is possible, we'll require a total of n equations including the unknown functions which we can hopefully solve.

All of the equations are easy. The guess, (2), will require satisfying the original differential equation, (1). Therefore, let's start taking several derivatives and since we did when we first looked at variation of parameters we'll create some assumptions along the way which will simplify our work and into the process create the remaining equations we'll require.

So, the first derivative of (2) is,

Y(t) = u1 y'1 + u2 y'2+    .............     + un y'n + u'1 y1 + u'2 y2 + .....+ u'n yn  

Remember that we rearranged the results of the differentiation process some now and we dropped the (t) part on the u and y to create it a little easier to read. Here, if we remain differentiating it this will quickly turn into unwieldy and therefore let's make as assumption to simplify things now. Since we are after the ui(t) we must probably try to ignore letting the derivatives on these turn into too large.  Therefore, let's make the assumption as,

 u'1 y1 + u'2 y2 + .....+ u'n yn = 0

The natural question at that point is does this still make sense to do? The response is, if we end up along with a system of n equations which we can solve for the ui(t) so yes this does make sense to do.

 

Obviously, the other answer is, we wouldn't be creating this assumption if we didn't know that this was going to work. Though, to accept this answer needs that you trust us to make the exact assumptions therefore maybe the first answer is the best at such point.

The first derivative of (2) at this point is,

Y'(t) = u1 y'1 + u2 y'2+    .............     + un y'n  

And therefore we can now take the second derivative to find,

Y''(t) = u1 y''1 + u2 y''2+    .............     + un y''n + u'1 y'1 + u'2 y'2 + .....+ u'n y'n  

It looks an awful lot like the original first derivative earlier to us simplifying this thus let's again make a simplification. We'll again need to maintain the derivatives on the ui(t) to a minimum therefore this time let's suppose that,

u'1 y'1 + u'2 y'2 + .....+ u'n y'n = 0

And with this assumption the second derivative turns into,

Y''(t) = u1 y''1 + u2 y''2+    .............     + un y''n

Expectantly you're starting to notice a pattern develop now. If we carry on this process for the first n -1 derivatives we will get there at the following formula for such derivatives.

Y(k)(t) = u1(t)  y1(k) + u2 y2(k) +    .............     + un yn(k)

k = 1,2,....,n-1                                      (3)

To find to each of these formulas we also had to suppose that,

u'1(t)  y1(k) + u'2 y2(k) +    .............     + u'n yn(k) = 0,                    k = 0,1,.....n-2              (4)

And recall that the 0th derivative of a function is simply the function itself. Therefore, for illustration,

y(0)2 =  y2(t).

Remember as well that the set of assumptions in (4) really provides us n -1 equations in terms of the derivatives of the unknown functions as: u1(t), u2(t),  ..., un(t),.

All we require to do then is finish generating the first equation we started that process to find (that is plugging (2) in (1)). To perform this we'll require one more derivative of the guess. Differentiating the (n -1)st derivative, that we can get from (3), to find the nth derivative provides,

Y(n)(t) = u1(t)  y1(n) + u2 y2(n) +    .............     + un yn(n) + u'1 y1(n-1)+ u'2 y2(n-1) +    ...  +u'n yn(n-1)

 

Now we will also not be making any assumptions to simplify that but in its place just plug that along with the derivatives specified in (3) in the differential equation, (1)

770_Variation of Parameter.png

Subsequently, rearrange this a little to fins,

175_Variation of Parameter1.png

Recall that y1(t), y2(t),.., yn(t) are all solutions to the homogeneous differential equation and therefore all the quantities in the [ ] are zero and that reduces down to,

u'1 y1(n-1)+ u'2 y2(n-1) +    ...  +u'n yn(n-1) = g(t)

Therefore this equation, with those specified in (4), gives us the n equations which we required.  Let's list them all out now for the sake of completeness.

u'1 y1+ u'2 y2 +    ...  +u'n yn = 0

u'1 y'1+ u'2 y'2 +    ...  +u'n y'n = 0

u'1 y''1+ u'2 y''2 +    ...  +u'n y''n = 0

.

.

.

u'1 y1(n-2)+ u'2 y2(n-2) +    ...  +u'n yn(n-2) = 0

u'1 y1(n-1)+ u'2 y2(n-1) +    ...  +u'n yn(n-1) = g(t)

Therefore, we have got n equations, but see that just like we found when we did this for 2nd order differential equations the unknowns in the system are not u1(t), u2(t),..., un(t) but instead they are the derivatives, u1′(t), u2′ (t),..., un′ (t). It isn't a major problem though.  Given we can solve this system we can after that just integrate the solutions to find the functions that we are after.

Also, recall that the y1(t), y2(t),..., yn(t) are assumed to be identified functions and therefore they along with their derivatives (that appear into the system) are all identified quantities in the system.

This time, we require thinking about how to solve such system. If there aren't various equations we can just solve this directly if we need to. Though, for large n (and this won't take much to find large here) that could be fairly tedious and prone to error and this won't work at all for general n like we have here.

The most excellent solution method to use at this point is here Cramer's Rule. We have used Cramer's Rule some time in this course; although the best reference for our purposes now is when we used this while we first defined Fundamental Sets of Solutions back into the 2nd order material.

By using Cramer's Rule to solve the system the resulting solution for all ui′ will be a quotient of two determinants of nxn matrices. The denominator of all solutions will be the determinant of the matrix of the known coefficients,

1952_Variation of Parameter2.png

This though, is just the Wronskian of y1(t), y2(t),..., yn(t) as noted above and since we have assumed that such form a fundamental set of solutions we also identify that the Wronskian will not be zero. It in turn tells us that the system above is actually solvable and all of the assumptions we apparently made out of the blue above did actually work.

The numerators of the solution for ui′ will be the determinant of the matrix of coefficients along with the ith column swapped along with the column n(0, 0, 0,...., 0, g (t)). For illustration the numerator for the first one, u1′ is,

303_Variation of Parameter3.png

Here, by a nice property of determinants in case we factor something out of one of the columns of a matrix so the determinant of the resulting matrix will be the factor times the determinant of new matrix. Conversely, if we factor g (t) out of this matrix we get there at,

1767_Variation of Parameter4.png

We did that only for the first one, although we could just as easily done that with any of the n solutions.

Thus, let Wi represent the determinant we find by replacing the ith column of the Wronskian along with the column (0,0,0,...,0,1) and the solution to the system can so be written as,

u'1 = (g(t) W1(t))/(W(t)), u'2 = (g(t) W2(t))/(W(t)),........., u'n = (g(t) Wn(t))/(W(t))

Wow! It was a lot of effort to make and solve the system but we are almost here. With the solution to the system on hand we can now integrate all of these terms to find out just what the unknown functions, u1(t), u2(t),..., un(t) we've finally along are.

u'1 = ∫((g(t) W1(t))/(W(t))), u'2 = ∫((g(t) W2(t))/(W(t))),........., u'n = ∫((g(t) Wn(t))/(W(t)))

At last, a particular solution to (1) is then specified by,

Y(t)= y1(t)∫((g(t) W1(t))/(W(t))) + y2(t) u'2 = ∫((g(t) W2(t))/(W(t)))+.........+ yn(t)∫((g(t) Wn(t))/(W(t)))

We must also note that in the derivation process now we supposed that the coefficient of the y(n) term was particular and which has been factored in the formula above. If the coefficient of above term is not one so we will require making sure and dividing it out before trying to use this formula.

Before we work an illustration here we actually should note that whereas we can write this formula down in fact computing these integrals may be all but not possible to do.


Related Discussions:- Variation of parameter

What are the characteristics of a good algorithm, What is an algorithm? Wha...

What is an algorithm? What are the characteristics of a good algorithm? An algorithm is defined as “a step-by-step procedure of accomplishing some task'''' An algorithm may be sh

Program for hold details of all the cabins for travellers, Scenario A ca...

Scenario A campsite provides cabins for travellers to stay in overnight. A 'cabin' is a small wooden hut, containing bunk beds, table and chairs, a heater, and a small cookin

We need help for build a price quote generator, We need help for build a Pr...

We need help for build a Price Quote Generator I am interested in two things (A) a web based system that will allow a user to enter the parameters of their contests (there are o

Develop a context diagram and use case diagram, Develop (i) a context diagr...

Develop (i) a context diagram and (ii) a use case diagram to model the following functionalities of NetFlix. Netflix is an online video/DVD renting company. A customer desiring

Program for create a menu, The creation of the menu will involve writing pr...

The creation of the menu will involve writing procedural code, using decision logic, writing a loop, and using the case statement.  Although it is not required for grading, it is r

Example of undetermined coefficients, Example :  Solve the following differ...

Example :  Solve the following differential equation. y (3)   -  12 y''+48 y' + 64 y = 12 - 32 e -8t + 2 e 4t Solution :    We first require the complementary solution

Decision table, If it is a weekday and it is not a holiday, then you go to ...

If it is a weekday and it is not a holiday, then you go to work. However, if it is a weekday and it is a holiday, then what you do depends on the weather. If it is raining, you pla

To execute other program from already executing shell script, Normal 0 ...

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

Explain the break statement - computer programming, Explain the Break State...

Explain the Break Statement - Computer Programming? The break statement is used as an interrupt to the normal flow of control this statement causes as exit from the switch stat

Write a program to handle a book collection, Write a program to handle a bo...

Write a program to handle a book collection. The data on each book might be title, author, publication date, book number and  cataloging details. Allow for adding or deleting books

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd