13.07.2015 Views

Mathematical Methods for Physics and Engineering - Matematica.NET

Mathematical Methods for Physics and Engineering - Matematica.NET

Mathematical Methods for Physics and Engineering - Matematica.NET

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

HIGHER-ORDER ORDINARY DIFFERENTIAL EQUATIONS◮Solved 2 ydx 2 +4y = x2 sin 2x. (15.16)First we set the RHS to zero <strong>and</strong> assume the trial solution y = Ae λx . Substituting this into(15.16) leads to the auxiliary equationλ 2 +4=0 ⇒ λ = ±2i. (15.17)There<strong>for</strong>e the complementary function is given byy c (x) =c 1 e 2ix + c 2 e −2ix = d 1 cos 2x + d 2 sin 2x. (15.18)We must now turn our attention to the particular integral y p (x). Consulting the list ofst<strong>and</strong>ard trial functions in the previous subsection, we find that a first guess at a suitabletrial function <strong>for</strong> this case should be(ax 2 + bx + c)sin2x +(dx 2 + ex + f)cos2x. (15.19)However, we see that this trial function contains terms in sin 2x <strong>and</strong> cos 2x, both of whichalready appear in the complementary function (15.18). We must there<strong>for</strong>e multiply (15.19)by the smallest integer power of x which ensures that none of the resulting terms appearsin y c (x). Since multiplying by x will suffice, we finally assume the trial function(ax 3 + bx 2 + cx)sin2x +(dx 3 + ex 2 + fx)cos2x. (15.20)Substituting this into (15.16) to fix the constants appearing in (15.20), we find the particularintegral to bey p (x) =− x3 x2cos 2x +12 16 sin 2x + x cos 2x. (15.21)32The general solution to (15.16) then readsy(x) =y c (x)+y p (x)= d 1 cos 2x + d 2 sin 2x − x3 x2cos 2x +12 16 sin 2x + x cos 2x. ◭3215.1.4 Linear recurrence relationsBe<strong>for</strong>e continuing our discussion of higher-order ODEs, we take this opportunityto introduce the discrete analogues of differential equations, which are calledrecurrence relations (or sometimes difference equations). Whereas a differentialequation gives a prescription, in terms of current values, <strong>for</strong> the new value of adependent variable at a point only infinitesimally far away, a recurrence relationdescribes how the next in a sequence of values u n , defined only at (non-negative)integer values of the ‘independent variable’ n, istobecalculated.In its most general <strong>for</strong>m a recurrence relation expresses the way in which u n+1is to be calculated from all the preceding values u 0 ,u 1 ,... ,u n . Just as the mostgeneral differential equations are intractable, so are the most general recurrencerelations, <strong>and</strong> we will limit ourselves to analogues of the types of differentialequations studied earlier in this chapter, namely those that are linear, have496

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!