Section 13.4

1. Problem Let f(x, y) = sin (x4 + 3 y) where x = 5 t and y = t2 + 1 and denote f(x(t), y(t)) ≡ F(t). Evaluate df/dt using the chain rule:

dF

dt
= f

x
dx

dt
+f

y
dx

dt
.
Note : Actually, (1.1) is not the end of the "chain differentiation story," for in computing [(∂f)/(∂x)], we set x4 + 3 y = u, so that again applying chain differentiation,

f

x
= d

du
(sin u)u

x
= etc.,
and similarly for [(∂f)/(∂y)].
(Solution)
Straightforward, no tricks, i.e.,
dF

dt
= (cos (x4 + 3 y) 4 x3) 5 + (cos (x4 + 3 y) 3)(2 t).
2. Problem Let f(x, y)=exp x y, and denote f(x(t), y(t)) = F(t). Evaluate dF/dt in each, using the chain rule.
(a) x = t2 − 1, y = sin 3 t
(Solution) (a)
dF

dt
=
F

x
dx

dt
+F

y
dy

dt
=
(y exy)x

t
+(x exy)y

t
=
(y exy) (2t)+(x exy) (3 cos 3 t).
(1)
8. Problem Show that u = f(x + c t) + g(xc t) satisfies the partial differential equation c2 uxxutt = 0 (the wave equation), where c is a constant and f and g are arbitrary twice-differentiable equation.
(Solution) u = f(a) + g(b) where ax + c t and bxc t. ux = fa ax + gb bx = fa + gb, uxx = faa+gbb and ut = fa cgb c. Therefore, utt = faa c2 + gbb c2 = c2 (faa + gbb) = c2 uxx.


Section 13.5

Please note that when a function is to be expanded by te Taylor series about (a,b), the final expression must be in the form of ∑ijaij (xa)i (yb)j. Note also that you can bypass using the Taylor series formula for most of the cases by using (or combining) well-known series such as geometric series.
1. Problem Expand the given function about the indicated point a, through third-order terms. Note: (xa)n is the n th order.
(b) e−2 x, a=5.
(d) ln x, a = 2
(e) 1/(1 + x2), a = 1.
(f) 1/(1 + x2), a = −1.
(g) sin x, a = 2.
(i) x (x − 1)2, a = 1.
(j) x3 (x4 − 1) + 5, a = 0.
(Solution) (b)
e−2 x
=
e−2( (x − 5) + 5 ) = e−10 e−2 (x − 5)
=
e−10 (1 −2(x − 5) + 22 (x − 5)2

2!
23 (x − 5)3

3!
+ …).
(2)
(d)
ln x
=
ln ((x − 2) + 2) = ln (2 (1 + x − 2

2
)) = ln 2 + ln (1 + x − 2

2
)
=
ln2 + ( x − 2

2
) − 1

2
( x − 2

2
)2 + 1

3
( x − 2

2
)3 1

4
( x − 2

2
)4 + …
(e)
1

1+x2
=
1

1+(x−1+1)2
=
1

1 + (x−1)2+ 2(x−1)+1
=
(define t ≡ (x−1))
=
1

2


1

1+ ( t + t2

2
)


=
1

2

1 −
t + t2

2

+
t + t2

2

2

 

t + t2

2

3

 
+ …
=
1

2

1 −
(x−1)+ (x−1)2

2

+
(x−1)+ (x−1)2

2

2

 

(x−1)+ (x−1)2

2

3

 
+…
=
1

2
x − 1

2
+ (x − 1)2

4
(x − 1)4

8
+ …
(f) Note: In this problem and (e), using directly the Taylor series formula is faster.
1

1 + x2
= 1

2
+ 1 + x

2
+ (1 + x)2

4
(1 + x)4

8
+ …
(g)
sin x
=
sin ((x − 2) + a)
=
sin (x − 2) cos 2 + cos (x − 2) sin 2
=
cos 2
(x − 2) − (x − 2)3

3!
+ (x − 2)5

5!
− …
+ sin2
1 − (x − 2)2

2!
+ (x − 2)4

4!
− …
(i)
x (x−1)2 = ((x − 1) + 1)(x − 1)2 = (x − 1)3 + (x − 1)2
(j)
x3 (x4 − 1) + 5 = 5 − x3 + x7.
6. Problem In the sentence following (9), we speak of assuming the continuity of the derivative f(n)(x). That comment begs a question as to how a derivative can fail to be continuous. For instance, suppose f(x) is the "ramp function" x H(x), where H(x) is the Heaviside step function. Then f′(x) = H(x) has a jump discontinuity at x = 0. However, at that point the original function f(x) = H(x) has a "kink" and is not differentiable. Thus, it is hard to imagine how a derivative f′(x) can exist at a point x, yet fail to be continuous there. Nonetheless, the function

g(x) =



x2 sin  1

x
,
x ≠ 0
0,
x=0
shows that such behavior is possible because g′(x) exists at x = 0 but is not continuous there. The problem that we pose is for you to verify that g′(x) exists at x=0 but is not continuous there. Hint: Evaluate g′(0) and g′(x) for x ≠ 0, and show that limx→0 g′(x) doesn't equal g′(0).
Solution

g′(0)
=

lim
h→ 0 
g(h) − g(0)

h
=

lim
h→ 0 
h2 sin (1/h)

h
=

lim
h→ 0 
h sin  1

h
.
Note that 0 ≤ | hsin (1/h)| ≤ 1 so when h→ 0, | hsin (1/h)| → 0 and g′(0)=0. For x ≠ 0, g′(x)=2 x sin(1/x)−cos(1/x) and although x sin(1/x) goes to 0 as x→ 0, the cos(1/x) term is indefinite so g′(x) is not continuous at x=0.

Section 13.6

1. Problem Given f(x, y) = 0 and a point (x0, y0) such that f(x0, y0) = 0, see if the conditions of Theorem 13.6.1 are met. If so, develop the implicit function y(x) in a Taylor series about x0, through second-order terms, as we did in Example 4.
(b) x2 + 4y2 − 4 = 0; (0, 1)
Solution f(x, y) = x2 + 4 y2−4. [(∂f)/(∂y)] = 8 y. Thus, [(∂f)/(∂y)](x,y) = (0,1) = 8. Yes, there does exist a function y = y(x) in the neighborhood of (0, 1). By differentiating f(x, y) with respect to x, one obtains 2 x + 8 y y′ = 0 or y′ = −[(x)/(4y)]. Thus, y′(0) = 0. Differentiating the above with respect to x again gives 2 + 8 yy′+ 8 y y" = 0 which leads to y" = − [(1 + 4 (y′)2)/(4 y)]. Thus, y"(0) = −1/4. Finally, using the Taylor series formula,
y(x) = y(0) + y′(0) x + y"(0)/2! x2 + … = 1 − 1/8 x2 + ….

2 Problem In each case, find y′(x) and y"(x).
(a) x yy3 = 1 (d) x y ey = 1
Solution (a) Differentiating the both sides of x yy3 = 1 with respect to x yields y + x y′− 3 y2 y′ = 0 which is solved for y′ as y′ = −y/(x − 3 y2). Differentiating with respect to x again gives y′+ y′+ x y" − 6 y (y′)2 − 3 y2 y" = 0 which can be solved for y" as y" = (6 y (y′)2 − 2y′)/(x − 3 y2).
(d) Differentiating the both sides of x y ey=1 with respect to x yields y ey+ x yey + x y ey y′ = 0. Therefore,
y′(x) = − y

x (1 + y)
.
Differentiating the above with respect to x again gives
y"
=

y

x (1 + y)



 
=
yx (1 + y) − y (1 + y + x y′)

x2 (1 + y)2
=
yxyy2

x2 (1 + y)2
.
(3)

3. Problem Solve for yx|z (i.e., holding z fixed) and zx|y.
(a) x y + sin (x + z) − z2 = 5
Solution
For yx, it is important to interpret y(x, z) as the dependent variable and x and z as independent variables.
Differentiating the both sides with respect to x yields y +x yx + cos (x + z) = 0 which can be solved for yx as
yx = − (y + cos (x + z))/x.
Similarly, for zx, differentiating with respect to x yields y + cos (x + z)(1 + zx) − 2z zx = 0 which can be solved for zx as
zx = (y + cos (x+z)) /(2 z − cos (x + z)).


4. Problem Apply Theorem 13.6.2 to see if implicit functions u(x, y) and v(x, y) exist in some neighborhood of (x0, y0) given the values (x0, y0, u0, v0) satisfying the two relations.
(a) xu cos v = 0, yu sin v = 0 ;(0, 0, 0, 0)
(b) xu cos v = 0, yu sin v = 0; (0, 2, 2, π/2).
Solution (a) f1xu cos v and f2yu sin v.
Thus,
∂(f1, f2)

∂(u,v)
=


− cos v
u sin v
− sin v
u cos v



= u (cos2  v + sin2  v) = u.
Substituting (u, v) = (0, 0) yields 0 from which no conclusion can be drawn.
(b) This time, substituting (u, v) = (2, π/2) yields 2. Thus, implicit functions, u(x, y) and v(x, y), exist.
5. Problem Evaluate uy.
(a) xy + u2 + v2 = 1, x + y + u3 ev = 2
Solution
(a) By differentiating the both formulas with respect to y, one gets
−1 +2 u uy + 2v vy
=
0
1 + 3 u2 uy ev + u3 ev vy
=
0
which can be solved for uy as
uy = u3 + 2 ev v

2 u4 − 6 u2 v


6. Problem Evaluate the indicated Jacobian(s).
(a)
f(u, v) = 3 u v2, g(u, v) = u2v2 ; ∂(f, g)

∂(u, v)
.
Solution (a)
J(u,v) = ∂(f, g)

∂(u, v)
=


3 v2
6 u v
2 u
− 2 v



= − 6 v3 − 12 u2 v.
10. Problem (Chain rule) Recall from the calculus that if u = u(x(s)), then

du

dx
dx

ds
= du

ds
.
which result is an example of the chain rule; equation (44) is a special case of (10.1), where s is u.
If u and v are functions of x and y, and x and y, in turn, are functions of r and s, then (10.1) generalizes to

∂(u, v)

∂(x, y)
∂ (x, y)

∂(r, s)
= ∂(u, v)

∂(r, s)
.
Similarly,

∂(u, v, w)

∂(x, y, z)
∂ (x, y, z)

∂(r, s, t)
= ∂(u, v, w)

∂(r, s, t)
.
and so on. Prove (10.2). Hint: Proceed essentially as we did in (50)-(51).
Solution
(a) As suggested by the hint, if you expand the both sides and compare term by term using the chain differentiation rule, the identity can be proven (albeit tedious algebra). However, if you remember that ∂(x, y)/∂(u, v) is the scaling factor from the (u, v) coordinate system to the (x, y) coordinate system as discussed in class, the left hand side can be interpreted as the scaling factor from (u, v) to (x, y) multiplied by another scaling factor from (r, s) to (u, v), which should be equal to the scaling factor from (r, s) to (x, y) which is the right hand side.
If you want to pursue long algebra, here is a brief procedure: Note that x and y are functions of r and s through u and v, i.e.,
x
=
x( u(r, s), v(r, s))
(4)
y
=
y( u(r, s), v(r, s))
(5)
Thus,

x

r
= x

u
u

r
+ x

v
v

r
,
y

s
= y

u
u

s
+y

v
v

s
,

x

s
= x

u
u

s
+ x

v
v

s
,

y

r
= y

u
u

r
+ y

v
v

r
(chain differentiation). Therefore, the right hand side is (xu ur + xv vr)(yu us + yvvs) −(xu us + xv vs)(yu ur + yv vr) which is identical to the right hand side upon expansion.
11. Problem Verify (10.2), above, for these cases.
(a) x = ucos v, y = usin v, and u = r + s, v = r2+ s2.
Solution
(a) Easy.


Section 13.7



13. Problem (a) Find the point on the line x + 2y = 2 that is closest to the origin, by the method of elimination and also by Lagrange's method. Prove that your result is indeed a minimum.
Solution
(a) Employ the Lagrange multiplier method. Fx2 + y2 + λ(x + 2 y − 2). ∂F/∂x = 2 x + λ = 0,∂F/∂y = 2 y + 2 λ = 0,∂F/∂λ = x + 2 y −2 = 0. Solving for (x, y, λ) yields λ = −4/5, x = −λ/2, y = − λ.
(x, y) = (2/5, 4/5)
.
16. Problem Find the point (x, y), on the given plane , that is closest to the point (1, −2).
(a) 2 x + y = 4
Solution (a) (x − 1)2 + (y + 2)2→ min. subject to 2 x + y −4 = 0. F ≡ (x − 1)2 + (y + 2)2 + λ(2 x + y −4). From ∂F/∂x = 0, ∂F/∂y = 0,∂F/∂λ = 0, one obtains
x = 13/5, y = −6/5, λ = − 8/5
.
17. Find the point (x, y, z), on the given plane, that is closest to the point (2, 0, −1).
(a) x + y + z = 4
Solution (a) (x−2)2 + y2 + (z + 1)2 → min. subject to x + y + z −4 = 0. The Lagrange multiplier method yields
x = 3, y = 1, z = 0, λ = −2
.
21. Problem (More than one constraint) (a) Extend the Lagrange method to cover cases that include more than one constraint. Specifically, explain how to solve the problem

f(x, y, z)
=
extremum,
g1(x, y, z)
=
c1,
g2(x, y, z)
=
c2
by that method, and explain the logic behind each step. HINT: You should end up extremizing f* = f − λ1g1 −λ2 g2, where λ1 and λ2 are Lagrange multipliers.
(b) Apply that method to the problem

f
=
x2 + y2 + z2 = extremum,
g1
=
x2 + 4 y2 + 4 z2 = 4,
g2
=
x + y + z = 0.
Solution (b)
Fx2 + y2 + z2 + λ1 (x2 + 4 y2 + 4 z2 −4) +λ2 (x + y + z).
The Lagrange multiplier method (∂F/∂x = 0, ∂F/∂y = 0,∂F/∂z = 0, ∂F/∂λ1 = 0,∂F/∂λ2 = 0) yields
(x, y, z, λ1, λ2)
=
(0, − 1

√2
, 1

√2
, − 1

4
, 0)
=
(0, 1

√2
, − 1

√2
, − 1

4
, 0)
=
( 2

√3
, − 1

√3
, − 1

√3
, − 1

2
, − 2

√3
)
=
(− 2

√3
, 1

√3
, 1

√3
, − 1

2
, 2

√3
)
(6)
The first two choice renders x2 + y2 + z2 to 1 while the last two choices render x2 + y2 + z2 to be 2. So choose the last two.


Section 13.8



1. Problem Apply the Leibniz rule:
(a)
d

dt

t2

0 
sin (t x2) dx
(d)
d

dα

−α

−2α2 
eαx3dx
Solution (a)
d

dt

t2

0 
sin ( t x2) dx
=

t2

0 
cos (t x2) (x2) dx + (2 t) sin (t (t2)2)
=

t2

0 
x2 cos (t x2) d x + 2 t sin (t5)
(7)
(d)
d

dα

−α

−2 α2 
eαx3 d x
=

−α

−2 α2 
x3 eαx3 dx + (−1) eα(−α)3 − (− 4α) eα(−2 α)3
=

−α

−2 α2 
x3 eαx3 dxe−α4+ 4 αe−8α7.
(8)
2. Problem Derive the Taylor series of the given function f(x) about x = 0, up to and including terms of second order, using the Leibniz rule to obtain f′(x) and f"(x).
(a)

x

0 
et2 dt
Solution (a) Try changing the variable, x, with t, i.e.
f(t) ≡
t

0 
ex2 dx.
Using the Leibniz rule, one gets
f′(t)
=

t

0 

t
( ex2 ) dx +
d

dt
t
{ ex2xt} − 0
=
0+ et2−0
=
et2.
(9)
So f"(x) = −2 x ex2 and f"′(x) = −2 ex2 + 4 x2 ex2. f(0)=0, f′(0)=1, f"(0)=0, f"(0)=−2. Therefore,
f(x)
=
f(0)+ f′(0)x + f"(0)

2!
x2 + f"′(0)

3!
x3 + …
=
x x3

3
+ …
3. Problem Show, by repeated differentiation of the formula




0 
eax dx = 1

a
.
that ∫0 xn exp (−a x) dx = n! for n = 0, 1, 2, 3, 4, ….
Solution
Differentiating the both sides with respect to a yields ∫0 (−x) ea x dx = (−1) a−2 . Differentiating again yields ∫0 (−x)2 ea x dx = (−1)(−2) a−3 and again to get ∫0 (−x)3 ea x dx = (−1)(−2)(−3) a−4 . Therefore, ∫0 (−x)n ea x dx = (−1)n n! a−(n+1). Setting a = 1 yields
0 xn ex dx = n!
.
5 Problem (a) To evaluate
I =


0 
(ln x)2

1 + x3
dx,
differentiate the formula




0 
xα

1 + x3
dx = π

3 sin ( α+ 1

3
π)
a suitable number of times.
Thus, show that
I = 10 π3

(81 √3)
.
Solution



0 
xa

1 + x3
dx = π

3 sin 
a + 1

3
π
.
Differentiating the above with respect to a yields




0 
ln x xa

1 + x3
dx = −π2

9
cos 
1 + a

3
π

sin2  
1 + a

3
π
.
Differentiating again to get



0 
(ln x)2 xa

1 + x3
dx = π3

27
cos2  
1 + a

3
π
+ 1

sin3  
1 + a

3
π
By substituting a = 0 in the above, one gets



0 
(ln x)2

1 + x3
dx = 10 π3

81 √3
.
6. Problem Show that
(a)
y(x) = 1

6

x

a 
(xt)3 f(t) d t
satisfies the initial-value problem y""(x) = f(x); y(a) = y′(a) = y"(a) = y"′(a) = 0.
Solution (a) Using the Leibniz rule,
y′(x)
=
1

6

x

a 
3 (xt)2 f(t) dt
y"(x)
=
1

6

x

a 
6 (xt) f(t) dt,
y"′(x)
=

x

a 
f(t) dt,
and y""(x) = f(x) . If you substitute x for a in the above, the initial conditions are all satisfied.
7. Problem Evaluate ∫01 x0.7 ln x dx by differentiating the known formula


1

0 
xa dx = 1

a + 1
    (a > −1).
Solution Differentiating ∫01 xa dx = [1/(1 + a)] with respect to a yields

1

0 
xa ln x dx = − 1

(1 + a)2
.
Therefore,

1

0 
x0.7 ln x dx = − 1

1.72
.
8. Problem Show that

1

0 
x3 − 1

ln x
dx = ln 4.
HINT: Considering
I(a) =
1

0 
xa−1

ln x
dx,     (a ≥ 0)
show that I′(a)=1/(a + 1) with the "initial condition" I(0) = 0. Solve for I(a) and set a = 3.
Solution
I(a) ≡
1

0 
xa − 1

ln x
dx.

I′(a)
=

1

0 
xa ln x

ln x
dx
=

1

0 
xa dx
=
1

1 + a
.
By solving this differential equation, one gets I(a) = ln (1+a) + C where C is an integral constant. Since I(0) = 0, C = 0. Therefore,

1

0 
xa−1

ln x
dx = ln (1 + a)
and

1

0 
x3 − 1

ln x
dx = ln 4.
10. Problem Consider a one-dimensional fluid flow, say flow in a channel of cross-sectional area A, with velocity v(x, t) m/sec and mass density σ(x,t) grams/m3; x is measured positive downstream and t is the time. Consider a "control-volume" a(t) ≤ xb(t) that drifts with the fluid; ie., da/dt = v(a(t), t) and da/dt = v(b(t), t). Then show that the principle of conservation of mass (i.e., that the amount of mass within the control volume remains constant) can be expressed as
d

dt

b(t)

a(t) 
σ(x, t) A dx = A
b(t)

a(t) 

∂σ

t
+

x
(v σ)
dx = 0.
Solution This problem will be discussed in class (i.e. equation of continuity).

d

dt

b(t)

a(t) 
σ(x, t) A dx
=
A

b(t)

a(t) 
∂σ

t
dx+(b′(t) σba′(t) σa)
=
A

b(t)

a(t) 
∂σ

t
dx+ [ v σ]ab
=
A

b(t)

a(t) 
∂σ

t
dx+
b(t)

a(t) 

x
(v σ) dx
(10)



File translated from TEX by TTH, version 4.03.
On 28 Aug 2022, 18:18.