] >

Solutions to Homework 2

Math. 280, Spring 2008

Problem 1.
A cup of coffee in a room at temperature of 70F is being cooled according to Newton’s law of cooling:

dT dt = k(T 70),T(0) = 200. (time is measured in minutes) (1)

The solution to (1) is

T(t) = 70 + (200 70)exp(kt). (2)

The coefficient k can be computed from (2) using the fact that T(3) = 175. Thus,

175 = 70 + 130exp(3k)exp(k) = 175 70 130 13 = 21 2613 (3)

The temperature of the coffee will reach 112F at t = t1 that satisfies the equation

112 = T(t1) = 70 + 130exp(kt1) = 70 + 130 exp(k)t1 , with exp(k) given in (3)

Thus,

112 70 130 = 21 2613 t1 , ort1 = 3log 21 65 log 21 26 15.87 minutes.

Problem 2.
Let N(t) denote the amount of C-14 at time t, with time t = 0 corresponding to the moment when the original amount N0 of C-14 was present. Time evolution of N(t) is governed by the equation

dN dt = λN,N(0) = N0. (4)

The amount of C-14 decays in time, thus λ > 0. From (4) , N(t) = N0 exp(λt) and, since the half-life of C-14 is approximately 5568 years, N02 = N0 exp(5568λ). This gives us λ = ln 25568 0.00012448. Therefore, the expression for N(t) for all time is given by

N(t) = N0 exp ln2 5568t = N02 t 5568 . (5)

At present time t, 14.5% is left, or equivalently from (5) ,

0.145N0 = N02 t 5568 ln0.145 = t 5568ln2t = 5568ln0.145 ln2 15511.753 years.

Problem 3.
For the equation

(1 + x2)dy + (xy + x3 + x)dx = 0 ordy dx + x 1 + x2 y = x, (6)

an integrating factor is exp x 1 + x2dx = 1 + x2 so that

d dx y1 + x2 = x1 + x2y = 1 3(1 + x2) + c 1 + x2 1 2 . (7)

PIC

Figure 1: Graphs of y = 1 3(1 + x2) + c 1 + x2 1 2 for various choices of c.

Problem 4.
(a) For the equation

3y2 t2 y5 dy dt + t 2y4 = 0,y(1) = 1, (8)

let M = t(2y4 ) and N = (3y2 t2 )y5 so that My = 2ty5 = Nt . From ϕt (t, y) = M = t(2y4 ) we obtain ϕ(t, y) = t2 (4y4 ) + h(y). Thus, using ϕy = N = (3y2 t2)y5, we have h (y) = 3y3 , and h(y) = 3(2y2 ). The general solution is t2 (4y4 ) 3(2y2) = c. If y(1) = 1 then c = 54 and the solution to initial-value problem (8) is

t2 4y4 3 2y2 = 5 4. (9)

PIC

Figure 2: Graph of the integral curve (9)
PIC
Figure 3: Other integral curves of t2 (4y4 ) 3(2y2 ) = c

The solutions of the initial value problem (8) and some other integral (dashed) curves of the differential equation

3y2 t2 y5 dy dt + t 2y4 = 0  are shown in Figure 3.

Remark 1.Please observe that the graph in Figure 2 does not represent a function !!! Which branch of the graph represents the solution satisfying the initial condition y(1) = 1.

Remark 2.Note that if one multiplies both sides of equation (8) by y5 , the resulting equation

(3y2 t2)dy dt + 1 2ty = 0 (10)

is not exact !!! In other words 1y5 is an integrating factor for (10). (See also Problem 5, below)

(b) The initial-value problem

dy dt = y 2y2 t,y(1) = 5, or dt dy t y = 2y,y(1) = 5, (11)

is linear in t (as a function of y). Its integrating factor is 1y, thus

d dy t y = 2t = 2y2 + cy.

If y(1) = 5 then c = 495 and t = 2y2 (495)y.


PIC

Figure 4: Graph of the integral curve t = 2y2 (495)y
PIC
Figure 5: Other integral curves of t = 2y2 + cy

The solutions of the initial value problem (11) and some other integral (dashed) curves of the differential equation

dy dt = y 2y2 t, are shown in Figure 5.

Remark 3.Please observe that the graph in Figure 4 does not represent a function !!! Which branch of the graph represents the solution satisfying the initial condition y(1) = 5.

Problem 5.
Multiply the equation

(t2 + ty)dy dt y2 = 0 by   μ(t,y) = 1 t2y.   The result is (12)
1 y + 1 t dy dt y t2 = 0. (13)

With M = yt2 and N = 1y + 1t we have My = 1t2 = Nt ; therefore equation (13)is exact. From ϕt = yt2 we obtain ϕ(t, y) = yt + h(y) But ϕy = N; thus h (y) = 1y, and h(y) = log |y|. The solution of (12) is

ϕ(t,y) = y t + log|y| = c, where c  is a constant.

Problem 6.
Under the change of the independent variable, t y, the original equation are transformed into

mdv dt = mg kv2,k > 0 for the “up” motion mdv dt = mg kv2,k > 0 for the “down” motion mvdv dy = mg kv2,k > 0 for the “up” motion mvdv dy = mg kv2,k > 0 for the “down” motion (14)

Separating variables and integrating the differential equation corresponding to the “up” motion we have

mv mg + kv2 = dy m 2kln(mg + kv2) = y + c 1mg + kv2 = c 2 exp 2ky m v2 = c 3 exp 2ky m mg k (15)

Using y(0) = 0 and v(0) = v0 we have that v = v0 when y = 0 (the initial condition) so that v0 2 = c3 mgk and c3 = v0 2 + mgk. Thus,

v2 = kv02 + mg k exp 2ky m mg k (16)

Setting v = 0 in the left hand side of (16) and solving for y we see that the maximum height is

h = m 2kln kv02 + mg mg . (17)

Now, separating variables and integrating the differential equation corresponding to the “down” motion (see (14)) we have

mv mg kv2 =dy m 2kln|mg kv2| = y + d 1mg kv2 = d 2 exp 2ky m v2 = mg k 1 d3 exp 2ky m (18)

In this case v = 0 when y = 0 (the initial condition) so d3 = 1 and

v2 = mg k 1 exp 2ky m . (19)

Setting y = h from (17) into (19)and solving for v we obtain that the impact velocity is

vi = v0 1 + kv0 2 mg < v0. (20)

Remark 4.

By taking y in the right hand side of (19)one obtains the limiting velocity, vfinal, for the problem m dvdt = mg kv2

vfinal2 = lim ymg k 1 exp 2ky m = mg k vfinal = mg k > mg k v0 2 v02 + mg k = vi. (see, (20))

See also (29) , where the same result can be obtained by taking t in (29) and using lim xtanh(x) = 1.

(b) It is interesting to compare the results of Problem 6 with the same problem but without air resistance. When k = 0 the change variables from t to y is not necessary, however, for comparison with the case k0, I proceed in an exactly the same way as before. The corresponding equations are

mdv dt = mg, for the “up” motion mdv dt = mg, for the “down” motion mvdv dy = mg, for the “up” motion mvdv dy = mg, for the “down” motion (21)
v2 2 = gy + c1,v|y=0 = v0 for the “up” motion v2 2 = gy + c2v|y=0 = 0 for the “down” motion v2 2 = gy + v02 2 , for the “up” motion v2 2 = gy for the “down” motion (22)

Thus, the maximum height is v022g. Observe that the maximum height given in (17) is less than the maximum height in the case without air resistance. Indeed,

m 2kln kv02 + mg mg = m 2kln 1 + kv02 mg < m 2k kv02 mg since for x > 0 ln(1 + x) < x = v02 2g

Also the impact velocity in the case without air resistance is equal to the initial velocity v0 . indeed, substituting v0 2 2g into v2 g = gy (expression for v for the “down” part of the motion, see, (22)) we obtain

vi = v0 (No dissipation of the energy)

Additional remarks to Problem 6

Finally, I show how one can integrate the equations

mdv dt = mg kv2,v(0) = v 0,k > 0 for the “up” motion  (23) mdv dt = mg kv2,v(0) = 0,k > 0 for the “down” motion  (24)

without changing the variable t to y. The integrations are slightly more involved. For the “up” motion we have, after separation of variables

m k dv mg k + v2 = dt 1 mg k arctan vmg k = k mt + cv(t) = mg k tan c1 kg m t (25)

Applying the initial conditions v(0) = v0 we have

v0 = mg k tanc1c1 = arctan v0mg k v(t) = mg k tan arctan v0mg k kg m t. (26)

From (26) the time tup needed for the projectile to attain its maximum height (v(tup) = 0) is

tup = m kgarctan v0mg k (27)

For the “down” motion

m k dv mg k v2 = dt 1 mg k tanh1 vmg k = k mt + d1v(t) = mg k tanh d1 + kg m t (28)

Applying the initial condition v(0) = 0 one obtains d1 = 0 and

v(t) = mg k tanh kg m t (29)

The time tdown needed for the projectile to fall from the height (17) can also be computed; from (20)

v0 1 + kv0 2 mg = mg k tanh kg m t v0k mg + kv0 2 = tanh kg m t tdown = mk g tanh1 v0k mg + kv0 2 (30)

One can also show that

tup < tdown. (31)

Furthermore, when air resistance is neglected

tup = tdown = v0 g . (No dissipation of the energy)

Problem 7.
(a) The equation for velocity at any time and position y is

v2 = v 02 2gR + 2gR2 R + y, (32)

where R is the radius of the earth, g is the acceleration due to gravity, and v0 is the initial velocity of the projectile (in our case, v0 < 2gR). Now the maximum distance, y = Y max, is reached by the projectile when v = 0. In other words, we have the following equation for Y max:

0 = V 02 2gR + 2gR2 R + Y max. (33)

Its solution is

Y max = Rv02 2gR v02.

(b) The solution to the equation y = g with the initial conditions y(0) = 0 and y (0) = v(0) = v0 > 0 is y(t) = 1 2gt2 + v0t (with v(t) = gt + v0 ). As in part (a), the maximum distance, ymax, is reached when v = 0; this corresponds to t = v0 g. Thus, the maximum distance ymax is

ymax = y v0 g = 1 2g v0 g 2 + v 0 v0 g = v02 2g .

Finally, since v0 < 2gR, we have

Y max = Rv02 2gR v02 = v02 2g v02R > v02 2g = ymax.

(c) In this case (32) becomes

v = dy dt = 2gR2 R + y,y(0) = 0,  Note the plus sign in front of    2gR2 R + y (34)

which is a separable equation. The solution of (34) is

2 3 R + y32 = Rt2g + c.

With y(0) = 0 we have c = 23 R32 . Thus

y(t) = 32g 2 Rt + R32 23 R. (35)

(d) Solving (35) for t we obtain

t = 2 32gR [y(t) + R]32 R32 . (36)

With R = 3963 miles, y(TM ) = 238, 855 miles, and g = 325280 = 0.0061 mile/s2 , we get from (36)
TM = 181853 seconds = 50.52 hours.