Apostol Solutions Vol2
Apostol Solutions Vol2
Apostol Solutions Vol2
Additive commutativity, additive associativity, scalar associativity, distributivity in addition in V , and distributivity in addition
of numbers are satisfied automatically, since all vectors in this subset belong to V3 , a linear space.
(0, 0, 0) belongs to this space, since z = 0, so existence of an additive identity is fulfilled.
2
(−x, −y, 0) = −(x, y, 0) belongs in this space and so the existence of an additive inverse for each element (x, y, 0) in this
space is fulfilled.
(−x, 5(−x), −z) = −(x, 5x, z) belongs in this space and so the existence of an additive inverse for each element in this
space is fulfilled.
1(x, 5x, z) = (x, 5x, z), and so multiplicative identity existence is fulfilled.
This is a linear space.
Exercise 25. All vectors (x, y, z) in V3 with 3x + 4y = 1 z = 0.
Consider closure:
(x1 , y1 , 0) + (x2 , y2 , 0) = (x1 + x2 , y1 + y2 , 0)
z3 = 0; 3(x1 + x2 ) + 4(y1 + y2 ) = 2
Closure under addition is not satisfied. Thus, this is not a linear space.
Exercise 26. All vectors (x, y, z) in V3 which are scalar multiples of (1, 2, 3).
Closure is fulfilled since x + y = a(1, 2, 3) + b(1, 2, 3) = (a + b)(1, 2, 3), which is a scalar multiple of (1, 2, 3), and
ax = ab(1, 2, 3), which is another scalar multiple of (1, 2, 3).
Additive commutativity, additive associativity, scalar associativity, distributivity in addition in V , and distributivity in addi-
tion of numbers are satisfied automatically, since all vectors in this subset belong to V3 , a linear space.
1(a(1, 2, 3)) = (a(1, 2, 3)) is a scalar multiple of (1, 2, 3) and so multiplicative identity existence is satisfied.
This is a linear space.
Exercise 28. All vectors in Vn that are linear combinations of 2 given vectors A and B.
x“ +00 y = xy ∈ R+
a“ ·00 x = xa = ea ln x > 0 a“ ·00 x ∈ R+
x“ +00 y = xy = yx = y“ +00 x
(x“ +00 y)“ +00 z = xyz = x(yz) = x“ +00 (y“ +00 z)
x“ +00 “000 = x1 = x so 00 000 = 1 ∈ R+
3
00
(−1)x00 = 1
x ∈ R+ x“ +00 “(−1)x00 = x x1 = 1 = “000
(ab)x = xab = (xb )a = a(bx)
a“ ·00 (x“ +00 y) = a“ ·00 (xy) = (xy)a = xa y a = (a“ · x)“ +00 (a“ ·00 y)
(a + b)“ ·00 x = xa+b = xa xb = xa “ +00 xb = a“ ·00 x“ +00 b“ ·00 x
1“ ·00 x = x1 = x
This is indeed a linear space.
Exercise 30.
(1) From Axiom 5,6, the Additive Identity Existence and Additive Inverse Existence, that ∃ 0 ∈ V s.t. x + 0 = x, ∀ x ∈
V and ∃ (−1)x s.t. x + (−1)x = 0, then, using associativity, commutativity, and distributivity for addition of
numbers,
x + 0 = x = x + (x + (−1)x) = 2x + (−1)x = (2 + (−1))x = 1x
(2) If Ax.6 is replaced by Ax.6’, ∀ x ∈ V, ∃ y ∈ V s.t. x + y = 0,
x + 0 = x = x + (x + y) = 2x + y = x
So Ax.10 does not hold since 2x + y = x.
Exercise 31.
(1) (x1 , x2 ) + (y1 , y2 ) = (x1 + y1 , x2 + y2 ) a(x1 , x2 ) = (ax1 , 0).
Not a linear space: violates Additive Inverse existence, which demands ∃ (−1)x s.t. x + (−1)x = 0, not ∃ y s.t.
x + y = 0, so that for (−1)x = (−x1 , 0), (x1 , x2 ) + (−1)x = (0, x2 ) 6= 0 and Multiplicative identity existence,
since 1x = (x1 , 0) 6= x.
(2) (x, 1, x2 ) + (y1 , y2 ) = (x1 + y1 , 0) a(x1 , x2 ) = (ax1 , ax2 )
Not a linear space: violates distributivity in addition of numbers, because
(a + b)x = ((a + b)x1 , (a + b)x2 ) but ax + bx = (ax1 + bx1 , 0)
(3) (x, 1, x2 ) + (y1 , y2 ) = (x1 , x2 + y2 ) a(x1 , x2 ) = (ax1 , ax2 )
Not a linear space because it violates Additive Commutativity of elements. (x1 , x2 ) + (y1 , y2 ) = (x1 , x2 + y2 ) but
(y1 , y2 ) + (x1 , x2 ) = (y1 , x2 + y2 )
(4) (x, 1, x2 ) + (y1 , y2 ) = (|x1 + y1 |, |y1 + y2 |) a(x1 , x2 ) = (|ax1 |, |ax2 |)
Not a linear linear space because it violates Distributivity for addition of numbers:
(a + b)(x1 , x2 ) = (|(a + b)x1 |, |(a + b)x2 |)
ax + bx = (|ax1 |, |ax2 |) + (|bx1 |, |bx2 |)
but |(a + b)x1 | ≤ |ax1 | + |bx1 | in general
Exercise 32. Theorem 1.3.
(1) 0x = 0
(2) a0 = 0
(3) (−a)x = −(ax) = a(−x)
(4) If ax = 0, then either a = 0 or x = 0
(5) If ax = ay and a 6= 0, then x = y
(6) If ax = bx and x 6= 0, then a = b
(7) −(x + y) = (−x) + (−y) = −x Pn− y
(8) x + x = 2x, x + x + x = 3x, j=1 x = nx
4
For part (e), or part 5, if ax = ay, a 6= 0, then subtract ay from both sides to get ax − ay = 0 = a(x − y) = 0. Use
distributivity to get ax − ay = a(x − y) = 0. Since a 6= 0, then from part (d) or part 4, x − y = 0 must be true. Then
−y = −x or, multiplying both sides by −1, y = x.
For part (f), or part 6, if ax = ay, subtract bx from both sides and use distributivity to get ax − bx = (a − b)x = 0. Since
x 6= 0, then by part (d), or part 4, a − b = 0. Add b to both sides to get a = b.
For part (g), or part 7, note that from the existence of an additive inverse, x + −x = 0. Consider x + (−1)x = 0. x = 1x by
the existence of a multiplicative identity, and so using distributivity, 1x + (−1)x = (1 + −1)x = 0x = 0. Then (−1)x is also
an additive inverse for all x ∈ V . But additive inverses are unique, by theorem, so (−1)x = −x. Using that and distributivity,
we get (−x) + (−y) = (−1)x + (−1)y = (−1)(x + y) = −(x + y). −x − y = −(x + y) because
x + y + −(x + y) = 0 = x − x + y − y = x + y − x − y, where we used additive commutativity at the last step. Then
subtract x + y from both sides to get −x − y = −(x + y).
1.10 E XERCISES - S UBSPACES OF A LINEAR SPACE , D EPENDENT AND INDEPENDENT SETS IN A LINEAR SPACE ,
BASES AND DIMENSION , C OMPONENTS
Exercise 1. x = 0
(0, y1 , z1 ) + (0, y2 , z2 ) = (0, y1 + y2 , z1 + z2 ) ∈ S
k(0, y, z) = (0, ky, kz) ∈ S
Yes, S is a subspace.
(0, y, z) = y(0, 1, 0) + z(0, 0, 1) ∈ S
0 = y(0, 1, 0) + z(0, 0, 1) =⇒ z = 0 y=0
dimS = 2
Exercise 2. x + y = 0
(x1 + x2 , y1 + y2 , z1 + z2 ) ∈ S since k(x, y, z) ∈ S since
x1 + x2 + y1 + y2 = 0 + 0 = 0 kx + ky = k(x + y) = 0
Yes, S is a subspace.
(x, y, z) = (x, −x, z) = x(1, −1, 0) + z(0, 0, 1)
0 = x(1, −1, 0) + z(0, 0, 1) =⇒ z = 0, x = 0
dimS = 2
Exercise 3. x + y + z = 0
(x1 + x2 , y1 + y2 , z1 + z2 ) ∈ S since k(x, y, z) ∈ S since
x1 + x2 + y1 + y2 + z1 + z2 = 0 + 0 = 0 k(x + y + z) = kx + ky + kz = 0
Yes, S is a subspace.
(x, y, −(x + y)) = x(1, 0, −1) + y(0, 1, −1)
0 = x(1, 0, −1) + y(0, 1, −1) =⇒ x = 0, y = 0
dimS = 2
Exercise 4. x = y
(x1 + x2 , y1 + y2 , z1 + z2 ) ∈ S since k(x, y, z) ∈ S since
x1 + x2 = y + 1 + y + 2 kx = ky
Yes, S is a subspace.
(x, y, z) = (x, x, z) = x(1, 1, 0) + z(0, 0, 1)
0 = x(1, 1, 0) + z(0, 0, 1) =⇒ x = 0, z = 0
dimS = 2
Exercise 5. x = y = z
(x1 + x2 , y1 + y2 , z1 + z2 ) ∈ S since k(x, y, z) ∈ S since
x1 + x2 = y + 1 + y + 2 = z1 + z2 kx = ky = kz
5
Yes, S is a subspace.
(x, y, z) = x(1, 1, 1)
0 = x(1, 1, 1) =⇒ x = 0,
dimS = 1
Exercise 6. x = y or x = z
If x1 + y1
If x2 = y2 , x1 + x2 = y1 + y2
x1 + x2 may not equal y1 + y2
else if x2 = z2 , No, S is not a subspace.
x1 + x2 may not equal z1 + z2
Exercise 7. x2 − y 2 = 0
For Exercises 11-20, in the Pn space, we will use the {uk } basis extensively, where uk = tk k = 0, 1, . . . , n. It could be
shown that this forms a basis, specifically it forms an independent set, by differentiating a degree n polynomial and set it to
0, and then repeating the differentiation.
Exercise 11. f (0) = 0
n
X n
X n
X n
X
f +g = aj xj + bj xj = (aj + bj )xj ∈ S since kf = kak xk ∈ S since
j=1 j=1 j=1 j=1
(f + g)(0) = 0 kf (0) = 0
Yes S is a subspace.
n
X
f= aj xj
j=1
n
X
0= aj xj =⇒ aj = 0
j=1
dimS = n
6
Exercise 12. f 0 (0) = 0
(f + g)0 = f 0 + g 0 =⇒ (f + g)0 (0) = f 0 (0) + g 0 (0) = 0
(kf )0 = kf 0 =⇒ kf 0 (0) = 0
Yes S is a subspace.
n
X
f= aj xj
j=0
n
f 0 (0) = 0 =⇒ a1 = 0
X
f0 = jaj xj−1
j=1
n
X
f = a0 + a j xj
j=2
n
X
0 = a0 + aj xj =⇒ aj = 0, j = 0, 2, 3, . . . n
j=2
dimS = n Note that for the last step, we could’ve sited the fact that a subset of an independent set, such as the {tk } basis
for Pn , is an independent set, by definition, and so if that subset spans S, this subset will be a basis for S.
Exercise 13. f 00 (0) = 0
(f + g)00 = f 00 + g 00 =⇒ (f + g)00 (0) = f 00 (0) + g 00 (0) = 0
(kf )00 = kf 00 =⇒ kf 00 (0) = 0
Yes S is a subspace.
n
X n
X
f 00 = j(j − 1)aj xj−2 =⇒ f = a0 + a1 x + aj xj
j=2 j=3
f 00 (0) = a2 = 0
Then f is a linear combination of {1, x, x3 , x4 , . . . , xn }, dimS = n
Exercise 14. f (0) + f 0 (0) = 0
BS1 = {1, x, . . . , xn−2 } is a subset of the basis {1, x, . . . , xn } = BPn for Pn . Then BS1 is independent, and so aj = 0 for
j = 2, . . . n. Then for f = 0, a0 = 0. Thus {1, x2 − 2x, x3 − 22 x, . . . , xj − 2j−1 x, . . . , xn − 2n−1 x} is independent and
spans S and thus forms a basis for S.
dimS = n
Exercise 17. f is even. f (−x) = f (x)
Yes S is a subspace.
n
X n
X n
X
f (−x) = aj xj (−1)j = f (x) = aj xj =⇒ aj xj ((−1)j − 1) = 0
j=0 j=0 j=0
n
2 + 1 if n is even, is the number of possibly nonzero coefficients for f .
n−1
2 + 1 = n+1 2 if n is odd, is the number of possibly nonzero coefficients for f .
Then n2 or n−1
2 , if n is even, or n is odd, respectively, are the number of needed elements for a subset from the basis BPn to
span f and form a basis for S.
Exercise 18. f is odd. f (−x) = f (x)
Yes S is a subspace.
n
X n
X n
X
j j j
f (−x) = aj x (−1) = −f (x) = − aj x =⇒ aj xj ((−1)j + 1) = 0
j=0 j=0 j=0
n
2 if n = 2K is even, is the number of possibly nonzero coefficients for f .
n+1
2 = n+1
2 if n = 2K − 1 is odd, is the number of possibly nonzero coefficients for f .
Then n2 or n+1
2 , if n is even, or n is odd, respectively, are the number of needed elements for a subset from the basis BPn to
span f and form a basis for S.
Exercise 19. f has degree ≤ k, where k < n or f = 0
8
k
X k
X
f= aj xj ; g= bj x j
j=0 j=0
k
X
f +g = (aj + bj )xj even if aj + bj = 0 for any or all j, f + g has degree ≤ k or f = 0
j=0
k
X
c0 aj xj ∈ S
j=0
f is spanned by BS = {xj }, j = 0, 1, . . . , k which is a subset of BPn , which is a basis for P n . Then BS is independent.
Then BS is a basis for S.
dimS = k + 1
Exercise 20. Consider
k−1
X k−1
X k−1
X
f +g = aj xj + ak xk + bj xj + −ak xk = (aj + bj )xj with ak−1 + bk−1 6= 0
j=0 j=0 j=0
f +g ∈
/S
Thus S is not a subspace.
Exercise 21.
(1) {1, t2 , t4 }
f = a0 + a2 t2 + a4 t4 , dimS = 3
(2) {t, t3 , t5 }
f = a1 t + a3 t3 + a5 t5 , dimS = 3
(3) {t, t2 }
f = a1 t + a2 t2 , dimS = 2
(4) {1 + t, (1 + t)2 }
a1 (1 + t) + a2 (1 + t)2 = a1 (1 + t) + a2 (1 + 2t + t2 ) = (a1 + a2 ) + (a1 + 2a2 )t + a2 t2
9
\
T x1 ∈ S x2 ∈ S T
(5) If x1 , x2 ∈ S T , then \ . Since S, T are subspaces, x1 + x2 , cx1 ∈ S x1 + x2 , cx1 ∈ T
x ∈T x ∈T
T1 T2
Then x1 + x2 , cx1 T∈ S T . So S T is a subspace.
P x ∈ L(S T ). T
(6) Consider
x = aj xj ; where xj ∈ S T
Since ∀ xj ∈ S,Tthen x ∈ L(S). SinceT∀ xj ∈ T , then
T x ∈ L(T ).
Thus x ∈ L(S) L(T ). T =⇒ L(S T T ) ⊆ L(S) L(T )
(7) Example of when L(S T ) 6= L(S) L(T ).
Suppose
T S = {x1T , x2 }, T = {x3 } and
T x1 + x2 = x3 .
S T = ∅. L(S T ) = ∅, but L(S) L(T ) = {kx3 |k ∈ R} = L(T )
Exercise 23.
Since x arbitrary, a1 = a2 = 0.
=⇒ {1, eax , ebx } independent. dimS = 3
(2) {eax , xeax }
a1 eax + a2 xeax = 0 or a1 = −a2 x
x arbitrary, so a1 = a2 = 0. {eax , xeax } independent. dimS = 2
(3) {1, eax , xeax }
d
a0 + a1 eax + a2 xeax = 0 −−→ aa1 eax + a2 eax + a2 axeax = 0
dx
aa1 + a2 + a2 ax = 0 or a2 ax = −(aa1 + a2 )
x arbitrary, so a2 = 0, a1 = 0
Then a0 = 0 and so {1, eax , xeax } independent. dimS = 3
(4) {eax , xeax , x2 eax }.
a0 eax + a1 xeax + a2 x2 eax = 0 = a0 + a1 x + a2 x2
1, x, x2 are a subset of independent BPn and so 1, x, x2 are independent =⇒ a0 = a1 = a2 = 0, and so
{eax , xeax , x2 eax } independent. dimS = 3 .
(5) {ex , e−x , cosh x}
x −x
cosh x = e +e 2 dependent. dimS = 2
(6) {cos x, sin x}
a cos x + b sin x = 0 or b sin x = −a cos x
If cos x = 0, then sin x = 1, so b = 0. Otherwise,
b tan x = −a. But x arbitrary =⇒ a = 0, b = 0
So {cos x, sin x} independent. dimS = 2
(7) a cos2 x + b sin2 x = 0, so then if cos2 x 6= 0, we have b tan2 x = −a. Since x is arbitrary, a = b = 0. Then
{cos2 x, sin2 x} independent. dimS = 2
(8) {1, cos 2x, sin2 x}
cos 2x = 1 − 2 sin2 x
So the set is dependent. dimS = 2 , since {1, sin2 x} independent ({cos2 x, sin2 x} were independent and 1 =
cos2 x + sin2 x).
(9) {sin x, sin 2x}
a sin x + b sin 2x = sin x(a + b2 cos x) = 0
If sin x, cos x 6= 0, a + b2 cos x = 0 or 2b cos x = −a. Since x is arbitrary, a = b = 0 So then {sin x, sin 2x} is
independent. dimS = 2
(10) {ex cos x, e−x sin x}
aex cos x + be−x sin x = 0 or b tan x = −ae2x
Since x arbitrary, a = b = 0. dimS = 2
Exercise 24.
10
(1) Consider BS , basis for S and BV basis for V . |BV | = n finite.
If S is infinite-dimensional, then ∃ xn+1 ∈ BS s.t. xn+1 ∈ / BV since BV finite. Then ∃ xn+1 ∈ S s.t. xn+1 ∈
/ V.
But S ⊆ V
=⇒ S is finite-dimensional.
If dimS = dimV , then since BS is a set of n linearly independent elements, it forms a basis for V .
Then ∀ y ∈ V , y ∈ L(BS ) = S.
V ⊆ S =⇒ V = S.
(3) Use Thm. 12.10 of Vol.1 (a.k.a. Thm. 1.7 of Vol.2): Any set of linear independent elements is a subset of some basis
for V .
(4) Consider BV = {y1 , . . . , yn }
Suppose {y1 + y2 , y1 − y2 } = BS
y1 + y2 , y1 − y2 ∈
/ BV because if they were, they’d make BV dependent.
2.4 E XERCISES - L INEAR T RANSFORMATIONS AND M ATRICES , N ULL SPACE AND RANGE , N ULLITY AND RANK
Exercise 1. T (x, y) = (y, x)
T (a(x1 , x2 )+b(y1 , y2 )) = T (ax1 +by1 , ax2 +by2 ) = (ax2 +by2 , ax1 +by1 ) = a(x2 , x1 )+b(y2 , y1 ) = aT (x1 , x2 )+bT (y1 , y2 )
T is linear.
T (x, y) = (y, x) = 0. nullspaceT = {0}; kerT = 0
T (x, y) = (y, x) = y(1, 0) + x(0, 1). rangeT = V2 . rankT = 2
Exercise 2. T (x, y) = (x, −y)
T (a(x1 , x2 ) + b(y1 , y2 )) = (ax1 + by1 , −(ax2 + by2 )) = a(x1 , −x2 ) + b(y1 , −y2 ) = aT (x1 , x2 ) + bT (y1 , y2 )
T is linear.
(x, −y) = 0. nullspaceT = {0}; kerT = 0
(x, −y) = x(1, 0) + −y(0, 1) rangeT = V2 ; rankT = 2
Exercise 3. T (x, y) = (x, 0).
T (a(x1 , x2 ) + b(y1 , y2 )) = (ax1 + by1 , ax1 + by1 ) = a(x1 , x1 ) + b(y1 , y1 ) = aT (x1 , x2 ) + bT (y1 , y2 )
T is linear.
T (x, y) = (x, x) = 0 =⇒ x = 0, y ∈ R. nullspaceT = L({(0, 1)}) kerT = 1
T (x, y) = (x, x) = x(1, 1) rangeT = L({(1, 1)}). rankT = 1
Exercise 5. T (x, y) = (x2 , y 2 )
= a2 r12 c21 + 2abr1 r2 c1 c2 + b2 r22 c22 + a2 r12 s21 + 2abr1 s1 r2 s2 + b2 r22 s22 =
= a2 r12 + b2 r22 + 2abr1 r2 c(θ1 − θ2 )
ar1 sθ1 + br2 sθ2
argument of ax + by = arctan
ar1 cθ1 + br2 cθ2
So |T (ax + by)| = |ax + by|, but the argument of T (ax + by) = arctan ar 1 sθ1 +br2 sθ2
ar1 cθ1 +br2 cθ2 + φ.
Consider now aT (x) + bT (y) = a(r1 , θ1 + φ) + b(r2 , θ2 + φ).
p
(ar1 c(θ1 + φ) + br2 c(θ2 + φ))2 + (ar1 s(θ1 + φ) + br2 s(θ2 + φ))2 =
p p
= (ar1 )2 + (br2 )2 + 2abr1 r2 (c(θ1 + φ)c(θ2 + φ) + s(θ1 + φ)s(θ2 + φ)) = (ar1 )2 + (br2 )2 + 2abr1 r2 c(θ1 − θ2 )
The length is the same for T (ax + by) and aT (x) + bT (y).
The argument of aT (x) + bT (y) is the following:
ar1 (sθ1 cφ + cθ1 sφ) + br2 (sθ2 cφ + cθ2 sφ) ar1 (sθ1 + cθ1 tan φ) + br2 (sθ2 + cθ2 tan φ)
= =
ar1 (cθ1 cφ − s(θ1 )sφ) + br2 (cθ2 cφ − sθ2 sφ) ar1 (cθ1 − s(θ1 ) tan φ) + br2 (cθ2 − sθ2 tan φ)
ar1 sθ1 + br2 sθ2 + ar1 cθ1 tan φ + br2 cθ2 tan φ
=
ar1 cθ1 + br2 cθ1 − ar1 sθ1 tan φ − br2 sθ2 tan φ
Beforehand, recall this trigonometric identity:
sin (x + y) sin x cos y + sin y cos x tan x + tan y
tan (x + y) = = =
cos (x + y) cos x cos y − sin x sin y 1 − tan x tan y
Thus
ar1 sθ1 +br2 sθ2
+ tan φ1
ar1 sθ1 + br2 sθ2 ar1 cθ1 +br2 cθ2
tan arctan +φ = =
ar1 cθ1 + br2 cθ2 1− ar1 sθ1 +br2 sθ2
tan φ
ar1 cθ1 +br2 cθ2
ar1 sθ1 + br2 sθ2 + ar1 cθ1 tan φ + br2 cθ2 tan φ
=
ar1 cθ1 + br2 cθ1 − ar1 sθ1 tan φ − br2 sθ2 tan φ
So the arguments for T (ax + by) and aT (x) + bT (y) are, amazingly, the same, modulo some 2π periodicity.
12
Thus, rotations are linear transformations.
nullspaceT = {0}. nullT = 0
rangeT = {(r, θ)}. rankT = 2
Exercise 12. T maps each point onto its reflection with respect to a fixed line through the origin.
We showed above that rotations are linear transformations. Then without loss of generality, consider reflection about the
x-axis.
T (a(x1 , x2 ) + b(y1 , y2 )) = (ax1 + by1 , −ax2 − by2 ) = a(x1 , −x2 ) + b(y1 , −y2 )
aT (x1 , x2 ) + bT (y1 , y2 ) = a(x1 , −x2 ) + b(y1 , y − 2)
So reflection about the x axis is linear.
Suppose R is the rotation of the fixed line into the x-axis and R is length preserving. Then for R−1 T R, reflection about any
fixed axis, (R−1 is linear too, since it’s just a rotation in the opposite direction of R)
R−1 T R(ax + by) = R−1 T (aRx + bRy) = R−1 (aT Rx + bT Ry) = aR−1 T Rx + bR−1 T Ry
T is linear.
nullT = 0 nullspaceT = {0}
rankT = 2 rangeT = {(x, y)}
Exercise 13. T maps every point onto the point (1, 1).
T (ax + by) = (1, 1) 6= aT (x) + bT (y) = (a + b)(1, 1)
T is nonlinear.
Exercise 14. T (r, θ) = (2r, θ)
T (ax+by) = (ax1 +by1 +1, ax2 +by2 +2, ax3 +by3 +3) 6= aT (x)+bT (y) = a(x1 +1, x2 +2, x3 +3)+b(y1 +1, y2 +2, y3 +3)
Exercise 22. T (x, y, z) = (x, y 2 , z 3 )
T (ax + by) = (ax1 + by1 , (ax2 + by2 )2 , (ax3 + by3 )3 ) = (ax1 + by1 , a2 x22 + 2abx2 y2 + b2 y22 , a2 x23 + 2abx3 y3 + b2 y32 ) 6=
6= aT (x) + bT (y) = a(x1 , x22 , x23 ) + b(y1 , y22 , y32 )
Exercise 23. T (x, y, z) = (x + z, 0, x + y)
T (ax+by) = (ax1 +by1 +ax3 +by3 , 0, ax1 +by1 +ax2 +by2 ) = a(x1 +x3 , 0, x1 +x2 )+b(y1 +y3 , 0, y1 +y2 ) = aT (x)+bT (y)
T is linear.
x = −z
(x + z, 0, x + y) = 0 (x, y, z) = x(1, −1, −1) =⇒ nullspaceT = L({(1, −1, −1)}) kerT = 1
x = −y
(x + z, 0, x + y) = (x + z)(1, 0, 0) + (x + y)(0, 0, 1) rangeT = L({(1, 0, 0), (0, 0, 1)}), rankT = 2
Exercise 24.
n
X n
X
j
p(x) = aj x (p + q)(x) = (aj + bj )xj
j=0 j=0
n
X n
X n
X
q(x) = bj x j cp(x) = c aj xj = caj xj
j=0 j=0 j=0
n
X n
X n
X
T (p + q) = (aj + bj )(x + 1)j = aj (x + 1)j + bj (x + 1)j = T (p) + T (q)
j=0 j=0 j=0
n
X n
X
T (cp) = caj (x + 1)j = c aj (x + 1)j = cT (p)
j=0 j=0
T linear. P
n
Consider j=0 aj (x + 1)j = 0. Apply differentiation repeatedly to get aj = 0, ∀ j = 0, . . . , n.
nullspaceT = {0}. PnullT = 0.
P n j n j j
j=0 aj (x + 1) = j=0 bj x . rangeT = L({(x + 1) |j = 0, . . . , n}); rankT = n + 1
0
Exercise 25. On (−1, 1), f ∈ V ; g = T (f ), g(x) = xf (x)
T (f + g) = x(f 0 + g 0 ) = xf 0 + xg 0 = T (f ) + T (g)
T (af ) = x(af )0 = axf 0 = aT (f )
T (f ) = xf 0 (x) = 0 x is arbitrary, consider x 6= 0. f 0 (x) = 0 =⇒ f (x) = c0 .
nullspaceT = {1}, nullT = 1
rangeT = V rankT = dimV − 1 → ∞
Rb
Exercise 26. g(x) = a f (t) sin (x − t)dt for a ≤ x ≤ b
Z b Z b Z b
T (f + g) = (f (t) + g(t)) sin (x − t)dt = f (t) sin (x − t)dt + g(t) sin (x − t)dt
a a a
Z b
T (cf ) = cf (t) sin (x − t)dt
a
T is linear.
Z b Z b Z b
g(x) = f (t)(s(x)c(t) − c(x)s(t))dt = s(x) f (t)c(t)dt − c(x) f (t)s(t)dt = k1 s(x) + k2 c(x)
a a a
RangeT = L({sin x, cos x}); rankT = 2
Rb Rb
For the nullspace, now g(x) = s(x) a f (t)c(t)dt − c(x) a f (t)s(t)dt. If we take a look at Exercise 29 of this section,
then we see the answer: by the orthogonality of sin’s and cos’s, sin nt and cos nt will be orthogonal to cosRt and sinRt for
n = 2, . . . . So depending upon a and b, at least the integration over a period of 1 will result in zero for both f c and f s.
Then for the “ends” of the integration bound that don’t make a full period, make f (t) = 0. Since n = 2, · · · → ∞ for sin nt,
cos nt for the choice of f (t),
nullspaceT = L({sin nt, cos nt|n = 2, . . . }), kerT = ∞
14
Exercise 27. T (y) = y 00 + P y 0 + Qy, P, Q fixed constants.
T is linear
nullspaceT = L({x, 1}) nullT = 2
rangeT = V rankT = ∞
1
∀n ∈ N, ∃m = m(n) ∈ N such that |a − xk | < ∀k ≥ m
n
Consider two convergent sequences xk and yk with limits a and b respectively. Then by definition,
1
∀n ∈ N, ∃m1 = m1 (n) ∈ N, |a − xk | < , k ≥ m1
2n
1
∀n ∈ N, ∃m2 = m2 (n) ∈ N, |b − yk | < , k ≥ m2
2n
For k ≥ max(m1 , m2 )
1 1 1
|a + b − (xk + yk )| = |(a − xk ) + (b − yk )| ≤ |a − xk | + |b − yk | < + =
2n 2n n
so when we consider T (x + y), T (x + y) = a + b − (x + y),
with a + b − (x + y) convergent sequence defined as above, with limit 0.
so T (x + y) is convergent with limit 0 just like T (x) + T (y). T is linear.
We consider a convergent sequence to be a zero if it is an additive identity to each term in the sequence. Then nullspaceT =
space of all sequences consisting of the same term for each term . Also, rangeT = space of all convergent sequences with
limit 0.
Exercise 29.
(1)
Z π Z π Z π Z π
Z π Z π
If f=
fc = f s = 0 andg= gc = gs = 0
−π −π −π −π −π −π
Z π Z π Z π Z π Z π Z π
f +g = (f + g)c = (f + g)s = 0 and kf = kf c = kf s = 0
−π −π −π −π −π −π
(by linearity of integration operation). Then S is closed under addition and scalar multiplication. S is a subspace of
V.
(2)
Z π π
1
c(nt) = s(nt) = 0
−π n −π
Z π π
−c(nt) −(c(nπ) − c(−nπ))
s(nt) = = =0
−π n
−π n
15
In general, Z π Z π
1
c(nt)c(mt) = (cos (n − m)t + cos (n + m)t)dt = 0 + 0 = 0
−π 2 −π
Z π Z π
1
s(nt)c(mt) = (sin (n + m)t + sin (n − m)t)dt = 0 + 0 = 0
−π −π 2
Z π Z π
1
s(nt)s(mt) = (cos (n − m)t − cos (n + m)t)dt = 0 + 0 = 0
−π −π 2
So S contains the functions f (x) = cos nx and f (x) = sin nx, since they satisfy the requirements.
(3) As seen above,
R the set BS = {sin nx, cos nx|n = 2, . . . } consists of orthogonal functions with an inner product
defined as over a period. Thus, they are independent of each other (orthogonal elements are independent). They
belong to S and S, being a subspace, must include all linear combinations of them, and so S is at least infinitely
dimensional, since it must contain BS in its basis.
(4) Z π Z π
T (V ) = g(x) = (1 + cos (x − t))f (t)dt = (1 + cos x cos t + sin x sin t)f (t)dt =
−π −π
Z π Z π Z π
= f (t)dt + cos tf (t)dt cos x + f (t) sin tdt sin x
−π −π −π
BT (V ) = {1, cos x, sin x}; rankT (V ) = 3
(5) T (S) = 0 =⇒ nullspaceT = S
(6) T (f ) = cf . Note that cf ∈ BT (V ) .
T (1) = 2π(1)
T (s) = πs
T (c) = πc
Exercise 30. We want the following: Let T : V → W be a linear transformation of a linear space V into a linear space W . If
V is infinite-dimensional, prove that at least one of T (V ), or N (T ), is infinite-dimensional.
Assume dimN (T ) = k, dimT (V ) = r.
Let e1 , . . . , ek be a basis for N (T ).
Let e1 , . . . , ek , ek+1 , . . . , ek+n be independent elements in V , where n > r.
Pk+n
Consider x = j=1 aj ej
k+n
X k+n
X
T (x) = aj T (ej ) = aj T (ej )(since e1 , . . . , ek ∈ N (T ))
j=1 j=k+1
x ∈ V , so T (x) ∈ T (V ). Since dimT (V ) = r, and n > r, {T (ej )|j = k + 1, . . . , k + n} must be dependent (Apostol’s
Thm.1.5 of Vol.2: any set of r + 1 elements of a dim = r space is dependent).
Then ∃ {aj }, aj ’s not all zero, s.t.
k+n
X k+n
X
aj T (ej ) = T (aj ej ) = 0
j=k+1 j=k+1
k+n
X k+n
X n
X
=⇒ aj ej ∈ N (T ) so aj eJ = aj ej
j=k+1 j=k+1 j=1
Pk+n
=⇒ j=1 aj ej = 0 is a nontrivial representation of 0. Then e1 , . . . , ek+n are dependent. Contradiction.
2.8 E XERCISES - I NTRODUCTION , M OTIVATION FOR THE CHOICE OF AXIOMS FOR A DETERMINANT FUNCTION , A
SET OF AXIOMS FOR A DETERMINANT FUNCTION , C OMPUTATION OF DETERMINANTS ,
Exercise 1. V = {0, 1}
T1 (0, 1) = 0, 0 0, 1 T1 T2 T3 T4
T2 (0, 1) = 0, 1 T1 0, 0 0, 0 1, 0 0, 0
T2 0, 0 0, 1 1, 0 1, 1
T3 (0, 1) = 1, 0 T3 1, 1 1, 0 0, 1 0, 0
T4 (0, 1) = 1, 1 T4 1, 1 1, 1 1, 1 1, 1
T2 , T3 are one-to-one, by inspection. T2−1 = T2 ; T3−1 = T3
16
Exercise 2. V = {0, 1, 2}. Note, there are obviously 33 = 27 possible ranges and thus 27 possible functions (since for each
element in V , there are 3 possible values it could be mapped to).
Consider only the 6 that are one-to-one (choice of 3 values, then 2 values, then 1 value at each subsequent stage).
T1 (0, 1, 2) = 0, 1, 2 T1−1 = T1
0, 1, 2 T1 T2 T3 T4 T5 T6
T2 (0, 1, 2) = 0, 2, 1 T1 0, 1, 2 0, 2, 1 1, 0, 2 1, 2, 0 2, 0, 1 2, 1, 0 T2−1 = T2
T3 (0, 1, 2) = 1, 0, 2 T2 0, 2, 1 0, 1, 2 2, 0, 1 2, 1, 0 1, 0, 2 1, 2, 0 T3−1 = T3
T3 1, 0, 2 1, 2, 0 0, 1, 2 0, 2, 1 2, 1, 0 2, 0, 1
T4 (0, 1, 2) = 1, 2, 0 T4 1, 2, 0 1, 0, 2 2, 1, 0 2, 0, 1 0, 1, 2 0, 2, 1 T4−1 = T5
T5 (0, 1, 2) = 2, 0, 1 T5 2, 0, 1 2, 1, 0 0, 2, 1 0, 1, 2 1, 2, 0 1, 0, 2 T5−1 = T4
T6 (0, 1, 2) = 2, 1, 0 T6 2, 1, 0 2, 0, 1 1, 2, 0 1, 0, 2 0, 2, 1 0, 1, 2
T6−1 = T6
Exercise 3. T (x, y) = (y, x) Suppose T (x1 , y1 ) = (y1 , x1 ) = T (x2 , y2 ) = (y2 , x2 ).
Then y1 = y2 , x1 = x2 → (x1 , y1 ) = (x2 , y2 )
T is one-to-one on V ; T (V2 ) = V2 , (u, v) = (y, x)
T −1 = T (by inspection).
Exercise 4. T (x, y) = (x, −y)
Suppose T (x1 , y1 ) = (x1 , −y1 ) = T (x2 , y2 ) = (x2 , −y2 )
Then x1 = x2 , −y1 = −y2 or y1 = y2 =⇒ (x1 , y1 ) = (x2 , y2 )
T is one-to-one on V , T (V2 ) = V2 , (u, v) = (x, −y)
T −1 = T
Exercise 5. T (x, y) = (x, 0).
Note that T (x, 1) = (x, 0) = T (x, 2). T is not one-to-one.
Exercise 6. T (x, y) = (x, x). Note that T (x, 1) = T (x, 2) = (x, x). T is not one-to-one.
Exercise 7. T (x, y) = (x2 , y 2 ). T (x, y) = T (x, −y) = (x2 , (−y)2 ) = (x2 , y 2 ). T is not one-to-one.
Exercise 8. T (x, y) = (ex , ey ).
Suppose T (x1 , y1 ) = T (x2 , y2 ).
Then ex1 = ex2 , ey1 = ey2 and since ex is one-to-one, ∀ x ∈ R, x1 = x2 .
T is one-to-one . u = ex , v = ey , u, v ∈ R+ . T −1 (x, y) = (ln x, ln y)
Exercise 9. T (x, y) = (x, 1) T (x, 1) = T (x, 2) = (x, 1), so T is not one-to-one.
Exercise 10. T (x, y) = (x + 1, y + 1).
If T (x1 , y1 ) = (x1 + 1, y1 + 1) = T (x2 , y2 ) = (x2 + 1, y2 + 1),
then x1 = x2 , y1 = y2 , (x1 , y1 ) = (x2 , y2 ). T is one-to-one.
u = x + 1, v = y + 1. T −1 (x, y) = (x − 1, y − 1)
Exercise 11. T (x, y) = (x − y, x + y).
If T (x1 , y1 ) = (x1 − y1 , x1 + y1 ) = T (x2 , y2 ) = (x2 − y2 , x2 + y2 )
x1 − y1 = x2 − y2
then x1 = x2 , y1 = y2 . T is one-to-one.
x1 + y1 = x2 + y2
u=x−y
T (V2 ) = L({(1, 1), (−1, 1)}); T −1 (x, y) = x+y , −x+y
v =x+y 2 2
x1 = x2
y1 = y2 =⇒ z1 = z2 so T is one-to-one
x1 + y1 + z1 = x2 + y2 + z2
Exercise 17. T (x, y, z) = (x + 1, y + 1, z − 1)
T (x1 , y1 , z1 ) = (x1 + 1, y1 + 1, z1 − 1) = T (x2 , y2 , z2 ) = (x2 + 1, y2 + 1, z2 − 1)
x1 = x2
=⇒ y1 = y2 T is one-to-one
z1 = z2
2.12 E XERCISES - L INEAR TRANSFORMATIONS WITH PRESCRIBED VALUES , M ATRIX REPRESENTATIONS OF LINEAR
TRANSFORMATIONS , C ONSTRUCTION OF A MATRIX REPRESENTATION IN DIAGONAL FORM
Exercise 1.
(1) aij = δij
(2) aij = 0
(3) aij = cδij
Exercise 2.
1 0 0
(1)
0 1 0
0 1 0 0 0
(2) 0 0 1 0 0
0 0 0 1 0
0 1 0
(3)
0 0 1
21
Exercise 3.
T (3i − 4j) = −5i + 7j
(1)
T 2 (3i − 4j) = 9i − 12j
1 2 1 2 1 2 3 0
(2) T = T2 = =
1 −1 1 −1 1 −1 0 3
(3)
e1 = i − j
e2 = 3i + j
e1 + e2 e2 − 3e1 −7e1 + e2
T (e1 ) = T (i − j) = i + j − 2i + j = −i + 2j = − +2 =
4 4 4
e1 + e2 e2 − 3e1 −e1 + 7e2
T (e2 ) = T (3i + j) = 3i + 3j + 2i − j = 5i + 2j = 5 +2 =
4 4 4
1 −7 −1 1
T = , T 2 = 12
4 1 7 1
Exercise 4.
−1 0 2 1
T =2 T =4
0 1 1
Exercise 5. T : V3 → V3 be a linear transformation s.t.
T (k) = 2i + 3j + 5k
(1) T (j + k) =i =⇒ T (i + 2j + 3k) = 3i + 4j + 4k
T (i + j + k) =j−k
T (i) = −i + j − k
T (j) = −i − 3j − 5k T (c1 i + c2 j + c3 k) = (−c1 − c2 + 2c3 )i + (c1 − 3c2 + 3c3 )j + (−c1 − 5c2 + 5c3 )k = 0
T (k) = 2i + 3j + 5k
So we have a system of linear equations,
− c1 − c2 + 2c3 = 0
c1 − 3c2 + 3c3 = 0 to solve, which could be done by Gauss-Jordan or simply to add them up cleverly to get
− c1 − 5c2 + 5c3 = 0
c3 = 0 first, and then c2 , c1 = 0.
=⇒ nullspaceT
=0, nullT = 0. rangeT = V3 , rankT = 3
−1 −1 2
(2) T = 1 −3 3
−1 −5 5
Exercise 6.
e1 = (2, 3, 5) T (e1 ) = 2(−1, 1, −1) + 3(−1, −3, 5) + 5(2, 3, 5) = (5, 8, 8) = 2e1 + 2e3 + e2
e2 = (1, 0, 0) T (e2 ) = (−1, 1, −1) = −e2 + e3
e3 = (0, 1, −1) T (e3 ) = (−1, −3, −5) + (−2, −3, −5) = (−3, −6, −10) = −2e1 + 2e2
2 0 −2
T = 1 −1 1
2 1 0
Exercise 7. Given T (0) = (0, 0), T (j) = (1, 1), T (k) = (1, −1)
(1) T (4i − j + k) = (−1, −1) + (1, −1) = (0, −2)
Determine the nullspace of T by considering
c1
0 1 1 0 1 0 0 1 0
T (x) = c2 = 0 =⇒ =
0 1 −1 0 0 −2 0 0 1
c3
So then nullspaceT = L({(1, 0, 0)}).
nullT = 1
(by nullity-rank thm.)
rangeT = 2
22
0 1 1
(2) T =
0 1 −1
T (i) = 0
w1 = (1, 1)
0 1 3
(3) T (j) = w1 T =
w2 = (1, 2) 0 0 −2
T (k) = 3w1 − 2w2
(4)
e1 = i
e2 = j
3j − k
e3 =
2
T (i) = (1, 0, 1)
Exercise 8. Given ,
T (j) = (−1, 0, 1)
1 −1 2 0
Gauss-Jordan elimination c
(1) T (2i − 3j) = (2, 0, 2) + (3, 0, −3) = (5, 0, −1). 0 0 −−−−−−−−−−−−−→ 0 0 1 =⇒ c1 = c2 = 0.
c2
1 1 0 2
nullT = 0
So then
rankT = 2
1 −1
(2) Again, T = 0 0
1 1
(3)
i−j i−j w1 = (1, 0, 0)
e1 = T (e1 ) = T = (1, 0, 0)
2 2
w2 = (0, 0, 1) = k
i+j
i+j
e2 = T = (0, 0, 1) = w2 = k w3 = (0, 1, 0)
2 2
Exercise 9. Given
T (i) = (1, 0, 1)
T (j) = (1, 1, 1)
nullT = 0
(1) T (2i − 3j) = (2, 0, 2) − (3, 3, 3) = (−1, −3, −1). By inspection of the matrix for T , .
rankT = 2
1 1
(2) T = 0 1
1 1
(3) Note that
w1 = (1, 0, 1)
1 0
T (j − i) = (0, 1, 0)
w2 = (0, 1, 0) =⇒ 0 1
T (i) = (1, 0, 1) 0 0
w3 = (0, 0, 1)
Exercise 10. Let V and W be linear spaces, each with dimension 2.
T (e1 + e2 ) = 3e1 + 9e2 T (−e2 ) = −2e1 + −4e2 = −(2e1 + 4e2 )
(1) Given , then , so that T (e2 − e1 ) = e1 − e2 .
T (3e1 + 2e2 ) = 7e1 + 23e2 T (e1 ) = e1 + 5e2
nullT = 0
By inspection of matrix T ,
rankT = 2
1 2
(2) T =
5 4
(3) With a basis of (e1 , e2 ) for V and a desired basis of the form (e1 + ae2 , 2e1 + be2 ) for W ,
T (e1 ) = e1 + 5e2 =⇒ a = 5
T (e2 ) = 2e1 + 4e2 =⇒ b = 4
Exercise 11. (sin x, cos x)
0 −1 2 −1 0
D(s, c) = (c, −s) =⇒ D = D =
1 0 0 −1
Exercise 12. (1, x, ex )
23
0 1 0 1 1
D(1, x, ex ) = (0, 1, ex ) D = 0 0 0 D2 = =
0 0 1 1 1 1
Exercise 13. (1, 1 + x, 1 + x + ex )
0 1 1 1 1 1 1
D(1, 1 + x, 1 + x + ex ) D = 0 0 −1 D2 = −1 −1 = −1
0 0 1 1 1 1
Exercise 14. (ex , xex )
x x x x x 1 1 2 1 1 1 1 1 2
D(e , xe ) = (e , e + xe ) D= D = =
0 1 1 1 1
Exercise 15. (−c, s).
0 −1 −1 −1 −1
D(−c, s) = (s, c) D= D2 = =
1 0 1 1 −1
Exercise 16. (sin x, cos x, x sin x, x cos x)
0 0 0 3
0 1 0 0
0 0 4 0
(2) DT = 0 0 0 9
0 0 0 0
0 0 0 0
0 0 2 0
(3) T D =
0 0 0 6
0 0 0 0
0 −1 0 0
0 0 −2 0
(4) T D − DT =
0 0 0 −3
0 0
0 0
1 1 1
(5) T 2 = =
2 2 4
3 3 9
24
(6)
2
1 6 6
T 2 D2 =
=
4
−8
9 −48
T 2 D2 − D2 T 2 =
2 8
2
2 1
6 54
D T = =
4
9
2
Exercise 20. T D = .
6
w1 = x2
3 2 2 6
Note that (T D)(x , x , x, 1) = (6x , 2x, 0, 0), so if we let , then (T D) =
w2 = x 2
2.16 E XERCISES - L INEAR SPACES OF MATRICES , I SOMORPHISM BETWEEN LINEAR TRANSFORMATIONS AND
MATRICES , M ULTIPLICATION OF MATRICES
1 2 2 2
1 −4 2
Exercise 1. A = , B = −1 3 , C = 1 −1
−1 4 −2
5 −2 1 −3
3 4
B+C =
0 2 6 −5
1 2 2 2
1 −4 2 15 −14 1 −4 2 0 0
AB = −1 3 = AC = 1 −1 =
−1 4 −2 −15 14 −1 4 −2 0 0
5 −2 1 −3
1 2 −1 4 −2 2 2 0 0 0
1 −4 2 1 −4 2
BA = −1 3 = −4 16 −8 CA = 1 −1 = 2 −8 4
−1 4 −2 −1 4 −2
5 −2 7 −28 14 1 −3 4 −16 8
30 −28 0 0 30 −28
A(2B − 3C) = 2AB − 3AC = + =
−30 28 0 0 −30 28
0 1
Exercise 2. A =
0 2
1 b11 b12 b b22
(1) AB = = 21 =0
2 b21 b22 2b21 2b22
b 0
=⇒ b21 = b22 = 0 or 11
b21 0
b11 = −2b12
b11 b12 1 b11 + 2b12
(2) BA = = =⇒
b21 b22 2 b21 + 2b22 b21 = −2b22
b11 b11 / − 2 1 −1/2 0 0
= b11 + b21
b21 b21 / − 2 0 0 1 −1/2
Exercise 3.
c=1
1 a 1
1 b 9 a=9
(1) = =⇒
1 c 6 b=6
1 d 5 d=5
(2)
a=1
1 2
c=0
a b c d
1 = 1
6 6
1 4 9 2 1 1 9 8 4 b=6
1 d = −2
25
Exercise 4. AB − BA
(1)
4 1 1 1 2 2 7 11 13
BA = −4 2 0 2 1 2 = −6 −4
1 2 2 1 2 1 1 2 3 6 6 9
A = 2 1 2
−2 9 3
1 2 3 AB = 6 10 4
4 1 1 −1 11 4
B = −4 2 0
1 2 1 −9 −2 −10
AB − BA = 6 16 8
−7 5 −5
(2)
2 0 0 3 1 −2 6 2 −4
AB = 1 1 2 3 −2 4 = 0 9 24
2 0 0 −1 2 1 −3 5 11 0 0 21
A= 1 1 2
−1 2 1 3 1 −2 2 0 0 9 −3 0
BA = 3 −2 4 1 1 2 = 0 6 0
3 1 −2 −3 5 11 −1 2 1 −12 27 21
B= 3 −2 4
−3 5 11 6 2 −4 9 −3 0 −3 5 −4
AB − BA = 0 9 24 − 0 6 0= 0 3 24
0 0 21 −12 27 21 12 −27 0
Exercise 5. An Am = Am+n .
Matrix multiplication
is associative;An Am = An−1 (AAm ) = An−1 Am+1 = · · · = A0 Am+n = Am+n
1 1 1 2
Exercise 6. A = A2 =
1 1
3 1 2 1 1 1 3
A = =
1 1 1
n 1 n n+1 n 1 1 1 n 1 n+1
Assume nth case is true A = A = AA = =
1 1 1 1
cos θ − sin θ
Exercise 7. A =
sin θ cos θ
2
c − s2
c −s c −s −2sc cos (2θ) − sin (2θ)
A2 = = =
s c s c 2sc −s2 + c2 sin (2θ) cos (2θ)
cos (nθ) − sin (nθ)
Assume nth case is true : An =
sin (nθ) cos (nθ)
cos θ − sin θ cos (nθ) − sin (nθ) cos (nθ) cos θ − sin (nθ) sin θ − cos θ sin (nθ) − sin θ cos (nθ)
An+1 = =
sin θ cos θ sin (nθ) cos (nθ) cos (nθ) sin θ + cos θ sin (nθ) − sin θ sin (nθ) + cos (nθ) cos θ
cos (n + 1)θ − sin (n + 1)θ
=
sin (n + 1)θ cos (n + 1)θ
1 1 1
Exercise 8. Let A = 0 1 1
0 0 1
26
(Assume nth case is true )
1 1 1 1 1 1 1 2 3
1 n n(n+1)
A2 = 0 1 1 0 1 1 = 0 1 2 2
An = 1 n
0 0 1 0 0 1 0 0 1
1
1 1 1 1 2 3 1 3 6 n2 +n
1 n n(n+1)
A3 = 0 1 1 0 1 2 = 0 1 3 1 1 1 2 1 n+1 2 + 2n 2
2 + 2
0 0 1 0 0 1 0 0 1 An+1 = 1 1 1 n = 1 n+1 =
1 1 1
1 1 1 1 3 6 1 4 10
(n+2)(n+1)
A4 = 0 1 1 0 1 3 = 0 1 4 1 n+1 2
0 0 1 0 0 1 0 0 1 = 1 n+1
1
1 0
Exercise 9. Given
−1 1
1 0 1 0 1 0 2 0 1
A2 = = = −
−1 1 −1 1 −2 1 −2 2 1
Consider that
A3 = 2A2 − A = 2(2A − 1) − A = 3A − 2
A4 = (2A − 1)(2A − 1) = 4A2 − 4A + 1 = 4(2A − 1) − 4A + 1 = 4A − 3
Then assume the nth case, that An = nA − (n − 1).
If a11 = 0, a12 a21 = 1 but 0 = −a12 a21 . Similar if a22 = 0. Then a11 , a22 6= 0
If a12 = 0,
a211 = 1
a222 = 1
1 0 1 0
if a21 = 0, then A = ± ,±
0 −1 0 1
if a21 6= 0, a21 a11 = −a22 a21 =⇒ a11 = −a22
If a21 = 0, a211 = a222 = 1
if a21 6= 0, then a11 a12 = −a12 a22 =⇒ a11 = −a22
If a12 , a21 6= 0, then
a211 + a12 a21 = 1a222 + a12 a21 = 1
√
1 − bc √b
=⇒
c − 1 − bc
Exercise 13. Given
AC = B
2 −1 7 6
A= , B= . Find 2 × 2 matrices C and D s.t.
−2 3 9 8 DA = B
1 3 1 7 6 1 30 26
= =C
A−1 AC = C = A−1 B 4 2 2 9 8 4 32 28
−1 1 3 1
A = −1 −1
4 2 2
DAA = D = BA 7 6 1 3 1 1 33 19
= =D
9 8 4 2 2 4 43 25
Exercise 14.
(1)
1 −1 1 0 0 −2
AB = =
0 2 1 2 2 4
AB 6= BA
1 0 1 −1 1 −1
BA = =
1 2 0 2 1 3
(2)
(A + B)2 = A2 + AB + BA + B 2
(A + B)(A − B) = A2 − AB + BA − B 2
(3) [A, B] = 0
2.20 E XERCISES - S YSTEMS OF LINEAR EQUATIONS , C OMPUTATION TECHNIQUES , I NVERSES OF SQUARE MATRICES
Exercise 1.
28
1 1 3 x 5
2 −1 4 y = 11
−1 1 z 3
1 1 3 5 1 0 4 8 1 0 0 8/5
2 −1 4 11 = 2 0 3 8 = 0 0 1 8/5
−1 1 3 −1 1 3 0 1 0 −7/5
Exercise 2. Solution doesn’t exist since
5x + 3y + 3z = 2
=⇒ x + y − z = 0 but x + y − z = 1
3x + 2y + z = 1
Exercise 3.
3 2 1 1 0 2 −8 −2 0 0 0 0
5 3 3 2 = 0 3−12 −3 = 0 1 −4 −1
7 4 5 3 1 0 3 1 1 0 3 1
x = 1 − 3z x 1 −3
=⇒ y = −1 + z 4
y = −1 + 4z
z 0 1
Exercise 4.
7 4 5 3 0 −3 12 3 1 0 3 1
= =
1 1 −1 0 1 1 −1 0 0 1 −4 −1
x + 3z = 1 x 1 −3
y = −1 + z 4
y − 4z = −1
z 0 1
Exercise 5.
x 1/5
3 −2 5 1 0 −5 14 −5 0 0 0 4 1
1 −5 0 y 14/5
1 1 −3 2 = 1 1 −3 2 = 1 1 −3 0 z = 1 + z 1
=⇒
27 2 −5 2 −5
6 1 −4 3 0 −5 14 −9 0 −5 14 0 0
u 0
Exercise 6.
1 1 −3 1 5 1 1 −3 1 5 1 1 −3 1 5 1 0 −2/3 0 1
2 −1 1 −2 2 = 0 −3 7 −4 −8 = 0 0 0 −2 8 = 0 0 0 1 −4
7 1 −7 3 3 0 −6 14 −4 −32 0 −1 7/3 −2/3 −16/3 0 1 −7/3 0 8
−2
x+ z=1 x 2/3
3 y 1
= 8 0 + z 7/3
u = −4 z 1
7 −4
y− z=8 u 0
3
Exercise 7.
x 1 0
1 1 2 3
4 0 1 1 2 3
4 0 x + y = −v y −1 −1
2 2 7 11 14 0 = 0 0 3 5 6 0 =⇒ z = 3v =⇒
z = x 0 + v 3
3 3 6 10 15 0 0 0 0 1 3 0
u = −3v u 0 −3
v 0 1
Exercise 8.
1 −2 1 2 −2 1 −2 1 2 −2 1 4 12
x+ z− u=
2
3 −1 −5 9 =
0 7 −3 −9 13
=⇒ 7 7 7
4 −1 1 −1 5 0 7 −3 −9 13 −3 9 13
y+ z− u=
5 −3 2 1 3 0 7 −3 −9 13 7 7 7
x 12/7 −1/7 4/7
y 13/7 3/7 9/7
=⇒ z = 0 + z 1 + u 0
u 0 0 1
29
Exercise 9.
1 1 2
1 1 2 2 2 x 4/3
0 −3
2 −1 3 2 = −2 if a − 8 6= 0, y = 2/3
−1
5 −1 a 6 −4 z 0
0 −6 a − 10
x −5/3 4/3
1 1 2 2 1 0 5/3 4/3
if a = 8, = =⇒ y = z −1/3 + 2/3
−3 −1 −2 1 1/3 2/3
z 1 0
Exercise 10.
(1)
x −5/7 4/7 0
y 9/7 11/7 −1
=
z 0 + z 1 + u 0
u 0 0 1
(2)
5 2 −62 −1
0 −3 −11 2 −31 0 0 −11 7/2 −19 1 0 0 −2/11 3/11
1 −1 1 −1 −2 = 0 −2 0 −1 −8 = 0 1 0 1/2 4 = 0 1 0 1/2 4
1 1 1 0 6 1 1 1 0 6 1 0 1 −1/2 2 0 0 −1 7/22 −19/11
x 3/11 2/11
y 4 −1/2
=
z 19/11 + u 7/22
u 0 1
Exercise 11.
a b d −b ad − bc −ba + ba
= = (ad − bc)I
c d −c a cd − cd −bc + ad
a b
If ad − bc 6= 0, then for A = ,
c d
1 d −b
A−1 =
ad − bc −c a
a b d −b
otherwise, if ad − bc = 0, =0
c d −c a
Use thm. from determinants.
det(AA−1 ) = detAdetA−1 = detI = 1
detA, detA−1 6= 0
2 3 4
Exercise 12. 2 1 1.
−1 1 2
2 3 4 1 0 5 8 1 2 0 1 8/5 1/5 0 2/5
2 1 1 1 = 0 3 5
1 1 = 0 0 1/5 −3/5 1 4/5 =
−1 1 2 1 −1 1 2 1 1 −1 2 −1
0 1 0 5 −8 −6 0 1 0 5 −8 −6
= 0 0 1 −3 5 4 = 0 0 1 −3 5 4 =
1 −1 0 −6 10 7 1 0 0 −3 5 4
−1 2 1
=⇒ 5 −8 −6
−3 5 4
Exercise 13.
30
1 2 2 1 1 0 2 3 −2 1 0 2 3 2 1 −5/3
2/3 4/3
2 −1 1 1 = 0 −1 −3 −6 1 4 = 0 0 −3 −7 1 5 = 1 7/3 −1/3 −5/3
1 3 2 1 0 1 0 −1 0 1 0 1 0 −1 1 1 −1 1
−5 2 4
3 3 3
−1 0 1
7 −1 −5
3 3 3
Exercise 14.
1 −2 1 1 1 0 −3 5 2 1 14
8 3
−2 5 −4 1 = 0 1 −2 2 1 = 1 8 5 2
1 −4 6 1 0 −2 5 −1 1 13 2 1
14 8 3
8 5 2
3 2 1
Exercise 15.
1 2 3 4 1 1 −1 −2 1 −2 1 −2 1 −2 1 −2
1 2 3 1
= 1 −1 1 −2
= 1
1 −2 1=
1 2 1 1
1 −2 1
1 −2
1 1 1 1 1 1
1 −2 1 0
1 −2 1
1 −2
1
−1
1 1/2 −1 1
2 0 2 1
3 1
=
1 −1
Exercise 16. −3
1 2 1
3 1 1/2
2 9 −3 1
2 !−1/2 −1/2
2uv u2 v 2 u2 + 2uv + v 2
1 −(u + v)/c uv 2
γ=q 2 = 1 − =
(1 + uv
1+ 2 + 4 −
c2
/ 1+ 2 =
1 − wc c2 ) c c c
−1/2
u2 v 2 u2 v2
uv 2
= 1+ 2 − 2 − 2 / 1+ 2
c c c c
Exercise 7.
(1) (AT )ij = Aji
(AT )Tij = (AT )ji = Aij =⇒ (AT )T = A
(2) (A + B)Tij = (A + B)ji = Aji + Bji = ATij + Bij
T
=⇒ (A + B)T = AT + B T
T T
(3) (cA)ij = (cA)ji = cA ji = c(A )ij
(4) (AB)Tij = (AB)ji = k ajk bki = k bki ajk = k (B T )ik (AT )kj = (B T AT )ij
P P P
(5) A−1 A = 1 =⇒ (A−1 A)T = AT (A−1 )T = 1 then (A−1 )T = (AT )−1 (recall that a right inverse is also a left
inverse).
cos θ − sin θ cos θ sin θ 1 0
Exercise 8. =
sin θ cos θ − sin θ cos θ 0 1
n
X n
X
Ai Aj = aik ajk = aik aTkj = (AAT )ij = δij
k=1 k=1
Exercise 9.
AAT = 1
(1) If , (A + B)(A + B)T = 2 + BAT + AB T
BB T = 1
(2) (AB)(AB)T = (AB)B T AT = 1
(3) B is given to be orthogonal.
32
Exercise 10.
(1)
1 1 1 1 1 −1 1 −1 −1 1 −1 1 −1 −1 −1 −1
1 −1 −1 1 1 1 1 −1 1 1 −1 −1 1 −1 −1 −1
(2) (X + Y ) · (X + Z) = X 2 + X · Z + Y · X + Y · Z = X 2 Lemma 1 is true.
Lemma 2 (xi + yi )(xi + zi ) = x2i + xi (zi + yi ) + yi zi
xi yi zi
1 1 1 4
1 1 −1 0
1 −1 −1 0
1 −1 1 0
−1 1 1 0
−1 −1 1 0
−1 1 −1 0
−1 −1 −1 4
Assume A is Hadamard.
Then by Lemma 1, (Ai + Aj ) · (Ai + Ak ) = A2i = n, i, j, k distinct.
n
X n
X n
X n
X
(Ai + Aj ) · (Ai + Ak ) = A2i + Ai · Ak + Aj · Ai + Aj · Ak = a2il + ail akl + ajl ail + ajl akl =
l=1 l=1 l=1 l=1
n
X
= (ail + ajl )(ail + akl )
l=1
3.6 E XERCISES - I NTRODUCTION , M OTIVATION FOR THE CHOICE OF AXIOMS FOR A DETERMINANT FUNCTION , A
SET OF AXIOMS FOR A DETERMINANT FUNCTION , C OMPUTATION OF DETERMINANTS ,
Exercise 1.
2 1 1
(1) 1 4 −4
1 0 2
0
1 −3 0 1 −3 1 0 2
0
4 −6 = 0 0 −6 = 0 1 −3 = 6
1 0 2 1 0 2 0 0 −6
3 0 8
(2) 5 0 7 = 3(−28) + 8(20) = 4(−3(7) + 2(20)) = 76
−1 4 2
a 1 0
(3) 2 a 2 = a(a2 − 2) − 1(2a) = a(a2 − 4) = a(a − 2)(a + 2)
0 1 a
x y z
Exercise 2. Given det 3 0 2 = 1,
1 1 1
2x 2y 2z
(1) 32 0 1
1 1 1
2x 2y 2z
3 1
2 0 1=2
detA = 1
1 2
1 1
33
x y z
(2) 3x + 3 3y
3z + 2
x+1 y+1
z+1
x y z x y z x y z x y z x y z
3x + 3 3y 3z + 2 = 3x + 3 3y 3z + 2 + 3x + 3 3y 3z + 2 = 0 + 3x 3y 3z + 3 0 2 = 1
x+1 y+1 z+1 x y z 1 1 1 1 1 1 1 1 1
x−1 y−1 z−1
(3) 4 1 3
1 1 1
x − 1 y − 1 z − 1 x y z −1 −1 −1 x y z
4 1 3 = 4 1 3 + 4 1 3 = 3 + 1 0 + 1 2 + 1 = 1
1 1 1 1 1 1 1 1 1 1 1 1
Exercise 3.
(1)
1 1 1 1 1 1
0 b − a c − a = 0 b−a c−a = (b − a)((c − a)(c + a) − (c − a)(b + a)) =
0 b2 − a2 c − a2 0
2
0 2 2
(c − a ) − (c − a)(b + a)
= (b − a)(c − a)(c − b)
(2)
1 1 1 1 1 1 1 0 0
a
3 b c = 0 b−a c − a = 0 (b − a) c−a
a b3 c3 0 b3 − a3 c3 − a3 0 (b − a)(b2 + ba + a2 ) 2 2
(c − a)(c + ca + a )
subtract the second column off the third column modulo a factor
0−0
c − a − (c − a)
2 2 2 2
(c − a)(c + ca + a − (b + ba + a ))
1 0 0 1 0 0
= 0 (b − a) 0
= 0 (b − a) 0
0 (b − a)(b2 + ba + a2 ) (c − a)(c2 − b2 + ca − ab) 0 0 (c − a)(c − b)(c + b + a)
= (a + b + c)(c − a)(c − b)(b − a)
1 1 1 1 1 1 1 0 0
2 2 2
a b c = 0 b2 − a2 c2 − a2 = 0 (b − a)(b + a) (c − a)(c + a)
3 3 3
a b c 0 b3 − a3 c3 − a3 0 (b − a)(b2 + ba + a2 ) (c − a)(c2 + ca + a2 )
subtract the second column off the third column modulo a factor
0 0
(c − a)(c + a)
(c − a)(c + a) − (b − a)(b + a) =
2 2 (b − a)(b + a) 2 2
(c − a)(c + ca + a ) (b − a)(b + ba + a )
0 0
= 0 = 0
2 2 (c+a) 2 2 (c−a)
(c − a)(c + ac + a − (b+a) (b + ba + a )) (b+a) (c − b)(ac + ab + bc)
= (b − a)(c − a)(c − b)(ac + ab + bc)
Exercise 4.
(1)
1
−1 1 1 1 1 1 1 1 1 1 1 0 1 1 1
1 −1 −1 −1 −1 −1 1 1 0 0 2 2 0 0 2 2
= = = = (−1)8
1
1 −1 −1 1 −1 −1 1 2 0 0 2 0 0 0 2
1 1 1 −1 1 −1 −1 −1 2 0 0 0 2 0 0 0
34
(2)
1 1 1 1 1 1 1 1 1 0 0 0
a b c d 0 b−a c−a d − a 0 b−a b2 − a2 b3 − a3
2 = =
a
3 b2 c2 d2 0 b2 − a2 c2 − a 2 d2 − a2 0 c−a c2 − a2 c3 − a2
a b3 c3 d3 0 b3 − a3 c3 − a 3 d3 − a3 0 d−a d2 − a2 d3 − a3
1 0 0 0
2 2
0 1 (b + a) b + ba + a
= (b − a)(c − a)(d − a) =
0 1 (c + a) c2 + ac + a2
0 1 (d + a) d2 + ad + a2
0
1
(Now I use the addition of column , which doesn’t change the determinant)
1
1
1 0 0 0
0 1 b (b + a)b
= (b − a)(c − a)(d − a) =
0 1 c (c + a)c
0 1 d (d + a)d
1 0 0 0
0 1 0 0
= (b − a)(c − a)(d − a)
0 0 c − b (c + a)c − (b + a)b
0 0 d − b (d + a)d − (b + a)b
1 0 0 0
0 1 0 0
(b − a)(c − a)(d − a) =
0 0 c−bc − b2
2
2 2
0 0 d−bd −b
1 0 0 0
0 1 0 0
= (b − a)(c − a)(d − a)(c − b)(d − b) =
0 0 1 c + b
0 0 1 d + b
(b − a)(c − a)(d − a)(c − b)(d − b)(d − c)
(3)
(4)
a 1 0 0 0 a 1 a 0
4
4
4
a 2 0 0 a− a 2
a− a 2
0 3 a 3 0 = 3 a 3 = 3 a 3
4
0
0 2 a 4 2 a 4 2 a− a 4
0 0 0 1 a 1 a 0 a
a
4
a−
a
12
a−
= 0 0 4
a− a
=
0a − a4 0
0 a
4 12 4
= a2 (a − )2 a − 4 = a2 (a − )(a2 − 4 − 12)
a a− a a
= a(a2 − 4)(a2 − 16)
35
(5)
1 1 1 1 1 1 1 1
1
1 1 −1 −1 −1 0 0 0 −2 −2 −2 2 2 −2 −2 0
1 1 −1 −1 1 1 −2 −2 −2 −2
= =
1
−1 −1 1 −1 1 −2 −2 −2
−2 −2 −2
1
−1 1 −1 1 1 −2 −2
−2 −2
1 −1 −1 1 1 −1 −2 −2 −2 0 0 −2
1
2
−2 −2
= (1)(2)(−2)(−2)(10)(−2) = −160
=
−2 −4
0 −6 −2
0 0 −2
Exercise 5. Consider A = (aij ) s.t. aij = 0 whenever i < j.
Suppose a11 = 0. Then a1j = 0, ∀ j ≤ n, since a row of A is entirely zero, by homogeneity property of determinants,
detA = 0.
Suppose aii = 0 for some 1 < i ≤ n.
then i rows have n − (i − 1) components equal to zero. Therefore, these i rows can span a psace of at most i − 1 dimensions.
then the i rows are dependent. Then detA = 0 by Thm. (the determinant vanishes if its rows are dependent).
Then assume aii nonzero ∀ i ≤ n
Let An = Bn + Cn , where Bn = 0 0 ... 0 ann and Cn = an1 an2 ... an, n−1 0
det(A) = det(A1 , A2 , . . . , An ) = det(A1 , A2 , . . . , Bn + Cn ) = det(A1 , A2 , . . . , Bn ) + det(A1 , A2 , . . . , Cn ) =
= det(A1 , A2 , . . . , Bn )
Also, An−1 = Bn−1 +Cn−1 , where Bn−1 = 0 0 ... an−1,n−1 0 and Cn−1 = an−1,1 an−1,2 ... an−1, n−2 0 0
det(A) = det(A1 , A2 , . . . , An−1 , Bn ) = det(A1 , A2 , . . . , Bn−1 + Cn−1 , Bn ) =
= det(A1 , A2 , . . . , Bn−1 , Bn ) + det(A1 , A2 , . . . , Cn−1 , Bn ) =
= det(A1 , A2 , . . . , Bn−1 , Bn )
Then detA = det(B1 , B2 , . . . , Bn ). Qn
By homogeneity of determinants, detA = i = 1n aii detI = i=1 aii
Q
Exercise 6.
F = f1 g2 − f2 g1
F 0 = f10 g2 + f1 g20 − f20 g1 − f2 g10 = f10 g2 − f20 g1 + f1 g20 − f2 g10 =
0
f1 f20 f1 f2
= +
g1 g2 g10 g20
Exercise 7.
g2 g3 g1 g3 g g2
F = f1 − f2
+ f3 1
h2 h3 h1 h3 h1 h2
0 0 0
f1 f2 f3 0
g30 g2
0
g30 g1
0
g20 g1
g g3 g1 g3 g1 g2
F 0 = g1 g2 g3 + f1 2
+ − f 2 + + f 3 + =
h2 h3 h02 0
h3 h01 0
h2 h01 h02
h1 h2 h3 h3 h1 h3 h1
0
f1 f20 f30 f1 f2 f3 f1
f2 f3
= g1 g2 g3 + g1 g20 g30 + g1
0
g2 g3
h1 h2 h3 h1 h2 h3 h01 h02 h03
Exercise 8. Using the previous results:
(1)
0
f20 f1
0
f g1 f1 g1
F = 10 + =
f20 f200 g200
00
f1 f2 g200
36
(2)
f1 f2 f3 f1 f2 f3
F = f10 f20 f3 ] =⇒ f10
0
f20 f30
f100 f200 f300 f100 f200 f300
Exercise 9.
(1) ( ( (
uij if i < j vij if i < j uij + vij if i < j
(U + V )ij = uij + vij = + =
0 otherwise 0 otherwise 0 otherwise
n
(P
X X X
i<k,k<j uik vkj if i ≤ j
(U V )ij = uik vkj uik vkj = uik vkj =
k=1 i<k i<k,k<j
0 otherwise
(2)
n n n n
! n
!
Y X Y Y Y
det(U V ) = uik vki = uii vii = uii vii = detU detV
i=1 i<k,k<j i=1 i=1 i=1
(3) Suppose U U −1 = 1.
xdet1 = 1 = (detU )(detU −1 ), U and 1 are 2 n × n triangular matrices
U −1 exists since detU 6= 0.
detU −1 = 1/detU
(cof A)T
Exercise 10. Use the cofactor matrix to get the inverse, that detA = A−1 .
1
detA = 16, detA−1 =
16
−3
1 1 1
2 4 8 16 2 3 4 5
0 1 −3 1
2 4 8 0 2 3 4
−3
1
0 0 2 4 0 0 2 3
1
0 0 0 2
0 0 0 2
Exercise 1.
−3 5 detA = −1
1 3 −4 2
(1) If A = ;B = ;A+B = det(A + B) = −58
2 5 3 6 5 11 detB = −30
(2) det(A + B)2 =det(A + B)(A +B) = det(A+ B)det(A
+ B) = (det(A + B))2
1 1 −1 2 0 3
(3) If A = ;B = ,A+B =
−1 1 1 −1 0 0
1 1 1 1 0 2
A2 = =
−1 1 −1 1 −2 0
2 2 0 2 0 1 3 −4 0 2 0 2
A + 2AB + B = +2 + = +
−2 0 2 −3 −2 3 −2 0 4 −
−1 2 −1 2 3 −4
B2 = =
1 −2 1 −2 −2 3
=⇒ det(A2 + 2AB + B 2 ) = −9
3 −2
(4) likewise, det(A2 + B 2 ) = det =1
−4 3
Exercise 2.
(1) Assume
A is n × n, B is m × m, and C is p × p.
A 0
is a n + m × n + m matrix, D.
0 B
A
D D 0
B = . Then by Thm. 3.7, det = detDdetC
C 0 C
C
37
A
A 0
detD = det = detAdetB (by Thm. 3.7). Then det B = detAdetBdetC
0 B
C
A1
A2 Q
n
(2) Assume det = i=1 detAi .
. .
.
An
A1
A2
Consider det
. ..
An+1
A1
A2 Pn Pn
Now = Dn , a square matrix of size i=1 Ni × i=1 Ni where Ni = size of matrix Ai .
..
.
An
D Qn
det n = detDn detAn+1 by Thm. 3.7. detDn , by induction assumption, is detDn = i=1 detAi .
A
n+1
A1
A2 Q
n+1
=⇒ det = i=1 detAi
..
.
An+1
Exercise 3.
1 1
1 1 = det c
d
detA = deta b
= det
c d c d g h
e f g h g h
a b c d a b
e f g h e f = det a b
detB = det0 0 =
1 0 0 0 1 0 e f
0 0 0 1 0 0 0 1
A
Exercise 4. If X = where A is (n − m) × n and I is m × m, then ∀ aij entry, (n − m) + 1 ≤ i ≤ n,
Im
(n − m) + 1 ≤ j ≤ n.
[0 0 . . . 0, −aij , 0, . . . 0] could be added to the ith row since Gauss-Jordan row operations do not change the determinant,
An−m
by determinant properties. Then detX = . By Thm. 3.7, detX = detAn−m .
Im
I
Similarly for Y = m .
A
a b 0 0
c d 0 0 a b g h
Exercise 5. A = detA = det det
e f g h c d z w
x y z w
B 0
Exercise 6. A = where B is m × m, C, D are (n − m) × (n − m).
C D
3.17 E XERCISES - E XPANSION FORMULAS FOR DETERMINANTS . M INORS AND COFACTORS . 3.13 E XISTENCE OF THE
DETERMINANT FUNCTION , T HE DETERMINANT OF A TRANSPOSE , T HE COFACTOR MATRIX , C RAMER ’ S RULE
Exercise 1.
1 2 4 −3
(1) cof A =
3 4 −2 1
2 −1 3 2 −1 1
(2) 0 1 1 cof A = −6 3 5
−1 −2 0 −4 −2 2
3 1 2 4 109 113 −41 −13
2 0 5 1 −40 −92 74 16
(3) cof A =
1 −1 −2 6 −41 −79 7 −47
−2 3 2 3 −50 38 16 20
Exercise 2.
1 4 −3
(1) −2 −2 1
2 −6 −4
(2) 81 −1 3 −2
1 5 2
109 −40 −41 −50
1 113
−92 79 38
(3) 184 −41 74
7 16
−13 16 −47 20
Exercise 3. Note that for λI − A, det(λI − A) = 0 = det(A − λI)
(1)
−λ 3
= 0 =⇒ λ + λ2 − 6 = 0 = (λ + 3)(λ − 2) = 0
2 −1 − λ
(2)
1 0 2
0 −1 −2
2 −2 0
1 − λ 2
−1 − λ −2 = (1 − λ)(λ(1 + λ) − 4) + 2(2(1 + λ)) =
2 −2 −λ
= (1 − λ)(λ2 + λ − 4) + 4(1 + λ) = (1 − λ)(λ2 + λ − 4) + 4(1 + λ) =
= −λ3 + 9λ = λ(−λ2 + 9) =⇒ λ = ±3, 0
39
(3)
11 − λ −2 8 3 − λ 0 3 − λ 0 0 3 − λ
19
−3 − λ 14 = 19 −3 − λ 14 = 5 −3 − λ 14
−8 2 −5 − λ −8 2 −5 − λ λ − 3 2 −5 − λ
= (3 − λ)(10 + λ2 − 9) = (3 − λ)(1 + λ2 )
λ = 3, ±i
Exercise 4.
(1) ((cof A)T )ij = (cof A)ji = (−1)i+j detAji = (−1)i+j det(Aji )T = (−1)i+j det(AT )ij = cof (AT )ij
P use A(cof
(2) See Part (c), and then A)T = P(detA)I, Thm. 3.12.
T T
(3) ((cof A) A)ij = k (cof A)ik akj = k akj (cof A)ki
Recall that column expansions can be done on determinants, and that detA = detAT .
Consider B matrix whose jth column is equal to the ith column for some j 6= i,
but remaining rows are the same as A.
then detB = 0
Xn
detB = bkj cof bkj (jth column expansion of B)
k
bkj = aij
cof bkj = cof akj (since B differs from A only in the jth column)
n
X
=⇒ aij cof akj = 0
k
P
If i = j, k aki (cof A)ki = detA (by ith column expansion of detA)
Exercise 5.
x + 2y + 3z = 8
1 2 3 x
8
(1) 2x − y + 4z = 7 =⇒ 2 −1 4 y = 7
−y + z = 1 −1 1 z 1
8 2 3 0 10 −5 1 −1 1
1 1 1
x= 7 −1 4 = 0 6 −3 = 0 10 −5 = 0
−7 −7 −7
1 −1 1 1 −1 1 0 6 −3
1 8 3 1 0 −5
1 1
2 0 −3 = −7/ − 7 = 1
y= 2 7 4 =
−7 −7
1 1 1 0
1 2 8
−1 1 0 10
z=
1
2 −1 7 = 0 −1 −13 = −14 = 2
−7 7 −7
−1 1 −1 1
x + y + 2z = 0
1 1 2
x 0
(2) 3x − y − z = 3 =⇒ 3 −1 −1 y = 3
2x + 5y + 3z = 4 2 5 3 z 4
1 1 2 1 1 2
3 −1 −1 = 0 −4 −7 = 25
2 5 3 0 3 −1
0 1 2 0 1 2
3 −1 −1 = 3 0 1 = −(−21 − 4) = 25 =⇒ x = 1
4 5 3 4 0 −7
1 0 2 1 0 2
3 3 −1 = 0 3 −7 = 25 =⇒ y = 1
2 4 3 0 4 −1
z = −1
Exercise 6.
40
(1) Vector form of lines: tA + P1 = X; A = P2 − P1 .
x2 − x1 x1 x
t + =
y2 − y1 y1 y
x − x1 x − x1
t 2 +− =0
y2 − y1 y − y1
Then A, X − P1 are linearly dependent.
Then if A, X − P1 form rows of a matrix,
x − x1 y − y1
x2 − x1 =0
y2 − y1
Also
x x x
t 2 + (1 − t) 1 − =0
t2 t1 y
we can extend this to say
x2 x1 x1
t y2 + (1 − t) y1 − y1 = 0 =
1 1 1
= tX2 + (1 − t)X1 − X = 0
X, X1 , X2 are dependent, and so if X, X1 , X2 form rows of a matrix, then
x y 1
x1 y1 1 = 0
x2 y2 1
(2) Recall the vector form for planes: P = {X|X = P + sA + tB}, A, B are independent.
x x0 x1 − x0 x2 − x0
X = y = y0 + s y1 − y0 + t y2 − y0 = P + sA + tB
z z0 z1 − z0 z2 − z0
0 = P − X + sA + tB
P − X, A, B are dependent. Then consider P − X, A, B to be rows of a matrix. Then
x0 − x y0 − y z0 − z
x1 − x0 y1 − y0 z1 − z0 = 0
x2 − x0 y2 − y0 z2 − z0
We could also rewrite this equation like this:
x x0 x1 x0 x2 x0
y − y0 − s y1 + s y0 − t y2 + t y0 = 0
z z0 z1 z0 z2 z0
x x0 x2 x1
y + (t + s − 1) y0 − t y2 − s y1 = 0
z z0 z2 z1
Extend by 1 for a new row.
x x0 x2 x1
y
+ (t + s − 1) y0 − t y2 − s y1 = 0
z z0 z2 z1
1 1 1 1
This shows that these 4 vectors are linearly dependent. Consider the vectors as rows of matrix to obtain:
x y z 1
x0 y0 z0 1
x1 y1 z1 1 = 0
x2 y2 z2 1
41
(3) We have 3 noncollinear points that satisfy some specific equation for a circle in the x − y plane.
(x − x0 )2 + (y − y0 )2 = ρ2 = (x2 − 2xx0 + x20 ) + (y 2 − 2yy0 + y02 ) or x2 − 2x0 x + y 2 − 2y0 y − (ρ2 − x20 − y02 ) = 0
So x0 , y0 , the coordinates for the origin, and ρ, the radius of the circle, are 3 unknowns and 3 equations are needed.
To fix the “scale” of the coordinates, we need a 4th equation.
x21 − 2x0 x1 + y12 − 2y0 y1 − (ρ2 − x20 − y02 ) = 0 2
x + y2
x y 1
x22 − 2x0 x2 + y22 − 2y0 y2 − (ρ − 2
x20 − y02 ) =0 x21 + y12
−2x0 −2y0 −(ρ2 −x20 −y02 ) 1 = 0
x1 y1
=⇒ =⇒ 2 2
x2 + y2 x2 y2 1
x23 − 2x0 x3 + y32 − 2y0 y3 − (ρ2 − x20 − y02 ) =0
2 2 2 x23 + y32 x3 y3 1
x − 2x0 x + y − 2y0 y − (ρ − x20 − y02 ) =0
Notice how x2j and yj2 must be “correlated” in that their relative values are not independent, but must be 1 to 1.
We can also consider “getting rid” of the ρ2 unknown by taking an equation minus the previous equation:
x21 − 2x1 x0 + x20 + y12 − 2y1 y0 + y02 = ρ2
−(x2 − 2xx0 + x20 + y 2 − 2yy0 + y02 = ρ2 )
=⇒ x21 − x2 + −2x0 (x1 − x) + y12 − y 2 + −2y0 (y1 − y) = 0
So that we get
x21 − x2
2
y1 − y 2
x1 − x y1 − y
x22 − x21 2 2
+ −2x0 x2 − x1 + y22 − y12 + −2y0 y2 − y1 = 0
2 2
x3 − x2 x3 − x2 y3 − y2 y3 − y2
x2 − x23 x − x3 y 2 − y32 y − y3
Thus, these 4 vectors above are linearly dependent, which implies
2
x1 − x2 x22 − x21 x23 − x22 x2 − x23
x1 − x x 2 − x1 x3 − x2 x − x3
2
y1 − y 2 y22 − y12 y32 − y22 =0
y 2 − y32
y1 − y y2 − y1 y3 − y2 y − y3
F 0 (x) = f11
0
f22 + f11 f220 0
− f12 0
f21 − f12 f21
0 0
f11 f12 + f11 f12 0 0 0 0 0
0 0 = |A1 | + |A2 | = f11 f22 − f21 f12 + f11 f22 − f12 f21 = F (x)
f21 f22 f21 f22
Assume n case is true.
n+1
X
F (x) = det(fij (x)) = fn+1, k (−1)n+1+k det(f )n+1, k
k=1
n+1
X n+1
X
F 0 (x) = 0
fn+1,k cof (f )n+1,k + fn+1,k (−1)n+1+k (det(f )n+1,k )0
k=1 k=1
Pn+1 0
k=1 fn+1,k cof (f )
Pn+1,k
= detAn+1 , matrix obtained by differentiating the n + 1 row of [fij ]
n
(det(f )n+1,k )0 = l=1 detBl where Bl is the matrix obtained by differentiating the lth row of (f )n+1,k , l = 1, . . . , n
n+1
X n+1
X n
X n n+1
X X
fn+1,k (−1)n+1+k (det(f )n+1,k )0 = fn+1,k (−1)n+1+k detBl = fn+1,k (−1)n+k+1 detBl =
k=1 k=1 l=1 l=1 k=1
n
X
= detAl
l=1
n
X n+1
X
=⇒ F 0 (x) = detAn+1 + detAl = detAl
l=1 l=1
42
(i−1)
Exercise 8. Consider W (x) = [uj (x)].
(i−1) Pn
|W (x)| = |[uj Use Ex.7: F 0 (x) =
(x)]| i=1 detAi (x), where Ai (x) is the matrix obtained by differentiating the func-
tions in the ith row of [fij (x)], then
Pn (i−1)
|W (x)|0 = i=1 detAi (x), where Ai (x) is the matrix obtained by differentiating the functions in the ith row of [uj (x)].
4.4 E XERCISES - L INEAR TRANSFORMATIONS WITH DIAGONAL MATRIX REPRESENTATIONS , E IGENVECTORS AND
EIGENVALUES OF A LINEAR TRANSFORMATIONS , L INEAR INDEPENDENCE OF EIGENVECTORS CORRESPONDING TO
DISTINCT EIGENVALUES
Exercise 1.
T (x) = λx
(1)
aT (x) = (aλ)x
T1 (x) = λ1 x
(2) (aT1 + bT2 )(x) = aλ1 x + bλ2 x = (aλ1 + bλ2 )x
T2 (x) = λ2 x
Exercise 2.
T (x) = λx
T 2 (x) = T (T (x)) = T (λx) = λT (x) = λ2 x
T n (x) = λn x
T n+1 (x) = T (T n (x)) = T (λn x) = λn λx = λn+1 x
PN
Let P (x) = a j xj
j=0
PN
P (T )(x) = j=0 aj T j (x).
PN PN
If x is an eigenvector, P (T )(x) = j=0 aj T j (x) = j=0 aj λj (x) = P (λ)x.
Exercise 3. V = V2 (R), plane as a real linear space.
π
T = rotation of V through an angle of 2 radians.
T 2 xλ = λ2 xλ
T 2 − λ2 I = (T + λI)(T − λI)
det(T 2 − λ2 I) = 0 = det(T + λI)det(T − λI) = 0
det(T + λI) or det(T − λI) is zero, so λ or −λ is an eigenvalue of T .
Exercise 5. Let V be the linear space of all real functions differentiable on (0, 1).
Let f ∈ V .
Define g = T (f ) s.t. g(t) = tf 0 (t) ∀ t ∈ (0, 1)
Suppose f is an eigenfunction of T .
N =0 a0 = λa0 =⇒ λ = 1
a1 (t + 1) + a0 = λ(a1 t + a0 )
t(a1 (1 − λ)) + a1 + a0 (1 − λ) = 0
N =1
if a1 = 0, then a0 = 0 or λ = 1
if λ = 1, a1 = 0
a2 (t + 1)2 + a1 (t + 1) + a0 = λ(a2 t2 + a1 t + a0 )
a2 (t2 + 2t + 1) + a1 (t + 1) + a0 = λ(a2 t2 + a1 t + a0 )
N =2 t2 (a2 (1 − λ)) + t(2a2 + a1 (1 − λ)) + a2 + a1 + (1 − λ)a0 = 0
if a2 = 0, we’re left with N = 1 case
if λ = 1, a2 = 0; we’re left with N = 1 case.
PN PN
Assume j=0 aj (t + 1)j = λ j=0 aj tj , aj = 0 ∀ j = 1, . . . N
N
X +1 N
X +1
aj (t + 1)j = λ aj tj
j=0 j=0
N +1 j N +1
X X j k X
aj t =λ aj tj
j=0
k j=0
k=0
N +1 j
X X j
aj tk − λaj tj = 0
j=0
k
k=0
aN +1 (1 − λ) = 0.
If λ = 1, tN : aN +1 (N + 1) + aN − λaN = 0; aN +1 = 0, and then we could rewrite the equation, and coefficients, as
N th case, which we’ve shown to yield only a0 to be nonzero. Rx
Exercise 7. Let V = linear space of functions continuous on (−∞, ∞) s.t. ∃ −∞ f (t)dt ∀ x ∈ R
Rx
If f ∈ V , let g = T (f ) s.t. g(x) = −∞ f (t)dt
Z x
T (f )(x) = g(x) = f (t)dt = λf (x)
−∞
If xn is constant, a = (λ + 1)a =⇒ λ = 0.
Exercise 1.
1 0 1 0
(1) λ1,2 = 1 ζλ=1 = , ; E(1) = 2
0 1 0 1
1 1
(2)
0 1
λ − 1 −1
= (λ − 1)2 = 0
0 λ − 1
1 1 x1 x 1
= 1 =⇒ ζλ=1 = ; E(1) = 1
0 1 x2 x2 0
45
1 0
(3)
1 1
λ − 1 0
−1 = (λ − 1)2 = 0
λ − 1
0
λ = 1, ζλ=1 = ; E(1) = 1
1
1 1
(4)
1 1
λ − 1 −1
−1 = (λ − 1)2 − 1 = (λ − 2)λ = 0; λ = 0, 2
λ − 1
1 1
λ = 2, ζλ=2 = √ ; E(2) = 1
2 1
1 1
λ = 0, ζλ=0 = √ ; E(0) = 1
2 −1
1 a
Exercise 2. ; a > 0, b > 0
b 1
√
p
λ − 1 −a
= (λ − 1)2 − ab = λ2 − 2λ + 1 − ab = 0 2± 4 − 4(1)(1 − ab)
−b λ± = = 1 ± ab
λ − 1 2
√
√ x1 + ax2 = (1 ± ab)x1
1 a x1 x1
= (1 ± ab) =⇒ √
b 1 x2 x2 bx1 + x2 = (1 ± ab)x2
√
√ √
λ± = 1 ± ab; ζλ=1±√ab = √a E(1 ± ab) = 1
± b
cθ −sθ
Exercise 3.
sθ cθ
λ − cθ sθ
−sθ = λ2 − 2λcθ + 1 = 0 =⇒ λ = cθ ± isθ
λ − cθ
1 0
if θ = 2πn, λ = 1, ξλ=1 = ,
0 1
√
cθ −sθ x x 1
if θ 6= 2πn, λ = e−±iθ = e±iθ =⇒ ξλ=e±iθ = 1/ 2
sθ cθ y y ±i
a b
Exercise 4. A =
c d
0 1
P1 =
1 0
|λI − P1 | = λ2 − 1 = 0
0 −i
P2 = |λI − P2 | = λ2 − 1 = 0
i 0
|λI − P3 | = (λ − 1)(λ + 1) = 0
1 0
P3 =
0 −1
λ − a −b
−c = λ2 − (a + d)λ + (ad − bc) = 0 = (λ − λ1 )(λ − λ2 ) = λ2 − (λ1 + λ2 )λ + λ1 λ2
λ − a
∆ = ad − bc = −1 =⇒ a = −d
a b
A= where a2 + bc = 1
c −a
Exercise 5.
46
p
2 (a + d)2 − 4(1)(ad − bc)
(a + d) ±
det(A − λI) = λ − (a + d)λ + (ad − bc) = 0 =⇒ λ =
p 2
if (a + d)2 − 4(ad − bc) > 0, λ real and distinct
p
if (a + d)2 − 4(ad − bc) = 0, λ real and equal
p
if (a + d)2 − 4(ad − bc) < 0, λ complex conjugates
Exercise 6.
1 1 1 1 1 a+b+c=3
a b c 1 = 3 1
d+e+f =3
d e f 1 1
1 1 1 1 1 a−c=0 a=c
a b c 0 = 0 0
d−f =0 d=f
d e f −1 −1
1 1 1 1 1 a=b
a b c −1 = 0 −1
d=e
d e f 0 0
a=b=c=d=e=f =1
Exercise 7.
1 0 0
(1) −3 1 0
4 −7 1
1 − λ 1 − λ
−3 1−λ = 1−λ =0 =⇒ λ = 1
4 −7 1 − λ 1 − λ
1 0
0 x1 x1 x1 = 0
0
−3 1 0 x2 = x2 =⇒ x2 = 0 =⇒ ζλ=1 = 0
4 −7 1 x3 x3 x3 = 1 1
2 1 3
(2) 1 2 3
3 3 20
2 − λ 1 3 1 − λ 1 3 1 − λ 1 3 1 − λ
1
2−λ 3 = −1 + λ 2−λ 3 = 0 3−λ 6 = 3−λ 6
3 3 20 − λ 0 3 20 − λ 0 3 20 − λ 3 20 − λ
(1 − λ)((3 − λ)(20 − λ) − 18) = (1 − λ)(60 − 23λ + λ2 − 18) = (1 − λ)(42 − 23λ + λ2 ) = (1 − λ)(λ − 21)(λ − 2) = 0
=⇒ λ = 1, 2, 21
5 −6 −6
(3) −1 4 2
3 −6 −4
λ − 5 6 6 λ − 2 0 −λ + 2
−1 = (λ − 2)2 (λ − 1)
1
λ−4 −2 = 0 λ−4
−3 6 λ+4 0 6 λ+1
3 4 0
1 1 1
=⇒ ξλ=1 = √ −1 , ξλ=2 = √ 1 , √ 1
19 3 18 1 2 −1
Exercise 8.
47
1
1
(1)
1
1
−λ
1 −λ
1 − λ2
−λ 1 −λ 1 − λ2 2 2
= 1 = (1 − λ ) =⇒ λ = ±1
1
−λ 0
1 −λ 1 0
1
1
(2) =⇒ (λ − 1)2 (λ + 1)2 = 0 so λ = ±1
−1
−1
1
1
(3)
1
1
λ
−1
−1 λ = (λ2 − 1)(λ2 − 1) =⇒ λ = ±1
λ −1
−1 λ
−i
i
(4)
−i
i
−λ −i
2
− −λ −λ −i
= = (λ2 − 1)2
−λ −i i −λ
i −λ
1
−1
=⇒ ((λ + 1)(λ − 1))2 = 0
(5)
1
−1
Exercise 10.
Exercise 11. Let (AB)x = λx
(1)
N
X N
X N
X N
X
tr(A + B) = (A + B)ii = (aii + bii ) = aii + bii = trA + trB
i=1 i=1 i=1 i=1
(2)
N
X N
X N
X
tr(cA) = (cA)ii = caii = c aii = ctrA
i=1 i=1 i=1
PN PN PN PN PN PN
(3) tr(AB) = j=1 (AB)jj = j=1 k=1 ajk bkj = k=1 j=1 bkj ajk = j=1 (BA)jj = tr(BA)
PN PN
(4) trAT = j=1 (AT )jj = j=1 ajj = trA
48
4.10 E XERCISES - M ATRICES REPRESENTING THE SAME LINEAR TRANSFORMATION . S IMILAR MATRICES .
Exercise 1. Given
1 1 1
A= = xλ=1
0 1 f (λ) = λ2 − 2λ + 1 0
g(λ) = (λ − 1)2
1 0 1 0
B= ζλ=1 = ,
0 1 0 1
Suppose C −1 BC = A.
C −1 C = I = A. But A 6= I.
Contradiction. So @ C invertible s.t. C −1 BC = A
Exercise 2.
1 0
(1) A =
1 3
2 1
ξλ=1 =√
5 −1/2
λ − 1
= (λ − 1)(λ − 3) =⇒
−1 λ − 3
0
ξλ=3 =
1
√
2/ √5 0
C=
−1/ 5 1
1 1√ 0√ 1
indeed, √ C=I
2/ 5 1/ 5 2/ 5 1 3
(2)
1 2
A=
5 4
λ − 1 −2
−5 = λ2 − 5λ + 4 − 10 = (λ − 6)(λ + 1)
λ − 4
1 1
ξλ=−1 = √
−1
1 2 x1 x 2
= −1, 6 1 =⇒
5 4 x2 x2
1 2
ξλ=6 = √
29 5
√ √
1/ √2 2/√29
C=
−1/ 2 5/ 29
√ √
√ √
5/ √29 −2/√ 29 1 2 −1
indeed, 1/(7/ 2 29) C=
1/ 2 1/ 2 5 4 6
2 1
(3) A =
−1 4
λ − 2 −1
= (λ − 3)2
1 λ − 4
Suppose nonsingular C exists, s.t. C −1 AC = 3I =⇒ A = 3I. Contradiction.
(4)
2 1 λ − 2 −1
A= =⇒ = λ2 − 2λ + 1 = (λ − 1)2
−1 0 1 λ
Suppose nonsingular C exists s.t. C −1 AC = I =⇒ A = I. Contradiction.
Exercise 3.
[y1 , y2 ] = [x1 , x2 ]A
B = AC
[z1 , z2 ] = [x1 , x2 ]B −1
A B=C
[z1 , z2 ] = [y1 , y2 ]C = [x1 , x2 ]B = [x1 , x2 ]AC
Exercise 4.
49
(1)
0 0 1 λ 0 −1
0 = λ3 − λ2 − λ + 1
A = 0 1 0 =⇒ 0 λ−1
1 0 0 −1 0 λ
λ3 − λ2 − λ + 1 = (λ − 1)2 (λ + 1)
1 0 1
Note that we could still obtain the following independent eigenvectors: 0 , 1 , 0
1 0 −11
(2)
1 −1 −1
A= 1 3 1 =⇒ f (λ) = λ3 − 5λ2 + 8λ − 4 =
−1 −1 1
= (λ2 − 4λ + 4)(λ − 1) = (λ − 2)2 (λ − 1)
1 1 −1
=⇒ xλ=2 = −1 , xλ=2 = 0 , xλ=1 = 1
0 −1 −1
Exercise 5. Generally, we’ll have
C −1 AC = λI + =⇒ A = λI + C C −1
1 1
a b −1 b 0 1 d −b
C = =
c d 1 d 0 detC −c a
bd −d2
1
=
detC d2 −bd
2 −1
(1) So for A = . Then d = 0, b = 1, c = −1 for C.
0 2
2 1
(2) For A = =⇒ λ = 3. So bd = −1, ad − bc = −1.
−1 4
if b = 1, d = −1, −a − c = −1 a+c=1
if b = −1, d = 1, a + c = −1
Exercise 6.
0 −1 λ 1
−1 = (λ − 1)3
1 =⇒ λ
−1 −3 5 1 3 λ − 3
1
1
=⇒ √ −1
3 −1
Suppose C −1 AC = I. A = CC −1 = 1 so diagonalizing matrix cannot exist for this A.
CHECK this result.
Exercise 7.
(1) ∀ matrix A, we can always consider the characteristic polynomial |λI − A| = f (λ). So ∃ n roots, λj ∈ C If λj 6= 0,
∀ j = 1, . . . , n, then det(C −1 AC) = detA = det(Λ) = j=1 λj 6= 0. So A nonsingular.
Q
If A nonsingular, detA 6= 0, so
detA = det(C −1 AC) = detΛ 6= 0 =⇒ λj 6= ∀ j
(2) A nonsingular,
n
Y n
Y
det(AA−1 ) = detAdetA−1 = detC −1 ACdetD−1 AD = detΛA detΛA = λj bk = 1
j=1 k=1
1
λj , bk distinct, so bk = λj
Exercise 8.
(1) A2 = −1 so A−1 = −A, so A nonsingular.
(2) detA2 = (detA)2 = (−1)n . (detA)2 > 0, so (−1)n = 1; n even.
50
(3) Ax = λx
A2 x = −x = λ2 x λ2 = −1
(4) detA = 1 From fundamental theorem of algebra, roots of the characteristic polynomial must come in complex
conjugate pairs. We already showed that the eigenvalues are purely imaginary. So there must be a whole number of
pairs of complex conjugate eigenvalues that multiply together to get −1. CHECK this result.
5.5 E XERCISES - E IGENVALUES AND INNER PRODUCTS , H ERMITIAN AND SKEW-H ERMITIAN TRANSFORMATIONS ,
E IGENVALUES AND EIGENVECTORS OF H ERMITIAN AND SKEW-H ERMITIAN OPERATORS , O RTHOGONALITY OF
EIGENVECTORS CORRESPONDING TO DISTINCT EIGENVALUES
Exercise 1.
if T (x) = λx, (T (x), y) = (λx, y) = λ(x, y) ∀y ∈ E
if (T (x), y) = (λx, y) ∀y ∈ E
=⇒ (T (x) − λx, y) = 0 ∀y ∈ E
=⇒ T (x) = λx
Exercise 2.
(T (x), y) = (cx, y) = c(x, y)
(x, T (y)) = (x, cy) = c̄(x, y)
since V is a real Euclidean space c ∈ R for (T (x), y), (x, T (y)) ∈ R
Exercise 3.
Use induction:
(T x, y) = (x, T y)
(T 2 x, y) = (T x, T y) = (x, T 2 y)
(T n+1 x, y) = (T x, T n y) = (x, T n+1 y)
T −1 is Hermitian since
(T −1 x, y) = (T −1 x, T T −1 y) = (T T −1 x, T −1 y) = (x, T −1 y)
Neat trick, no?
(2) (T (x), y) = −(x, T (y)). Now (T 2 (x), y) = −(T (x), T (y)) = (−1)2 (x, T 2 (y)).
Assume the nth case, (T n (x), y) = (−1)n (x, T n (y)), i.e. T n is Hermitian (skew-Hermitian) if n is even (odd).
Then consider that
(T n+1 (x), y) = −(T n (x), T (y)) = −(−1)n (x, T n+1 (y)) = (−1)n+1 (x, T n+1 (y))
(1)
((aT1 + bT2 )(x), y) = (aT1 (x) + bT2 (x), y) = a(T1 (x), y) + b(T2 (x), y) = (x, (aT1 )(y)) + (x, (bT2 )y) =
= (x, (aT )(y) + (bT2 )(y)) = (x, (aT1 + bT2 )y)
(2)
(T1 T2 (x), y) = (T2 (x), T1 (y)) = (x, T2 T1 (y))
if T1 T2 = T2 T1 ; T1 T2 is Hermitian
Exercise 5. Let V = V3 (R).
3
X
(T (x), y) = (T (x))j yj = x1 y1 + x2 y2 − x3 y3
j=1
= x1 y1 + x2 y2 + x3 (−y3 ) = (x, T (y))
R1 R1
Exercise 6. 0
f (t)dt = F (1) − F (0) = 0, F (1) = F (0), likewise, for g ∈ V , 0 g(t)dt = G(1) − G(0) = 0, G(1) = G(0).
51
The trick is to use integration by parts
Z 1 Z 1 Z t
(T f, g) = (T f )(t)g(t)dt = f (x)dxg(t)dt =
0 0 0
Z 1 Z 1 Z 1
1
= F (t)g(t)dt − F (0) g(t)dt = F (t)G(t)|0 − f (t)G(t)dt = −(f, T g)
0 0 0
Exercise 7.
(1) Z 1 Z 1 Z −1 Z 1
(T f, g) = T f (t)g(t)dt = f (−t)g(t)dt = f (t)g(−t)(−dt) = f (t)g(−t)dt =
−1 −1 1 −1
= (f, T g)
(2) Z 1 Z 1
(T f, g) = f (t)f (−t)g(t)dt but (f, T g) = f (t)g(t)g(−t)dt
−1 −1
=⇒ Neither symmetric nor skew-symmetric (choose different coefficients for f and g )
(3) Z 1 Z 1 Z 1 Z −1
(T f, g) = T f (t)g(t)dt = (f (t) + f (−t))g(t)dt = fg + − f (t)g(−t)dt =
−1 −1 −1 1
Z 1
= f (t)(g(t) + g(−t))dt = (f, T g)
−1
Hermitian.
(4) Z 1 Z 1 Z 1
(T f, g) = (f (t) − f (−t))g(t)dt = fg − f (−t)g(t)dt =
−1 −1 −1
Z 1 Z −1 Z 1
= fg − f (t)g(−t)(−dt) = f (g(t) − g(−t))dt = (f, T g)
−1 1 −1
Hermitian.
Rb (pf 0 )0 +qf
Exercise 8. Given (f, g) = a f (t)g(t)w(t)dt, T (f ) = w
Z b Z b Z b
(pf 0 )0 (t) + q(t)f (t)
(T f, g) = (T f )(t)g(t)w(t)dt = g(t)w(t)dt = ((pf 0 )0 + qf )g
a a w(t) a
Z b Z b Z b
b
(pf 0 )0 g = (pf 0 )g|a − (pf 0 )g 0 = − (pf 0 )g 0
a a a
p(a)f (a) = 0
since f, g satisfy
p(b)f (b) = 0
Z b Z b Z b
b
(pf 0 )g 0 = pg 0 f |a − (pg 0 )0 f = 0 − (pg 0 )0 f
a a a
b b
((pg 0 )0 + qg)
Z Z
=⇒ (T f, g) = (pg 0 )0 f + qf g = wf = (f, T g)
a a w
Exercise 9. Let V be a subspace of a complex Euclidean space E.
Let T : V → E be a linear transformation and define a scalar-valued function Q on V as follows:
Q(x) = (T (x), x) ∀x ∈ V
(1) T Hermitian.
(T x, x) = (x, T x) = (T x, x) = Q(x) = Q(x) =⇒ Q(x) ∈ R
(2)
(T x, x) = −(x, T x) = −(T x, x) = −Q(x) = Q(x) =⇒ Q(x) pure imaginary
(3)
Q(tx) = (T (tx), tx) = (tT x, tx) (since T is linear)
Q(tx) = t(T x, tx) = t(tx, T x) = tt(T x, x) = ttQ(x)
52
(4)
Q(x + y) = (T (x + y), x + y) = (T x + T y, x + y) = (T x, x + y) + (T y, x + y) =
= (x + y, T x) + (x + y, T y) = (x, T x) + (y, T x) + (x, T y) + (y, T y) =
= (T x, x) + (T x, y) + (T y, x) + (T y, y) = Q(x) + Q(y) + (T (x), y) + (T (y), x)
Q(x + ty) = Q(x) + Q(ty) + (T (x), ty) + (T (ty), x) = Q(x) + ttQ(y) + t(T (x), y) + t(T (y), x)
(5) Suppose T (x) = y 6= 0 for some x ∈ V , y ∈ E, x 6= 0
(T (x), x) = (y, x) = 0
y 6= x, otherwise (x, x) = 0; x = 0. Contradiction. Done.
Q(ax + by) = (T (ax + by), ax + by) = |a|2 (T (x), x) + ba(T (x), y) + ba(T (y), x) + |b|2 (T (y), y)
= ab(T (x), y) + ba(T (y), x) = 0
Let a = 1, b = −1
− (T (x), y) = (T (y), x) = (y, y) > 0
Let ab = i
(T (x), y) = (T (y), x) = (y, y) > 0
Contradiction. Thus y = 0.
(6)
Q(x + ty) = Q(x) + ttQ(y) + t(T (x), y) + t(T (y), x)
Q ∈ R =⇒ Q(x + ty) = Q(x + ty) =⇒ t(y, T (x)) + t(x, T (y)) = t(T (x), y) + t(T (y), x)
=⇒ t((y, T (x)) − (T (y), x)) + t((x, T (y)) − (T (x), y)) = 0
1 (n)
Pn (t) = f (t) where fn (t) = (t2 − 1)n
2 n! n
n
(1)
(t2 − 1)fn0 (t) = (t2 − 1)(n)(t2 − 1)n−1 (2t) = 2nt(t2 − 1)n = 2ntfn (t)
(2) Leibniz’s formula. If h(x) = f (x)g(x), prove that the nth derivative of n is given by the formula.
n
X n (k)
h(n) (x) = f (x)g (n−k) (x)
k
k=0
so then
n+1
X
((t2 − 1)fn0 (t))(n+1) =
n+1 2
(t − 1)(k) (fn0 (t))(n+1−k) = (t2 − 1)0 = 2t
k
k=0 (t2 − 1)00 = 2
(n + 1)n (n) (t2 − 1)00 = 0
= (t2 − 1)fn(n+2) (t) + (n + 1)2tfn(n+1) (t) + 2fn (t)
2
Exercise 1.
0 1 2
(1) 1 0 3. Symmetric. Hermitian.
2 3 4
0 i 2
(2) i 0 3 . Skew-Hermitian.
−2 −3 4i
0 i 2
(3) −i 0 3. Skew-symmetric.
−2 −3 0
0 1 2
(4) −1 0 3. Skew-Hermitian. Skew-symmetric.
−2 −3 0
Exercise 2.
(1)
cos θ − sin θ cos θ sin θ 1 0
=
sin θ cos θ − sin θ cos θ 0 1
(2)
cos θ − sin θ r cos α r cos α cos θ − r sin α sin θ cos (α + θ)
= =r
sin θ cos θ r sin α r cos α sin θ + r sin α cos θ sin (α + θ)
Exercise 3.
1 0 0
(1) 0 1 0 (reflection in the xy-plane).
0 0 −1
1 1 1
1 0 = 0
−1 0 0
1 1 1 1 0 0
1 1 = 1 1 1 = 1
−1 −1 1 −1 0 0
1 0 0
1 0 = 0
−1 1 −1
1 0 0
(2) 0 −1 0 (reflection through the x-plane).
0 0 −1
1 1 1
−1 0 = 0
−1 0 0
1 1 1 1 0 0
−1 −1 = 1 −1 1 = − 1
−1 −1 1 −1 0 0
1 0 0
−1 0 = 0
−1 1 −1
54
−1 0 0
(3) 0 −1 0 (reflection through the origin).
0 0 −1
−1 −1 1 −1
−1 −1 = 1 −1 i, j, k = −i, j, k)
−1 −1 1 −1
1 0 0
(4) 0 cos θ − sin θ (rotation about the x-axis).
0 sin θ cos θ
1 0 0 1 0 0 1 0 0
0 cos θ − sin θ 0 cos θ + sin θ = 0 1 0
0 sin θ cos θ 0 − sin θ cos θ 0 0 1
1 0 0 1 1
0 cos θ − sin θ 0 = 0
0 sin θ cos θ 0 0
1 0 0 0 0
0 cos θ − sin θ 1 = cos θ
0 sin θ cos θ 0 sin θ
1 0 0 0 0
0 cos θ − sin θ 0 = − sin θ
0 sin θ cos θ 1 cos θ
−1 0 0
(5) 0 cos θ − sin θ (rotation about x-axis followed by reflection in the yz-plane).
0 sin θ cos θ
−1 0 0 −1 0 0 1 −1 1 −1 0 0
0 cos θ − sin θ 0 cos θ sin θ = 1 1 cθ −sθ = 0 cos θ − sin θ =
0 sin θ cos θ 0 − sin θ cos θ 1 1 sθ cθ 0 sin θ cos θ
= (reflection in the yz-plane)(rotation about x-axis)
Exercise 4. A real orthogonal matrix A is called proper if detA = 1, and improper if detA = −1.
(1)
2 ac + bd = 0
a + b2 ac + bd
a b a c
= =⇒ a2 + b2 = 1
c d b d ac + bd c2 + d2
ad − bc = 1
a = cos θ
b = sin θ
−c
=⇒ cos2 θ − sin θc = 1 =⇒
sin θ c = − sin θ
d = cos θ
(2)
1 1 1 1 0
= det = −1
−1 −1 1 0 −1
−1 −1 1 −1 0
= det = −1
1 1 1 0 1
From previous part, all improper 2 × 2 matrices:
cos θ sin θ
sin θ − cos θ
Exercise 13. If A is a real skew-symmetric matrix, prove that both I − A and I + A are nonsingular and that (I − A)(I + A)−1
is orthogonal.
Note: Notice the difference between skew-Hermitian and skew symmetric and use eignevalue eqn. and one-to-one.
55
Skew-Hermitian matrices must be square matrices (from how Skew-Hermitian operators, T , are defined as T : V → V ).
For skew-symmetric matrices, eigenvalues must equal zero, since −λ = λ
C −1 AC = Λ = 0
det(1 ± A) = det(C −1 C)det(1 ± A) = det(C −1 )det(1 ± A)detC =
= det(1 ± C −1 AC) = det(1 ± 0) = 1
To prove orthogonality of (I − A)(I + A)−1 , use (AB)T = B T AT extensively.
We know that A is real skew-symmetric, so that A = −AT .
(1 + A)(1 + A)−1 = 1
((1 + A)(1 + A)−1 )T = ((1 + A)−1 )T (1 + AT ) = 1T = 1
Thus,
(1 − A)(1 + A)−1 ((1 + A)−1 (1 − A))T =
= (1 − A)(1 + A)−1 (1 − AT )((1 + A)−1 )T = (1 − A) (1 + A)−1 (1 + A) ((1 + A)−1 )T =
= (1 − A)((1 + A)−1 )T = (1 + AT )((1 + A)−1 )T = (1 + A)T ((1 + A)−1 )T = ((1 + A)−1 (1 + A))T = 1T = 1
Note that we have ((1 − A)(1 + A)−1 )T = ((1 + A)−1 (1 − A))T because if (1 + A)−1 = B,
(1 + A)B = B + AB = 1
=⇒ BA = AB
B(1 + A) = B + BA = 1 (since a left inverse is a right inverse)
(1 − A)(1 + A)−1 = (1 − A)B = B − AB = B − BA = B(1 − A) = (1 + A)−1 (1 − A)
Exercise 14.
(1) Counterexample:
1 + ei2π/3
i2π/3
1 e
A= B= (A + B) =
e−i2π/3 1 1 + e−i2π/3
−i2π/3
1 + e−i2π/3
1 e
A∗ = B∗ = A∗ + B ∗ = (A + B)∗ =
ei2π/3 1 1 + ei2π/3
2 + ei2π/3 + e−i2π/3
(A + B)(A∗ + B ∗ ) =
2 + ei2π/3 + e−i2π/3
(2) If A and B are unitary, then AB is unitary.
AA∗ = BB ∗ = 1
(AB)(AB)∗ = (AB)B ∗ A∗ = A(BB ∗ )A∗ = A1A∗ = 1
(3)
(4)
5.15 E XERCISES - Q UADRATIC FORMS , R EDUCTION OF A REAL QUADRATIC FORM TO A DIAGONAL FORM ,
A PPLICATIONS TO ANALYTIC GEOMETRY
4 2
Exercise 1. 4x21 + 4x1 x2 + x22 . =A
2 1
4 − λ 2
= 4 − 5λ + λ2 − 4 = λ(λ − 5)
2 1 − λ
√ √
2/√5 1/ √5
ξλ=5 = ; ξλ=0 =
1/ 5 −2/ 5
1 2 1
C=√
5 1 −2
0 1/2
Exercise 2. x1 x2 A= . λ = 21 , − 12 .
1/2 0
√ √
1/√2 1/ √2
ξλ=1/2 = , ξλ=−1/2 =
1/ 2 −1/ 2
56
1 1
Exercise 3. x21 + 2x1 x2 − x22 . A=
1 −1
34 −12
Exercise 4. 34x21 − 24x1 x2 + 41x22 . A= .
−12 41
λ − 34 12
= λ2 − 75λ + 34(41) − 144 = λ2 − 75λ + 1250. λ = 50, 25
12 λ − 41
1 3
ξλ=50 =
5 −4
1 3 4
C=
5 −4 3
1 4
ξλ=25 =
5 3
Exercise 5. x21 + x1 x2 + x1 x3 + x2 x3 .
1 1 1 λ − 1 −1 −1 λ −1 0
0 = (λ + 1)(λ2 − 2λ − 1)
A = 1 0 1 =⇒ −1 λ −1 = −1 λ − 2
1 1 0 −1 −1 λ 0 λ + 1
0
1
ξλ=−1 =√ 1 √ √
2 −1 0√ 2/2 − 2/2
√ C = 1/ √2 1/2 1/2
1 ± 2 −1/ 2 1/2 1/2
ξλ=1±√2 = 1
2
1
2 2 λ − 2 −2
A= 1 =⇒ λ−1 = (λ − 1)(λ − 3)(λ + 2)
2 −1 −2 λ + 1
ξλ=1 = (0, 1, 0)
√ √
1 0 2/ 5 1/ 5
ξλ=3 = √ (2, 0, 1)
5 =⇒ C = 1 0√ 0√
1 0 1/ 5 −2/ 5
ξλ=−2 = √ (1, 0, −2)
5
3 2 4
A = 2 0 2
4 2 3
λ − 3 −2 −4 λ + 1 −2 0 λ+1 −2 0
det(λI − A) = −2 λ −2 = −2λ − 2 λ −2λ − 2 = −2λ − 2 λ−4 0 =
−4 −2 λ − 3 0 −2 λ+1 0 −2 λ + 1
= (λ + 1)(λ − 4)(λ + 1) + 2(λ + 1)(−2λ − 2) = (λ + 1)(λ2 − 3λ − 4 − 4λ − 4) = (λ + 1)2 (λ − 8)
57
3 24 x1 x1 4x1 + 2x2 + 4x3 = 0
2 02 x2 = −1 x2 =⇒
2x1 + x2 + 2x3 = 0
4 23 x3 x3
1
1
=⇒ ξλ=−1 = √ 0
2 −1
3 2 4 x1 x1 −5 2 4 0 −18 9 2 −1
2 0 2 x2 = 9 x2 =⇒ 2 −8 2 = 1 −4 1 = 1 0 −1
4 2 3 x3 x3 4 2 −5 0 18 −9
2
1
=⇒ ξλ=8 = 1
3
2
e1 e2 e3 1
1
1 0 −1 = (1, −4, 1) =⇒ ξλ=−1 = √ −4
2 1 2
3 2 1
√ √
1/ 2 1/3 √2 2/3
C = 0√ −4/3√ 2 1/3
−1/ 2 1/3 2 2/3
1 1√
√ ξλ= 3+√5 = q √ 1− 5
2 5− 5
2 −1 x1 3 ± 5 x1 2
2
= =⇒
−1 1 x2 2 x2
1 1√
ξλ= 3−√3 = p √ 1+ 5
2
5 + 52 2
q 1√ 1
q √
5− 5 5+ 5
=⇒ C = q 2 √ q 2
√
2√ 1− 5 2√ 1+ 5
5− 5 2 5+ 5 2
√ √
3+ 5 2 3− 5 2
=⇒ x + y =5
2 2
Ellipse centered about (0, 0).
Exercise 9. y 2 − 2xy + 5x = 0
0 −1
=A
−1 1
p √
λ 1 1± 1 − 4(1)(−1) 1± 5
|λI − A| =
= λ2 − λ − 1 =⇒ λ = =
1 λ − 1 2 2
√ " #
0 −1 x 1+ 5 x 1 1√
= =⇒ ξλ= 1+√5 =q √ 1+ 5
−1 1 y 2 y 2 5+ 5 −2
2
√
0 −1 x 1− 5 x 1 1√
= =⇒ ξ √
λ= 1−2 5
=q √ −1+ 5
−1 1 y 2 y 5− 5 2
2
q q
2√ 2√
5+
5√ 5−
5 √
=⇒ C = q
2√ 1+ 5
q
2√ −1+ 5
5+ 5 −2 5− 5 2
58
y 2 − 2xy + 5x = 0 =⇒
√ √ s s ! √ s √ s
1+ 5 2 1− 5 2 2 2 1+ 5 2 2 1− 5 2 2
x + y +5 √ x+ √ y = x +5 √ x+ y +5 √ y=0=
2 2 5+ 5 5− 5 2 5+ 5 2 5− 5
√ s ! √ s !
1+ 5 2 2 1 − 5 2 2
= x2 + 5 √ √ x + y2 + 5 √ √ y =0
2 5+ 5 1+ 5 2 5− 5 1− 5
√ s !2 √ ! s !2
1+ 5 2 1 1− 5 2 1
=⇒ x+5 √ √ + y+5 √ √ =
2 5+ 5 1+ 5 2 5− 5 1− 5
√ √
1 + 5 2 (1 − 5)52
= √ 5 + √
40 + 16 5 40 − 16 5
q
−5 5+2√5 1+1√5 5
CY = X =⇒ C q = 25
−5 5−2√5 1−1√5 2
1 −1
A=
−1 1
1 − λ −1
−1 = 1 − 2λ + λ2 − 1 = λ(λ − 2) =⇒ λ = 0, 2
1 − λ
1 −1 x1 1 1
= 0 =⇒ ξλ=0 = √
−1 1 x2 2 1
1 1
similarly, ξλ=2 = √
2 −1
1 1 1 5x2 5
C=√ =⇒ 2x22 − √ = √ x1
2 1 −1 2 2
√ 2
2 2 5 5
=⇒ x2 − √ = x1 + √
5 4 2 8 2
" #
5
− 8√
x1 x 2
C = =C 5
x2 y √
4 2
5 −15
=⇒ (x, y) = ,
16 16
5 −15
The vertex of the parabola in (x, y) coordinates is 16 , 16 .
Exercise 11. 5x2 − 4xy + 2y 2 − 6 = 0.
5 −2 5 − λ −2
=A = 10 − 7λ + λ2 − 4 = (λ − 6)(λ − 1)
−2 2 −2 2 − λ
4 −2 x1 1 1
λ=1 =0 ξλ=1 = √
−2 1 x2 5 2
−1 −2 x1 1 2
λ=6 = 0 ξλ=6 = √
−2 −4 x2 5 −1
x21 + 6x22 = 6
x21
+ x22 = 1
6
Ellipse centered at (0, 0) in both sets of coordinates.
Exercise 12. 19x2 + 4xy + 16y 2 − 212x + 104y = 356.
59
19 2 19 − λ
2
= (λ − 15)(λ − 20)
2 16 216 − λ
1 −1
ξλ=15 = √
5 2
1 2
ξλ=20 = √
5 1
−1
Y C = X so
1 −1 2 −x1 + 2x2 2x1 + x2
[x y] = [x1 x2 ] √ = √ , √
5 2 1 5 5
2 2 −x 1 + 2x 2 2x 1 + x 2
=⇒ 15x1 + 20x2 + −212 √ + 104 √ = 356
5 5
2 2
14 √8
x1 + √ 5
x 2 − 5
=⇒ 403
+ 1209
=1
5 20
Suppose we want to know what the center is in terms of the original (x, y) coordinates. Use C.
x1 1 −1 2 x1 1 −x1 + 2x2
C =√ =√ =
x2 5 2 1 x2 5 2x1 + x2
(x1 ,x2 )= −14 8
√ ,√
5 5 6
−−−−−−−−−−−−→=
−4
9 12 1 3 1 4
ξλ=25 = ; ξλ=0 =
12 16 5 4 5 −3
−1 1 4 −3 1
X =YC =⇒ [x y] = [x1 x2 ] = [4x1 + 3x2 , −3x1 + 4x2 ]
5 3 4 5
2 4x1 + 3x2 −3x1 + 4x2
=⇒ 25x2 − 52 + 14 =6
5 5
1 12 1
=⇒ (x2 − )2 = + x1
2 5 5
To get the center in terms of the (x, y) original coordinates,
x 1 4 3 x1 1 4x1 + 3x2
C 1 = =
x2 5 −3 4 x2 5 −3x1 + 4x2
−1 2
(x1 ,x2 )=( 5 , 5 ) 2/25
−−−−−−−−−−→=
11/25
2 11
Thus we have a parabola centered at 25 , 25 .
Exercise 14. 5x2 + 6xy + 5y 2 − 2 = 0
5 3
A=
3 5
1 1 1 1
λ = 2, 8 ξλ=2 =√ ξλ=8 = √
2 −1 2 1
2 2
=⇒ 2x1 + 8x2 − 2 = 0
=⇒ x21 + 4x22 = 1
Thus we have an ellipse centered about the origin in both coordinate axes.
Exercise 15. x2 + 2xy + y 2 − 2x + 2y + 3 = 0
60
1 1 1 − λ 1
A= = λ(λ − 2)
1 1 1 1 − λ
Directly from the characteristic function,
1 1 x1 1 1
=0 √ = ξλ=0
1 1 x2 2 −1
=⇒
−1 1 x1 1 1
= 0 ξλ=2 = √
1 −1 x2 2 1
(
x = √12 (x1 + x2 )
1 1 −1
Y C T = X = [x y] = [x1 x2 ] √ =
2 1 1 y = √12 (−x1 + x2 )
2 2
=⇒ 2x22 + − √ (x1 + x2 ) + √ (−x1 + x2 ) + 3 = 0
2 2
√ √
2 2 3 2
x + = x1
2 2 4
x1 1 1 1 x1 1 x1 + x2 x
C =√ =√ =
x2 2 −1 1 x2 2 −x 1 + x 2 y
√
3 2 3 −3
For vertex at 4 ,0 in (x1 , x2 ) coordinates, vertex has 4, 4 as (x, y) coordinates.
Exercise 16. 2x + 4xy + 5y 2 − 2x − y − 4 = 0.
2
2 2
A=
2 5
2 − λ 2
= (2 − λ)(5 − λ) − 4 = 10 − 7λ + λ2 − 4 = 6 − 7λ + λ2 = (λ − 6)(λ − 1)
2 5 − λ
1 2 1 1
ξλ=1 = √ ξλ=6 = √
5 −1 5 2
1 2 1
C=√
5 −1 2
1
Y C T = X = [2x1 + x2 , −x1 + 2x2 ] √
5
2x 1 + x 2 −x 1 + 2x 2
x21 + 6x22 − 2 √ − √ −4=0
5 5
2 2
3 1
3x 4x x1 − 2√ 5
x 2 − √
3 5
1 2
=⇒ x21 − √ + 6x22 − √ = 4 =⇒ 55
+ 55
=1
5 5 12 72
61
√1
2 √1
−1
λ = 2, −3 ξλ=2 = ξλ=−3 = .
5 1 5 2
1 2 −1
C=√
5 1 2
1
Y C −1 = X = [x y] = [x1 x2 ]C = √ [2x1 − x2 , x1 + 2x2 ]
5
x21 x2
=⇒ 2x21 − 3x22 − 12 = 0 =⇒ − 2 =1
6 4
Exercise 18. xy + y − 2x − 2 = 0
0 1/2 −λ 1/2 1
A= = λ2 − = 0
1/2 0 1/2 −λ 4
1 1 1 1
λ = ±1/2 ξλ=1/2 =√ ξλ=−1/2 = √
2 1 2 −1
1 1 1
C=√
2 1 −1
1 1 1 x1 + x2 x1 − x2
Y C −1 = X = [x y] = [x1 x2 ] √ = √ , √
2 1 −1 2 2
1 −1 2 x1 − x2 x1 + x2
=⇒ x21 + x + √ −2 √ =2
2 2 2 2 2
2 2
1 3 1 9
=⇒ x1 − √ + − x2 + √ =4+ − =0
2 2 2 2
Suppose two lines are the asymptotic limit of a hyperbola. Then these lines are “hyperbolas.”
1 3
± x1 − √ = x2 + √
2 2
of this “hyperbola” is in terms of coordinates in the original x, y axis (we already have them
If we want to get what the center
for (x1 , x2 ) = Y and that is √12 , − √32 , then apply C as a transformation.
1 1 1 1 1 −1
C(x1 , x2 ) = √ √ =
2 1 −1 2 −3 2
Exercise 1.
(1)
(T (x), T (x)) = (x, x) = |c|2 (x, x)
(2) V one-dim. T : V → V .
T unitary, T linear. x ∈ V ; x = ae1 ; T (x) = T (ae1 ) = aT (e1 ). T (e1 ) ∈ V ; T (e1 ) = µe1 .
T (x) = aµe1 = µx. Since T unitary, by above |µ| = 1. If V real, µ real, so µ = ±1.
Exercise 2.
T
(1) A real, orthogonal. AA∗ = AA = AAT = 1. Thus, A unitary.
=⇒ eigenvalue λ of A s.t. |λ| = 1.
If λ ∈ R, λ = ±1.
(2)
(3) If n = 2s + 1 odd, suppose λ1 is eigenvalue of A. If λ1 real, done. If λ1 non-real,
then λ1 is an eigenvalue (by previous part).
Continue, until nth eigenvalue (we’ve already checked s pairs of eigenvalues to be non-real). If λn non-real, λn is
an eigenvalue. Then there are 2s + 2 eigenvalues. But we’re given that n odd. Contradiction. Thus λn real.
Exercise 3. T or thogonal. Then m(T ) = A has at least one real eigenvalue, |λn | = 1.
s
!
Y
2
Given detA = 1, detA = 1 = |λi | λn = (1)λn
i=1
Since suppose there are s complex eigenvalues. Then there are s complex conjugate Qs eigenvalues.
Then there are at most
2
n − 2s = (odd − even) = odd number of real eigenvalues. Since detA = 1, and i=1 |λi | = 1 already (T orthogonal),
there can only be an even number of real eigenvalues equal to −1. Then there must be at least one eigenvalue equal to 1.
Exercise 4. A real, orthogonal, then A unitary. Then for eigenvalues λ of A, |λ| = 1. Consider all complex λ of A; they come
Qs
in complex conjugate pairs, and so if there are s conjugate pairs, i=1 |λs |2 = 1.
Consider all real eigenvalues of A. Then λ = ±1. If −1 is an eigenvalue of multiplicityQ of k, then there are k diagonal entries
s
of −1 for diagonalized A. Thus, all possible eigenvalues are considered, so detA = i=1 |λs |2 (1)(−1)k = 1(1)(−1)k =
(−1)k
Exercise 5. Given that T linear and norm-preserving,
63
(T (x + by), T (x + by)) = kT (x)k2 + b(T (y), T (x)) + b(T (x), T (y)) + |b|2 kT (t)k2 = kT (x + by)k2 =
= kx + byk2 = kxk2 + b(x, y) + b(y, x) + |b|2 kyk2
kT (x)k2 = kxk2
as well =⇒ b ((T (y), T (x)) − (y, x)) + b ((T (x), T (y)) − (x, y)) = 0
kT (y)k2 = kyk2
b, b are independent since b = s + ti and s, t are two arbitrary real numbers. So (T (x), T (y)) = (x, y), so T unitary.
Exercise 6. T : V → V unitary, Hermitian.
(T (x), y) = (x, T (y)) (Hermitian)
2 2
(T (x), y) = (T (x), T (y)) = (x, T (y)) = (x, y) =⇒ (T 2 (x) − x, y) = 0
Let y = x.
((T 2 − I)(x), x) = Q1 (x) = 0 ∀ x ∈ V
Then T − I = 0 (as previously shown for Q1 (x) = 0 ∀ x ∈ V ), or T 2 − I.
2
Then
((1 − A)B)∗ = B ∗ (1 − A∗ ) = B ∗ − A∗ B ∗ = (A − 1)A∗ B ∗ = −(1 − A)B ∗ A∗ = −(1 − A)B
Thus (1 − A)B is skew-Hermitian.
Exercise 11. A Hermitian, so A = A∗ . Let B = (A − i)−1
B(A − i) = 1 = (A − i)B =⇒ AB = BA
(B(A − i)) = 1 = (A∗ + i)B ∗ = A∗ B ∗ + iB ∗ = B ∗ A∗ + iB ∗
∗
=⇒ A∗ B ∗ = B ∗ A∗
Then
B(A + i)(B(A + i))∗ = (A + i)B(A + i)∗ B ∗ = (A + i)B(A − i)B ∗ = (A∗ + i)1B ∗ = 1
Exercise 12. A unitary, so by theorem, there exists a complete set of orthonormal eigenvectors that form a basis for V ,
{u1 , . . . , un }.
Suppose A was defined in the {e1 , . . . , en } basis. Then they are related through some matrix C (most general assumption to
make):
n X
X n
[u1 , . . . , un ] = [e1 , . . . , en ]C =⇒ uj = cij ei
i=1 i=1
n n
! n X
n n
X X X X
(uj , uk ) = cij ei , clk el = cij clk (ei , el ) = cij cik =
i=1 l=1 i=1 l=1 i=1
n
X
= (C ∗ )kl clj = (uk , uj )
l=1
Hence C ∗ C = 1, so C is unitary.
Recall what the entries of matrix A are, evaluated from the inner product in a certain chosen basis:
n
X
Ael = alm em
m=1
n
!
X
(Aek , el ) = akm em , el = akl
m=1
Thus,
n
X n
X n
X n X
X n n X
X n
(CAC ∗ )ij Cik (AC ∗ )kj = Cik akl C jl = cik akl cjl = cik (Aek , el )cjl =
k=1 k=1 l=1 k=1 l=1 k=1 l=1
n n
!
X X
= A cik ek , cjl el = (Aui )
k=1 l=1
Exercise 13. A square matrix is called normal if AA∗ = A∗ A. Determine which of the following types of matrices are normal.
(U ∗ AU )(U ∗ AU )∗ = U ∗ AU U ∗ A∗ U = U ∗ AA∗ U = U ∗ A∗ AU = U ∗ A∗ U U ∗ AU =
= (U ∗ AU )∗ (U ∗ AU )
65
6.21 E XERCISES - L INEAR EQUATIONS OF SECOND ORDER WITH ANALYTIC COEFFICIENTS , T HE L EGENDRE
EQUATION , T HE L EGENDRE POLYNOMIALS , RODRIGUES ’ FORMULA FOR THE L EGENDRE POLYNOMIALS
Exercise 1.
My notation:
u1 is the power series solution with a0 = 0, a1 = 1
u2 is the power series solution with a0 = 1, a1 = 0
Indeed, since
Z
1
Z X X (−1)j xj+1
= ln (1 + x) = (−x)j =
1+x j+1
Z Z X j+1
1 X x
= − ln (1 − x) = (xj ) =
1−x j+1
So that
∞
1 1 X 2x2m+1
(ln (1 + x) − ln (1 − x)) =
2 2 m=0 2m + 1
66
b.
1 1 1 1 1−x+1+x 1
u02 = + = 2
=
1+x 1−x
2 2 1−x 1 − x2
1 −1 1
u002 = +
2 (1 + x)2 (1 − x)2
1 −(1 − 2x + x2 ) + 1 + 2x + x2
2 00 1 −1(1 − x) 1 + x 2x
(1 − x )u2 = + = =
2 1+x 1−x 2 1 − x2 1 − x2
Exercise 2. Let α = 1. Then (1 − x2 )y 00 − 2xy 0 + 2y = 0.
x 1+x
f (x) = 1 − log
2 1−x
1 1 + x x
f 0 (x) = − log −
2 1 − x 1 − x2
−1 1 −2x2 −2 −2x2
f 00 (x) = 2
− 2
+ 2 2
= 2
+
1−x 1−x (1 − x ) 1−x (1 − x2 )2
−2 −2x2 2x2 2x4 2x2 1+x 2x2 1+x
=⇒ + + + + + x log + + 2 − x log =0
1 − x2 (1 − x2 )2 1 − x2 (1 − x2 )2 1 − x2 1 − x 1 − x2 1−x
Consider the general
P∞ theory for Legendre equation: (1 − x2 )y 00 − 2xy 0 + α(α + 1)y = 0. Let λ = α(α + 1). 1 − x2 , −2x, λ
analytic, so ∃ y = n=0 an xn .
∞
X ∞
X
=⇒ 2a2 + 3(2)a3 x + ((n + 2)(n + 1)an+2 − n(n − 1)an )xn + λan xn + λa1 x + λa0 =
n=2 n=2
∞
X ∞
X
=2 nan xn = 2 nan xn + 2a1 x
n=1 n=2
−λa0
a2 = (n(n + 1) − λ)an (n − α)(n + 1 + α)an
=⇒ 2 an+2 = =
(2 − λ)a1 (n + 2)(n + 1) (n + 2)(n + 1)
a3 =
6
If α = 1, λ = 2,
n−1 1
an+2 = an , a3 = 0, a2 = −a0 =⇒ a2m = (−a0 )
n+1 2m − 1
So that
∞
X x2m
y = −a0
m=0
2m − 1
Indeed,
∞ ∞
x X 2x2m+1 x2m
x 1+x X
log = = ,
2 1−x 2 m=0 2m + 1 m=1
2m − 1
x2m
P∞
so f (x) = − m=0 2m−1 .
Exercise 3.
a.
((x − a)(x − b)y 0 )0 − cy = 0 = ((At + B − a)(At + B − b)y 0 )0 − cy = 0
1 dt
Let x = At + B, c = α(α + 1), A = dx .
u1 has a0 = 0, u2 has a1 = 0.
Since
u1 (0) = 0 u2 (0) = 1
u01 (0) =1 u02 (0) = 0
2(n−α)an
when α ∈ Z+ , then one of these u1 , u2 is a polynomial, since an+2 = (n+2)(n+1)
00 3 0 2
Exercise 5. For xy + (3 + x )y + 3x y = 0, assume an analytic expansion.
∞
X ∞
X
y= an xn = an−2 xn−2
n=0 n=2
X∞ ∞
X ∞
X
y0 = an nxn−1 = an−2 (n − 2)xn−3 = an+1 (n + 1)xn
n=1 n=3 n=0
X∞ ∞
X
y 00 = n(n − 1)an xn−2 = (n + 1)nan+1 xn−1
n=2 n=1
∞
X
2a2 x + 3(2)a3 x2 + 3a1 + 3a2 (2)x + 3a3 (3)x2 + 3a0 x2 + ((n + 1)nan+1 + 3an+1 (n + 1) + an−2 (n − 2) + 3an−2 ) xn = 0
n=3
a1 = 0
(n + 1)(n + 3)an+1 = −an−2 (n + 1)
8a2 = 0
=⇒ −an−2
−a an+1 =
(15a3 + 3a0 ) = 0 or a3 = n+3
5
−a3(j−1) (−1)2 a3(j−2) (−1)j a0
=⇒ a3j = = =
3j + 2 (3j + 2)(3j − 1) (3j + 2)(3j − 1) . . . (8)(5)
∞
X (−1)j
y = a0 {1 + x3j }
j=1
(3j + 2)(3j − 1) . . . (8)(5)
To obtain the solution with even-powered terms, consider first possible simple pole at 0 from the form of the differential
equation:
3
y 00 + + x2 y 0 + 3xy = 0
x
68
Then consider the following:
∞
X ∞
X
y= an xn−2 = an+1 xn−1
n=0 n=−1
X ∞
X
y0 = n = −1∞ (n − 1)an+1 xn−2 = (n + 2)an+4 xn+1
n=−4
∞
X
y 00 = (n + 2)(n + 1)an+4 xn+1
n=−4
∞
X ∞
X ∞
X
(n(n − 1)an + (n − 1)an−1 )xn = αan−1 xn + 2an xn =
n=2 n=1 n=0
∞
X
= (αan−1 + 2an )xn + αa1 x + 2a1 x + 2a0
n=2
(α + 1 − n)an−1
(n − 2)(n + 1)an = (α + −n)an−1 or an =
(n − 2)(n + 1)
an α−(n−1)
an−1 = (n−2)(n+1) → 0 as n → ∞, so this power series converges ∀ x.
Also a0 = a1 = 0.
By recursion,
(α + 1 − n)(α + 2 − n)(α˙ − 2)
an = (3(2))a2
(n − 2)!(n + 1)!
Then,
∞ ∞
! !
X (α + 1 − n)(α + 2 − n)(α˙ − 2) X (α − n − 1)(α − n) . . . (α − 2) n+2
2
y = a2 x + 6xn = a2 2
x + 6x =
n=3
(n − 2)!(n + 1)! n=1
n!(n + 3)!
∞
!
2
X (α − n − 1)(α − n) . . . (α − 2) n
= a2 x 1+ 6x
n=1
n!(n + 3)!
Exercise 7. Leibniz’s formula for nth derivative of a product is the following: if h(x) = f (x)g(x), then
n
(n)
X n (k)
h (x) = f (x)g (n−k) (x)
k
k=0
69
a. For
∞
X
A(x) = an (x − x0 )n
n=0
X∞
B(x) = bn (x − x0 )n
n=0
and C(x) = A(X)B(x), then
n
X n (k)
C (n) (x) = A (x)B (n−k) (x)
k
k=0
b. Given that
A(k) (x0 ) = k!ak
B (n−k) (x0 ) = (n − k)!bn−k
Then
n n
X n X
C (n) (x0 ) = k!ak (n − k)!bn−k = n! ak bn−k
k
k=0 k=0
n
X
C (n) (x0 ) = n!cn so cn = a − kbn−k
k=0
Exercise 8.
1 dn 2
a. By Rodrigues’ formula, Pn (x) = − 1)n . (x2 − 1) = (x − 1)(x + 1). By Leibniz’s formula,
2n n! dxn (x
n k
dn n n
X n d dn−k
n
(x − 1) (x + 1) = k
(x − 1)n n−k (x + 1)n
dx k dx dx
k=0
n−1
1 1 X dk dn−k (x + 1)n
Pn (x) = (x + 1)n + n (x − 1)n n−k (x + 1)n = + (x − 1)Qn (x)
2n 2 n! dx k dx 2n
k=0
Qn (x) is a polynomial.
1 n dn
b. Pn (1) = 1. Pn (−1) = 0 + 2n n! (−2) n! = (−1)n where we considered when k = 0, for dxn (x + 1)n = n!.
c.
Exercise 9.
a. Now (1 − x2 )y 00 + −2xy 0 + α(α + 1)y = 0, or ((1 − x2 )y 0 )0 = −α(α + 1)y.
0 0
− m(m + 1)Pm = ((1 − x2 )Pm )
0 0 0
− m(m + 1)Pm Pn = ((1 − x2 )Pm ) Pn = ((1 − x2 )Pm Pn )0 − (1 − x2 )Pm
0
Pn0
n(n + 1)Pn Pm = −((1 − x2 )Pn0 Pm )0 + (1 − x2 )Pn0 Pm
0
0
=⇒ ((1 − x2 )(Pn Pm − Pn0 Pm ))0 = (n(n + 1) − m(m + 1))Pn Pm
R1
b. If n 6= m, −1
Pn Pm = 0
Exercise 10.
a. f (x) = (x2 − 1)n = (x − 1)n (x + 1)n . Using Leibniz’s rule again,
n−1
X dk n d
n−1+k
f (n−1) = (x − 1) (x + 1)n
dxk dxn−1+k
k=0
(n−1) (n−1)
For f (1) = 0, f (−1) = 0. Then
Z 1 1 Z 1 Z 1
(n) (n) (n−1) (n) (n−1) (n+1)
f f =f f − f f =− f (n−1) f (n+1)
−1 −1 −1 −1
Now
2n
d2n 2 2n dk 2n−k
n d
X
( n
f 2n)(x) = 2n (x − 1) = (x − 1) (x + 1)n = (2n)!
dx k dxk dx2n−k
k=0
for the k = n term.
Z 1 Z 1 Z 1 Z 1
f (n) f (n) = f (2n) f (0) (−1)n = (2n)! (1 − x2 )n dx = 2(2n)! (1 − x2 )n dx
−1 −1 −1 0
70
n
b. Now Pn (x) = 2n1n! dx
d 2 n
n (x − 1) .
Z 1 Z 1 Z 1 Z π/2
1 1 2(2n)!
(Pn (x))2 dx = 2n f (n) (n)
f = 2(2n)! (1 − x 2 n
) dx = sin2n+1 tdt =
−1 2 (n!)2 −1 22n (n!)2 0 22n (n!)2 0
2(2n)! (2n)!! 2(2n)!2n n!2n+1 22 (n + 1)
= 2n 2
= 2n 2
(n + 1)! = =
2 (n!) (2n + 1)!! 2 (n!) (2n + 2)! (2n + 2)(2n + 1)
2
=
2n + 1
1/2 X∞
2 (−1)n x 2n+1
J1/2 (x) = =
n!(n + 2 )(n − 1 + 12 ) . . . (1 + 21 )( 12 )Γ
1 1
x n=0 2
2
1/2 X ∞ 1/2
2 (−1)n 2n+1 2
= x = sin x
πx n=0
(2n + 1)! πx
Now for α = −1 2 , consider
Γ(n + 1 − 1/2) = Γ n + 12 = n + 12 − 1 n − 2 + 12 . . . 2 + 12 1 + 12 12 Γ 12
8.3 E XERCISES - F UNCTIONS FROM Rn TO Rm . S CALAR AND VECTOR FIELDS , O PEN BALLS AND O PEN SETS
Exercise 1. Let f be a scalar field defined on a set S and let c be a given real number. The set of all points x in S such that
f (x) = c is called a level set of f .
See sketch.
Exercise 2. Let S be the set of all points (x, y) in the plane satisfying the given inequalities.
See sketch.
Exercise 3. Proofs are hard! I read the examples at the end of Section 8.2, particularly the example on the 2-dim. Cartesian
product: it helps. In fact, we’ll review it right now.
A1 , A2 ⊆ R1
A1 × A2 = {(a1 , a2 )|a1 ∈ A1 , A2 ∈ A2 }
If A1 , A2 are open subsets of R1 ,
Choose any a ∈ A1 × A2
Want: a is an int. pt. of A1 × A2
71
Since
A1 , A2 open in R1 , ∃ B(a1 ; r1 ), ∃ B(a2 ; r2 )
Let r = min{r1 , r2 }
Want: B(a; r) ⊆ A1 × A2
We then get what we want: (x1 , x2 ) ∈ A1 × A2 so that any x ∈ B(a; r) belongs in S, which means, by def., that B(a; r) ⊆ S
If ai ≥ 0,
if bi ≥ ai , bi − ai < 1 − ai or bi < 1
if bi > 0, ai − bi > 0 or 1 > ai > bi
if bi < ai ,
if bi < 0, −bi < ai − bi < 1 − ai < 1
If ai < 0,
if bi > 0, bi − ai < 1 + ai or bi < 1 + 2ai < 1
if bi > ai , if bi < ai , ai − bi < 1 + ai or −bi < ai − bi <
if bi < 0, −bi < −a < 1 (since|ai | < 1)
1 + ai < 1.
Then, |bi | < 1 for each and every possible case. Then Ra ⊆ S, so ∀ a ∈ S is an int. pt. (since ∀ a, ∃ open
rectangle Ra , that is completely contained in S). Then S is open.
(3) x + y + z < 1
(4) |x| ≤ 1, |y| < 1, and |z| < 1
Or. . .
We must show @ any open basic set for a pt. in this set.
Since every open rectangle contains an open ball and every open ball contains an open rectangle, we only need to
consider open rectangles.
Consider (1, y0 , z0 ) ∈ S.
Consider open rectangle containing 1. I claim that at best, 1 − n1 , 1 + n1 , n ∈ Z+ , since by Archimedes property
of real numbers,
Theorem 1 (Apostol’s Archimedes property of real numbers, pp. 26, Thm. 1.30, Vol. 1). If x > 0 and if y is an
arbitrary real number, ∃ n ∈ Z+ s.t. nx > y. We want i ∈ (ai , bi ) i.e. ai < 1 < bi
72
Consider open interval containing 1; 1 ∈ (ai , bi ). Then ai < 1 < bi . But (ai , bi ) always contains pts. not
belonging to Si : nx < y (existence of n guaranteed by Archimedes prop. of reals thm.).
1
nbi > (n + 1) =⇒ bi > 1 + >1
n
Then @ open interval containing 1 completely contained in S. (1, y0 , z0 ) is not an interior pt. S is not open.
(5) x + y + z < 1 and x > 0, y > 0, z > 0
Or . . .
Consider a ∈ ∅
Consider B(a; r) = ∅. Then B(a; r) ⊆ ∅. So ∅ is open.
(2) Rn is open.
Or . . .
Consider a ∈ Rn .
Consider B(a; r). Since ∀ y ∈ B(a; r), y ∈ Rn . B(a; r) ⊆ Rn . Rn open.
(3) Consider {WjS }, collection of open sets.
Consider y ∈ j Wj . Then y ∈ Wj for some j. Since Wj open, ∃ B(y; ρ) ⊆ Wj .
S S S
Wj ⊆ j Wj , so B(y, ρ) ⊆ j Wj . j Wj is open.
(4) Consider {WjT |j = 1, . . . , n}, finite collection of open sets.
n
Consider y ∈ j=1 Wj .
y ∈ Wi , ∀ i = 1, . . . , n. Then since
Tn ∀ i, Wi open, ∃ Bi (y, ρi ) ⊆ W
Ti n. Tn
By Thm., ∃ openset B(y, ρ) ⊆ i=1 Bi (y, ρi ). Then B(y, ρ) ⊆ i=1 Bi (y, ρi ) = i=1 Wi
−1 1
(5) Let WT
k = k , k ;k ≥1
Then k Wk = {0}, which is not open.
Exercise 7.
(1) (A {x})c = Ac (R − x)
S S
Ac open. Rn − x open. (sinceS{x} is closed). Then, by thm., the intersection of these two open sets, Ac (R − x) is
T
open. Then, by definition, A {x} is closed.
(2) R − [a, b] = [a, b]c .
Consider y ∈ R − [a, b]
If y > b, then
y − b > 0, so ∃ N ∈ Z+ s.t. y − b > N1 . y > N1 + b (Archimedes prop. of real numbers).
y ∈ N1 + b, y + 1 is open and N1 + b, y + 1 ⊆ R − [a, b]
If y < a, then
a − y > 0, so ∃ N ∈ Z+ s.t. a − y > N1 or a − N1 > y
y ∈ y − 1, a − N1 ⊆ R − [a, b]
thenSR − [a, b] open.
T c[a, b] closed (by definition).
c c
B . A, B closed, so Ac , B c open. Ac B c , intersection of 2 open sets, is open.
T
(3) (A B) S = A
then A B closed.
(A B)c = Ac B c . Ac , B c open. Ac B c open. Then (A B) closed.
T T S T
Exercise 8.
(1) ∅c = Rn and Rn open. ∅ closed.
n c
(2) T ) =c ∅ and
(R S ∅ open. Rn closed.
c c
S c T
(3) (Si Ai ) = iT Ai . Ai open, so i ATi open. i Ai closed.
n n n Sn
(4) ( i=1 Ai )c = i=1 Aci . Aci open, so i=1 Aci open. i=1 Ai closed.
S∞ +
S ∞ c S ∞
(5) i=1 {i} = Z is closed since ( i=1 {i}) = i=1 (i, i + 1) is open.
74
Exercise 9. Let S be a subset of Rn
(1) Prove that both intS and extS are open sets.
Want: intS is open, i.e. ∀ a ∈ intS, ∃ B(a; r) ⊆ intS i.e.
∀ x1 ∈ B(a; r), x1 ∈ intS
x1 ∈ intS if ∃ B(x1 ; r1 ) ⊆ S
∂S, Rn ⊆ intS
S S S S
=⇒ x ∈ intS extS ∂S. extS
Since ∀ x ∈ intS extS ∂S, x ∈ R , then intS extS ∂S ⊆ Rn .
n
S S S S
(intS extS)c = ∂S, intS extS is open so ∂S is closed, since its complement is open.
S S
Exercise 10. Want: x = boundary pt. of S = b.p. of S, neither interior nor exterior to S.
∀ B(x), ∃ ai ∈ B(x), s.t. ai ∈ intS ⊆ S. Then x cannot be an exterior pt.
∀ B(x), ∃ ae ∈ B(x), s.t. ae ∈ extS. Then ae ∈ / S and so x is not interior, by definition. x is a boundary pt.
Exercise 11. Rn − S = S c .
Let x ∈ intS c . Then ∃ open V s.t. x ∈ V and V ⊆ S c .
Then ∀ x1 ∈ V , x1 ∈/ S, so x is an exterior pt. to S. x ∈ extS, so intS c ⊆ extS.
Let x ∈ extS. Then ∃ B(x) s.t. B(x) ⊆ S c . By def., x ∈ intS c .
extS ⊆ intS c
=⇒ extS = intS c
Exercise 12. Suppose S closed. Let y be a boundary pt. of S.
Suppose y ∈/ S. Then y ∈ S c , S c open.
So by def. of open set, ∃ U s.t. y ∈ U and U ⊆ S c . But y is then an exterior pt., contradicting the definition of a boundary pt.
for y.
75
S
Then y ∈ S, so that S = intS ∂S
S
Suppose intS ∂S = S
Consider any z ∈ S c .
Then z has to be either a boundary pt. of S c or interior pt. of S c .
extS = intS c
z cannot be a boundary pt. of S c (we already showed that ), because then z ∈ ∂S and hence belong to S.
extS c = intS
Then z is interior to S c . S c = intS c , so S c open. S closed.
Since limx→x0 f (x) = f (x0 ), where x0 = (a, b), which is equivalent to saying
∀ > 0, ∃ δ > 0 s.t. |f (x) − L| < if kx − x0 k < δ
then
Consider 2 > 0. ∃ δy > 0 s.t. |f (x, y) − f (x, b)| < 2 if |y − b| < δy (since limy→b f (x, y) exists).
Consider 2 > 0. ∃ δxy > 0 s.t. |f (x, y) − L| < 2 if k(x, y) − (a, b)k < δxy (since limx→x0 f (x) = L).
|f (x, b) − L| = |f (x, b) − f (x, y) + f (x, y) − L| < |f (x, y) − f (x, b)| + |f (x, y) − L| < + = whenever
p 2 2
|y − b| < δy and (x − a)2 + (y − b)2 < δxy
then |x − a| < δxy
So ∀ > 0, ∃ δxy = δx () s.t. |f (x, b) − L| < whenever |x − a| < δx ().
We just proved limx→a limy→b f (x, y) = limx→a f (x, b) = L
Similarly, we get the same result for limy tob f (a, y). Thus, limx→a limy→b f (x, y) = limy→b limx→a f (x, y) = L whenever
limx→x0 f (x) = L
(x−y)
Exercise 3. f (x, y) = x+y
lim f = 1
y→0
lim f = −1
x→0
x2 y 2
Exercise 4. f (x, y) = x2 y 2 +(x−y)2
lim f = 0
x→0 x4
but if y = x, f = =1
lim f = 0 x4 + 0
y→0
1
Exercise 5. 0 < x sin y <x x → 0, so by squeeze principle, x sin y1 → 0.
→ limx→0 f = 0
limy→0 f undefined, since
Consider |y| < n1 or n < |y| 1
8.9 E XERCISES - T HE DERIVATIVE OF A SCALAR FIELD WITH RESPECT TO A VECTOR , D IRECTIONAL DERIVATIVES
AND PARTIAL DERIVATIVES , PARTIAL DERIVATIVES OF HIGHER ORDER
Exercise 1. f (x) = a · x
1 −x2
∂x f = + 2
f (x + y 2 )3/2
−xy
∂y f = 2
(x + y 2 )3/2
x+y
Exercise 7. f (x, y) = x−y , x 6= y
1 −(x + y) −2y
∂x f = + =
x−y (x − y)2 (x − y)2
1 −(x + y) 2x
∂y f = + 2
(−1) =
x−y (x − y) (x − y)2
∂xj f = aj
Pn Pn
Exercise 9. f (x) = i=1 j=1 aij xi xj , aij = aji
n X
X n n X
X n n
X n
X n
X
∂xk f (x) = aij δik xj + aij xi δjk = akj xj + aik xi = 2 akj xj
i=1 j=1 i=1 j=1 j=1 i=1 j=1
∂x f = 4x3 − 8xy 2 2
∂yx f = −16xy
∂y f = 4y 3 − 8x2 y 2
∂xy f = −16xy
Exercise 11. f (x, y) = log (x2 + y 2 )
2x −4xy
∂x f = ∂yx f =
x2 + y 2 (x2 + y 2 )2
2y −4xy
∂y f = 2 ∂xy f = 2
x + y2 (x + y 2 )2
1
Exercise 12. f (x, y) = y cos x2 ; y 6= 0
1 + x2
∂y f = (by label symmetry!)
1+ x2 y 2 + x2 + y 2
2
Exercise 16. f (x, y) = ey ln x x > 0
2
−1
∂x f = y 2 xy
2
∂y f = xy 2y ln x
p
Exercise 17. f (x, y) = arccos x/y; y 6= 0
−1
1/2 −1/2
∂x f = p √ =p
xy
1 − x/y xy − x2
√ √
−1 x(−1/2) (1/2) x/y
∂y f = p = √
1 − x/y y 3/2 y−x
2
Exercise 18. v(r, t) = tn e−r /4t
2
∂r (r2 ∂r v) = tn e−r /4t + 2 e−r /4t
r 2t 4t
∂2u
Exercise 19. z = u(x, y)eax+by ; ∂x∂y =0
∂x z = ∂x ueax+by + az
∂y z = (∂y u)eax+by + bz
2
∂xy z = a(∂y u)eax+by + b(∂x u)eax+by + baueax+by
2
∂xy z − ∂x z − ∂y z + z = a(∂y u)eax+by + b(∂x u) + abz − (∂x u)eax+by − az − (∂y u)eax+by − bz + z = 0
a = 1; b = 1
Exercise 20.
(1) f 0 (x, y) = 0 ∀ x ∈ B(a) ∀ y
Recall Thm. 8.4, Mean-value Thm. for derivatives of scalar fields. Assume ∃ f 0 (a + ty; y) ∀ t ∈ [0, 1]. Then ∃
some θ ∈ (0, 1) s.t.
f (a + y) − f (a) = f 0 (z; y), where z = a + θy
x=a+y
0
y=x; 0 ≤ |x0 | < r
∃ f 0 (x, y) = f 0 (a + ty; y) ∀ t ∈ [0, 1]
( since |ty| = t|y| < tr < r)
0
=⇒ f (a + ty; y) = 0 = f (a + y) − f (a)
f (a) = f (x), ∀ x ∈ B(a)
79
(2) Suppose we consider x = a + x0 where |x0 | < r and x0 k y.
y
f 0 (x, y) = f 0 (a + x0 , y) = f 0 (a + |x0 | , y) =
|y|
f (a + |x0 |ey , +h|y|ey ) − f (a + |x0 |ey ) f (a + |x0 |ey + (h|y|)ey ) − f (a + |x0 |ey )
= lim = lim =
h→0 h |y|h→0 h|y|/|y|
= |y|f 0 (a + |x0 |ey , ey )
∃ |y|f 0 (a + t|x0 |ey , ey ) ∀ t ∈ [0, 1], since f 0 (x, y) = 0 ∀ x ∈ B(a)
0 = |y|f 0 (a + t|x0 |ey , ey ) = f (a + |x0 |ey ) − f (a) =⇒ f (a + |x0 |ey ) = f (a)
f = f (a) = constant ∀ x ∈ B(a) s.t. x = a + key 0 ≤ |k| < r
Exercise 21.
(1) A set S in Rn is convex if ∀ a, b ∈ S,
ta + (1 − t)b ∈ S ∀ t ∈ [0, 1]
x1 = a + x01 kx1 − ak < r
Consider x1 , x2 ∈ b(a); and
x2 = a + x02 kx2 − ak < r
tx2 + (1 − t)x1 − a = t(a + x02 ) + (1 − t)(a + x01 ) − a = at + x02 t + a − at + x01 − tx01 − a =
= x01 (1 − t) + x02 t
ktx2 + (1 − t)x1 − ak = kx01 (1 − t) + x02 tk ≤ (1 − t)kx01 k + tkx02 k < (1 − t)r + tr = r
So tx2 + (1 − t)x1 ∈ S ∀ t ∈ [0, 1]. So an n-ball is a convex set.
(2) Consider x ∈ S. Then for some a, b ∈ S, k ∈ [0, 1], x = a + k(b − a).
choose y=b−a
f 0 (x; y) = f 0 (a + k(b − a), y) −−−−−−−−→ f 0 (a + k(b − a), b − a) exists
=⇒ f 0 (a + θ(b − a), b − a) = 0 = f (b) − f (a) =⇒ f (b) = f (a)
This must be true for all pairs of a, b ∈ S since x was arbitrarily chosen from S. f is constant on S.
Exercise 22.
(1)
f (a + hy) − f (a)
f 0 (a; y) = lim
h→0 h
f (a − hy) − f (a) f (a + (−h)y) − f (a)
f 0 (a, −y) = lim = − lim = −f 0 (a, y)
h→0 h −h→0 −h
so if f 0 (a, y) > 0, f 0 (a, −y) < 0
(2) f (x) = x · y because
f (x + hy) − f (x) x · y + hy 2 − x · y
f 0 (x; y) = lim = lim = y2 > 0
h→0 h h→0 h
8.14 E XERCISES - D IRECTIONAL DERIVATIVES AND CONTINUITY, T HE TOTAL DERIVATIVE , T HE GRADIENT OF A
SCALAR FIELD , A SUFFICIENT CONDITION FOR DIFFERENTIABILITY
Let’s review a number of important concepts with Rn fields. Differentiability must be redefined through a n − dim Taylor
expansion.
Definition 2 (Definition of a Differentiable Scalar Field).
Let f : S → R
Let a be an int. pt. of S.
Let B(a; r) s.t. B(a; r) ⊆ S
Let v s.t. kvk < r, so a + v ∈ B(a; r) Then
f diff. at a
if ∃ Ta , E s.t.
linear Ta : Rn → R
scalar E(a, v), E(a, v) → 0 as kvk → 0 and
(1) f (a + v) = f (a) + Ta (v) + kvkE(a, v)
The next theorem shows that if the total derivative exists, it is unique. It also tells us how to compute Ta (y), ∀ y ∈ Rn .
80
Theorem 2 (Uniqueness of total derivative). Assume f diff. at a with total derivative Ta
Then ∃ f 0 (a; y) ∀y ∈ Rn and
Ta (y) = f 0 (a; y)
Also,
X n
f 0 (a; y) = Dj f (a)yj for
j=1
y = (y1 , . . . , yj , . . . , yn )
Proof.
If y = 0, Ta (0) = 0 and f 0 (a; 0) = 0. Done.
Suppose y 6= 0
If f is diff. at a, then all its partials exist (but the converse isn’t true).
existence of partials doesn’t necessarily imply f is diff.
2
e.g. f (x, y) = x2xy +y 4
v0 = 0
where {vk } s.t. . Then choose the vk ’s s.t.
vn = u
vk = vk−1 + uk ek
v1 = u1 e1 ; v2 = u1 e1 + u2 e2 , . . . , vn = u1 e1 + · · · + un en
f (a + λvk ) − f (a + λvk−1 ) = f (a + λvk−1 + λuk ek ) − f (a + λvk−1 ) =
= f (bk + λuk ek ) − f (bk )
81
bk , bk + λuk ek differ only by their kth component so apply the mean value theorem
=⇒ f (bk + λuk ek ) − f (bk ) = (λuk )∂k f (ck )
as bk → a, as λ → 0, so ck → a
n
X
=⇒ f (a + v) − f (a) = λ uk ∂k f (ck )
k=1
P
Now ∇f (a) · v = λ uk ∂k f (a). P
=⇒ f (a + v) − f (a) − ∇f (a) · v = λ uk (∂k f (ck ) − ∂k f (a)) = E(a, v)
ck → a as kvk → 0, and given ∂k f are cont., E(a, v) → 0 as kvk → 0.
By def. of diff., f is diff.
Exercise 1.
(1) f (x, y) = x2 + y 2 sin (xy)
∇f = (2x + y 2 cos (xy), 2y sin (xy) + y 2 x cos (xy))
(2) f (x, y) = ex cos y
∇f = (ex cos y, −ex sin y)
2 3 4
(3) f (x, y, z) = x y z
∇f = (2xy 3 z 4 , 3x2 y 2 z 4 , 4x2 y 3 z 3 )
(4) f (x, y, z) = x2 − y 2 + 2z 2
∇f = (2x, −2y, 4z)
2 2 2
(5) f (x, y, z) = log (x + 2y − 3z )
1
∇f = (2x, 4y, −6z)
f
z ln y
(6) f (x, y, z) = e(lnx)e
ez ln y
z
∇f = f , (ln x)ez ln y , (ln x)(ln y)ez ln y
x y
Exercise 2.
(1) f (x, y, z) = x2 + 2y 2 + 3z 2 at (1, 1, 0) in the direction of i − j + 2k.
f 0 (a, y) = ∇f (a) · y
(2) ∇f = (2x, 4y, 6z) ∇f (1, 1, 0) = (2, 4, 0). ∇f (a) · y = −2
Exercise 3. f (x, y) = 3x2 + y 2 ; x2 + y 2 = 1
(∇f ) · y = |∇f ||y| cos θ
p p p
|∇f | = 36x2 + 4(1 − x2 ) = 32x2 + 4 = 2 8x2 + 1; |∇f | maximized when x = ±1
(±1, 0), y k (±1, 0)
Exercise 4. (1, 2), +2 towards (2, 2); −2 towards (1, 1).
∇f (a) · y = ∇f (a) · (1, 0) = 2; ∇f (a) · (0, −1) = −2 =⇒ ∇f (a) = 2(1, 1)
(4, 6) − (1, 2) 14
∇f (a) · = ∇f (a) · (3, 4)/5 =
5 5
Exercise 5. a, b, c s.t. f (x, y, z) = axy 2 + byz + cz 2 x3 , (1, 2, −1)
∇f = (ay + 3cz x , 2axy + bz, by + 2czx3 )
2 2 2
8.17 E XERCISES - A CHAIN RULE FOR DERIVATIVES OF SCALAR FIELDS , A PPLICATIONS TO GEOMETRY. L EVEL SETS .
TANGENT PLANES .
Exercise 1.
(1)
u = f (x, y) x = X(t)
u = F (t) y = Y (t)
∂x gx0 + ∂y gy 0 = (−12y 5 + 14y 3 − 4y + 7x − 9x3 )exy sin (xy 2 ) + f (9x6 − 11x4 + 3x2 − 4xy)
2
(1+ex ) 2 2
(3) f (x, y) = log 1+ey2 = log (1 + ex ) − log (1 + ey )
X(t) = et X0 = X X 00 = X
Y (t) = e−t Y 0 = −Y Y 00 = Y
1 2
∂x f = (2xex ) 2 2
1 + ex2 2x2 ex 2y 2 ey
2 F 0 (t) = 2 +
−2yey 1 + ex 1 + ey 2
∂y f =
1 + ey 2 ! !
2 2 2 2 2 2 2 2
(ex + 2x2 ex )(1 + ex ) − (2xex )(xex ) ex + 2x2 ex + e2x
∂xx f = (2) = (2)
(1 + ex2 )2 (1 + ex2 )2
2 2 2
!
ey + 2y 2 ey + e2y
∂yy f = (−2)
(1 + ey2 )2
∂xy f = 0
2
(∂xx f )x02 + ((∂yx
2 2
f + ∂xy f )x0 y 0 + (∂yy
2
f )y 02 + (∂xf )x00 + ∂yf y 00 =
2 2 2 2 2 2 2 2 2 2
ex + 2x2 ex + e2x 2 ey + 2y 2 ey + e2y 2 2xex (1 + ex ) −2yey (1 + ey )
= (2) (x ) + (−2) y + x + y=
(1 + ex2 )2 (1 + ey2 )2 (1 + ex2 )2 (1 + ey2 )2
2 2 2 2
4x2 ex (1 + x2 + ex ) −4y 2 ey (1 + y 2 + ey )
= +
(1 + ex2 )2 (1 + ey2 )2
Exercise 3.
(1)
∇f = (3, −5, 2)
N = (2x, 2y, 2z) = 2r
(2, 2, 1)
∇f · = (3, −5, 2) · (2, 2, 1)/3 = −2/3
3
It should be noted that the normal to a sphere is the position vector.
85
(2)
∇f = (2x, −2y, 0)
x2 + y 2 + z 2 = 4 is a sphere
(x, y, z) 2x2 − 2y 2
∇f · =
r r
(3) x2 + y 2 = 25 and 2x2 + 2(z 2 − x2 ) − z 2 = 25
∇f = (2x, 2y, −2z)
√
∓x √ ∓x , 0
!
(1, √25−x 2
, 0) 1, 25−x 2 25 − x2 ∓x
T = q =p = , ,0
x2
1 + 25−x 25/(25 − x2 ) 5 5
2
√ √ !
2x 25 − x2 −2 25 − x2 x
6 −2(4)3 24 −24
=⇒ ∇f · T = , ,0 = 4, ,0 = + +0 =0
5 5 5 5 5 5
Exercise 4.
p
0= x2 + y 2 + (x2 + y 2 )3/2 − z = f (r)
!
x 2 2 1/2 y 2 2 1/2
=⇒ ∇f = p + 3x(x + y ) ,p + 3y(x + y ) , −1
x2 + y 2 x2 + y 2
(2)
−1
∇f · ez = |∇f | cos θz =⇒ cos θz = q
(x+3x3 +3xy 2 )2 (y+3yx2 +3y 3 )2
x2 +y 2 + x2 +y 2 +1
−1
cos θz = p
(1 + 3(x2 + y 2 ))2 + 1
−1 x→0 −1
lim cos θz = p −−−→= √
y→0 (1 + 3(x2 ))2
+1 2
√ √
lim lim cos θz = −1 2
x→0 y→0
cos θz is differentiable at (x, y) = (0, 0) (we can observe that the partial derivatives exist and are continuous at
(0, 0)), so cos θz is continuous at (x, y) = (0, 0).
eu cos v = x u = u(x, y)
Exercise 5. u
e sin v = y v = v(x, y)
y
sin v = p
x2 + y 2 = e2u 1 + y2x2 y
=⇒ ln (x2 + y 2 ) = u =⇒ tan v =
2 2
ln (x + y ) = 2u 2 x x
cos v =
sqrtx2 + y 2
x y
∇U = ,
x2 + y 2 x2 + y 2
=⇒ ∇U · ∇V = 0
−y/x2
1/x
∇V = ,
1 + (y/x)2 1 + (y/x)2
p
Exercise 6. f (x, y) = |xy|
86
(1) r r
1/2 1 y 1 x
if x ≷ 0, y ≷ 0, f = (xy) ∂x f = ∂y f =
2 x 2 y
1/2 1/2
|y| 1 −1 x
if x > 0, y < 0, f = (x(−y))1/2 ∂x f = ∂y f =
x 2 2 |y|
1/2 1/2
−1 y 1 |x|
if x < 0, y > 0, f = (−xy)1/2 ∂x f = ∂y f =
2 |x| 2 y
(2) Does the surface z = f (x, y) have a tangent plane at the origin?
z = f (x, y)
g = f (x, y) − z =⇒ ∇g = (∂x f, ∂y f, −1)
For x = y,
1 1
∇g(0, 0, 0) = , , −1
2 2
But when approaching from the x or y axis, ∇g = (0, 0, −1). A tangent plane cannot be defined at the origin.
Exercise 7. Given surface z = xy, z = y0 x, y = y0 and z = x0 y, x = x0 intersect at (x0 , y0 , z0 ) and lie on the surface. We
want to show that the tangent plane to this surface at (x0 , y0 , z0 ) contains these 2 lines.
Note that the 2 lines could be reexpressed in vector form:
x(1, 0, y0 ) + (0, y0 , 0)
y(0, 1, x0 ) + (x0 , 0, 0)
Rewrite the surface equation so to get the gradient
0 = xy − z
∇f = (y, x, −1)
∇f (r0 ) = (y0 , x0 , −1)
∇f (r0 ) · (x, y, z) = y0 x + x0 y − z = x0 y0
(0, y0 , 0) ∈ S
∇f (r0 ) · (1, 0, y0 ) = ∇f (r0 ) · (0, 1, x0 ) = 0 and note that
(x0 , 0, 0) ∈ S
So indeed, the tangent plane contains these lines.
Exercise 8. xyz = a3 (x0 , y0 , z0 ), ∇f = (yz, xz, xy)
y0 z0 x + x0 z0 y + x0 y0 z = 3a3
Volume of the tetrahedron:
9a3
1 1 1 1 1
V = Bh = xy h = xyz = (3x0 )(3y0 )(3z0 ) =
3 3 2 6 6 2
Exercise 9. We want a pair of linear Cartesian equations for the line tangent to x2 +y 2 +2z 2 = 4, z = ex−y at pt. (1, 1, 1) = P1
We calculate the gradients for the 2 surfaces, so to get the normal to these surfaces.
∇f = (2x, 2y, 4z) ∇g = (ex−y , −ex−y , −1)
(1,1,1)
−−−−→ ∇f (1, 1, 1) = 2(1, 1, 2) ∇g(1, 1, 1) = (1, −1, −1)
We know the general form of the equation for the line with these normals, N , will be X · N = X · P1 . Then
x − y − z = −1
x + y + 2z = 4
Exercise 10. Find a constant c s.t. at any pt. of intersection, the corresponding tangent planes will be ⊥ to each other.
(x − c)2 + y 2 + z 2 = 3 ∇f = 2(x − c, y, z)
2 2 ∇g = 2(x, y − 1, z)
x + (y − 1) + z = 1
tangent planes are ⊥ to each other =⇒ ∇f · ∇g = x(x − c) + y(y − 1) + z 2 = x2 − xc + y 2 − y + z 2 = 0
=⇒ y = xc
87
We have the intersection condition, and so solving for the system of 2 linear equations, with y = xc,
√
c=± 3
Exercise 11. Without loss of generality, choose the origin to make the ellipse symmetrical and the major axis to lie on the x
axis.
R = (x, y)
p
F1 = (ae, 0) |R − F1 | = r1 = (x − ae)2 + y 2 R − F1 = (x − ae, y)
R − F2 = (x + ae, y)
p
F2 = (−ae, 0) |R − F2 | = r2 = (x + ae)2 + y 2
(x − ae, y) R − F1
∇|R − F1 | = p =
(x − ae)2 + y 2 r1
(x + ae, y) R − F2
∇|R − F2 | = p =
(x + ae)2 + y2 r2
r1 + r2 = K
x2
2 2
y = b 1 −
x2 y2 a2 dy ∓bx/a2 −b2 x
+ = 1 = =
a2 b2 a2 y
r p
x2 dx 1 − (x/a)2
y = ±b 1 − 2
a
0 −b2 x
R = (1, 2 )
a y
R0 · kR + R0 · (−F1 r2 − F2 r1 )
0 0 R − F1 R − F2
R · ∇(|R − F1 | + |R − F2 |) = R · + =
r1 r2 r1 r2
2
Consider R0 · kR + r2 (−F1 · R0 ) − r1 (R0 · F2 ) = K(x − ab 2 x) + r2 (−ae) − r1 (−ae)
r r
b 2 x2 b2 x2 p
r1,2 = (x ∓ ae)2 + b2 − 2 = x2 ∓ 2xae + a2 e2 + b2 − 2 = e2 x2 ∓ 2xae + a2 = a ∓ xe
a a
r2 − r1 = 2xe
r2 + r1 = 2a
=⇒ R · kR + r2 (−F1 · R ) − r1 (R0 · F2 ) = 2axe2 + (−ae)(2xe) = 0
0 0
Thus T · (∇r1 + r2 ) = 0. This means that T · ∇r1 = −T · ∇r2 . As we had shown above, ∇r1,2 is in the direction from the
respective foci to the arbitrary point (x, y) and both ∇r1 and ∇r2 are of length 1. Thus T · ∇r1 = −T · ∇r2 geometrically
says that the angle between ∇r1 and the tangent line is equal to the angle between ∇r2 and the tangent line.
Exercise 12. f = f (x, y, z)
∂z f = k0 z =⇒ f = k1 z 2 g(x, y) + h(x, y)
f (0, 0, a) = k1 a2 g(0, 0) + h(0, 0) = f (0, 0, −a)
8.22 E XERCISES - D ERIVATIVES OF VECTOR FIELDS , D IFFERENTIABILITY IMPLIES CONTINUITY, T HE CHAIN RULE
FOR DERIVATIVES OF VECTOR FIELDS , M ATRIX FORM OF THE CHAIN RULE
Exercise 1. Recall
n
X n
X
(Dh(a))jk = (Df (b))jl (Dg(a))lk = (∂k hj (a)) = (∂l fj (b))(∂k gl (a))
l=1 l=1
(1)
∂f ∂g
∂x f = ∂t F ∂x g =⇒ = F 0 (g(x, y))
∂x ∂x
∂f 0 ∂g
= F (g(x, y))
∂y ∂y
(2)
∂f
F (t) = esin t = − cos tesin t sin (x2 + y 2 )2x
∂x
g(x, y) = cos (x2 + y 2 ) ∂f
= − cos tesin t sin (x2 + y 2 )2y
∂y
88
Exercise 2. Given
x−y
u=
2 f (u, v) → F (x, y), F (x, y) = f (u(x, y), v(x, y))
x+y
v=
2
1 1
∂x F = ∂u f ∂x u + ∂v f ∂x v = ∂u f + ∂v f
2 2
1 1
∂y F = ∂u f ∂y u + ∂v f ∂y v = − ∂u f + ∂v f
2 2
Exercise 3. Given
x = X(s, t)
u = f (x, y) u = F (s, t) = f (x(s, t), y(s, t))
y = Y (s, t)
(1)
∂s F = ∂x f ∂s x + ∂y f ∂s y
∂t F = ∂x f ∂t x + ∂y f ∂t y
(2) To get to the second order partial derivatives, it seems that a direct application of the partial derivatives is needed:
there’s not a way to reformulate a matrix chain rule for second order partial derivatives, until maybe the Hessian
matrix.
2 2 2 2 2
∂ss f = ∂xs F ∂s x + ∂x f ∂ss x + ∂ys F ∂s y + ∂y f ∂ss y
∂s f = ∂x f ∂s x + ∂y f ∂s y
=⇒ ∂xs f = ∂xx f ∂s x + ∂x f ∂s ∂x x + ∂xy f ∂s y + ∂y f ∂s ∂x y =
= ∂xx f ∂s x + ∂xy f ∂s y
2 2 2 2 2 2 2
=⇒ ∂ss f = (∂xx f ∂s x + ∂xy f ∂s y)∂s x + ∂x f ∂ss x + (∂yx f ∂s x + ∂yy f ∂s y)∂s y + (∂y f )(∂ss y) =
2 2 2 2 2 2 2
= (∂xx f )(∂s x) + 2∂xy f ∂s y∂s x + ∂yy f (∂s y) + (∂x f )∂ss x + (∂y f )(∂ss y)
(3) By label symmetry:
2 2
∂tt f = (∂xx f )(∂t x)2 + 2∂xy
2 2
f ∂t y∂t x + ∂yy f (∂t y)2 + (∂x f )∂tt
2 2
x + (∂y f )(∂tt y)
2
Let’s calculate ∂st F
2 2 2 2 2
∂st F = ∂xs f ∂t x + ∂x f ∂st x + ∂ys f ∂t y + ∂y f ∂st y=
2 2 2 2 2 2
= (∂xx f ∂s x + ∂xy f ∂s y)∂t x + ∂x f ∂st x + (∂yx f ∂s x + ∂yy f ∂s y)∂t y + ∂y f ∂st y=
2 2 2 2 2
= ∂xx f ∂s x∂t x + ∂xy f (∂s y∂t x + ∂s x∂t y) + ∂yy f ∂s y∂t y + ∂x f ∂st x + ∂y f ∂st y
Exercise 4.
(1)
X(s, t) = s + t ∂s X = ∂t X = 1 ∂s F = ∂x f + t∂y f
Y (s, t) = st ∂s Y = t ∂t Y = s ∂t F = ∂x f + s∂y f
2 2 2 2
∂ss f = (∂xx f ) + 2∂xy f t + ∂yy f t2
2 2 2 2
∂tt f = (∂xx f ) + 2∂xy f s + ∂yy f s2
2 2 2 2
∂st f = ∂xx f + ∂xy f (t + s) + ∂yy f ts
(2)
X(s, t) = st Xs = t Ys = 1/t ∂s F = ∂x f t + ∂y f (1/t)
Y (x, t) = s/t Xt = s Yt = −s/t ∂t F = ∂x f s + ∂y f (−s/t2 )
2 2 1
∂ss F = (∂xx f )(t2 ) + 2∂xy
2
f 2
t + ∂yy f (1/t)2
t
2
2 2 2 2 −s 2 −s
∂tt F = (∂xx f )s + 2∂xy f s + ∂yy f
t t2
2 2 2 1 −s 2 1 −s −1
∂st F = ∂xx f ts + ∂xy f s+t + ∂yy f + ∂ x f + ∂ y f
t t2 t t2 t2
89
(3)
s−t
X(s, t) = xs = 1/2 Ys = 1/2 ∂s F = ∂x f 1/2 + ∂y f 1/2
2
s+t xt = −1/2 Yt = 1/2 ∂t F = ∂x f (−1/2) + ∂y f 1/2
Y (s, t) =
2
2 1 2 2 2 1 2 2 2 2
∂ss F = ((∂xx f + ∂xy f )1/2 + (∂yx f + ∂yy )1/2) = (∂xx f + ∂xy f + ∂yx f + ∂yy f)
2 4
2 1 2 2 2 2
∂tt F = (∂xx f − ∂xy f − ∂yx f + ∂yy f)
4
2 1 2 2 2 2
∂st F = (−∂xx f + ∂xy − ∂yx f + ∂yy f)
4
Exercise 5. You cannot interchange ∂x and ∂r , ∂x and ∂θ , etc.
∂r φ = ∂x f ∂r x + ∂y f ∂θ y = fx c + fy s
∂θ φ = ∂x f ∂θ x + ∂y f ∂θ y = −fx rs + fy rc
Notice that the above formulas give a prescription or algorithm for computing the ∂r or ∂θ of functions of x, y. Notice also
that fx , fy are each composite functions.
2
∂rθ φ = ∂r (−fx rs + fy rc) = −∂r fx rs − fx s + ∂r fy f c + fy c =
= −(fxx c + fyx s)rs − fx s + (fxy c + fyy s)rc + fy c =
= −fxx rcs − fyx rs2 + fxy rc2 + fyy rsc − fx s + fy c
2
∂θr φ = ∂θ (fx c + fy s) = ∂θ fx c − fx s + ∂θ fy s + fy c =
= (−fxx rs + fyx rc)c − fx s + (−fxy rs + fyy rc)s + fy c =
= −fxx rsc + fyx rc2 − fx s − fxy rs2 + fyy rcs + fy c
2
∂rr φ = ∂r (fx c + fy s) =
= ∂r fx c + ∂r fy s = (fxx c + fyx s)c + (fxy c + fyy s)s = fxx c2 + fyx sc + fxy cs + fyy s2
x = X(r, s, t)
Exercise 6. Given u = f (x, y, z), y = Y (r, s, t) u = F (r, s, t)
z = Z(r, s, t)
∂r F = ∂x F ∂r x + ∂y F ∂r y + ∂z F ∂r z
∂s F = ∂x F ∂s x + ∂y F ∂s y + ∂z F ∂s z
∂t F = ∂x F ∂t x + ∂y F ∂t y + ∂z F ∂t z
Exercise 7.
X(r, s, t) = r + s + t
(1) Given Y (r, s, t) = r + −2s + 3t
Z(r, s, t) = 2r + s + −t
∂r F = ∂x F + ∂y F + 2∂z F
∂s F = ∂x F + −2∂y F + ∂z F
∂t F = ∂x F + 3∂y F − ∂z F
X(r, s, t) = r2 + s2 + t2
(2) Given Y (r, s, t) = r2 − s2 − t2
Z(r, s, t) = r2 − s2 + t2
∂r F = 2r(∂x F + ∂y F + ∂z F )
∂s F = 2s(∂x F + −∂y F − ∂z F )
∂t F = 2t(∂x F − ∂y F + ∂z F )
90
x = X(s, t)
Exercise 8. u = f (x, y, z) y = Y (s, t) u = F (s, t)
z = Z(s, t)
∂s F = ∂x F ∂s X + ∂y F ∂s Y + ∂z F ∂s Z
∂t F = ∂x F ∂t X + ∂y F ∂t y + ∂z F ∂t Z
Exercise 9.
X(s, t) = s2 + t2
∂s F = 2s(∂x F + ∂y F ) + 2t∂z F
(1) Y (s, t) = s2 − t2
∂t F = 2t(∂x F − ∂y F ) + 2s∂z F
Z(s, t) = 2st
X(s, t) = s + t
∂s F = (∂x F + ∂y F ) + t∂z F
(2) Y (s, t) = s − t
∂t F = (∂x F − ∂y F ) + s∂z F
Z(s, t) = st
∂r F = ∂x F ∂r x + ∂y F ∂r y
x = X(r, s, t)
Exercise 10. Given u = f (x, y); u = F (r, s, t) =⇒ ∂s F = ∂x F ∂s x + ∂y F ∂s y
y = Y (r, s, t)
∂t F = ∂x F ∂t x + ∂y F ∂t y
Exercise 11.
∂r F = ∂x F
(1) Given X(r, s, t) = r + s, Y (r, s, t) = t =⇒ ∂s F = ∂x F
∂t F = ∂y F
∂r F = ∂x F + ∂y F (2r)
2 2 2
(2) Given X(r, s, t) = r + s + t, Y (r, s, t) = r + s + t =⇒ ∂s F = ∂x F + 2s∂y F
∂t F = ∂x F + 2t∂y F
1
∂x F
∂r F =
s
(3) Given X(r, s, t) = r/s, Y (r, s, t) = s/t =⇒ ∂s F = ∂x F (−r/s2 ) + ∂y F/t
∂t F = ∂y F (−s/t2 )
Exercise 12. h(x) = f (g(x)) g = (g1 , . . . , gn )
n
X n
X
∇h(a) =⇒ ∂k h(a) = ∂l f ∂k gl or ∇h(a) = ∂l f ∇gl
l=1 l=1
Exercise 13.
(1) f (x, y, z) = xi + yj + zk
∇fx (x) ∂x fx ∂y fx ∂z fx 1
Df (x) = ∇fy (x) = ∂x fy ∂ y fy ∂z fy = 1
∇fz (x) ∂ x fz ∂y fz ∂z fz 1
(2) f = (x + cx , y + cy , z + cz ) where cz , cy , cz are constants.
(3)
∇fx (x) ∂x fx ∂y fx ∂z fx p(x)
Df (x) = ∇fy (x) = ∂x fy ∂y fy ∂z fy = q(y)
∇fz (x) ∂x fz ∂y fz ∂z fz r(z)
Z Z Z
=⇒ f (x) = (( p(x)dx + x0 ), ( q(y)dy + y0 ), ( r(z)dz + z0 ))
where x0 , y0 , z0 are constants.
f (x, y) = (ex+2y , sin (y + 2x))
Exercise 14. Given f : R2 → R2 , g : R3 → R2
g(u, v, m) = ((u + 2v 2 + 3w3 ), (2v − u2 ))
8.24 M ISCELLANEOUS EXERCISES - S UFFICIENT CONDITIONS FOR THE EQUALITY OF MIXED PARTIAL DERIVATIVES
y(x2 −y 2 )
Exercise 2. f = x2 +y 2 .
2x(x2 + y 2 ) − (2x)(x2 − y 2 ) 4x3 y
f1 = (y) 2 2 2
= 2
(x + y ) (x + y 2 )2
((x2 − y 2 ) − 2y 2 )(x2 + y 2 ) − 2y 2 (x2 − y 2 ) x4 − 4x2 y 2 − y 4
f2 = 2 2 2
=
(x + y ) (x2 + y 2 )2
(x2 + y 2 )2 − 2(x2 + y 2 )(2y)y x4 − 4x2 y 2 − y 4
D2,1 f = 4x3 =
(x2 + y 2 )4 (x2 + y 2 )2
(4x3 − 8xy 2 )(x2 + y 2 )2 − 2(x2 + y 2 )(2x)(x4 − 4x2 y 2 − y 4 )
D1,2 f = =
(x2 + y 2 )4
4x(x2 − 2y 2 )(x2 + y 2 ) − 4x(x4 − 4x2 y 2 − y 4 ) 4xy 2 (3x2 − y 2 )
= =
(x2 + y 2 )3 (x2 + y 2 )3
From the above results, clearly,
lim f1 = 0, lim f1 = 0
x→0 y→0
1p 1p
∂x f = ∂u f ∂x u = e−xy y/x ∂y f = e−xy x/y by label symmetry
2 2
x = x(t)
Exercise 5. Given u = f (x, y); and u = F (t).
y = y(t)
∇f (x, yz) = B × (r × A) + A × (r × B)
Exercise 12.
(1)
1 −1 1 2xi −xi
∂i = 2 = 3
r r 2 r r
1 −A · r
A·∇ =
r r3
(2)
−aj xj−ai −3 xi −ai 3aj xj xi
∂i = 3 + −aj xj = 3 +
r3 r r4 r r r5
1 −A · B 3(A · x)(x · B)
B·∇ A·∇ = 3
+
r r r5
Exercise 13.
9.3 E XERCISES - PARTIAL DIFFERENTIAL EQUATIONS , A FIRST- ORDER PARTIAL DIFFERENTIAL EQUATION WITH
CONSTANT COEFFICIENTS
5
g(2x + 5y) = e(x+ 2 y) + −1
Exercise 3.
(1) If u(x, y) = f (xy), then consider that xy = const. represent level curves for f (because if f (xy) = f (const.), then,
“obviously,” f (const.) = another constant.
Parametrize r by x
+k −k −y k
r = (x, y) = (x, ); r0 = (1, ) = (1, ) where y =
m x2 x x
−y
(∇u) · r0 = ∂x u + ∂y u = 0 or x∂x u − y∂y u = 0
x
95
2
u(x, x) = x4 ex ∂x
2
u(x, x) = f (xx) = f (x2 ) = (x2 )2 ex =⇒ f (xy) = (xy)2 exy
x
(2) v(x, y) = f y for y 6= 0
x
y = const., then f const. ∇f · r0 = 0 on these level curves with xy = const.; r = (x, y) = (x, xk ); r0 = (1, 1/k) or
(1, xy )
y
=⇒ ∂x v + ∂y v = 0 or x∂x v + y∂y v = 0
x
1 0 x y=1/x 1 1
∂x v(x, 1/x) = 1/x; ∂x v = f −−−−→ xf 0 (x2 ) = or f 0 (x2 ) = 2 or f (x) = ln x + C
y y x x
x x
f = ln + C = v(x, y)
y y
x
Since v(1, 1) = 2 =⇒ v(x, y) = ln + 2
y
∂ 2 g(x,y)
Exercise 4. ∂x∂y =0
2
∂y g(x, y) = ψ2 (y) for ∂xy g = 0; g(x, y) = φ2 (y) + φ1 (x) for φ02 (y) = ψ2 (y)
Exercise 5. a = 1, b = −2, c = −3
2 2 2
x = Au + Bv
Consider the general problem: a∂xx f + b∂xy f + c∂yy f =0 , g(u, v) = f (Au + Bv, Cu + Dv)
y = Cu + Dv
∂2g
∂u∂v = 0 (assume equality of mixed partials)
2
∂v g = B∂x f + D∂y f ∂uv g = B(A∂xx f + C∂yx f ) + D(A∂xy f + C∂yy f ) = 0 =
∂u g = A∂x f + C∂y f 2 2 2
= AB∂xx f + (BC + DA)∂xy f + DC∂yy f =0
AB = a
=⇒ BC + DA = b
DC = c
2
∂uv g = 0 =⇒ ∂v g = h(v) or g = H(v) + l(u)
Cx − Ay Dx − By
g(u, v) = H1 (v) + l1 (u) = H1 + l1
BC − AD AD − BC
= H(Cx − Ay) + l(Dx − By)
x+y
Exercise 6. u(x, y) = xyf xy
x+y 0 1 1 −1 x+y −1 0 1 1
∂x u(x, y) = yf + xyf + = yf + yf +
xy y x x2 xy x y x
x2 ∂x u + −y 2 ∂y u = G(x, y)u =⇒
x+y x+y −1
∂y u(x, y) = xf + xyf 0
xy xy y2
=⇒ x2 ∂x − y 2 ∂y u = x2 yf − xyf 0 − y 2 xf + xyf 0 = (x − y)u G=x−y
s
x=e
Exercise 7. f (x, y) =⇒ g(s, t) g(x, t) = f (es , et )
y = et
x2 ∂xx
2
f + y 2 ∂yy
2
f + x∂x f + y∂y f = 0
∂s g = x∂x f ∂t g = y∂y f
2 2 2
∂ss g = x∂x f + x(x∂xx f) ∂tt g = y∂y f + y 2 ∂yy
2
f
2 2
∂ss g + ∂tt g = x∂x f + x2 ∂xx
2
f + y∂y f + y 2 ∂yy
2
f =0
Exercise 8. f (tx) = tp f (x) ∀ t > 0, ∀ x ∈ S s.t. tx ∈ S For fixed x, define g(t) = f (tx);
p
g(t) = f (tx) = t f (x)
=⇒ g 0 (1) = pf (x) = f 0 (x) = (∇f ) · x (by definition of total derivative )
g 0 (t) = ptp−1 f (x)
Exercise 9. Given g(t) = f (tx) − tp f (x), note that we want g(t) = 0.
96
d
g 0 (t) =
f (tx) − ptp−1 f (x)
dt
It is very useful to recall the total derivative definition.
d f ((t + ∆t)x) − f (tx) f (tx + ∆tx) − f (tx)
f (tx) = lim = lim = ((∇f )(tx)) · x
dt ∆t→0 ∆t ∆t→0 ∆t
Use the fact that we’re given: x · (∇f )(x) = pf (x), so that tx · ∇f (tx) = pf (tx)
p g0 p
0
g (t) = x · (∇f )(tx) − pt p−1
f (x) = (f (tx) − tp f (x)) = =
t g t
p =⇒ ln g = p ln t + C
= g(t)
t g = Ktp
Now g(1) = 0 (by plugging into the given g(t) = f (tx) − tp f (x)). But g(1) = 0 if K = 0
=⇒ g = 0 ∀ t
Exercise 10.
=⇒ x2 ∂xx
2 2
f + 2xy∂xy f + y 2 ∂yy
2
f + (pf ) = p2 f or x2 ∂xx
2 2
f + 2xy∂xy f + y 2 ∂yy
2
f = p(p − 1)f
= π/12
9.13 E XERCISES - M AXIMA , MINIMA , AND SADDLE POINTS . S ECOND - ORDER TAYLOR FORMULA FOR SCALAR
FIELDS . T HE NATURE OF A STATIONARY POINT DETERMINED BY THE EIGENVALUES OF THE H ESSIAN MATRIX .
S ECOND - DERIVATIVE TEST FOR EXTREMA OF FUNCTIONS OF TWO VARIABLES .
Exercise 1. z = x2 + (y − 1)2
f (x, y) = x2 + (y − 1)2
f ≥ 0 and f = 0 when (x, y) = (0, 1)
∇f = (2x, 2(y − 1)) = 0 where (x, y) = (0, 1)
(0, 1) is an abs. min.
Exercise 2. z = x2 − (y − 1)2
∇f = (2x − y − 2, −x + 2y + 1) = 0
so the critical point is at (x, y) = (1, 0).
The Hessian matrix is
2 −1
H=
−1 2
So λ = 1, +3 are the eigenvalues. (1, 0) is a relative minimum.
Exercise 7. For z = x3 − 3xy 2 + y 3 ,
z = 2 ( − 3δ) + δ 3
So for y = 3x,
fx = 16x − 6y
∇z = (fx eg + 2f eg , fy eg + 3f eg )
fy = −6x + 6y
∇z (fx + 2f )eg = 0 −1 −1
−−→ =⇒ (0, 0), ( , )
(fy + 3f )eg = 0 4 2
16eg + 4fx eg + 4f eg −6eg + 2fy eg + 3fx eg + 6f eg
Dij z =
−6eg + 3fx eg + 2fy eg + 6f eg 6eg + 6fy eg + 9f eg
16 −6
Dij z(0, 0) = = 96 − 36 = 60 (0, 0) is a minimum
−6 6
−1 −1 16 −9 −1 −1
Dij z( , ) = e−4 −3 = e
−4
(−24 − 54) < 0 ( , ) is a saddle pt.
4 2 −6 2 4 2
2
+xy+y 2 )
Exercise 12. z = (5x+7y−25)e−(x = f e−g . Using these shorthand, substitution notation helps with the calculation.
Dij z =
2
−g 5(−2 − y)2 + f (−2x − y) + f (−2) 7(−2x − y) + 5(−x − 2y) + f (−x − 2y)(−2x − y) − f
e
7(−2x − y) + 5(−x − 2y) + f (−x − 2y)(−2x − y) − f 7(−x − 2y)2 + (−x − 2y)2 f + −2f
−27 −36
Dij z(1, 3) = e−2g > 0 =⇒ (1, 3) is a maximum
−36 −51
25
+ 52 35 + 26
−1 −3 26 26 > 0 =⇒ ( −1 , −3 ) is a minimum.
Dij z( , ) = 35
49
26 26 26 + 26 26 + 52 26 26
Exercise 13. z = sin x sin y sin (x + y), 0 ≤ x ≤ π, 0 ≤ y ≤ π
Exercise 21. Method of least squares. Given n distinct numbers x1 , . . . , xn and n further numbers y1 , . . . , yn , and f (x) =
ax + b fitting form,
n
X n
X
E(a, b) = (f (xi ) − yi )2 = (axi + b − yi )2
i=1 i=1
n
X X X X
∂a E = 2(axi + b − yi )xi = 2 a x2i + b xi − yi xi = 0
i=1
∇E = 0 =⇒ n X
X X
∂b E = 2(axi + b − yi ) = 2 a xi + nb + − yi = 0
i=1
101
X
X2 = x2i
1X X2
P
X= xi nX a yi xi
=⇒ =
n nX n b nY
1 X
Y = yi
n
yi xi − n2 XY
P P
a 1 n −nX yi xi n P 1
=⇒ = =
b nX 2 − n2 X
2 −nX X2 nY −nX yi xi + nX 2 Y nX 2 − n2 X
2
ui = xi − X
2 X 2 2 2
Suppose u2i = x2i − 2xi X + X =⇒ u2i = X 2 − 2nX + nX = X 2 − nX
X X X
yi ui = yi (xi − X) = yi xi − XY n
X X
=⇒ a = yi ui / u2i
Then
" 2
# P
X 2 − nX
P P
xi yi − nXY a z x − nXZ uz
2 = P i i = P i i
Y 2 − nY b zi yi − nY Z vi zi
P
xi yi − nXY
2 X
X 2 − nX = u2i
Note that for ui = xi − X, vi = yi − Y , we already showed in the previous exercise, Exercise 21, that 2 X
Y 2 − nY = vi2
X X X X
u i vi = (xi − X)(yi − Y ) = xi yi − nXY − nXY + XY n = xi yi − nXY
P 2 P
u Pui 2vi and use Cramer’s rule to obtain
So let ∆ = P i
ui v i vi
P P
1 ui zi
Pui 2vi
a= P
∆ vi zi vi
P P
1 vi zi ui v i
b= P P 2
∆ ui zi ui
c = Z − aX − bY
x3 = yz
∇f = (4x3 − 4yz, 4y 3 + −4xz, 4z 3 − 4xy) = 0 = (x3 − yz, y 3 − xz, z 3 − xy) =⇒ y 3 = xz thus ∇f (1, 1, 1) = 0
3
z = xy
12x2
2
−4z −4y 3x −z −y 3 −1 −1
H = −4z 12y 2 −4x = 4 −z 3y 2 −x H(a) = 4 −1 3 −1
−4y −4x 12z 2 −y −x 3z 2 −1 −1 3
λ − 12 4 4
4 = (λ − 16)2 (λ − 4) = 0
|λI − H| = 4 λ − 12
4 4 λ − 12
=⇒ λ = 16, 4
a = (1, 1, 1) is a minimum, by theorem.
∇f = (y, x)
=⇒ ∇f = λ∇g = (y, x) = λ(1, 1) = (1 − x, x)
∇g = (1, 1)
1
x= 1
=⇒ 1 − x = x so that 2 z=
1 4
y=
2
Exercise 2.
p (x, y)
f (x, y) = r = x2 + y 2 ∇f == λ(10x + 6y, 10y + 6x)
2 2
r
g(x, y) = 5x + 6xy + 5y − 8 ∇g = (10x + 6y, 10y + 6x)
(x, y) x 1 y 1
∇f = = λ(10x + 6y, 10y + 6x) =⇒ = or x2 = y 2
r r 10x + 6y r 10y + 6x
1 √
g(x, ±x) = 5x2 ± 6x2 + 5x2 − 8 = 0 =⇒ 10x2 ± 6x2 = 8 or x = ± √ , ± 2
2
√ √ √ √
r maximum , 2, when ( 2, ± 2), (− 2, ± 2)
1 1 1 1
r minimum , 1, when ( √ , ± √ ), ( √ , ± √ )
2 2 2 2
Exercise 3. a, b > 0
(1)
x y
f =z= +
a b g(x, y) = x2 + y 2 = 1
1 1 ∇g = (2x, 2y)
∇f = ,
a b
103
1 ±b
= λ2x y x= √
a2
a a2 + b2
∇f = λ∇g =⇒ a or = so then x2 1+ 2 = 1 or
1 x b b ±a
= λ2y y=√
b a2 + b2
√ √
b2 + a2 b2 + a2
z= ,−
ab ab
Geometrically, consider lines of bz − ab x = y inside a circular region of x2 + y 2 = 1.
(2)
x y
g(x, y) = + −1
f = z = x2 + y 2
a b 1 1 a y
1 1 ∇f = λ∇g =⇒ 2(x, y) = λ , or =
∇f = 2(x, y) ∇g = , a b b x
a b
ab2
x=
ab2 ba2 a2 b2
a2 + b2
Plug back into g(x, y): =⇒ minimum at , z=
ba2 b2 + a2 a2 + b2 a2 + b2
y= 2
a + b2
bx
Geometrically, consider points on a line defined by g(x, y), y = b − a . Then f defines circles of increasing radius.
Obviously, we can make the radius for f , z, as large as we want.
Exercise 4.
Exercise 5.
f (x, y, z) = x − 2y + 2z g = x2 + y 2 + z 2 − 1 = 0 ∇f =λ∇g 1 −1 1
−−−−−−→ = =
∇f = (1, −2, 2) ∇g = (2x, 2y, 2z) 2x y z
2x = z ±2
=⇒ z =
z = −y 3
1 −2 2
f , , =3
3 3 3
−1 2 −2
f , , = −3
3 3 3
Exercise 6.
p
f= x2 + y 2 + z 2 g = z 2 − xy − 1
(x, y, z) ∇g = (−y, −x, 2z)
∇f =
4
x2 = y 2
∇f =λ∇gx y 1
−−−−−−→ = = =⇒ −x so x = y = 0
−y −x 2 y=
2
=⇒ z = 1, −1 or (0, 0, ±1) are the points where the distance is minimized.
Exercise 7.
p (x − 1)
f (x, y) = (x − 1)2 + y 2 = 4λ
g(x, y) = 4x − y 2
p
∇f =λ∇g (x − 1)2 + y 2
(x − 1, y) −−−−−−→
∇f = p ∇g = (4, −y) y
(x − 1)2 + y 2 p = −2yλ
(x − 1)2 + y 2
x > 0, but if y 6= 0, the equations imply x = −1.
=⇒ (x, y) = (1, 0) is the point of shortest distance on the parabola to (1, 0)
Exercise 8. Given the constraining surfaces
x2 − xy + y 2 − z 2 = 1
or xy + z 2 = g = 0
x2 + y 2 = 1
104
(x,y,z)
p
Then we want to minimize f = x2 + y 2 + z 2 . ∇f = f
x
= λy
f
∇f =λ∇g y
∇g1 = (y, x, 2z) −−−−−−→ = λx
f
z
= λ2z
f
y x x
= y=
1 f 2f 2 Contradiction.
6 0, then
Suppose z = = λ =⇒ x 1 or y
2f = y x=
f 2f 2
Then z = 0.
x y
Suppose x, y 6= 0 =⇒ = or x2 = y 2
y x
±1
=⇒ 2x2 = 1 or x = √ but z 2 = −xy = 0 Contradiction.
2
Then x = 0 or y = 0, so that λ = 0
(0, ±1, 0), (±1, 0, 0)
Exercise 9.
f (x, y, z) = xa y b z c
g =x+y+z−1 ∇f =λ∇g af bf cf
−−−−−−→ = =
a b c ∇g = (1, 1, 1)
∇f = f , , x y z
x y z
If x, y, z 6= 0 then
bx
y= aa bb cc
a =⇒ x + bx + cx = 1 so that the maximum occurs at (x, y, z) = 1
(a, b, c) and f =
cx a a a+b+c (a + b + c)a+b+c
z=
a
2
x2 2
Exercise 10. Consider the ellipsoid + yb2 + zc2 − 1 = g1 . Then ellipsoid will have the same normal at a point on the ellipsoid
a2
as the tangent plane through the same point. Thus, we want
x y z
∇g1 = 2 2 , 2 , 2
a b c
to be a normal that defines a plane through (x, y, z), that’s on the ellipsoid, in the uvw plane.
xu yv zw
=⇒ 2 + 2 + 2 = 1
a b c
The volume of the tetrahedron is
Z a2 /x Z by2 (1− xu2 ) Z cz2 (1− xu2 − yv2 )
(abc)2 (abc)2
a a b −1 −1 −1
V = du dv dv = ∇V = , ,
0 0 0 6xyz 6 x2 yz xy 2 z xyz 2
(abc)2
−1 x a
2
= λ2 2 x= √
6 x yz a 2
bx 3
(abc) 2
−1
y y2 = x2
+ y2
+ z2
=1 b
∇V =λ∇g1 a 2 2 2
−−−−−−−→ = λ2 2 so −a−−−b−−−c−−→ y = √
6 xy 2 z b c 2 3
z2 = x c
(abc)2
−1 z a z=√
= λ2 2 3
6 xyz 2 c
√
3
V = abc
2
Exercise 12. Consider the conic section as a quadratic form.
2 2 2 A B
Ax + 2Bxy + Cy = 1 where A > 0 and B < AC =⇒ T =
B C
Note that detT = AC − B 2 , so normalize T by detT so to obtain only pure rotation, no “amplification.”
p
(A + C) ± (A − C)2 + 4B 2
1 λ−A −B
T →T = = 0 =⇒ λ± =
AC − B 2 −B λ−C 2(AC − B 2 )
105
We don’t need to find the eigenvectors. By theorem, we can find a C s.t. Y = XC and Y are the coordinates in which T is
diagonalized.
u2 v2
λ+ u2 + λ− v 2 = 1 =⇒ + =1
1/λ+ 1/λ−
Immediately we recognize this to be the equation of an ellipse. The T rotation does not amplify distances since detT = 1, and
so distances from the origin to the conic section are preserved. Then we can immediately name the minimum and maximum
distances: p p
2 2 (A + C) + (A − C)2 + 4B 2 (A + C) − (A − C)2 + 4B 2
M , m = 1/ , 1/
2(AC − B 2 ) 2(AC − B 2 )
Exercise 13. Let X = (x, y) be a point on the ellipse.
The line is given by the set {(0,√
4) + s(1, −1)|s ∈ R}.
The normal to the line is (1, 1)/ 2, so connect a point on the ellipse to the line by a perpendicular distance t by the following:
(1, 1)
X = t √ = (0, 4) + s(1, −1)
2
so that
t(1, 1)
√ = (0, 4) + (s, −s) − (x, y) = (s − x, 4 − s − y)
2
t
√ =s−x
2 √ 4−x−y
=⇒ 2t = 4 − x − y so let f (x, y) = t = √
t 2
√ =4−s−y
2
x2
−1 −1
g(x, y) = + y2 − 1 = 0 x
∇f = √ , √ 4
x =⇒ = 2y =⇒ 16y 2 /4 + y 2 = 5y 2 = 1
2 2 2
∇g = , 2y
2
−4 √
Thus, the points that extremize f are (x, y) = √4 , √1
5 5
, √
5
, −15 .
√ √
4− 5 4+ 5
tmin = √ , tmax = √
2 2
10.5 E XERCISES - I NTRODUCTION , PATHS AND LINE INTEGRALS , OTHER NOTATIONS FOR LINE INTEGRALS , BASIC
PROPERTIES OF LINE INTEGRALS
1
1 2 3 5 4 1 3 2 4 2 6 4 5 1 4 2 8 −14
−1 (x − 2x + 2x − 4x )dx = x − x + x − x = (1 − (−1)) − (1 − (−1)) = − =
3 4 6 5 −1 3 5 3 5 15
Exercise 2. f = (2a − y, x) along the path described by α = (a(t − sin t), a(1 − cos t)) 0 ≤ t ≤ 2π
f (t) = (2a − a(1 − cos t), a(t − sin t)) = (a + a cos t, a(t − sin t))
α0 (t) = (a(1 − cos t), a sin t)
Z Z 2π Z 2π
f (t) · α0 (t)dt = (a2 (1 − cos2 t) + a2 (t sin t − sin2 t))dt = a2 (1 + t sin t − 1)dt =
0 0
Z 2π Z 2π
2π
= a2 t sin tdt = a2 (−t cos t)|0 − − cos tdt = a2 (−2π) + 0 = −2πa2
0 0
Exercise 8. Given f (x, y, z) = (x, y, (xz − y)) along the path described by α(t) = (t2 + 2t, 4t3 ); 0≤t≤1
Exercise 9. Given C (x − 2xy)dx + (y − 2xy)dy; where C is a path from (−2, 4) to (1, 1) along the parabola y = x2
2 2
R
107
parametrize to x.
1 1
1 3 2 4 2 6 4x5
Z Z
((x2 − 2x(x2 ))dx + (x4 − 2x(x2 ))2xdx) = 2 3 5
(x − 2x + 2x − 4x )dx = 4
x − x + x − =
C −2 3 4 6 5 −2
1 1 1 4 15 63 4 −369
= (1 − (−8)) − (1 − 16) + (1 − 64) − (1 − (−32)) = 3 + − − (33) =
3 2 3 5 2 3 5 10
x dx
= cos θ = −a sin θ
(x+y)dx−(x−y)dy x 2 y 2
= 1. Let a dθ
where C is the circle x2 + y 2 = a2 or
R
Exercise 10. C x2 +y 2 a + a y
= sin θ dy
a = a cos θ
dθ
Z 2π
=⇒ ((a cos θ + a sin θ)(−a sin θ)dθ − (a cos θ − a sin θ)a cos θdθ) /a2 = (−1)(2π) = −2π
0
dx+dy
R
Exercise 11. F |x|+|y|
, where F = A + B + C + D, where
A : y = −x + 1
B : y =x+1
C : y = −x − 1
D : y =x−1
So Z
dx −dx
+ =0
A x + (−x + 1) x + (−x + 1)
Z Z −1
2dx dx
=2 = 2(−1) = −2 Z
−x + x + 1 1 dx + dy
ZB 0
=⇒ =0
dx − dx F |x| + |y|
=0
C −x +x+1
Z Z 1
2dx dx
=2 = 2(1) = 2
D x + (−x + 1) 0 1
Exercise 12.
ydx+zdy +xdz, on the intersection of x+y = 2 or y = 2−x and x2 +y 2 +z 2 =
R
(1) Given that we want to compute C
2(x + y) = 2(2) = 4, then
dx = dx
dy = −dx
dz −4x + 4
2z = −4x + 4 or dz = √ dx
dx 2 4x − 2x2
and
z 2 = 4 − x2 − y 2 = 4 − x2 − (2 − x)2 = −2x2 + 4x
2 Z 0
2(1 − x) x2(1 − x)
Z p p
(2 − x)dx + 4x − 2x (−dx) + x √
2 dx + (2 − x)dx + − 4x − 2x (−dx) + √
2 dx =
0 4x − 2x2 2 − 4x − 2x2
Z 2 Z 2
−(4x − 2x2 ) + 2x − 2x2 p
=2 √ dx = (−4) (x/ 4x − 2x2 )dx
0 4x − 2x2 0
x
Let u = 2 . Then 2du = dx.
√
Z 1 √ p √ Z 1 u √ Z π/2 sin θ
=⇒ (−4) (2u)(2du)/ 2 4u − (2u)2 = −4 2 √ du = −4 2 2 sin θ cos θdθ =
0 0 1−u 0 cos θ
√
1 π − sin 2θ π/2 √
= −8 2 −9 = −2 2π
2 2 4
0
u = sin2 θ
since and
du = 2 sin θ cos θdθ
√ p
1 − u = 1 − sin2 θ = cos θ
108
(2) With x2 + y 2 = 1, z = xy, let x = cos θ, y = sin θ, z = cos θ sin θ, so that
Z Z 2π
ydx + zdy + xdz = (sin θ(− sin θ)dθ + cos θ sin θ cos θdθ + cos θ(− sin2 θ + cos2 θ)dθ =
C 0
Z 2π
= (− sin2 θ + cos2 θ sin θ − sin2 θ cos θ + cos3 θ)dθ =
0
2π
− cos3 θ 1
1 − cos 2θ 1
− sin3 θ + sin θ − sin3 θ = −π
= (−1) +
2 3 3 3 0
10.9 E XERCISES - T HE CONCEPT OF WORK AS A LINE INTEGRAL , L INE INTEGRALS WITH RESPECT TO ARC LENGTH ,
F URTHER APPLICATIONS OF LINE INTEGRALS
Exercise 1. f (x, y, z) = (x, y, (xz − y))
x1 = (0, 0, 0) P = x2 − x1 = x2
x2 = (1, 2, 4)x = tx2 + x1 ; 0 ≤ t ≤ 1
1 Z 1
−3 16
Z Z Z
ds 23
f · ds = f · dt = (t, 2t, t(4t) − 2t) · (1, 2, 4)dt = (t + 4t + 16t2 − 8t)dt = + =
dt 0 0 2 3 6
A : r = (a, ta)
B : r = (a(1 − t), a)
C : r = (0, a(1 − t))
D : r = (at, 0)
Z 1 Z 1
A: (a2 − a2 t2 , 2ta2 ) · (0, a)dt = 2ta3 dt = a3
0 0
Z 1 Z 1 1
1 2
((a2 (1 − 2t + t2 ) − a2 ), 2a(1 − t)a) · (−a, 0)dt = −a a2 (−2t + t2 )dt = −a3 −t2 + t3 = a3
B:
0 0 3 0 3
Z 1
C: (−a2 (1 − 2t + t2 ), 0) · (0, −a) = 0
0
Z 1
1
D: (a2 t2 , 0) · (a, 0)dt = a3
0 3
Z
=⇒ f · ds = 2a3
C
Exercise 3. f (x, y) = (cxy, x6 y 2 ) c > 0. (0, 0) to line x = 1 via y = axb ; a > 0, b > 0.
Z Z Z
b 6 2 2b b−1
W = f · ds = (cx(ax ), x a x ) · (1, bax )= (acxb+1 + a3 bx3b+5 )dx =
ac a3 b 3ac a3 b 3ac + a3 b
= + = + =
b + 2 3b + 6 3(b + 2) 3(b + 2) 3(b + 2)
r
3c 3c
=⇒ 2 = 2 =⇒ a =
a 2
a = (0, 0, 0)
Exercise 4. f = (yz, xz, x(y + 1)). b = (1, 1, 1)
c = (−1, 1, −1)
109
A : (b − a) = b; r = tb
B : (c − b) = (−2, 0, −2); r = t(−2, 0, −2) + b
C : (a − c) = −c; r = t(−c) + c = c(1 − t)
Z Z 1 1
1 3
A : (t2 , t2 , t(t + 1)) · (1, 1, 1)dt = t2 + t2 + t2 + t = t3 + t2 =
0 2 0 2
Z Z
(1(−2t + 1), (−2t + 1), (−2t + 1)(2)) · (−2, 0, −2)dt = (−2t + 1)(−2) + (−2)(−2t + 1) =
B: Z
1
= (−2)(−2t + 1)(3) = −6 (−t2 + t)0 = 0
Z
((1 − t)(−1)(1 − t), −1(1 − t)(−1)(1 − t), (−1)(1 − t)((1 − t) + 1)) · (1, −1, 1) =
Z Z Z
2 2 2 2 2
C : = −(1 − t) + (1 − t) (−1) + (−1)(1 − t) − (1 − t) = −3(1 − 2t + t ) − 1 + t = −3t + 7t − 4 =
1
7t2
−3
= −t3 +
− 4t =
2 0 2
Z
f · ds = 0
Exercise 5. f = (y − z, z − x, x − y)
x = 2 cos φ
x2 + y 2 + z 2 = 4
z = y tan θ y sec θ = 2 sin φ
x2 + y 2 sec2 θ = 4
z = 2 sin φ sin θ
2 sin φ 2 sin φ
f= − 2 sin φ sin θ, 2 sin φ sin θ − 2 cos φ, 2 cos φ −
sec θ sec θ
ds 2 cos φ
= (−2 sin φ, , 2 cos φ sin θ)
dφ sec θ
Z Z
f · ds = 4(sin φ(cos θ − sin θ)(− sin φ) + (sin φ sin θ − cos φ)(cos φ cos θ) + (cos φ − sin φ cos θ) cos φ sin θ)dφ =
Z Z
2 2
= 4 (− sin φ(cos θ − sin θ) + − cos φ(cos θ − sin θ) = 4 (− cos θ + sin θ)dφ = 8π(sin θ − cos θ)
a a
x−
= cos φ
2 2
x2 + y 2 + z 2 = a2 a 2
a 2
a
Exercise 6. f = (y 2 , z 2 , x2 ). 2 2
=⇒ x − 2 + y2 = 2 .
y = sin φ
x + y = ax 2 a
z = a2 − a
2
(cos φ + 1)
2
a2
a 2 a 2
f= sin2 φ,
(1 − cos φ), (cos φ + 1)2
2 2 2
a2
0 −a a
r = sin φ, cos φ, sin φ/z
2 2 4
a 3 a3 a 4 (cos φ + 1)2 sin φ
f · r0 = sin3 φ + (cos φ − cos2 φ) +
2 4 2 z
2π
1
R R
3 2
sin φ = sin φ(1 − cos φ) −→ − cos φ + cos3 φ −−
0
→0
3
Z 2π
cos φ = 0
0
Z 2π
cos2 φ = π
0
ap ap a
z ≥ 0, =⇒ z = 1 + cos φ = 2 cos2 φ/2 = √ | cos φ/2| and so
2 2 2
110
2 2 2
a2 a2 a2 z2 (a2 − z 2 )2
a 4
a
(1 + cos φ)2 =
+ cos φ = + − = so that
2 4 4 4 4 2 22
a (1 + cos φ)2 sin φ (a2 − z 2 )2 sin φ (a4 − 2a2 z 2 + z 4 ) sin φ
Z 4 Z Z
= =
2 z z z
Z Z π Z 2π
π 2π
sin φ/2 cos φ/2/| cos φ/2| = sin φ/2 − sin φ/2 = −2 cos φ/2|0 + 2 cos φ/2|π = (−2)(−1) + 2(−1) = 0
0 π
Z Z 2π 2π
a p a 3/2 2
z sin φ = √ 1 − cos φ sin φ = √ (1 − cos φ) =0
0 2 2 3 0
Z Z 2π 3 3
2π
a p a 2
z 3 sin φ = √ 1 − cos φ sin φ = 3/2 (1 − cos φ)5/2 = 0
0 2 2 5 0
So we finally get
Z
f · r0 dφ = −a3 (π)/4
a3 π
Since we had gone counterclockwise, the exercise asked for the clockwise direction, so reverse the sign to get
R 4
Exercise 7. C (x + y)ds.
Exercise 11.
(1)
z=0
r = a(cos t, sin t) 1
Z π
−a
π
2a
y= a sin tadt = cos t =
r0 = a(− sin t, cos t) t ∈ [0, π] πa 0 π 0 π
0 0 Z π
kα (t)k = kr (t)k = a 1
x= a cos tadt = 0
πa 0
(2)
π π
a2 M
Z
1 − cos 2t
Z
M 2 2 1
a sin t(a)dt = dt = M a2
πa 0 π 0 2 2
r = a(cos t, sin t)
Exercise 12. ρ = |x| + |y| r0 = a(−s(t), c(t)) t ∈ [0, 2π]
0 0
kα (t)k = kr (t)k = a
Z π/2 π/2
(a cos t + a sin t)adt = a2 (sin t − cos t)0 = a2 (1 − (−1)) = 2a2
Z0 π
π
(−a cos t + a sin t)adt = a2 (− sin t − cos t)π/2 = −a2 (−1 + (−1)) = 2a2
π/2
Z 3π/2
=⇒ M = 8a2
3π/2
(−a cos t − a sin t)adt = −a2 (sin t − cos t)π = −a2 (−1 − (−(−1))) = 2a2
π
Z 2π 2π
(a cos t − a sin t)adt = a2 (sin t + cos t)3π/2 = a2 (1 + 1) = 2a2
3π/2
=⇒ I = 4a4
Exercise 13. Notice that we have the plane cut through the center of the sphere: like a conic section, we obtain a circle with
perpendicular √1 (1, 1, 1).
3
2x + 2yyx + y + xyx = 0
x2 + y 2 + z 2 = 1 21 2
=⇒ x + y + xy = =⇒ −y − 2x
x+y+z =0 2 yx =
x + 2y
112
r = (x, y, z)
−y − 2x −y − 2x (y + 2x) x − y
rx = 1, , −1 − = 1, − ,
x + 2y x + 2y x + 2y x + 2y
(y + 2x)2 (x − y)2
3
rx2 = 1 + 2
+ 2
=
(x + 2y) (x + 2y) 2 − 3x2
√
3
|rx | = √
2 − 3x2
q
I guess that x ranges between ± 23 .
p p
We’re given that the mass density is x2 . If we go around the circle on one branch, one p from − 2/3 to 2/3 in
p semicircle,
x, and then around in the same direction on the other branch, other semicircle, from 2/3 to − 2/3 in x, then we calculate
for this branch the same number. So do the calculation for one semicircle.
q q q
Z
x 2 Z 3 2
2x
Z π/2 32
23 sin2 θ 23 cos θdθ r
√ dx = r 2 = p = 3
2 − 3x2 q
3 −π/2 1 − sin2 θ x = sin θ
1− 2
2x where r
π/2 π/2 3
dx = cos θdθ
θ − sin 2θ/2
Z
2 2 2
= sin2 θdθ = = π/3
−π/2 3 3 2
−π/2
2π
=⇒ M =
3
√
Exercise 14. ??? (work on it) Given x2 + y 2 = z 2 , y 2 = x, (0, 0, 0) to (1, 1, 2), curve is parametrized s.t.
p
α = α(y) = (y 2 , y, y 1 + y 2 )
We want z-coordinate of the centroid for a uniform wire.
Consider mass on infinitesimal segment λds.
Weight each λds with corresponding z-coordinate: zλdx
2
Now α0 (y) = (2y, 1, 1 + y 2 + √ y 2 ).
p
1+y
y4
kα0 (y)k2 = 7y 2 + 2 +
1 + y2
ds = kα0 (y)kdy
p
z = y 1 + y2
Then
√
Z Z Z r
p 9 2 17
zds = y 8y 4 + 9y 2 + 2dy = y2 2 (y 2 + ) − 2 dy
16 16
u = y 2 + 9/16 y = 0 =⇒ u = 9/16
du = 2ydy y = 1 =⇒ u = 25/16
Now Z p
1 p 2 p
u2 + β = (u u + β + β ln (u + u2 + β))
2
So then
√ !!
√ Z √ 25 √
25/16
r
−17
Z
17 9 8 25 + 4 38
zds = 2 u2 − 2 du = 2/2 4 38 − + ln
9/16 16 162 16 16 16 17
2
25 − 17 = 608 = 38 ∗ 16
since
81 − 17 = 64
R √8y4 +9y2 +2
√ 2
R
However, M = λ ds = λ dy and we need to divide by M .
y +1
Exercise 15. Given r = (a cos t, a sin t, bt), recall that
Z 2π
p p 8
M= a2 + b2 (a2 + b2 t2 )dt = a2 + b2 (2πa2 + π 3 b2 )
0 3
113
Z p Z 2π p Z 2π
xM = x(x2 + y 2 + z 2 )ds = a2 + b2 a cos t(a2 + b2 t2 )dt = a2 + b2 ab2 t2 cos tdt =
C 0 0
p 2π p p
= a2 + b2 ab2 (t2 sin t + 2t cos t − 2 sin t)0 = a2 + b2 ab2 (2(2π)) = 4π a2 + b2 ab2
Z p Z 2π
yM = y(x2 + y 2 + z 2 )ds = a2 + b2 a sin t(a2 + b2 t2 )dt =
C 0
p 2π p
= a2 + b2 ab2 2
−t cos t + 2t sin t + 2 cos t 0 = a2 + b2 ab2 (−(2π)2 )
Exercise 16.
Z p Z
Ix = 2 2 2
(y + z )(x + y + z )ds = 2 2
(a2 sin2 t + b2 t2 )(a2 + b2 t2 )dt =
a2 +b2
C C
1 − cos 2t 1 − cos (2t)
Z Z
2 4 2 2 2 2 2 2 2 2 4 4 2 4
= ρ0 (a sin t + a b t + a b t sin t + b t )dt = ρ0 a + a2 b2 t2 + a2 b2 t2 + b4 t4 dt =
C C 2 2
4 2 2 3 2 2 3 4 5 2 2
(2π)3 a2 b2 (2π)5 b4 π(a2 b2 )
a (2π) a b (2π) a b (2π) b (2π) πa b p
= ρ20 + + + − = a2 + b2 πa4 + + −
2 3 2(3) 5 2 2 5 2
Z Z
Iy = (x2 + z 2 )(x2 + y 2 + z 2 )ds = ρ20 (a2 cos2 t + b2 t2 )(a2 + b2 t2 )dt =
C
Z Z C
2 4 2 2 2 2 2 2 2 2 4 4 2 4 1 + cos 2t 2 2 2 2 2 2 1 + cos (2t)
= ρ0 (a cos t + a b t + a b t cos t + b t )dt = ρ0 a +a b t +a b t + b4 t4 dt =
C C 2 2
4
a (2π) a2 b2 (2π)3 a2 b2 (2π)3 a2 b2 π b4 (2π)5 (2π)3 a2 b2 (2π)5 b4 πa2 b2
p
2 2 2 4
= ρ0 + + + + = a + b πa + + +
2 3 2(3) 2 5 2 5 2
10.13 E XERCISES - O PEN CONNECTED SETS . I NDEPENDENCE OF THE PATH . T HE SECOND FUNDAMENTAL THEOREM
OF CALCULUS FOR LINE INTEGRALS . A PPLICATIONS TO MECHANICS .
∂P ∂Q ∂ϕ ∂2ϕ ∂Q
Since ∂y , ∂x continuous, then by Apostol Vol. 2, Thm. 8.12, ∂P ∂
∂y = ∂y ∂x = ∂x∂y = ∂x
Exercise 3.
∂P
(1) ∂y =1
∂Q
∂x = −1 f (x, y) = yi − xj
Consider a square contour lying on x and y axes.
Z (1,0) Z (1,1)
f dx = 0 (−1)dy = −1
(0,0) (1,0)
Z (0,1) Z (0,0)
1dy = −1 0=0
(1,1) (0,1)
R
So then C
f · ds = −2
114
∂Q
(2) f (x, y) = yi + (xy − x)j ∂P
∂y = 1 ∂x = y − 1
Z (1,0) Z (1,1)
f dx = 0 (y − 1)dy = 1/2 − 1 = −1/2
(0,0) (1,0)
Z (0,1) Z (0,0)
1dx = −1 = −1 0=0
(1,1) (0,1)
R
C
f · ds = −3/2
Exercise 4. f (x, y, z) = P (x, y, z)i + Q(x, y, z)j + R(x, y, z)k
We’re given that
∂y P, ∂z P, ∂x Q, ∂z Q, ∂x P, ∂y R
are cont.
Now
f = ∇ϕ = (P, Q, R) = (∂x ϕ, ∂y ϕ, ∂z ϕ)
∂y P = ∂y ∂x ϕ = ∂x ∂y ϕ = ∂x Q
∂z P = ∂z ∂x ϕ = ∂x ∂z ϕ = ∂x R
∂z Q = ∂z ∂y ϕ = ∂y ∂z ϕ = ∂x R
Exercise 6.
(1) P = y, Q = z.
∂y P = 1 ∂x Q = 0 Not conservative.
(2) Since f · dα = f · α0 (t)dt
α(t) = (cos t, sin t, et ) =⇒ α0 (t) = (− sin t, cos t, et )
f = (y, z, yz).
f · α0 (t) = (− sin2 t + et cos t + sin te2t )
Z π t π
e sin t + et cos t −e2t cos t
2 t 2t 2t
(− sin t + e cos t + sin te )dt = −π + + e sin t + /(5/2) =
0 2 2 0
π 2π
e (−1) − 1 2 −e + 1
= −π + +
2 5 2
y<1
Z 2−y Z 2
A(y) = 1dx + 2dx = 2 − y − (1 − y) + 2(2 − (2 − y)) = 2y + 1
1−y 2−y
y>1
Z 2−y Z 3−y Z 2
A(y) = dx + 2dx = 3dy = 2 − y + 2(3 − y − (2 − y)) + 3(2 − (3 − y)) = 2y + 1
0 2−y 3−y
Z 2
(2y + 1) = 6
0
y −3 etx/y dxdy, and Q = [0, t] × [1, t], t > 0
RR
Exercise 8. Q
t t 2
y −3 etx/y y −3 et /y y −2
Z
y −3 etx/y dx = = −
0 t/y
0 t/y t
Z t 2
t 2
2 −et /y −et et
y −2 et /y dy = = +
t2 t2 t2
1
1
Z t t
−1 −1 1
y −2 /tdy = = 2 +
1 yt 1 t t
2
et et −1 1
=⇒ − 3
+ 3 + + 2
t t t t
Exercise 9. Q rectangle, Q = [a, b] × [c, d].
! !Z
ZZ Z Z b Z b d
f (x)g(y)dxdy = f (x)dx g(y)dy = f (x)dx g(y)dy
Q a a c
Rb
Assume a
f (x)dx = A
( exists.
1−x−y if x + y ≤ 1
Exercise 10. f (x, y) =
0 otherwise
116
Z 1−y
1 1 1
A(y) = (1 − x − y)dx = 1 − y − (1 − 2y + y 2 ) − y(1 − y) = − y + y 2
0 2 2 2
Z 1
1 1 1
A(y)dy = − + = 1/6
0 2 2 6
Indeed, vol. of tetrahedron = 13 Bh = 13 12 (1)(1) = 1/6
Z 2x2
1 4 4 3 2 3
A(x) = (x + y)dy = xx + (4x − x ) = x 1 + x
x2 2 2
√
Z 1/ 2 1/√2 √ ! √
1 4 3 5 1 1 3 1 2 1 3 2
=⇒ A(x)dx x + x = + = +
0 4 10 0 4 4 10 4 2 16 80
√
When x > 1/ 2,
1
1 x4
Z
1
A(x) = (x + y)dy = (x)(1 − x2 ) + (1 − x4 ) = x − x3 + −
x2 2 2 2
1
√
1 x4 −16 2
Z
3 1 1 1 1 1 1 1 1 84
√ (x − x + − )dx = (1 − ) − (1 − ) + (1 − √ ) − (1 − √ ) = +
1/ 2 2 2 2 2 4 4 2 2 10 4 2 160 80
√
21 2
So we get −
40 5 (
x2 + y 2 if x2 + y 2 ≤ 1
Exercise 12. f (x, y) =
0 otherwise
√
Z 1−x2
2
p 1 p p 4 p 2p
A(x) = √ (x + y 2 )dy = 2x2
1 − x2 + ( 1 − x2 )3 − (− 1 − x2 )3 = x2 1 − x2 + 1 − x2
− 1=x2 3 3 3
Now
Z 1 p Z π/2 Z π/2 2
1 π/2 1 − cos 4θ
Z
2 2 2 2 sin 2θ
x 1−x = sin θ cos θdθ = dθ = = π/8
−1 −π/2 −π/2 2 4 −π/2 2
Z p Z π/2
2
1 − x dx = cos2 θdθ = π/2
−π/2
4 π 2 π
=⇒ + = π/2
3 8 3 2
Exercise 13. Split the integral up into 2 parts.
Z y y
(x + y)−2 dx = − (x + y)−1 1 = −(2y)−1 + (y + 1)−1
1
Z 2Z y
−1 3
(x + y)−2 dxdy = ln 2 + ln
1 1 2 2
Z 2 −1
−2 −1 2
−1 3y
(x + y) dx = −(x + y) y/2 = −(2 + y) +
y/2 2
Z 4Z 2
4 2 2
(x + y)−2 dxdy = − ln (2 + y)|2 + ln 2 = − ln 6 + 2 ln 2 + ln 2
2 y/2 3 3
ln 2
Add the two up to get (it may help to remember that ln 3 + − ln 6 = ln 3 + ln 1/6 = ln 1/2 = − ln 2)
6 (
1 if x = y
Exercise 14. Q = [0, 1] × [0, 1] and f (x, y) =
0 if x 6= y
Exercise 1. Z x
x
x cos (x + y)dy = x sin (x + y)|0 = x(sin 2x − sin x)
0
π π
−3π
Z
x cos 2x sin 2x π
dxx(sin 2x − sin x) = + + x cos x − sin x = −π =
0 −2 4 0 −2 2
Exercise 2.
Z x+1
(1 + x) sin ydy = (1 + x)(1 − cos (x + 1))
0
Z 1
1 1 3
(1 + x) − (1 + x) cos (x + 1) = 1 + − (1 + x) sin (x + 1) − cos (x + 1)|0 = − 2 sin 2 − cos 2 + sin 1 + cos 1
0 2 2
RR x+y
Exercise 3. S e dxdy where S = {(x, y)||x| + |y| ≤ 1}
Z 1−x Z 1+x
e x+y x 1−x
dy = e (e −e −1+x 1
)=e −e −1+2x
ex+y dy = ex (e1+x − e−x−1 ) = e1+2x − e−1
−1+x −x−1
0
1 −1 −1 e1 −3e−1 e1
Z Z
e e e
(e+1
− e−1+2x )dx = e − (e2 − 1) = + (e1+2x − e−1 )dx = (1 − e−2 ) − e−1 (1) = +
0 2 2 2 −1 2 2 2
=⇒ e − e−1
xy = 1
xy = 2 1 2
x2 y 2 dxdy and
RR
Exercise 4. S y= y =
y=x x x
y = 4x
√ √
I : (1/2, 2) → (1/ 2, 2 2)
Z 4x
1 1
64x3 − 3 x2 y 2 dy = x2
1/x 3 x
√
Z 1/√2 1/ 2
1 64x6
1 1 1 4 1 1 1 1
64x5 −
dx = − ln x = − − ln √ − ln =
3 1/2 x 3 6 1/2 3 3 6 3 2 2
7 1 1
= − ln 2
18 3 2
Z 2/x
2 2 21 8 1 71
x y dy = x − 3 =
√ √ 1/x 3 x 3 x 3x
II : (1/ 2, 2 2) → (1, 1) Z 1
71 7 1 7
√ = − ln √ = ln 2
1/ 2 3 x 3 2 6
Z 2/x
1 8 81 1 5
x2 y 2 dy = x2 − x3 = − x
√ √ x 3 x3 3x 3
III : (1, 1) → ( 2, 2) √ √2
2
8 √
Z
81 1 5 1 6 4 7
− x = ln 2 − x = ln 2 −
1 3x 3 3 18 1 3 18
4 7 7 7 1 7
=⇒ ln 2 − + ln 2 + − ln 2 = ln 2
3 18 6 18 6 3
(x2 − y 2 )dxdy.
RR
Exercise 5. S
118
Z sin x
1 1
(x2 − y 2 )dy = x2 sin x − sin3 x = x2 sin x − (1 − cos2 x) sin x
0 3 3
Z
x2 sin x = −x2 cos x + 2x sin x + 2 cos x
π
cos3 x
−40
ZZ
1 2 2
(x2 − y 2 )dxdy = −π 2 (−1) + 2((−1) − 1) + (−1 − 1) + = π 2 + −4 − + = + π2
S 3 −9
0 3 9 9
6−x−2y
Exercise 6. x + 2y + 3z = 6 =⇒ z = 3
3− x
x2 x2
6 − x − 2y
Z 2 1 x x x 2 1
dy = 6 3− −x 3− − 3− = 18 − 3x − 3x + − 9 − 3x + =
0 3 3 2 2 2 3 2 4
x2
1
= 9 − 3x +
3 4
Z 6 2
2
1 x 1 3(6) 1 3 1
9 − 3x + = 9(6) − + 6 = (6)(9 − 9 + 3) = 6
0 3 4 3 2 12 3
Indeed, 31 BH = 13 (9)(2) = 6
Exercise 7.
Z x
1 1 4
(x2 − y 2 )dy = x2 (x − (−x)) − (x3 − (−x)3 ) = 2x3 − (x3 + x3 ) = x3
−x 3 3 3
Z 3 3
4 3 1 1 80
x dx = x4 = (81 − 1) =
1 3 3 1 3 3
Exercise 8.
(1)
Z 1
1 2
(x2 + y 2 )dy = x2 (2) + (13 − (−1)3 ) = 2x2 +
−1 3 3
Z 1
2 2 2
2x2 + = (2) + (2) = 8/3
−1 3 3 3
(2) f (x, y) = 3x + y. S = {(x, y)|4x2 + 9y 2 ≤ 36, x > 0, y > 0}. Thus, y 2 ≤ 4 − 94 x2
Z 2√1−(x/3)2 r x 2 1 x 2 r x 2 x 2
(3x + y)dy = 3x2 1 − + 4(1 − ) = 6x 1 − + 2(1 − )
0 3 2 3 3 3
Z 3 r 3
x 2 x2 x2 3/2 2
6x 1 − + 2(1 − ) = −18(1 − ) + 2(3) − (27) = 22
0 3 9 9 0 27
x2 3/2 0 3 x2 −2x −x x2
since ((1 − ) ) = (1 − )1/2 ( )= (1 − )1/2
9 2 9 9 3 9
(3)
√
Z 16−x2 p p p
√ (y + 2x + 20)dy = (2x + 20)(2 16 − x2 ) = 4x 16 − x2 + 40 16 − x2
− 16−x2
Z 4 Z π
p p 640
4x 16 − x2 + 40 16 − x2 = (16 cos θ4 sin θ + 40(4) sin θ)4 sin θdθ = π = 320π
−4 0 2
x = 4 cos θ
since
dx = −4 sin θdθ
R1 Ry R 1 R 1 R 2 R 2y R 4 R √x
Exercise 9. 0 0 f (x, y)dx dy = 0 x
f (x, y)dy dx Exercise 10. 0 y 2 f (x, y)dx dy = 0 x/2
f (x, y)dy dx
R4 R2 R 2 R y2
Exercise 11. 1 √ f (x, y)dy dx = f (x, y)dx dy
x 0 0
√ R 1 R √1−y2 +1
R 2 R 2x−x2 R 2 R 2−x
Exercise 12. 1 2−x
f (x, y)dy dx = 0 2−y
f (x, y)dx dy Exercise 13. −6 2
(x −4)/4
f (x, y)dy dx =
R 0 R √4y+4 R 8 R 2−y R e R log x R1 Re
−1
√ f (x, y)dx dy+ 0 −√4y+4 f (x, y)dx dy Exercise 14. 1 0
− 4y+4
f (x, y)dy dx = 0 ey f (x, y)dx dy
R 1 R √1−y R 0 R √1−y2
R 1 R 1−x2
Exercise 15. −1 −√1−x2 f (x, y)dy dx = 0 √
− 1−y
f (x, y)dx dy + −1
√ 2
f (x, y)dx dy Exercise 16.
− 1−y
119
R 1 R x2 R 1 R y1/3
0 x3
f (x, y)dy dx = 0 √y f (x, y)dx dy
Exercise 17. Consider that sin (π − x) = −1 sin (−x) = sin x = y. This way, we get the “branch” of values for π/2 < x < π
and 0 < y < 1.
Z π Z ! !
sin x Z 1 Z π−arcsin y Z 0 Z π
f (x, y)dy dx = f (x, y)dx dy + f (x, y)dxdy
0 − sin (x/2) 0 arcsin y −1 2 arcsin (−y)
R 4 R (y−4)/2 R 0 R 4−x2
Exercise 18. 0
√
− 4−y
f (x, y)dx dy = −2 2x+4 f (x, y)dy dx
Exercise 19.
Z 1 Z y Z 2 Z 2−y Z 1 Z −2x
2 2 2 2 2 2
V = (x + y )dx dy + (x + y )dx dy = (x + y )dy dx
0 0 1 0 0 x
Z 2−x
1 1
(x2 + y 2 )dy = x2 (2 − x − x) + ((2 − x)3 − x3 ) = x2 (2 − 2x) + (8 − 4x(3) + 3(2)x2 − x3 − x3 ) =
x 3 3
8 2x3 −8 3 8
= 2x2 − 2x3 + − 4x + 2x2 − = x + 4x2 − 4x +
3 3 3 3
−2 4
R1
0 8 4
−−→ + −2+ =
3 3 3 3
Exercise 21.
R 2 R x3 R 8 R 8 R 8 R y
(1) V = 1 x
f (x, y)dy dx + 2 x f (x, y)dy dx = 1 y1/3 f (x, y)dx dy
(2)
R1 R
x −y 2
Exercise 22. I = −1/2 0
e dy dx
Z 1 Z x Z 1 Z x Z 0 Z x
2 2 2
e−y dy dx = e−y dy dx + e−y dy dx
−1/2 0 0 0 −1/2 0
Z 1 Z x Z 1 Z 1 Z 1 Z 1
2 2 2 2
e−y dy dx = e−y dx dy = e−y (1 − y)dy = A + −ye−y dy =
0 0 0 y 0 0
!1 2
e−y e−1 1
=A+ =A+ −
2 2 2
0
z = −x
since
dz = −dx
Z 0 Z x Z 0 Z −x Z 1/2 Z −x Z 1/2 Z 0
2 2 2 2
e−y dy dx = − e−y dy dx = e−y dy dx = − e−y dy dx =
−1/2 0 1/2 0 0 0 0 −x
!
Z 0 Z 1/2 Z 0
2 2 1
=− e−y dx dy = − e−y − (−y) dy =
−1/2 −y −1/2 2
2
!0
0 0 0
−1 −e−y
Z Z Z
−y 2 −y 2 1 −y 2
= e dy + − ye dy = e (+dy) + − =
2 2 2
−1/2 −1/2 1/2
−1/2
1/2
−1 1 −e−1/4
Z
2
= e−y dy + +
2 0 2 2
2/3 2/3
y 2/3 = 1 − x2/3
Exercise 8. x +y = 1 or and x = 0, y = 0.
y = (1 − x2/3 )3/2
122
u = 1 − x2/3 or x2/3 = 1 − u
−2 −1/3
Since du = 3 x dx
−3 √
du( 1 − u) = dx
2
Z 1 Z (1−x2/3 )3/2 Z 1 Z 0
−3
dydx = (1 − x2/3 )3/2 dx = u3/2 du(1 − u)1/2
0 0 0 1 2
0
−2 −2 3 1/2 −2
Z Z Z
u3/2 (1 − u)1/2 = u3/2 (1 − u)3/2 = u3/2 (1 − u)3/2 − u (1 − u)(1 − u)1/2 =
3 3 2 3
−2 3/2
Z
= u (1 − u)3/2 + (u1/2 (1 − u)1/2 − u3/2 (1 − u)1/2 )
3
−2 3/2
Z Z
=⇒ 2 u3/2 (1 − u)1/2 = u (1 − u)3/2 + u1/2 (1 − u)1/2
3
Z Z Z 2 !1/2 Z
1/2 1/2 2 1/2 1 1 1 p
u (1 − u) = (u − u ) = − −u = 1 − (1 − 2u)2
4 2 2
x = (1 − 2u) x = sin θ
Since and then
dx = −2du dx = cos θdθ
−1
Z p Z Z Z
2
dx p 2
cos θdθ 1 + cos 2θ sin 2θ
1 − (1 − 2u) = 1−x = cos θ = = (θ + )
−2 −2 −4 4 2
−1 −1 p
Z 1
1 1 1/2 1 1p
Z Z Z
u3/2 (1 − u)1/2 du = u (1 − u)1/2 = 1 − (1 − 2u)2 = dx 1 − x2 =
0 2 0 4 0 8 1
−1 −π/2 1 + cos 2θ
Z
= dθ =
8 π/2 2
−π/2
−1 sin 2θ −1 −π π
= θ+ = − = π/16
16 2
π/2 16 2 2
3 π 3π
=⇒ A = =
2 16 32
1 (1−x2/3 )3/2 1 0 1
−3 √
Z Z Z Z Z
2/3 3/2 3
xdydx = x(1 − x ) dx = du 1 − uu3/2 (1 − u)3/2 = du(1 − 2u + u2 )u3/2 =
0 0 0 1 2 2 0
3 1
Z
= du(u3/2 − 2u5/2 + u7/2 ) =
2 0
3 2 2 2 3 2 4 2 8
= −2 + = − + =
2 5 7 9 2 5 7 9 105
=⇒ x = 256π/315
1 (1−x2/3 )3/2 1
1 1
Z Z Z Z
1
ydydx = (1 − x2/3 )3 dx = (1 + 3(−x2/3 ) + 3x4/3 − x2 )dx =
0 0 0 2 2 0
3(1)5/3
1 3 1 1 −9 9 −1 1 −4 9 1 8
= 1 + −3 +3 − = 1+ + + = + − =
2 5 7 3 2 5 7 3 2 5 7 3 105
=⇒ y = 256π/315
R 2 R x(2−x) R2 R x(2−x)
1−y 1
Exercise 9. 0 0 1+x dydx = 0 1+x 0
(1 − y)dydx
1 1 1
(x(2 − x))2 = x2 (4 − 4x + x2 ) = 2x2 − 2x3 + x4
2 2 2
Z x(2−x)
1 1
(1 − y)dy = 2x − x2 − 2x2 + 2x3 − x4 = 2x − 3x2 + 2x3 − x4 =
0 2 2
−1 4 1 3 5 3 5 2 11 2 11 15 −1 3 5 2 11 15
= x − x + x + x − x − x+ x= x + x − x (x + 1) + x
2 2 2 2 2 2 2 2 2 2 2
123
2 x(2−x) 2
−1 3 5 2 11x
Z Z Z
1 15x 1
(1 − y)dydx =
x + x − (x + 1) + =
0 0 1+x 0 2 2 2 2 1+x
Z 2
−1 3 5 2 11x 15x
= dx x + x − + =
0 2 2 2 12(1 + x)
−1 5 11 15 2
20 15 26 −15
= (16) + (8) − (4) + 2 + ln (1 + x)|0 = −2 + − 11 + (2 − ln (3)) = + ln 3
8 6 4 2 3 2 3 2
Exercise 10.
Z a Z b Z a
1 1
(xy)dydx = x b2 dx = a2 b2
0 0 0 2 4
Z a Z b Z a
1 1
(xy 2 )dydx = x b3 dx = a2 b3
0 0 0 3 6
Z a Z b Z a
1 1
x2 ydydx = x2 b2 = b2 a3
0 0 0 2 6
1 2 3 1 2 3
6b a 2 6a b 2
x= 1 2 2 = a y= 1 2 2 = b
4a b
3 4a b
3
Exercise 11.
y = sin2 x
−π ≤ x ≤ π; f (x, y) = 1
y = − sin2 x
sin2 x
! 3
π π π
1 − cos 2x
Z Z Z Z
1 2
Ix = 2
y dy dx = 2 sin6 xdx = =
−π − sin2 x −π 3 3 −π 2
Z π
1 5π
= 1 + −3 cos 2x + 3 cos2 2x + cos3 2x =
12 −π 12
π sin2 x π π
1 − cos 2x
Z Z Z Z
2 2 2 2
Iy = x dydx = x 2 sin xdx = 2 2x dx =
−π − sin2 x −π −π 2
π
2π 3
Z
= x2 − x2 cos 2x = −π
−π 3
x y x y
Exercise 12. a + b = 1, c + b = 1, y = 0, 0 < c < a, b > 0; f (x, y) = 1
! b
b a(1−y/b) b
a3 (1 − y/b)3 − c3 (1 − y/b)3 a3 − c3
Z Z Z
2
y 4 b
Iy = x dx dy = dy = (−b) 1 − /b = (a3 − c3 )
0 c(1−y/b) 0 3 3 b a 12
b
1 3 1 b4
Z
Ix = y 2 (a − c)(1 − y/b)dy = (a − c) b − = (a − c)(b3 )/12
0 3 4 b
Exercise 13. (x − r) + (y − r)2 = r 2 , y = 0, x = 0. 0 ≤ x ≤ r, 0 ≤ y ≤ r. So we want the piece of the graph that is the
2
“lower left-hand corner” of the “complement” of the circle centered at (r, r), with radius r. Be careful about this point.
x − r = r sin θ
since
dx = r cos θdθ
Z r Z r−√r2 −(x−r)2
s 3
r 2 4 0
x−r
Z Z
1 3 dx = r
Ix = y 2 dydx = r 1− 1− (1 − cos θ)3 cos θdθ =
0 0 0 3 r 3 −π/2
0
r4
Z
5π
= c − 3c2 + 3c3 − c4 = r4 1 −
3 −π/2 16
124
Since Z 0
0
c = s|−π/2 = −(−1) = 1
−π/2
Z 0 Z 0
2 1 + cos 2θ π
c = dθ =
−π/2 −π/2 2 4
Z 0 Z 0
1
c(1 − s2 ) = 1 − (0 − (−1)) = 2/3
c3 =
−π/2 −π/2 3
Z 0 Z 0 2 Z 0
1 + cos 2θ 1 1 π π 3π
c4 = dθ = (1 + 2 cos 2θ + cos2 2θ)dθ = + =
−π/2 −π/2 2 −π/2 4 4 2 4 16
Z r Z r−√r2 −(x−r)2
s
Z r 2 Z 0
x−r
Iy = x2 dydx = x2 r 1 − 1 − dx = (r2 )(sin θ + 1)2 r(1 − cos θ)r cos θdθ =
0 0 0 r −π/2
Z 0 Z 0
4 2 4 2 2 2 2 2 4 5π
=r (s + 2s + 1)(1 − c)cdθ = r (s c + 2sc + c − c s − 2sc − c )dθ = r 1−
−π/2 −π/2 16
Since 0 2
0
1 0 1 − cos 4θ
Z Z
1 3 1
Z Z
2 sin 2θ π
s c= s = c2 s2 = = =
−π/2 3 −π/2 3 2 4 −π/2 2 16
0 0
−1 3
Z
−1
Z
1
c = s2 = sc2 = c = −1/3
2 −π/2 2 3 −π/2
Z Z
c=1 c2 = π/4
√
Exercise 16. y = 2x, y = 0, 0 ≤ x ≤ 2, f (x − y) = |x − y|
Z 2Z x Z 2 Z √2x
2
Iy = x dydx(x − y) + x2 dydx(y − x) =
0 0 0 x
Z 2 √
Z 2
3 21 2 2 1
= x (x) − x x + x ((2x) − x2 ) − x3 ( 2x − x) =
0 2 0 2
2
1 5 2 1 4 2 1 5 2 √ 2x9/2 1 26 25 148
= x 0+ x 0− x 0− 2 + 25 = 4 − + =
10 4 10 9 0 5 9 5 45
Z 2Z x Z 2 Z √2x
Ix = y 2 dydx(x − y) + y 2 dydx(y − x) =
0 0 0 x
Z 2 x Z 2 √2x √2x !
1 3 1 4 4
1 4 1 3
= y x − y 0 dx + y −x y dx =
0 3 0 4 0 4 x 3 x
Z 2 Z 2
1 4 1 4 1 x
= x − x dx + (4x2 − x4 ) − (23/2 x3/2 − x3 ) =
0 3 4 0 4 3
Z 2 4 3/2 4
Z 2
1 4 x 2 x 1 4 23/2 5/2
= x + x2 − − x5/2 + = x + x2 − x =
0 12 4 3 3 0 6 3
1 5 1 23/2 2 7/2 24
(2 ) + 23 −
= 2 =
30 3 3 7 35
Exercise 17. Let S be thin plate of mass m.
Let the center of mass of thin plate S be located at the coordinate axis origin.
Let L0 , L be parallel to the x axis.
Let h be the perpendicular distance of L from L0 , with the sign of h included.
R b R φ (x)
Since m is the mass, a φ12(x) dydx = m
R b R φ (x)
Since CM is at (0, 0), y = 0 = a φ12(x) ydydx = 0
Z b Z φ2 (x) Z b Z φ2 (x)
moment of inertia about L = (y − h)2 dydx = y 2 − 2yh + h2 dy = IL0 + mh2
a φ1 (x) a φ1 (x)
Exercise 18. The perpendicular direction is given by the following:
125
(cos (α + π/2), sin (α + π/2)) = (− sin α, cos α)
Then
(x, y) · (− sin α, cos α) = −x sin α + y cos α = δ
We want to find the square of the above quantity, δ 2 .
q
Z b 1−( xa )2 x 2 3/2
!
cos2 α
2 2 2 2 2 2
p 3
(x sin α + −2xy sin α cos α + y cos α)dy = 2x sin αb 1 − (x/a) + 2 2b 1 −
3 a
q
2
−b 1−( xa)
x
Let = sin t
a
2
a2 a2 π
Z
1 − cos 4t
Z Z
2 2 2 2 sin 2t
a sin t cos tadt = a dt = dt =
2 4 2 8
Z π/2 Z π/2
1 + 2 cos 2t + cos2 2t π π a3π
cos3 ta cos tdt = a =a + =
−π/2 −π/2 4 4 8 8
a3 π 2 3π 1
=⇒ 2b sin2 α
+ cos2 αb3 a = πab(a2 sin2 α + b2 cos2 α)
8 3 8 4
With m = πab, the area of the ellipse, we get the desired answer.
RhRhp
Exercise 19. We want 0 0 x2 + y 2 dxdy.
s
Z hp p 2
h 2
x y p 1 p h h
ln (x + x2 + y 2 ) = h h2 + y 2 + y 2 ln ( + 1 +
x2 + y 2 dx = x2 + y 2 + )
0 2 2 2 0 y y
since, recall
1 + √ 2x 2
p
0 x +y 1 p p x2
(ln (x + x2 + y 2 )) = p =p and (x x2 + y 2 )0 = x2 + y 2 + p
x + x2 + y 2 x2 + y 2 x2 + y 2
√
s
Z h 2 Z 1 2 Z ∞
2 h h u= h
dy −−−→ y h p
2
−h 3 ln (u + 1 + u2 )
y ln + 1 + ln (u + 1 + u ) 2 du = h 4
du
0 y y ∞ u u 1 u
√ Z −3 0
u−3
Z −3
ln (u + 1 + u2 )
Z
u p p u 1
4
= ln (u + 1 + u2) = ln (u + 1 + u 2) − √
u −3 −3 −3 1 + u2
1
y=
u
If we make the following substitution, −1
du = 2 dy
y
Z y 4 −12 dy Z
u−3 u−4 −y 2
Z Z p Z p
y
√ = q = p = p dy = − y 1 + y 2− 1 + y 2 =
1 + u2 1+ 1
2 1 + y2 1 + y2
u
1 p
p p −1 p 1 p
1 + y 2 + (y 1 + y 2 + ln (y + 1 + y 2 )) =
= −y y 1 + y 2 + ln (y + 1 + y 2 )
2 2 2
q 2 s ∞
∞ 1 2
1 − 1+ u h3 √ √
−3
u p 1 1 1
h3
ln (u + 1 + u2 ) + + ln + 1 + = ( 2 + ln (1 + 2))
−3 1 3 2u 2 u u
6
1
1 3√ √ h √ 3 √ h √ 3 √
(h 2 + h3 ln (1 + 2)) + ( 2 + ln (1 + 2)) =
=⇒ ( 2 + ln (1 + 2))
4 12 3
Exercise 20. Let P0 = (0, h). We want
Z R Z √R2 −x2
√ (x2 + (y − h)2 )dydx
−R − R2 −x2
√
Z R2 −x2 p 1 p p
√ (x2 + (y − h)2 )dy = 2x2
R2 − x2 + (( R2 − x2 − h)3 − (− R2 − x2 − h)3 ) =
− R2 −x2 3
p
p 2 p 4 p 2 2
= 2x2 R2 − x2 + ((R2 − x2 )3/2 + 3 R2 − x2 h2 ) = x2 R2 − x2 + R + 2h2 R 2 − x2
3 3 3
126
x = R sin θ
Since
dx = R cos θdθ
R π/2 Z π/2 2
R4 π/2 1 − cos 4θ R4
Z Z Z
p
2 sin 2θ
x2 2 2
R −x = 2 2 2
R sin θR cos θdθ = R 4
dθ = dθ = π
−R −π/2 −π/2 2 4 −π/2 2 8
Z π/2 p Z π/2 Z π/2
2 1 + cos 2θ π
2
R −x = 2 cos θR cos θdθ(R) = R dθ = R2
−π/2 −π/2 −π/2 2 2
4 4 4 4
4R π 2 2 π R π πR πR
=⇒ + R + 2h2 R2 = + + h2 R2 π = + πR2 h2
3 8 3 2 6 3 2
Now ZZ
dydx = πr2
R2
So then the average of δ 2 is + h2
2
Exercise 21.
A = [0, 4] × [0, 1]
B = [2, 3] × [1, 3]
C = [2, 4] × [3, 4]
(1) A ∪ B
4(2, 12 ) + (2)( 52 , 42 ) 1
2 (16 + 10, 10) 13
= = ,1
4+2 6 6
(2) A ∪ C
4 1 6 7
4 2, 2 +2 2, 2 (8, 2) + (6, 7) 7 3
= = ,
4+2 6 3 2
(3) B ∪ C,
5 4 6 7
2 2, 2 +2 2, 2 11 11
= ,
2+2 4 4
(4) A ∪ B ∪ C
4(2, 12 ) + 4( 11 11
4 , 4 ) 19 13
= ,
8 8 8
Exercise 22.
rectangle R : area AR = 1(2) (x, y)R = (0, −1)
1 h
triangle T : areaAT =
(1)h = xT = 0
2 2
Z hZ ( hy −1)/(−2) Z h Z h
y y y y y2 1
y T AT = − 1 /2 ydxdy = −1+ −1 = y− = h2
0 0 h 0 −2 h h 0 h 6
1 2
1 6h
= h yT =
h/2 3
Condition for centroid to lie on the common edge, with the common edge located at the origin:
h √
h
2 3 + 2(−1)
0= =⇒ h = 2 3
h/2 + 2
Exercise 23.
Z h Z ( hy −1)(−r) Z h y y
y T AT = ydxdy = − 1 (−1) −yr − 1 dy =
0 ( hy −1)(r) 0 h h
1
isosceles triangle T :AT = 2rh = rh Z h 2
y
11 3 1 2
1
2 = 2(−r) − ydy = (−r) h − h = h2 r
0 h h 3 2 3
=⇒ y T = h2 r/3rh = h/3
1 2 π 4
semicircular disk D :AD = πr ; (2πy)A = 2πy r2 = πr3
2 2 3
127
Condition for centroid to lie in triangle:
−4r √
(rh) h3 + 12 πr2
r 2
3π
h + −2r2 ≥ 0 =⇒ h > 2r
≥0 or
(rh) + 12 πr2 3
11.22 G REEN ’ S THEOREM IN THE PLANE . S OME APPLICATIONS OF G REEN ’ S THEOREM . A NECESSARY AND
SUFFICIENT CONDITION FOR A TWO - DIMENSIONAL VECTOR FIELD TO BE A GRADIENT.
RR
Exercise 1. Green’s theorem: C P dx + Qdy = R ∂Q ∂P
R
∂x − ∂y dxdy. Thus
I ZZ
y 2 dx + xdy = (1 − 2y)dxdy
C R
R2R2
(1) 0 0 (1 − 2y)dydx = 4 − 4(2) = −4
R1 R1
(2) −1 −1 (1 − 2y)dydx = 4
R 0 R 2+x R 2 R 2−x R0 R2 R0
(3) −2 −2−x (1−2y)dydx+ 0 −2+x (1−2y)dydx = −2 (2(2+x))dx+ 0 (4−2x)dx = −2 (4+2x)dx+4(2)−4 =
8
R 2 R √4−x2 R2 √ R π/2
(4) √
−2 − 4−x2
(1 − 2y)dydx = −2
2 4 − x2 dx = −π/2 8 cos2 θdθ = 4π where we used
x = 2 sin θ
dx = 2 cos θdθ
(5) α(t) = (2 cos3 t, 2 sin3 t) = 2(cos3 t, sin3 t), 0 ≤ t ≤ 2π
Exercise 2.
2
P (x, y) = xe−y RR ∂Q
∂P
H
2 1 P dx + Qdy = ∂x − ∂y dxdy
Q(x, y) = −x2 ye−y + 2
x + y2
2 −2x
Qx = −2xye−y +
(x2 + y 2 )2
2
Py = xe−y (−2y)
Z aZ a Z a a Z a
−2x 1 1 1
2 + y 2 )2
dxdy =
2 + y2
dy = 2 + y2
− 2 =0
−a −a (x −a x −a −a a a + y2
Exercise 3. nIz = C x dy − y 3 dx = R (3x2 + 3y 2 )dydx = 3Iz n = 3
H 3 RR
Exercise 8.
(1)
(Y 0 , −X 0 ) 0
I I I
∂g
ds = ∇ · nds = ∇g · kα (t)kdt =
C ∂n kα0 (t)k
I I C C
ZZ ZZ
= (gx Y 0 + −gy X 0 )dt = gx dy + −gy dx = (gxx − (−gyy ))dxdy = ∇2 gdxdy
C C
(2)
(Y 0 , −X 0 ) 0
I I I
f ∇g · nds = f ∇g · kα (t)kdt = f (gx dy − gy dx) =
C kα0 (t)k
ZZ ZCZ C
ZZ
= (f gx )x − (−f gy )y = fx gx + f gxx + fy gy + f gyy = (∇f · ∇g + f (∇2 g))dxdy
I ZZ
∂g
=⇒ f ds = (f ∇2 g + ∇f · ∇g)dxdy
C ∂n R
∂φ
= ∇φ · n = (∇φ) · (sin θ, − cos θ) = φx sin θ − φy cos θ = µP sin θ − µQ cos θ =
∂n
= µ(P sin θ − Q cos θ) = µ(x, y)g(x, y)
=⇒ g = P sin θ − Q cos θ
−P P
sin θ = p or p
P 2 + Q2 P 2 + Q2 p p
=⇒ g = − P 2 + Q2 or P 2 + Q2
Q Q
cos θ = p or p
P 2 + Q2 P 2 + Q2
11.25 E XERCISES - G REEN ’ S THEOREM FOR MULTIPLY CONNECTED REGIONS . T HE WINDING NUMBER .
Exercise 1.
(1) I1 − I3 = 12 − 15 = −3
(2) One possible solution is this: Draw a large curve around all 3 points, for I1 + I2 + I3 = 37. Then circle around,
inside, point 1, three times, in a clockwise fashion, to obtain −3I1 = −36.
(Y 0 (t),X 0 (t))
Exercise 6. α(t) = (X(t), Y (t)) if a ≤ t ≤ b n= √
X 02 +Y 02
b
(X(t) − x0 )Y 0 (t) − (Y (t) − y0 )X 0 (t)
Z
1
W (α0 ; P0 ) = dt =
2π
a (X(t) − x0 )2 + (Y (t) − y0 )2
Z b Z b
1 (r(t) − P0 ) · n 0 1 r(t) − P0 n
= kα (t)kdt = ds
2π a kr(t) − P0 k2 2π a kr(t) − P0 k kr(t) − P0 k
I
Ik = P dx + Qdy
Ck
1 1 1
P (x, y) = −y + 2 + =
(x − 1)2 + y 2 x + y2 (x + 1)2 + y 2
1 1 1
= −y + +
k(x, y) − (1, 0)k2 k(x, y) − (0, 0)k2 k(x, y) − (−1, 0)k2
(x − 1) x x+1
Q(x, y) = + +
k(x, y) − (1, 0)k2 k(x, y) − (0, 0)k2 k(x, y) − (−1, 0)k2
130
2
1
C1 is the smallest circle,x2 + y 2 = √
2 2
C2 : x2 + y 2 = 22
2
1 I2 = 6π
2 2
(x − 1) + y = I3 = 2π
2
2
1
C3 : x2 + y 2 =
2
2
1
(x + 1)2 + y 2 =
2
H R (x,y)−(1,0) (x,y)−(0,0) (x,y)−(−1,0)
Ik = Ck
P dx + Qdy = k(x,y)−(1,0)k2 + k(x,y)−(0,0)k2 + k(x,y)−(−1,0)k2 · nds
I2 wraps around 3 holes, (1, 0), (0, 0), (−1, 0).
I3 wraps around (0, 0) clockwise and around (1, 0), (−1, 0) counterclockwise. The wrap around (0, 0) and (1, 0) cancel each
other and so the result is we wrap around (−1, 0).
=⇒ I1 = 2π
11.28 E XERCISES - C HANGE OF VARIABLES IN A DOUBLE INTEGRAL , S PECIAL CASES OF THE TRANSFORMATION
FORMULA
131
√ !
2a 2ax−x2 π a 2 π
2a cos θa3 a4 π 3a4 π
Z Z Z Z Z
2 2 2 2 2a π
(x + y )dy dx = dθ rdr(a + 2ar cos θ + r ) = a + dθ + =
0 0 0 0 2 0 3 4 4
Exercise 7. x = a =⇒ r cos θ = a or r = a sec θ
a x π/4 a sec θ π/4
a3 sec3 θ
Z Z p Z Z Z
2
x2 + y 2 dy dx = dθ r dr =
0 0 0 0 0 3
Z Z
3 2
Now sec θ = sec θ(1 + tan θ) and
Z
sec θ = ln | sec θ + tan θ|
sec θ tan θ + ln | sec θ + tan θ
Z
Z Z Z =⇒ sec3 θ =
2
(sec θ tan2 θ) = (sec θ)0 tan θ = sec θ tan θ − sec θ sec2 θ
√ √
a3 π/4 3 a3 ( 2 + ln | 2 + 1|)
Z
=⇒ sec θdθ =
3 0 6
Exercise 8.
Since y = r sin θ = x2 = r2 cos2 θ or r = tan θ sec θ
Z π/4 Z tan θ sec θ
1
Z π/4 √
dθ rdr = dθ tan θ sec θ = 2 − 1
0 0 r 0
Exercise 9.
a Z √a2 −y2 !
π/2 a
a4 π
Z Z Z
2 2
(x + y )dx dy = r2 rdrdθ =
0 0 0 0 8
Exercise 10. After sketching a box with vertices at (0, 0), (1, 0), (0, 1), (1, 1), it’s very clear that in polar coordinates, we must
divide the region into 2 parts by the y = x line since each region have different boundaries for r.
Z 1 Z x Z π/4 Z sec θ Z π/4 Z csc θ
f (x, y)dy dx = dθ f (r cos θ, r sin θ)rdr + dθ f (r cos θ, r sin θ)rdr since
0 0 0 0 0 0
x = 1 = r cos θ
y = 1 = r sin θ
R 2 R x √3 p R π/3 R 2 sec θ
Exercise 11. 0 x
f ( x2 + y 2 )dy dx = π/4 0 f (r)rdrdθ
x = 2 = r cos θ
r = 2 sec θ
R 1 R √1−x2 R π/2 R1
Exercise 12. 0 1−x
f (x, y)dy = 0
dθ 1 f (r cos θ, r sin θ)rdr since
sin θ+cos θ
y = 1 − x = r sin θ = 1 − r cos θ
1
r=
sin θ + cos θ
R 1 R x2 R π/4 R tan θ sec θ
Exercise 13. 0 0
f (x, y)dy dx = 0 sec θ
f (r cos θ, r sin θ)rdrdθ since
(1)
Z r 2 Z r Z r Z r Z r Z r Z r Z r
−u2 −x2 −y 2 2
−y 2 2
−y 2
2
I (r) = e du = e dx e dy = dy dy e−x dx = e−x dxdy
−r −r −r −r −r −r −r −r
2 2
(2) Let C1 have radius a, C2 have radius b, C1 ⊂ R ⊂ C2 , and since e−(x +y ) > 0, ∀ x, y ∈ R, then
ZZ ZZ
2 2 2 2
e−(x +y ) dxdy < I 2 (r) < e−(x +y ) dxdy
C1 C2
(3)
!a 22
!2π 2
!
2π a 2π
e−r e−a − 1 1 − e−a
Z Z Z
−r 2 a→∞
e drrdθ = dθ = = 2π −−−→ π
0 0 0 −2 −2 2
0 0
√
I(r) → π as r → ∞
Z r Z r Z r √
2 2 √ 2 π
I(r) = e−u du = 2 e−u du = π e−u du =
−r 0 0 2
(4)
Z ∞
Γ(s) = ts−1 e−t dt
0+
Z ∞ Z ∞ Z ∞ √
1 −1/2 −t −1 −u2 −u2 π √
Γ = t e dt = u e 2udu = 2 e du = 2 = π
2 0 0 0 2
t = u2
since
dt = 2udu
x=u+v
Exercise 17.
y = v − u2
1 1
(1) detDφ = = 1 + 2u
−2u 1
(2)
(u, 0) =⇒ (u, −u2 ) u ∈ [0, 2]
(0, v) =⇒ (v, v) v ∈ [0, 2]
1 9
(u, 2 − u) =⇒ (u + 2 − u, 2 − u − u2 ) = (2, −(u + )2 + ) u ∈ [0, 2]
2 4
(3)
ZZ Z 2 Z 2−u 2 Z 2
1 2 14
dudv(1 + 2u) = (1 + 2u)dvdu = (2u − u ) + 2u(2 − u)du =
T 0 0 2 0 0 3
Z 2 Z x Z 2 2
1 2 1 3 14
dx dy = dx(x + x2 ) = x + x =
0 −x 2 0 2 3 0 3
133
(4)
ZZ Z 2 Z 2−u Z 2 Z 2−v
−2 2 −2 1 + 2u
(x − y + 1) dxdy = (u + v − v + u + 1) (1 + 2u)dudv = dv du =
S 0 0 0 0 (u2 + u + 1)2
2 2−v Z 2
−1
Z
1
= dv = dv 1 −
0 u2 + u + 1 0 0 4 − 4v + v 2 + 2 − v + 1
Now
2 5
!2
2
4 arctan √3 (v − 2 )
Z Z 2 Z
1 1 4/3
= 5 2 3 = 2 = √ =
7 − 5v + v 2 0 (v − 2 ) + 4 3
0 √2 (v − 5 ) + 1 2/ 3
2 0
3
√
2 3 −1 5
= arctan √ − arctan √
3 3 3
√
−1
ZZ
2 3 5
=⇒ (x − y + 1)−2 dxdy = 2 − arctan √ − arctan √
S 3 3 3
x = u2 − v 2
Exercise 18.
y = 2uv
2u −2v
(1) J(u, v) = detDφ = = 4u2 + 4v 2 = 4(u2 + v 2 )
2v 2u
(2) Note the transformation of the boundaries.
x = u2 − 1 y2 y ∈ [2, 4]
(u, 1), u ∈ [1, 2] x= −1
y = 2u 4 x ∈ [0, 3]
x = 4 − v2 y2 y ∈ [4, 12]
(2, v), v ∈ [1, 3] x=4−
y = 4v 16 x ∈ [−5, 3]
x = u2 − 9 y2 y ∈ [6, 12]
(u, 3), u ∈ [1, 2] x= −9
y = 6u 36 x ∈ [−8, −5]
2 y ∈ [2, 6]
x=1−v y2
(1, v), v ∈ [1, 3] x=1−
y = 2v 4 x ∈ [−8, 0]
(3)
x2 + y 2 = u4 − 2u2 v 2 + v 4 + 4u2 v 2 = (u2 + v 2 )2 = 1 =⇒ u2 + v 2 = 1
Circle is invariant under “hyperbolic” transformation.
Z 1 Z √1−u2 Z 1 Z √
1−u2
2 2 2 2
√ (u − v )(2uv)4(u + v )dudv = 8 du √ (u2 − v 2 )(uv)dv =
−1 − 1−u2 −1 − 1−u2
Z 1 3
u 2 1
2
=8 du ((1 − u ) − (1 − u )) − u (0) = 0
−1 2 4
Exercise 19.
R
2π R R 2π (p2 +r 2 )−p+1 π
((p2 + R2 )−p+1 − (p2 )−p+1 )
ZZ Z Z
dxdy rdr 0
dθ 2(1−p) = 1−p
I(p, r) = = dθ = 0
R (ρ2 + x2 + y 2 )p 0
2
0 (p + r )
2 p 2π dθ ln 12 +R2 = π ln (1 + R2 )
R
0 2
−π 2−2p
R → ∞, if p > 1, lim I(p, r) = p
R→∞ 1−p
Exercise 20. Let u = x+y. Note that the region in xy is a rectangle starting from P = (0, −1) and spanned by a = (1, 1), b =
(−1, 1).
x 0 1 −1 1 −1
= +s +t detDφ = =1+1=2
y −1 1 1 1 1
x = s + −t
x + y = 2s − 1
y = −1 + s + t
ZZ Z 1Z 1 Z 1 Z 1
=⇒ f (x + y)dydx = f (2s − 1)2dsdt = 2 f (2s − 1)ds = f (u)du
S 0 0 0 −1
134
√
Exercise 21. Look at what we want. We eventually want ax + by = u a2 + b2 . Then try that substitution.
Also note that we want J(x, y) = detDφ 6= 0 for all points considered. We are given that a2 + b2 6= 0. Then try to get that
as a nonzero factor for J, the Jacobian.
p
ax + by = Au A = a2 + b2
=⇒ a b x Au
cx + dy = Av =
c d y Av
x 1 d −b Au
=⇒ =
y ad − bc −c a Av
We want ad − bc 6= 0 so simply use our hypothesis: a2 + b2 6= 0. Then d = a, c = −b
a −b
x 1 ua − bv
=⇒ = detDφ = Ab A =1
a
y A ub + av A A
Let’s observe how the circular region in xy changes with uv.
a2 u2 − 2abuv + b2 v 2 b2 u2 + 2abuv + a2 v 2
x2 + y 2 = 1 = + = u2 + v 2 = 1
A2 A2
Amazing! The circle is invariant under a normalized linear transformation of nonzero determinant.
Z 1 Z √1−u2 Z 1p p
=⇒ √ f (u + c)dvdu = 2 1 − u2 f (u a2 + b2 )du
−1 − 1−u2 −1
Exercise 22. From the given problem, we obviously want to make the substitution u = yx. Consider the transformed
boundaries and the Jacobian for this transformation.
xy = 1 u=1
xy = 2 u=2
x x
1
0 1
= detDφ = =
y=x u = x2 y u/x −u/x2 1/x x
y = 4x u = 4x2
Sketch the transformed region in the xu plane, with boundaries as described above. Then clearly,
Z 2 Z √u Z 2 √ Z 2 Z 2
√
1 u 1 1
du √ f (u) dx = du ln ( u) − ln f (u) = du ln u − ln u + ln 2 f (u) = ln 2 f (u)du
1 2
u x 1 2 1 2 2 1
11.34 E XERCISES - P ROOF OF THE TRANSFORMATION FORMULA IN A SPECIAL CASE , P ROOF OF THE
TRANSFORMATION FORMULA IN THE GENERAL CASE , E XTENSIONS TO HIGHER DIMENSIONS , C HANGE OF
VARIABLES IN AN n- FOLD INTEGRAL , W ORKED EXAMPLES
Exercise 18. The condition for the paraboloid and sphere to meet is the following:
x2 + y 2 = 4z = 5 − z 2 =⇒ z 2 + 4z − 5 = 0 or (z + 5)(z − 1) = 0
√
2 2π 5−r 2 2
r2
Z Z Z Z p
V = rdzdφdr = 2πr 5− r2 − =
0 0 r2
4 0 4
2
−1 2 3/2 4 −1 2π 3/2
(1 − 53/2 ) − 16/16) =
= 2π (5 − r ) − r /16 = 2π( (5 − 4)
3 0 3 3
Exercise 20.
2π π b
4π(b5 − a5 )
Z Z Z
1 5
r2 (r2 sin θ)drdθdφ = (b − a5 )(2)(2π) =
0 0 a 5 5
Exercise 21.
Z h Z 2π Z z Z h
2π 2 π
z dz = h3 = M
rdrdφdz =
0 0 0 0 2 3
Z h Z 2π Z z Z h
1 π
zM = rzdrdφdz = dz2π z 3 = h4
0 0 0 0 2 4
3h
z= 4so centroid is h4 away from base.
Exercise 22. Note the symmetry in φ and r.
h 2π z h
h 3 h4 πh4
Z Z Z Z
1 2 4 1
M= (h − z)rdrdφdz = dz(2π)(h − z) z = (2π) h − = (2πh ) =
0 0 0 0 2 6 8 24 12
Z h Z 2π Z z Z h 4 h
1 z 1
dz(h − z)z z 2 = π h − z 5 =
zM = (h − z)zrdrdφdz = 2π
0 0 0 0 2 4 5 0
= π(h5 )(1/4 − 1/5)
3
=⇒ z = h
5
Center of mass is 25 h from the base.
Exercise 23. Note symmetry in φ and r.
h z
2π z h
r3 2π h4 πh4
Z Z Z Z
M= rrdrdφdz = 2π dz = =
0 0 0 0 3 0 3 4 6 4h
h =⇒ z =
Z h Z 2π Z z Z h
1 2π 1 5 2π 5 5
zM = rzrdrdφdz = 2π z z3 = z = h
0 0 0 0 3 3 5 0 15
h
5 from base.
Exercise 24. Consider concentric hemispheres of radii a and b, where 0 < a < b.
π/2 2π b
b3 − a3
Z Z Z
M= dθ dφ r2 sin θ = (2π)
0 0 a 3 3 b4 − a 4
=⇒ z =
Z π/2 Z 2π Z b Z π/2
b4 − a4 π 8 b3 − a 3
zM = dθ dφ r2 sin θ(r cos θ) = dθ2π sin θ cos θ = (b4 − a4 )
0 0 a 0 4 4
Exercise 25. I tried cylindrical coordinates first. Didn’t help.
137
Tip: quickly switch and try another way, another set of coordinates, if one way doesn’t work.
Z 1 Z 1 Z 1
M= dz dy dx(x2 + y 2 + z 2 ) = 1
0 0 0
Z 1 Z 1 Z 1
2 2 2 1 1 1 1 1 7
xM = dz dy dxx(x + y + z ) = + + =
0 0 0 4 2 3 2 3 12
7
By label symmetry of x, y, z, x = y = z = 12
r a
Exercise 26. Note that z = h
Z h Z 2π Z ha z Z h 4
M 1 a M π a 4 5 M 3a2
Icone,z = r2 (rdr)dz = 2π z 4 dz = h = M
0 0 0 V 0 4 h V 10 h V 10
Z h Z 2π Z az/h
a2 1 πa2 h
V = dφ rdrdz = 2π 2 h3 =
0 0 0 2h 3 3
ZZZ ZZZ
M 2 M
Ix + Iy = (y + z 2 + x2 + z 2 )dxdydz = (x2 + y 2 + 2z 2 )dxdydz =
V V
Z h Z 2π Z az ! Z h !
M πa4 h M πa4 h 1 a2 4 M πa4 h 2πa2 5
h
2
= +2 dφ z rdrdz = +2 2π 2 z dz = + h =
V 10 0 0 0 V 10 0 2h V 10 5h2
= 2Ix
a2 2h2 a2 2h2
M 2 3M
=⇒ Ix = πa2 h
(πa h) + = +
2 3
10 5 2 10 5
Exercise 27. f = M/ 43 πR3 = M/V
Z π Z 2π Z R
2πM π R5
ZZZ Z
M 2 2 2 M 2 2
I= (x + y ) dxdydz = dθ dφ r (sin θ) r sin θ = sin θ(1 − cos2 θ) =
V 0 0 0 V V 0 5
2πM R5 4
2πM 5 1 2
= R 2 + (−2) = 4π 3 = M R2
5V 3 53R 3 5
Another way, which is quite clever, is the following. Consider that
2(x2 + y 2 + z 2 ) = x2 + y 2 + z 2 + x2 + x2 + y 2
Then ZZZ Z π Z 2π Z R
2 M
2 2 M 2 8πM 5
2 (x + y + z ) dxdydz = 2 dθ dφ r2 r sin θ = R = Iz + Iy + Ix
V 0 0 0 V 5V
5
8πM
R 2M R2
By spherical symmetry, Iz = Iy . So then I = 3 = 5
15 4πR
3
Exercise 28.
h 2π a
a3
Z Z Z
M= dz dφ rrdr = 2h(2π)
−h 0 0 3
h 2π a
3M a2
Z Z Z
1
Iz = dz dφ r2 rdrr = (2h)(2π) a5 =
−h 0 0 5 5
Exercise 29.
4πR3 2πR3
1 M
Vcap = = c= = mass density
3 2 3 V
2
1 π
Vcylinder =π 2=
2 2
π/2 2π R
2πR4 1 M πR4 M
Z Z Z
M
zM = dθ dφ = r cos θr2 sin θdr
=
0 0 0 V 4 2V 4 V
4
πR 3R
z= 3 =
4 2πR
3
8
Condition wanted is for center of mass of the mushroom to be at z = 0, for this particular choice of coordinates.
4
πR4 −π
c πR π
4 + c 2 (−1) 4 + 2
= = 0 =⇒ R4 = 2 or R = 21/4
cV + c π2 2πR3
3 + π
2
138
12.4 E XERCISES - PARAMETRIC REPRESENTATION OF A SURFACE , T HE FUNDAMENTAL VECTOR PRODUCT, T HE
FUNDAMENTAL VECTOR PRODUCT AS A NORMAL TO THE SURFACE
Exercise 1. Plane:
x = x0 + a1 u + b1 v
r(u, v) = (x0 + a1 u + b1 v)i + (y0 + a2 u + b2 v)j + (z0 + a3 u + b3 v)k =⇒ y = y0 + a2 u + b2 v
zz0 + a3 u + b3 v
Then get u, v in terms of x, y.
a1 b1 u x − x0
=
a2 b2 v y − y0
u 1 b2 −b1 x − x0 1 b2 (x − x0 ) − b1 (y1 − y0 )
=⇒ = =
v a1 b@ − b1 a2 −a 2 a1 y − y0 a1 b2 − b1 a2 −a2 (x − x0 ) + a1 (y − y0 )
So then
(a1 b2 − b1 a2 )(z − z0 ) = (a3 b2 − b3 a2 )(x − x0 ) + (b3 a1 − a3 b1 )(y − y0 )
∂u ru = (a1 , a2 , a3 )
∂v rv = (b1 , b2 , b3 )
e1 e2 e3
∂u r × ∂v r = a1 a2 a3 = (a2 b3 − a3 b2 , a3 b1 − a1 b3 , a1 b2 − a2 b1 )
b1 b2 b3
Exercise 2. Elliptic paraboloid: r(u, v) = au cos vi + bu sin vj + u2 k. Then
x = au cos v
2 2
y = bu sin v =⇒ x + y = z
a b
z = u2
∂u r = (a cos v, b sin v, 2u)
e1 e2 e3
b sin v 2u = (−2bu2 cos v, −2u2 a sin v, abu)
=⇒ a cos v
∂v r = (−au sin v, bu cos v, 0) −au sin v bu cos v 0
Exercise 3. Ellipsoid: r(u, v) = (a sin u cos v, b sin u sin v, c cos u).
x 2 y 2 z 2
=⇒ + + =1
a b c
Now
∂u r = (ac(u)c(v), bc(u)s(v), −cs(u))
∂v r = (−as(u)s(v), bs(u)c(v), 0)
e1 e2 e3
=⇒ ac(u)c(v) bc(u)s(v) −cs(u) = (bcs2 (u)c(v), acs2 (u)s(v), ab(c(u))s(u))
−as(u)s(v) bs(u)c(v) 0
Exercise 4. Surface of revolution: r(u, v) = (u cos v, u sin v, f (u)). x2 + y 2 = u2 so then
p
f ( x2 + y 2 ) = z
∂u r = (cos v, sin v, f 0 (u))
∂V r = (−u sin v, u cos v, 0)
e1 e2 e3
sin v f 0 (u) = (−f 0 u cos v, −f 0 u sin v, u)
∂u r × ∂v r = cos v
−u sin v u cos v 0
Exercise 5. Cylinder: y 2 + z 2 = a2
∂u r = (1, 0, 0)
r(u, v) = (u, a sin v, a cos v)
∂v r = (0, a cos v, −a sin v)
e1 e2 e3
=⇒ 1 0 0 = (0, a sin v, a cos v)
0 a cos v −a sin v
139
Exercise 6. Torus: r(u, v) = ((a + b cos u) sin v, (a + b cos u) cos v, b sin u), 0 < b < a.
p
x2 + y 2 = (a + b cos u)2 = (a + b2 − z 2 ) 2
=⇒ (a + b cos (u))b(cos (u) sin (v), cos (u) cos (v), sin (u))
1/2
sin2 u cos2 u sinh2 v
2
k∂u r × ∂v rk = abc cosh v + cosh v +
a2 b2 c2
Exercise 8. r(u, v) = (u + v, u − v, 4v 2 )
e1 e2 e3
∂u r = (1, 1, 0)
=⇒ 1 1 0 = (8v, −8v, −2)
∂v r = (1, −1, 8v) 1 −1 8v
p p
k∂u r × ∂v rk = 64v 2 + 64v 2 + 4 = 2 1 + 32v 2
Exercise 9. r(u, v) = ((u + v), u2 + v 2 , u3 + v 3 )
e1 e2 e3
∂u r = (1, 2u, 3u2 )
2u 3u2 = (6uv 2 − 6vu2 , 3u2 − 3v 2 , 2v − 2u) =
=⇒ 1
∂v r(1, 2v, 3v 2 ) 1 2v 3v 2
= (v − u)(6uv, −3(u + v), 2)
p
=⇒ |v − u| 36u2 v 2 + 9(u2 + 2uv + v 2 ) + 4
Exercise 10. r(u, v) = (u cos v, u sin v, 12 u2 sin 2v).
e1 e2 e3
∂u r = (c(v), s(v), us(2v))
=⇒ ∂u r × ∂v r = c(v) s(v) us(2v) =
∂v r = (−us(v), uc(v), u2 c(2v)) −us(v) uc(v) u2 c(2v)
= (u2 s(v)c(2v) − u2 c(v)s(2v), −u2 c(2v)c(v) − u2 s(2v)s(v), u) = (u2 s(−v), −u2 c(v), u)
p p
k∂u r × ∂v rk = u4 s2 (v) + u4 c2 (v) + u2 = u u2 + 1
140
12.6 E XERCISES - A REA OF A PARAMETRIC SURFACE
Exercise 2. S = r(T )
x2 + y 2 = a2 represents T .
x + y + z = a is S.
ex ey ez
∂x r = (1, 0, −1)
Using z = a − x − y, r = (x, y, a − x − y). Then =⇒ 1 0 −1 = (1, 1, 1)
∂y r = (0, 1, −1) 0 1 −1
√ √
k∂x r × ∂y rk = 1 + 1 + 1 = 3
ZZ √ √
3dxdy = 3πa2
T
y
Exercise 4. z 2 = 2xy x = 2, y = 1. Then 2z∂x z = 2y or ∂x z = z. Similarly ∂y z = xz .
e1 e2 e3
y −y −x y2 x2 z2 (x + y)2
, 1) =⇒ k∂x r × ∂y rk2 = 2 + 2 + 2 =
1 0 z =( ,
0 x z z z z z z2
1 z
r r
x+y x+y 1 x y
k∂x r × ∂y k = =√ √ =√ +
z 2 xy 2 y x
q py
√1 x
R RR
a(S) = 2 y + x dxdy so with
2 3/2
2 √2
√ √ 1 √
3x 32 2
Z r
x 4 2 −1/2 dy 4 2 1/2 8 2
R
dx =
√ = √ = y −
− −
→ 2y =
y y y 3 3 3
0 0
Z r
2 3/2
1 √
3y
y 2
R
dx 2
2 4 2
1/2
= √ = √ −−−→ 2x =
x x 3 x 3 0 3
0
√ √ !
1 8 2 4 2
=⇒ a(S) = √ + = 4
2 3 3
n=6
Exercise 6. x2 + y 2 = z 2 .
x2 + y 2 + z 2 = 2ax =⇒ x2 − 2ax + a2 + y 2 + z 2 = a2 = (x − a)2 + y 2 + z 2 = a2
Determine where sphere and cone intersect: z 2 = ax, so then y 2 = ax − x2 = x(a − x). Since x > 0, a − x > 0, a > x
r r
p −a2 2
a2 a2 a 2
=⇒ y = ± x(a − x) = ± + ax − x + = − −x
4 4 4 2
Now 2z∂x z = 2x. Then
e1 e2 e3
−x −y x2 y2 z2
=⇒ k∂x r × ∂y rk2 =
x
1 0 z =( , , 1) + + =2
0 y z z z2 z2 z2
1 z
141
ZZ √ √ Z 1 Z √x(a−x) √ Z a
r
√ Z a/2
r
a2 a 2 a2
a(S) = 2dxdy = 2 √ dydx = 2 2 dx − −x =2 2 − x2 =
0 − x(a−x) 0 4 2 −a/2 4
2x
u=
a
s 2 a du = dx √ Z
√ Z a/2
a2 2 1 p
2x 2
=a 2 1− −−−−−−−−→ 1 − u2 du
−a/2 a 2 −1
u = sin θ
√ Z √ Z √
du = cos θdθ a2 2 π/2 a2 2 π/2 1 + cos 2θ 2πa2
−−−−−−−−−−→= cos2 θdθ = =
2 −π/2 2 −π/2 2 4
142