21.04.2015 Views

Lecture Notes in Differential Equations - Bruce E. Shapiro

Lecture Notes in Differential Equations - Bruce E. Shapiro

Lecture Notes in Differential Equations - Bruce E. Shapiro

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

36 LESSON 4. LINEAR EQUATIONS<br />

Figure 4.2: The error function, given by equation (4.91).<br />

1<br />

1<br />

Note that because of the way we did the <strong>in</strong>tegral we have already taken the<br />

<strong>in</strong>itial condition <strong>in</strong>to account and hence there is no constant C <strong>in</strong> the result<br />

of our <strong>in</strong>tegration.<br />

Now we still do not have a closed formula for the <strong>in</strong>tegral on the right but it<br />

is a well-def<strong>in</strong>ed function, which is called the error function and written<br />

as<br />

erf(t) = √ 2 ∫ t<br />

e −x2 dx (4.91)<br />

π<br />

The error function is a monotonically <strong>in</strong>creas<strong>in</strong>g S-shaped function that<br />

passes through the orig<strong>in</strong> and approaches the l<strong>in</strong>es y = ±1 as t → ±∞, as<br />

illustrated <strong>in</strong> figure 4.2. Us<strong>in</strong>g equation 4.91 <strong>in</strong> equation 4.90 gives<br />

and solv<strong>in</strong>g for y,<br />

0<br />

ye −t2 = erf(t) (4.92)<br />

y = e t2 erf(t) (4.93)<br />

The student should not be troubled by the presence of the error function<br />

<strong>in</strong> the solution s<strong>in</strong>ce it is a well-known, well-behaved function, just like an<br />

exponential or trigonometric function; the only difference is that erf(x) does<br />

not (usually) have a button on your calculator. Most numerical software<br />

packages have it built <strong>in</strong> - for example, <strong>in</strong> Mathematica it is represented by<br />

the function Erf[x].<br />

This last example gives us another algorithm for solv<strong>in</strong>g a l<strong>in</strong>ear equation:<br />

substitute the <strong>in</strong>itial conditions <strong>in</strong>to the <strong>in</strong>tegral <strong>in</strong> step (4) of the algorithm<br />

given on page 28. To see the consequence of this, we return to equation<br />

4.16, but <strong>in</strong>stead take the def<strong>in</strong>ite <strong>in</strong>tegrals. To have the <strong>in</strong>tegration make<br />

sense we need to first change the variable of <strong>in</strong>tegration to someth<strong>in</strong>g other<br />

than t:

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

Saved successfully!

Ooh no, something went wrong!