Linear homogeneous differential equations, Programming Languages

Assignment Help:

As with 2nd order differential equations we can't determine a non-homogeneous differential equation unless we can initially solve the homogeneous differential equation. We'll also require to restrict ourselves down to constant coefficient differential equations since solving non-constant coefficient differential equations is quite hard and thus we won't be discussing them now. Similarly, we'll only be searching for linear differential equations.

Therefore, let's start off with the subsequent differential equation,

an y(n) +an y(n-1)+     .....................      +a1 y' +  a0 y = 0

 Here, suppose that solutions to this differential equation will be in the form y(t) = ert and plug that in the differential equation and along with a little simplification we find,

ert = (an rn +an r(n-1)+     .....................      +a1 r +  a0) = 0

And therefore in order for this to be zero we will require that,

an rn +an r(n-1)+     .....................      +a1 r +  a0 = 0

This is termed as the characteristic polynomial/equation and its roots/solutions will provides us the answers to the differential equation. We know that, containing repeated roots, an nth degree polynomial that we have now will have n roots. Therefore, we require going through all the possibilities which we've found for roots here.

It is where we start to notice differences in how we deal along with nth order differential equations versus 2nd order differential equations. There are even the three major cases as: real distinct roots, complex roots and repeated roots (though these can here also be repeated as we'll notice). In 2nd order differential equations all differential equations could only include one of these cases. However, now, this will not essentially be the case. We could very simply have differential equations which include each of these cases.

For illustration assume that we have an 9th order differential equation. The whole list of roots could contain 3 roots that only occur once in the list that is real distinct roots, a root with multiplicity 4 that is happens 4 times in the list and a set of complex conjugate roots (recall this since the coefficients are all real complex roots will always happen in conjugate pairs).

Therefore, for each nth order differential equation we'll require to form a set of n linearly independent functions (that is a fundamental set of solutions) in order to find a general solution. In the work which follows we'll discuss the solutions that we find from all cases but we will leave this to you to verify that while we put everything together to form a general solution which we do indeed find a fundamental set of solutions.  Recall this that we need to verify this Wronskian is not zero.

Therefore, let's get started with the work now. Let's start off through assuming that in the list of roots of the characteristic equation we contain, r1, r2,  ....   rk and they only happen once in the list. The solution from all of these will be after that,

Here is nothing really new now for real distinct roots.

Here we take a look at repeated roots. The result this time is a natural extension of the work we noticed in the 2nd order case. Let's assume that r is a root of multiplicity k (that is r happens k times in the list of roots). We will after that gets the following k solutions to the differential equation as,

ert, t ert,    ........., tk-1 ert

Therefore, for repeated roots we only add in a t for all of the solutions past the first one till we have a sum of k solutions. Again, we will leave this to you to calculate the Wronskian to verify that such are actually a set of linearly independent solutions.

At last we require dealing with complex roots. The biggest matter now is that we can here have repeated complex roots for 4th order or higher differential equations. We'll start off through assuming that r = l + mi arises only once in the list of roots. For this case we'll find the standard two solutions as,

elt cos(mt)        elt sin(mt)

Here let's assume that r = l + mi has a multiplicity of k (that is they arise k times in the list of roots). In that case we can utilize the work from the repeated roots above to find the following set of 2k complex-valued solutions,

e(l + mi)t,  t e(l + mi)t,    ........., tk-1 e(l + mi)t

e(l - mi)t,  t e(l - mi)t,    ........., tk-1 e(l - mi)t

The problem now obviously is that we really need real-valued solutions. Therefore, recall this in the case where they occurred one time all we had to do was use Euler's formulas on the first one and after that take the real and imaginary part to find two real valued solutions.  We'll do similar thing here and use Euler's formula on the first set of complex-valued solutions given above, split all one in its real and imaginary parts to get there at the following set of 2k real-valued solutions.

elt cos(mt),       elt sin(mt),        t elt cos(mt),     t elt sin(mt),     ............,

                        tk-1 elt cos(mt),             tk-1 elt sin(mt),

Once again we'll leave this to you to verify that these do actually form a fundamental set of solutions.

Before we work a couple of quick illustrations now we must point out that the characteristic polynomial is this time going to be at least a 3rd degree polynomial and determining the roots of these by hand is frequently a very hard and time consuming process and in several cases if the roots are not rational (that is in the form p) this can be almost not possible to get them all by hand. In practice though, we usually use several form of computation aid as Maple or Mathematica to get all the roots.


Related Discussions:- Linear homogeneous differential equations

Fortran function for find and print out all prime number, Write a Fortran L...

Write a Fortran LOGICAL FUNCTION, called "is_prime", which determines if a given integer value is a prime number or not (A prime number is a natural number which has only two disti

To print total no.of ordinary files, Normal 0 false false f...

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

Explain the comma operator- computer programming, Explain the Comma Operato...

Explain the Comma Operator- Computer Programming? The comma has two utilization and the most common use is as a parameter separator for data types and function parameter lists. H

Computer games development, Lazytown Constabulary are concerned that young ...

Lazytown Constabulary are concerned that young people in the town are unaware of the sorts of crime that they might encounter in their daily lives and are concerned that they may b

Design and implement schemasusing xml schema, You are to build a Schema in ...

You are to build a Schema in XML Schema Language that will be used to support the development of the new central course information management system and other supporting applicati

Create an xslt stylesheet-attributes to elements , Attributes to Elements ...

Attributes to Elements Create an XSLT stylesheet that converts all attributes found in a given XML document to elements.Use the sample instance from question 2 to test the tra

Write a prolog predicate for a list, Write a Prolog predicate remove_nth(N,...

Write a Prolog predicate remove_nth(N,L1,L2) that is true if list L2 is just list L1 with its Nth element removed. If L1 does not have an Nth element then the predicate should fail

Write a complete program using floating-point operations, Question 1: a...

Question 1: a) Assume that B is an array of 50 words; write a code which will place the smallest integer of array B in register AX. b) Write a small code (only three instr

Exception Handling in c++, Exception handling Exception handling is a mech...

Exception handling Exception handling is a mechanism that separates code that detects and handles exceptional circumstances from the rest of your program. Note that an exceptional

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