24.05.2018 Views

differential equation

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

456 DIFFERENTIAL EQUATIONS<br />

<strong>equation</strong>. Given boundary conditions, the particular<br />

solution may be determined.<br />

(ii)<br />

Q =−1. (Note that Q can be considered to be<br />

−1x 0 , i.e. a function of x).<br />

∫ ∫ 1<br />

P dx = dx = ln x.<br />

x<br />

48.3 Worked problems on linear first<br />

order <strong>differential</strong> <strong>equation</strong>s<br />

Problem 1. Solve 1 dy<br />

+ 4y = 2 given the<br />

x dx<br />

boundary conditions x = 0 when y = 4.<br />

Using the above procedure:<br />

(i) Rearranging gives<br />

dy + 4xy = 2x, which is<br />

dx<br />

of the form dy + Py = Q where P = 4x and<br />

dx<br />

Q = 2x.<br />

(ii) ∫ Pdx = ∫ 4xdx = 2x 2 .<br />

(iii) Integrating factor e ∫ P dx = e 2x2 .<br />

(iv) Substituting into <strong>equation</strong> (3) gives:<br />

∫<br />

ye 2x2 = e 2x2 (2x)dx<br />

(v) Hence the general solution is:<br />

ye 2x2 = 1 2 e2x2 + c,<br />

by using the substitution u = 2x 2 When x = 0,<br />

y = 4, thus 4e 0 =<br />

2 1 e0 + c, from which, c =<br />

2 7 .<br />

Hence the particular solution is<br />

ye 2x2 = 1 2 e2x2 + 7 2<br />

or y = 1 2 + 7 2 e−2x2 or y = 1 2<br />

(1 + 7e −2x2)<br />

Problem 2. Show that the solution of the <strong>equation</strong><br />

dy<br />

dx + 1 =−y 3 − x2<br />

is given by y = ,given<br />

x 2x<br />

x = 1 when y = 1.<br />

Using the procedure of Section 48.2:<br />

(i) Rearranging gives: dy<br />

dx + ( 1<br />

x<br />

)<br />

y =−1, which<br />

is of the form dy<br />

dx + Py = Q, where P = 1 x and<br />

(iii) Integrating factor e ∫ P dx = e ln x = x (from the<br />

definition of logarithm).<br />

(iv) Substituting into <strong>equation</strong> (3) gives:<br />

∫<br />

yx = x(−1) dx<br />

(v) Hence the general solution is:<br />

yx = −x2<br />

2 + c<br />

When x = 1, y = 1, thus 1 = −1<br />

2<br />

which, c = 3 2<br />

Hence the particular solution is:<br />

i.e.<br />

yx = −x2<br />

2 + 3 2<br />

2yx = 3 − x 2 and y = 3 − x2<br />

2x<br />

+ c, from<br />

Problem 3. Determine the particular solution<br />

of dy − x + y = 0, given that x = 0 when y = 2.<br />

dx<br />

Using the procedure of Section 48.2:<br />

(i) Rearranging gives dy + y = x, which is of the<br />

dx<br />

form dy + P, = Q, where P = 1 and Q = x. (In<br />

dx<br />

this case P can be considered to be 1x 0 , i.e. a<br />

function of x).<br />

(ii) ∫ P dx = ∫ 1dx = x.<br />

(iii) Integrating factor e ∫ P dx = e x .<br />

(iv) Substituting in <strong>equation</strong> (3) gives:<br />

∫<br />

ye x = e x (x)dx (4)<br />

(v) ∫ e x (x)dx is determined using integration by<br />

parts (see Chapter 43).<br />

∫<br />

xe x dx = xe x − e x + c

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

Saved successfully!

Ooh no, something went wrong!