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.

76 LESSON 9. EXACT EQUATIONS<br />

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

}<br />

(y/t + cos t)dt + (e y + ln t)dy = 0<br />

y(π) = 0<br />

(9.116)<br />

The ODE has the form Mdt + Ndy = 0 with<br />

Check<strong>in</strong>g the partial derivatives,<br />

M(t, y) = y/t + cos t (9.117)<br />

N(t, y) = e y + ln t (9.118)<br />

M y = 1 t = N t (9.119)<br />

hence the differential equation is exact. Thus the solution is φ(t, y) = C<br />

where<br />

Integrat<strong>in</strong>g the first of these equations<br />

φ(t, y) =<br />

∂φ<br />

∂t = M(t, y) = y + cos t<br />

t<br />

(9.120)<br />

∂φ<br />

∂y = N(t, y) = ey + ln t (9.121)<br />

∫ (y<br />

t + cos t )<br />

dt + h(y) = y ln t + s<strong>in</strong> t + h(y) (9.122)<br />

Differentiat<strong>in</strong>g with respect to y and sett<strong>in</strong>g the result equal to (9.121),<br />

From (9.122),<br />

∂φ<br />

∂y = ∂ ∂y (y ln t + s<strong>in</strong> t + h(y)) = N(t, y) = ey + ln t (9.123)<br />

ln t + h ′ (y) = e y + ln t (9.124)<br />

h ′ (y) = e y =⇒ h(y) = e y (9.125)<br />

φ(t, y) =) = y ln t + s<strong>in</strong> t + e y (9.126)<br />

The general solution of the differential equation is φ(t, y) = C, i.e.,<br />

The <strong>in</strong>itial condition is y(π) = 0; hence<br />

Thus<br />

y ln t + s<strong>in</strong> t + e y = C (9.127)<br />

(0) ln π + s<strong>in</strong> π + e 0 = C =⇒ C = 1 (9.128)<br />

y ln t + s<strong>in</strong> t + e y = 1. (9.129)

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

Saved successfully!

Ooh no, something went wrong!