Docsity

Solutions to MATH 511A Homework 5: Orthogonal Polynomials and Inner Products, Assignments of Algebra

Toggle sidebar
bg1
MATH 511A, SOLUTIONS TO HOMEWORK 5
1. The space Vcertainly has an orthogonal basis: simply take any basis and
apply the Gram-Schmidt process to it. Let v1,. . . , vnbe such a basis. By Lemma
0.3 from the handout, we either have [vi,vi]>0 for all i, or else [vi, vi]<0 for
all i. Replace viwith |[vi, vi]|−1/2vi; then in the first case the resulting basis is
orthonormal, and in the second case the resulting basis has [vi, vi] = −1 for all i.
Let s= 1 in the first case and let s=−1 in the second case.
Now if v∈Vwe may write v=Pc1vi, and define f:V→Rnby setting
f(v) = (c1·· · cn)t∈Rn. Then
hei, eji= [f−1(ei), f −1(ej)] = [vi, vj] = sδij
where δij = 1 if i=jand 0 otherwise. Hence B=s·I. Since Ais self-adjoint with
respect to ±I, it is symmetric.
2. From the definition we see that hf, g iW=hg, fiWfor all f , g, so the only
restriction on Wis that the pairing h,iWmust be definite.
Our first observation is that either W(x)≥0 for all x, or else W(x)≤0 for all x.
Indeed, if Wwere to change sign, let P⊂[a, b] be the subset on which Wis positive,
and let Nbe the subset on which Wis negative. Since Wis continuous, both P
and Nare open in [a, b]. Let fbe a nonzero function whose support (i.e., the set
of points where fis nonzero) is contained in the interior of P; then hf, f iW>0.
Let gbe a nonzero function whose support is contained in the interior of N; then
hg, giW<0. Then h,iWis not definite by Lemma 0.3 from the handout.
Suppose that W(x)≥0 for all x. Then W(x)f(x)2≥0 for all x, so if hf, f iW= 0,
then W(x)f(x)2= 0 for all x, or equivalently W(x)f(x) = 0 for all x. If there is
no open interval I⊂[a, b] on which Wvanishes identically, then f(x) has a zero
in every interval I⊂[a, b]. It follows that the zeros of f(x) are dense in [a, b], and
by continuity f(x) is identically 0. On the other hand, if there is an open interval
I⊂[a, b] on which Wvanishes, then we can choose nonzero f(x) with support in
I, and hf, f iW= 0.
The case where W(x)≥0 is similar, so we conclude h,iWis an inner product if
and only if Wis either non-negative or non-positive, and there is no open interval
on which Wvanishes identically.
3.
(a) Following the Gram-Schmidt procedure, the polynomial pnis given by
pn=xn−X
i<n
pihxn, piiW
hpi, piiW
.
Each of the terms in the rightmost summation has degree at most i.
1
pf3

Partial preview of the text

Download Solutions to MATH 511A Homework 5: Orthogonal Polynomials and Inner Products and more Assignments Algebra in PDF only on Docsity!

  1. The space V certainly has an orthogonal basis: simply take any basis and apply the Gram-Schmidt process to it. Let v 1 ,... , vn be such a basis. By Lemma 0.3 from the handout, we either have [vi, vi] > 0 for all i, or else [vi, vi] < 0 for all i. Replace vi with |[vi, vi]|−^1 /^2 vi; then in the first case the resulting basis is orthonormal, and in the second case the resulting basis has [vi, vi] = −1 for all i. Let s = 1 in the first case and let s = −1 in the second case.

Now if v ∈ V we may write v =

c 1 vi, and define f : V → Rn^ by setting f (v) = (c 1 · · · cn)t^ ∈ Rn. Then

〈ei, ej 〉 = [f −^1 (ei), f −^1 (ej )] = [vi, vj ] = sδij

where δij = 1 if i = j and 0 otherwise. Hence B = s · I. Since A is self-adjoint with respect to ±I, it is symmetric.

  1. From the definition we see that 〈f, g〉W = 〈g, f 〉W for all f, g, so the only restriction on W is that the pairing 〈 , 〉W must be definite.

Our first observation is that either W (x) ≥ 0 for all x, or else W (x) ≤ 0 for all x. Indeed, if W were to change sign, let P ⊂ [a, b] be the subset on which W is positive, and let N be the subset on which W is negative. Since W is continuous, both P and N are open in [a, b]. Let f be a nonzero function whose support (i.e., the set of points where f is nonzero) is contained in the interior of P ; then 〈f, f 〉W > 0. Let g be a nonzero function whose support is contained in the interior of N ; then 〈g, g〉W < 0. Then 〈 , 〉W is not definite by Lemma 0.3 from the handout.

Suppose that W (x) ≥ 0 for all x. Then W (x)f (x)^2 ≥ 0 for all x, so if 〈f, f 〉W = 0, then W (x)f (x)^2 = 0 for all x, or equivalently W (x)f (x) = 0 for all x. If there is no open interval I ⊂ [a, b] on which W vanishes identically, then f (x) has a zero in every interval I ⊂ [a, b]. It follows that the zeros of f (x) are dense in [a, b], and by continuity f (x) is identically 0. On the other hand, if there is an open interval I ⊂ [a, b] on which W vanishes, then we can choose nonzero f (x) with support in I, and 〈f, f 〉W = 0.

The case where W (x) ≥ 0 is similar, so we conclude 〈 , 〉W is an inner product if and only if W is either non-negative or non-positive, and there is no open interval on which W vanishes identically.

(a) Following the Gram-Schmidt procedure, the polynomial pn is given by

pn = xn^ −

i<n

pi

〈xn, pi〉W 〈pi, pi〉W

Each of the terms in the rightmost summation has degree at most i. 1

(b) Note that pn(x)q(x) = q^2 (x)r(x). By definition r(x) does not change sign on the interval [a, b], so W (x)pn(x)q(x) = W (x)q^2 (x)r(x) does not change sign on the interval [a, b]. From the definition of the inner product, we see that 〈pn, q(x)〉W 6 = 0. But pn is orthogonal to all polynomials of lower degree, hence deg(q(x)) = n, and p(x) has n real roots in (a, b).

(a) Let p 0 , p 1 , p 2 ,... and q 0 , q 1 , q 2 ,... be two sequences of orthogonal polyno- mials with respect to W. Let kn be the ratio of the degree n terms of qn and pn, so that knpn − qn has degree less than n. Then knpn − qn may be written as a linear combination of p 0 ,... , pn− 1 , say knpn − qn =

i<n dipi. But pn, qn are both orthogonal to all polynomials of degree less than n, so

0 = 〈knpn − qn, pj 〉W =

i<n

di〈pi, pj 〉W = dj 〈pj , pj 〉W

for all j < n. Hence dj = 0 for all j < n, and qn = knpn. (b) We have r(x) = pn+1 − (anx + bn)pn, a polynomial of degree at most n − 1. Write r(x) =

i≤n− 1 dipi.^ Note that since (anx^ +^ bn)pi^ has degree less than n if i < n − 1, we have

〈(anx + bn)pn, pi〉W = 〈pn, (anx + bn)pi〉W = 0

if i < n − 1. Since 〈pn+1, pi〉W = 0 for all i < n − 1 as well, we deduce that 〈r(x), pi〉W = 0 if i < n − 1. It follows that di = 0 if i < n − 1, and r(x) = dn− 1 pn− 1. (c) By 4(a), it suffices to prove the claim for the orthogonal polynomials ob- tained by applying Gram-Schmidt to 1, x, x^2 ,.. .. The proof is by induction on n, with the base case n = 0 evident. From 3(a) we have

pn = xn^ −

i<n

pi

〈xn, pi〉W 〈pi, pi〉W

By the induction hypothesis, if n and i have opposite parity then xnpi is an odd function, and since W (x) is even it follows that 〈xn, pi〉W = 0. It follows that pn is given by a sum of functions of the same parity of n, as desired. (d) By 4(c), we know that pn+1 cannot have a nonzero term of degree n, and so bn = 0.

  1. Let Tn(x) = cos(n cos−^1 x) for x ∈ [− 1 , 1].

(a) De Moivre’s formula tells us that cos(nx) + i sin(nx) = (cos(x) + i sin(x))n. It follows that

cos(nx) =

2 k≤n

(−1)k

n 2 k

sin(x)^2 k^ cos(x)n−^2 k

2 k≤n

(−1)k

n 2 k

(1 − cos(x)^2 )k^ cos(x)n−^2 k^.