Linear-Algebra-Done-Right Β· Unit 15 Β· Video 3 Β· Interactive Practice

Linear Functionals and the Riesz Representation Theorem

IKey Formulas

FormulaNameWhat it says
Ο†(u)=⟨u,v⟩\varphi(u) = \langle u, v \rangle for every u∈Vu \in VRiesz representation theoremVV finite-dimensional, Ο†βˆˆVβ€²\varphi \in V': exactly one such vv exists
v=Ο†(e1)‾ e1+β‹―+Ο†(en)‾ env = \overline{\varphi(e_1)}\, e_1 + \cdots + \overline{\varphi(e_n)}\, e_nFormula (R)e1,…,ene_1, \dots, e_n any orthonormal basis of VV
⟨u,Ξ»ek⟩=Ξ»β€Ύβ€‰βŸ¨u,ek⟩\langle u, \lambda e_k \rangle = \overline{\lambda}\, \langle u, e_k \rangleSecond slot is conjugate linearWhy the bars appear in (R)
βˆ«βˆ’11p(t)cos⁑(Ο€t) dt=βˆ«βˆ’11p(t) 152Ο€2(1βˆ’3t2) dt\int_{-1}^{1} p(t)\cos(\pi t)\,dt = \int_{-1}^{1} p(t)\,\tfrac{15}{2\pi^2}(1 - 3t^2)\,dtThe exampleHolds for every p∈P2(R)p \in \mathcal{P}_2(\mathbf{R})

Key Insight: The right side of (R) seems to depend on the orthonormal basis, but uniqueness says vv is determined by Ο†\varphi alone β€” every orthonormal basis gives the same sum.

IIVisualization 1 β€” Formula (R) Ignores the Basis

For Ο†(x,y)=2x+y\varphi(x, y) = 2x + y on R2\mathbf{R}^2, every orthonormal basis builds the same vector v=(2,1)v = (2, 1).

IIIVisualization 2 β€” Why Formula (R) Needs the Bar

On C2\mathbf{C}^2, Ο†(z1,z2)=Ξ»z1+2z2\varphi(z_1, z_2) = \lambda z_1 + 2z_2 is represented by v=(Ξ»β€Ύ,2)v = (\overline{\lambda}, 2), not by (Ξ»,2)(\lambda, 2).

πŸ’‘ Challenge: find every Ξ»\lambda for which (Ξ»,2)(\lambda, 2) also represents Ο†\varphi, so that dropping the bar does no harm.

IVVisualization 3 β€” Same Integral, Different Function

Against every p∈P2(R)p \in \mathcal{P}_2(\mathbf{R}), the parabola qq and cos⁑(Ο€t)\cos(\pi t) have the same integral β€” beyond P2(R)\mathcal{P}_2(\mathbf{R}) they need not.

πŸ’‘ The representing vector depends on the space: on P5(R)\mathcal{P}_5(\mathbf{R}) the same Ο†\varphi is represented by a polynomial of degree four, not by qq.

VQuiz Questions

Problem 1 Β· Formula (R) in a Rotated Basis

Given: Ο†(x,y)=x+3y\varphi(x, y) = x + 3y on R2\mathbf{R}^2 with the Euclidean inner product, and the orthonormal basis e1=12(1,1)e_1 = \tfrac{1}{\sqrt2}(1, 1), e2=12(1,βˆ’1)e_2 = \tfrac{1}{\sqrt2}(1, -1). Find v=Ο†(e1)e1+Ο†(e2)e2v = \varphi(e_1)e_1 + \varphi(e_2)e_2.

βœ… Correct! The rotated basis gives back (1,3)(1, 3), the coefficient vector of Ο†\varphi β€” as uniqueness demands.
❌ Not quite. (22,βˆ’2)(2\sqrt2, -\sqrt2) lists the numbers Ο†(e1),Ο†(e2)\varphi(e_1), \varphi(e_2); formula (R) still has to multiply them by e1e_1 and e2e_2 and add.
❌ Close, but… that is what (1,1)(1, 1) and (1,βˆ’1)(1, -1) give before normalizing. Formula (R) needs an orthonormal basis; with unnormalized vectors each term is off by the factor βˆ₯ekβˆ₯2=2\|e_k\|^2 = 2.
❌ Not quite. Compute Ο†(e1)=42\varphi(e_1) = \tfrac{4}{\sqrt2} and Ο†(e2)=βˆ’22\varphi(e_2) = -\tfrac{2}{\sqrt2}, then form Ο†(e1)e1+Ο†(e2)e2\varphi(e_1)e_1 + \varphi(e_2)e_2.
Show solution

Everything is real, so the conjugates in (R) do nothing.

Ο†(e1)=12(1+3)=22,Ο†(e2)=12(1βˆ’3)=βˆ’2.\varphi(e_1) = \tfrac{1}{\sqrt2}(1 + 3) = 2\sqrt2, \qquad \varphi(e_2) = \tfrac{1}{\sqrt2}(1 - 3) = -\sqrt2. v=22β‹…12(1,1)βˆ’2β‹…12(1,βˆ’1)=(2,2)βˆ’(1,βˆ’1)=(1,3).v = 2\sqrt2 \cdot \tfrac{1}{\sqrt2}(1, 1) - \sqrt2 \cdot \tfrac{1}{\sqrt2}(1, -1) = (2, 2) - (1, -1) = (1, 3).

Check: ⟨(x,y),(1,3)⟩=x+3y=Ο†(x,y)\langle (x, y), (1, 3) \rangle = x + 3y = \varphi(x, y). The standard basis gives the same vv immediately: Ο†(1,0)=1\varphi(1, 0) = 1, Ο†(0,1)=3\varphi(0, 1) = 3.

Problem 2 Β· The Conjugate Trap

Given: Ο†(z1,z2)=(2+i)z1βˆ’3i z2\varphi(z_1, z_2) = (2 + i)z_1 - 3i\,z_2 on C2\mathbf{C}^2 with the Euclidean inner product ⟨z,w⟩=z1w1β€Ύ+z2w2β€Ύ\langle z, w \rangle = z_1\overline{w_1} + z_2\overline{w_2}. Find the unique v∈C2v \in \mathbf{C}^2 with Ο†(z)=⟨z,v⟩\varphi(z) = \langle z, v \rangle for every zz.

βœ… Correct! ⟨z,(2βˆ’i,3i)⟩=z1(2βˆ’i)β€Ύ+z23iβ€Ύ=(2+i)z1βˆ’3i z2\langle z, (2 - i, 3i) \rangle = z_1\overline{(2 - i)} + z_2\overline{3i} = (2 + i)z_1 - 3i\,z_2.
❌ Close, but… this drops the bars of (R). Then ⟨z,v⟩=(2βˆ’i)z1+3i z2\langle z, v \rangle = (2 - i)z_1 + 3i\,z_2 β€” the second slot conjugates the coefficients, giving a different functional.
❌ Not quite. Every coordinate gets conjugated, including the purely imaginary one: βˆ’3iβ€Ύ=3i\overline{-3i} = 3i.
❌ Not quite. Conjugation flips the sign of the imaginary part only: 2+iβ€Ύ=2βˆ’i\overline{2 + i} = 2 - i, not βˆ’2βˆ’i-2 - i.
Show solution

Use (R) with the standard basis: Ο†(e1)=2+i\varphi(e_1) = 2 + i and Ο†(e2)=βˆ’3i\varphi(e_2) = -3i, so

v=(2+i)‾ e1+(βˆ’3i)‾ e2=(2βˆ’i,Β 3i).v = \overline{(2 + i)}\,e_1 + \overline{(-3i)}\,e_2 = (2 - i,\ 3i).

Check:

⟨z,v⟩=z1(2βˆ’i)β€Ύ+z2(3i)β€Ύ=(2+i)z1βˆ’3i z2=Ο†(z).\langle z, v \rangle = z_1\overline{(2 - i)} + z_2\overline{(3i)} = (2 + i)z_1 - 3i\,z_2 = \varphi(z).

The bar in (R) undoes the bar that the second slot applies.

Problem 3 Β· Representing Evaluation at Zero

Given: P2(R)\mathcal{P}_2(\mathbf{R}) with ⟨p,q⟩=βˆ«βˆ’11p q\langle p, q \rangle = \int_{-1}^{1} p\,q and orthonormal basis e1=12e_1 = \sqrt{\tfrac12}, e2=32 xe_2 = \sqrt{\tfrac32}\,x, e3=458(x2βˆ’13)e_3 = \sqrt{\tfrac{45}{8}}\left(x^2 - \tfrac13\right). Find the q∈P2(R)q \in \mathcal{P}_2(\mathbf{R}) with p(0)=βˆ«βˆ’11p qp(0) = \int_{-1}^{1} p\,q for every p∈P2(R)p \in \mathcal{P}_2(\mathbf{R}).

βœ… Correct! βˆ«βˆ’11q=1\int_{-1}^1 q = 1, βˆ«βˆ’11xq=0\int_{-1}^1 xq = 0, βˆ«βˆ’11x2q=0\int_{-1}^1 x^2 q = 0 β€” exactly p(0)p(0) for p=1,x,x2p = 1, x, x^2.
❌ Close, but… you used Ο†(e3)\varphi(e_3) correctly but multiplied it by x2x^2 alone. Formula (R) multiplies by all of e3e_3, whose βˆ’13-\tfrac13 contributes the constant 58\tfrac58.
❌ Not quite. e3(0)=458β‹…(βˆ’13)β‰ 0e_3(0) = \sqrt{\tfrac{45}{8}}\cdot\left(-\tfrac13\right) \neq 0: the third basis element is not zero at the origin, so its term survives.
❌ Not quite. βˆ«βˆ’11pβ‹…1\int_{-1}^{1} p \cdot 1 is the integral of pp, not p(0)p(0): for p=x2p = x^2 it gives 23\tfrac23 instead of 00.
Show solution

Let Ο†(p)=p(0)\varphi(p) = p(0), a linear functional. Over R\mathbf{R}, formula (R) reads q=Ο†(e1)e1+Ο†(e2)e2+Ο†(e3)e3q = \varphi(e_1)e_1 + \varphi(e_2)e_2 + \varphi(e_3)e_3.

Ο†(e1)=12,Ο†(e2)=0,Ο†(e3)=458(βˆ’13).\varphi(e_1) = \sqrt{\tfrac12}, \qquad \varphi(e_2) = 0, \qquad \varphi(e_3) = \sqrt{\tfrac{45}{8}}\left(-\tfrac13\right). q=12+458(βˆ’13)(x2βˆ’13)=12βˆ’158x2+58=98βˆ’158x2.q = \tfrac12 + \tfrac{45}{8}\left(-\tfrac13\right)\left(x^2 - \tfrac13\right) = \tfrac12 - \tfrac{15}{8}x^2 + \tfrac{5}{8} = \tfrac98 - \tfrac{15}{8}x^2.

Check on 1,x,x21, x, x^2: βˆ«βˆ’11q=94βˆ’54=1=p(0)\int_{-1}^1 q = \tfrac94 - \tfrac54 = 1 = p(0) for p=1p = 1; βˆ«βˆ’11xq=0\int_{-1}^1 xq = 0 (odd integrand); βˆ«βˆ’11x2q=34βˆ’34=0\int_{-1}^1 x^2 q = \tfrac34 - \tfrac34 = 0. By linearity it holds for every pp.

Problem 4 Β· A Sine Functional on P3(R)\mathcal{P}_3(\mathbf{R})

Given: Ο†(p)=βˆ«βˆ’11p(t)sin⁑(Ο€t) dt\varphi(p) = \int_{-1}^{1} p(t)\sin(\pi t)\,dt on P3(R)\mathcal{P}_3(\mathbf{R}), with ⟨p,q⟩=βˆ«βˆ’11p q\langle p, q \rangle = \int_{-1}^{1} p\,q and the orthonormal basis e1=12e_1 = \sqrt{\tfrac12}, e2=32 xe_2 = \sqrt{\tfrac32}\,x, e3=458(x2βˆ’13)e_3 = \sqrt{\tfrac{45}{8}}\left(x^2 - \tfrac13\right), e4=144(5x3βˆ’3x)e_4 = \tfrac{\sqrt{14}}{4}(5x^3 - 3x). You may use βˆ«βˆ’11tsin⁑(Ο€t) dt=2Ο€\int_{-1}^{1} t\sin(\pi t)\,dt = \tfrac{2}{\pi} and βˆ«βˆ’11t3sin⁑(Ο€t) dt=2Ο€βˆ’12Ο€3\int_{-1}^{1} t^3\sin(\pi t)\,dt = \tfrac{2}{\pi} - \tfrac{12}{\pi^3}. Which q∈P3(R)q \in \mathcal{P}_3(\mathbf{R}) represents Ο†\varphi?

βœ… Correct! Only the odd basis elements e2e_2 and e4e_4 contribute, and Ο†(e4)=14(Ο€2βˆ’15)Ο€3β‰ 0\varphi(e_4) = \tfrac{\sqrt{14}(\pi^2 - 15)}{\pi^3} \neq 0.
❌ Close, but… that is the representer on P2(R)\mathcal{P}_2(\mathbf{R}). On P3(R)\mathcal{P}_3(\mathbf{R}) formula (R) has a fourth term, and Ο†(e4)β‰ 0\varphi(e_4) \neq 0: (5t3βˆ’3t)sin⁑(Ο€t)(5t^3 - 3t)\sin(\pi t) is even, not odd. Indeed ⟨x3,3Ο€x⟩=65Ο€\langle x^3, \tfrac{3}{\pi}x \rangle = \tfrac{6}{5\pi}, while Ο†(x3)=2Ο€βˆ’12Ο€3\varphi(x^3) = \tfrac{2}{\pi} - \tfrac{12}{\pi^3}.
❌ Not quite. sin⁑(Ο€x)\sin(\pi x) is not a polynomial, so it is not an element of P3(R)\mathcal{P}_3(\mathbf{R}) β€” the theorem promises a representer inside the space.
❌ Not quite. This multiplies Ο†(e4)\varphi(e_4) by 5x3βˆ’3x5x^3 - 3x instead of by e4=144(5x3βˆ’3x)e_4 = \tfrac{\sqrt{14}}{4}(5x^3 - 3x). Formula (R) uses the whole basis element, so the two factors 144\tfrac{\sqrt{14}}{4} combine into 1416\tfrac{14}{16}.
Show solution

By (R) over R\mathbf{R}, q=Ο†(e1)e1+Ο†(e2)e2+Ο†(e3)e3+Ο†(e4)e4q = \varphi(e_1)e_1 + \varphi(e_2)e_2 + \varphi(e_3)e_3 + \varphi(e_4)e_4.

sin⁑(Ο€t)\sin(\pi t) is odd, so e1(t)sin⁑(Ο€t)e_1(t)\sin(\pi t) and e3(t)sin⁑(Ο€t)e_3(t)\sin(\pi t) are odd and integrate to zero over [βˆ’1,1][-1, 1]: Ο†(e1)=Ο†(e3)=0\varphi(e_1) = \varphi(e_3) = 0. The other two use the given integrals:

Ο†(e2)=32β‹…2Ο€,Ο†(e4)=144(5(2Ο€βˆ’12Ο€3)βˆ’3β‹…2Ο€)=144(4Ο€βˆ’60Ο€3).\varphi(e_2) = \sqrt{\tfrac32}\cdot\tfrac{2}{\pi}, \qquad \varphi(e_4) = \tfrac{\sqrt{14}}{4}\left(5\left(\tfrac{2}{\pi} - \tfrac{12}{\pi^3}\right) - 3\cdot\tfrac{2}{\pi}\right) = \tfrac{\sqrt{14}}{4}\left(\tfrac{4}{\pi} - \tfrac{60}{\pi^3}\right).

Multiplying each by its basis element, the square roots combine: 32β‹…2Ο€=3Ο€\tfrac32 \cdot \tfrac{2}{\pi} = \tfrac{3}{\pi} and 1416(4Ο€βˆ’60Ο€3)=7(Ο€2βˆ’15)2Ο€3\tfrac{14}{16}\left(\tfrac{4}{\pi} - \tfrac{60}{\pi^3}\right) = \tfrac{7(\pi^2 - 15)}{2\pi^3}. Hence

q(x)=3Ο€x+7(Ο€2βˆ’15)2Ο€3(5x3βˆ’3x).q(x) = \frac{3}{\pi}x + \frac{7(\pi^2 - 15)}{2\pi^3}(5x^3 - 3x).

Since Ο€2β‰ 15\pi^2 \neq 15, the cubic term is really there: the representer on P3(R)\mathcal{P}_3(\mathbf{R}) differs from the one on P2(R)\mathcal{P}_2(\mathbf{R}), which is 3Ο€x\tfrac{3}{\pi}x.

Solved: 0 / 4