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.

31<br />

S<strong>in</strong>ce p(t) = 1 (the coefficient of y), an <strong>in</strong>tegrat<strong>in</strong>g factor is<br />

(∫<br />

µ = exp<br />

)<br />

1 · dt = e t (4.49)<br />

Multiply<strong>in</strong>g the differential equation through by the <strong>in</strong>tegrat<strong>in</strong>g factor gives<br />

d (<br />

e t y ) = e t (y ′ + y) = e t cos t (4.50)<br />

dt<br />

Multiply<strong>in</strong>g by dt and <strong>in</strong>tegrat<strong>in</strong>g,<br />

∫ d (<br />

e t y ) ∫<br />

dt =<br />

dt<br />

e t cos tdt (4.51)<br />

The left hand side is an exact derivative; the right hand side we can f<strong>in</strong>d<br />

from an <strong>in</strong>tegral table or WolframAlpha:<br />

∫<br />

ye t = e t cos tdt = 1 2 et (s<strong>in</strong> t + cos t) + C (4.52)<br />

The <strong>in</strong>itial condition tells us that y = 1 when t = 0,<br />

(1)e 0 = 1 2 e0 (s<strong>in</strong>(0) + cos(0)) + C (4.53)<br />

1 = 1 2 + C (4.54)<br />

C = 1 2<br />

(4.55)<br />

Substitut<strong>in</strong>g C = 1/2 <strong>in</strong>to equation 4.52 gives<br />

ye t = 1 2 et (s<strong>in</strong> t + cos t) + 1 2<br />

(4.56)<br />

We can then solve for y by divid<strong>in</strong>g by e t ,<br />

y = 1 2 (s<strong>in</strong> t + cos t) + 1 2 e−t (4.57)<br />

which is the unique solution to the <strong>in</strong>itial value problem.<br />

Example 4.4. Solve the <strong>in</strong>itial value problem<br />

}<br />

y ′ − 2y = e 7t<br />

y(0) = 1<br />

(4.58)

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

Saved successfully!

Ooh no, something went wrong!