Consider ℓ2 the set of sequences {xn}n=1∞ of real numbers such that ∑n=1∞xn2<∞.
a) Prove the Cauchy--Schwarz inequality for two sequences {xn}n=1∞ and {yn}n=1∞ in ℓ2: Prove that ∑n=1∞xnyn converges (absolutely) and
(n=1∑∞xnyn)2≤(n=1∑∞xn2)(n=1∑∞yn2).
b) Prove that ℓ2 is a metric space with the metric d(x,y):−∑n=1∞(xn−yn)2. Hint: Don't forget to show that the series for d(x,y) always converges to some finite number.