

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


University of Illinois Spring 2007 ECE 413: Solutions to Problem Set 2
(b) There are
= 56 outcomes in B and hence P (B) = 56 256
(c) When the event A ∩ B occurs, we know that the 7 more significant bits have exactly 4 ONEs and 3 ZEROes. Hence |A ∩ B| =
= 35. Thus, P (A ∩ B) =
and
P (A ∪ B) = P (A) + P (B) − P (A ∩ B) =
, while P (A ⊕ B) = P (A) + P (B) − 2 · P (A ∩ B) =
= 20 possible short lists.
(b) i. P (Beth is on the short list) =
ii. P (Chuck is on the short list) =
also.
iii. P (Beth and Chuck both are on the short list) =
iv. P (Chuck and two women are on the short list) =
f (x) = (1 + x)n^ ≈
∑^ n k=
f (k)(0) k! xk^ =
∑^ n k=
n(n − 1) · · · (n − k + 1) k! xk.
(b) Since f (n)(x) is a constant, f (k)(x) = 0 for all k > n. Thus, the above is the complete Maclaurin series for f (x); there is no approximation. (c)
n k
n! k!(n − k)!
n(n − 1) · · · (n − k + 1)(n − k)(n − k − 1) · · · 2 · 1 ((n − k)(n − k − 1) · · · 2 · 1)k! = n(n − 1) · · · (n − k + 1) k! and so the results match. (d) Using the chain rule, g(k)(x) = (−n)(−n − 1)(−n − 2) · · · (−n − k + 1)(1 − x)−n−k(−1)k = n(n + 1)(n + 2) · · · (n + k − 1)(1 − x)−n−k Thus, g(k)(0) = n(n + 1)(n + 2) · · · (n + k − 1) 6 = 0 for all integers k ≥ 0. Hence, the MacLaurin series for g(x) contains terms of all degrees, and we have that
g(x) = (1 − x)−n^ =
k=
g(k)(0) k! xk^ =
k=
n(n + 1) · · · (n + k − 1) k! xk.
(e) For n = 1, n(n + 1) · · · (n + k − 1) = k! while for n = 2, n(n + 1) · · · (n + k − 1) = (k + 1)!. Hence,
(1 − x)−^1 =
k=
xk^ = 1 + x + x^2 + · · · and (1 − x)−^2 =
k=
(k + 1)xk^ = 1 + 2x + 3x^2 + · · ·
(f) The k-th derivative of h(x) = (1 + x)a^ where a is a real number and not necessarily an integer is h(k)(x) = a(a − 1) · · · (a − k + 1)(1 + x)a−k^ where the exponent cannot equal 0 except when a = k is a positive integer. Thus, the MacLaurin series has terms of all degrees and we have that
h(x) = (1 + x)a^ =
k=
h(k)(0) k! xk^ =
k=
a(a − 1) · · · (a − k + 1) k! xk.
n n − k
n k
(b) The first term on the right in
n k
n − 1 k − 1
n − 1 k
is the number of subsets that contain a specific element, say x 1 , with the remaining k − 1 elements being chosen from the remaining n − 1 elements. The second term on the right is the number of subsets of size k that do not include x 1. (c)
m + n k
committees of size k can be drawn from a set of m men and n women. Of
these,
m i
n k − i
committees have i men and k − i women. Summing over all possible
values of i, we conclude that
m + n k
∑^ k i=
m i
n k − i
(d) The coefficient of xk^ in the polynomial (1 + x)m+n^ is
m + n k
Now, if h(x) = f (x)g(x), then hk =
i figk−i.^ Applying this to^ f^ (x) = (1 +^ x) m (^) and
g(x) = (1 + x)n, we get that
m + n k
∑^ k i=
m i
n k − i
as before.
(e) With ( m = k = n, 2 n n
∑^ n i=
n i
n n − i
∑^ n i=
n i
since
n n − i
n i
(f) (1 + x)n^ =
n 0
n 1
x +
n 2
x^2 +
n 3
x^3 +
n 4
x^4 + · · ·
(1 − x)n^ =
n 0
n 1
x +
n 2
x^2 −
n 3
x^3 +
n 4
x^4 − · · ·
from which we get that (1 + x)n^ + (1 − x)n^ = 2
n 0
n 2
x^2 +
n 4
x^4 + · · ·
. Set x = 1 and note that the left side has value 2n^ while the right side is twice the number of sets with an even number of elements. More simply, set x = 1 in (1 − x)n^ to get
0 =
n 0
n 1
n 2
n 3
n 0
n 2
n 1
n 3