Linear-Algebra-Done-Right · Unit 27 · Video 1 · Interactive Practice

Bilinear Forms: Linear in Each Slot, a Matrix per Basis

IKey Formulas

FormulaNameHypotheses
β(v+w,u)=β(v,u)+β(w,u)\beta(v + w, u) = \beta(v, u) + \beta(w, u),  β(λv,u)=λ β(v,u)\ \beta(\lambda v, u) = \lambda\,\beta(v, u), and the same in the second slotBilinear form on VVβ ⁣:V×V→F\beta\colon V \times V \to \mathbf{F}; u,v,w∈Vu, v, w \in V, λ∈F\lambda \in \mathbf{F}
βA(x,y)=∑k=1n∑j=1nAj,k xj yk\beta_A(x, y) = \sum_{k=1}^{n}\sum_{j=1}^{n} A_{j,k}\, x_j\, y_kThe bilinear form of a matrixA∈Fn,nA \in \mathbf{F}^{n,n}, x,y∈Fnx, y \in \mathbf{F}^n
M(β)j,k=β(ej,ek)\mathcal{M}(\beta)_{j,k} = \beta(e_j, e_k)Matrix of a bilinear formβ∈V(2)\beta \in V^{(2)}, the space of bilinear forms on VV (the (2)(2) counts slots, not a power); e1,…,ene_1, \dots, e_n a basis of VV
β↦M(β)\beta \mapsto \mathcal{M}(\beta) is an isomorphism V(2)→Fn,nV^{(2)} \to \mathbf{F}^{n,n}, so dim⁡V(2)=(dim⁡V)2\dim V^{(2)} = (\dim V)^2The space of bilinear formsdim⁡V=n\dim V = n, with a basis e1,…,ene_1, \dots, e_n of VV fixed

Key Insight: A bilinear form is pinned down by its n2n^2 values β(ej,ek)\beta(e_j, e_k) on pairs of basis vectors, and every choice of those n2n^2 numbers comes from exactly one bilinear form.

IIFix One Slot, Get a Linear Functional

For β(u,v)=u1v1+2u1v2−u2v1\beta(u, v) = u_1 v_1 + 2u_1 v_2 - u_2 v_1 on R2\mathbf{R}^2, fixing either vector leaves a linear functional of the other.

IIIInner Products Ask for More

A real inner product is a bilinear form that is also symmetric and positive definite; a bilinear form need be neither.

IVThe Matrix of a Bilinear Form

Entry (j,k)(j, k) of M(β)\mathcal{M}(\beta) is β(ej,ek)\beta(e_j, e_k): only a term containing xjykx_j y_k survives.

VQuiz Questions

Problem 1 · Read Off the Matrix

Given: the bilinear form on F3\mathbf{F}^3 defined by β(x,y)=3x1y3−x2y1+4x2y2−2x3y2\beta(x, y) = 3x_1 y_3 - x_2 y_1 + 4x_2 y_2 - 2x_3 y_2 — find M(β)\mathcal{M}(\beta) with respect to the standard basis.

✅ Correct! Entry (j,k)(j, k) is β(ej,ek)\beta(e_j, e_k), the coefficient of xjykx_j y_k: for instance β(e2,e1)=−1\beta(e_2, e_1) = -1 sits in row 22, column 11.
❌ Rows and columns are swapped. The row index belongs to the first slot: M(β)2,1=β(e2,e1)\mathcal{M}(\beta)_{2,1} = \beta(e_2, e_1), the coefficient of x2y1x_2 y_1, which is −1-1. This matrix is M(β)t\mathcal{M}(\beta)^{\mathrm{t}}, the matrix of (x,y)↦β(y,x)(x, y) \mapsto \beta(y, x).
❌ The signs belong to the entries. β(e2,e1)=−1\beta(e_2, e_1) = -1 and β(e3,e2)=−2\beta(e_3, e_2) = -2, not 11 and 22.
❌ Two slips. The entries are transposed (the row index belongs to the first slot) and the signs of −x2y1-x_2 y_1 and −2x3y2-2x_3 y_2 were dropped.
Show solution

At x=ejx = e_j, y=eky = e_k every coordinate is 00 except xj=1x_j = 1 and yk=1y_k = 1, so each term c xaybc\,x_a y_b vanishes unless (a,b)=(j,k)(a, b) = (j, k). Hence β(ej,ek)\beta(e_j, e_k) is the coefficient of xjykx_j y_k:

β(e1,e3)=3,β(e2,e1)=−1,β(e2,e2)=4,β(e3,e2)=−2,\beta(e_1, e_3) = 3, \quad \beta(e_2, e_1) = -1, \quad \beta(e_2, e_2) = 4, \quad \beta(e_3, e_2) = -2,

and the other five values are 00. Placing β(ej,ek)\beta(e_j, e_k) in row jj, column kk:

M(β)=(003−1400−20).\mathcal{M}(\beta) = \begin{pmatrix} 0 & 0 & 3 \\ -1 & 4 & 0 \\ 0 & -2 & 0 \end{pmatrix}.

The matrix is not symmetric, matching β(e1,e3)=3≠0=β(e3,e1)\beta(e_1, e_3) = 3 \neq 0 = \beta(e_3, e_1).

Problem 2 · Which Is Bilinear?

Given: four functions β ⁣:P2(R)×P2(R)→R\beta\colon \mathcal{P}_2(\mathbf{R}) \times \mathcal{P}_2(\mathbf{R}) \to \mathbf{R} — find the one that is a bilinear form.

✅ Correct! It is φ(p) τ(q)\varphi(p)\,\tau(q) with the linear functionals φ(p)=p′(0)\varphi(p) = p'(0) and τ(q)=∫01q\tau(q) = \int_0^1 q, and a product of a functional of pp with a functional of qq is bilinear.
❌ That map is linear on V×VV \times V, not bilinear. With qq fixed, p↦p(1)+q(1)p \mapsto p(1) + q(1) is not linear: doubling pp gives 2p(1)+q(1)≠2(p(1)+q(1))2p(1) + q(1) \neq 2\bigl(p(1) + q(1)\bigr) when q(1)≠0q(1) \neq 0. Only the zero form is both.
❌ Linear in pp only. For fixed qq it is evaluation of pp at the number q(0)q(0), which is linear; but with p(x)=x2p(x) = x^2 it is q↦q(0)2q \mapsto q(0)^2, which is not linear in qq.
❌ The constant breaks linearity. Every bilinear form has β(0,q)=0\beta(0, q) = 0, but here β(0,q)=1\beta(0, q) = 1.
Show solution

(b) Fix qq. Then c=∫01q(x) dxc = \int_0^1 q(x)\,dx is a fixed number and p↦c p′(0)p \mapsto c\,p'(0) is linear, since differentiation and evaluation at 00 are linear. Fix pp. Then p′(0)p'(0) is a fixed number and q↦p′(0)∫01qq \mapsto p'(0)\int_0^1 q is linear, since integration is linear. So (b) is bilinear.

(a) fails: β(2p,q)=2p(1)+q(1)\beta(2p, q) = 2p(1) + q(1), while 2β(p,q)=2p(1)+2q(1)2\beta(p, q) = 2p(1) + 2q(1). (c) fails in the second slot: with p(x)=x2p(x) = x^2, β(p,2q)=4q(0)2≠2q(0)2=2β(p,q)\beta(p, 2q) = 4q(0)^2 \neq 2q(0)^2 = 2\beta(p, q) whenever q(0)≠0q(0) \neq 0. (d) fails because β(0,q)=1≠0\beta(0, q) = 1 \neq 0.

Problem 3 · An Integral Form on P2(R)\mathcal{P}_2(\mathbf{R})

Given: β(p,q)=∫−11p(x) q′(x) dx\beta(p, q) = \displaystyle\int_{-1}^{1} p(x)\, q'(x)\,dx on P2(R)\mathcal{P}_2(\mathbf{R}) and the basis 1,x,x21, x, x^2 — find M(β)\mathcal{M}(\beta).

✅ Correct! The first column is 00 because the constant 11 has derivative 00, and entries such as ∫−11x dx\int_{-1}^1 x\,dx vanish because an odd function integrates to 00 on [−1,1][-1, 1].
❌ That is the transpose. Row jj goes with the first slot, so entry (1,2)(1, 2) is β(1,x)=∫−111⋅1 dx=2\beta(1, x) = \int_{-1}^1 1 \cdot 1\,dx = 2, and the first column (second slot =1= 1, derivative 00) is the zero column.
❌ The derivative is missing. These are the integrals ∫−11ejek\int_{-1}^1 e_j e_k; the form differentiates its second argument, so entry (j,k)(j, k) is ∫−11ej ek′\int_{-1}^1 e_j\, e_k'.
❌ Check the derivative of x2x^2. It is 2x2x, so β(x,x2)=∫−11x⋅2x dx=43\beta(x, x^2) = \int_{-1}^1 x \cdot 2x\,dx = \tfrac43, not 23\tfrac23.
Show solution

Write e1=1e_1 = 1, e2=xe_2 = x, e3=x2e_3 = x^2, so e1′=0e_1' = 0, e2′=1e_2' = 1, e3′=2xe_3' = 2x. Entry (j,k)(j, k) is β(ej,ek)=∫−11ej ek′ dx\beta(e_j, e_k) = \int_{-1}^1 e_j\, e_k'\,dx.

Column 11 (e1′=0e_1' = 0): all entries 00. Column 22 (e2′=1e_2' = 1): ∫−111 dx=2\int_{-1}^1 1\,dx = 2,  ∫−11x dx=0\ \int_{-1}^1 x\,dx = 0,  ∫−11x2 dx=23\ \int_{-1}^1 x^2\,dx = \tfrac23. Column 33 (e3′=2xe_3' = 2x): ∫−112x dx=0\int_{-1}^1 2x\,dx = 0,  ∫−112x2 dx=43\ \int_{-1}^1 2x^2\,dx = \tfrac43,  ∫−112x3 dx=0\ \int_{-1}^1 2x^3\,dx = 0.

M(β,(1,x,x2))=(02000430230).\mathcal{M}\bigl(\beta, (1, x, x^2)\bigr) = \begin{pmatrix} 0 & 2 & 0 \\ 0 & 0 & \tfrac43 \\ 0 & \tfrac23 & 0 \end{pmatrix}.

Problem 4 · Forms That Vanish on the Constant

Given: V=P3(R)V = \mathcal{P}_3(\mathbf{R}) and the subspace U={β∈V(2):β(p,1)=0 for every p∈V}U = \{\beta \in V^{(2)} : \beta(p, 1) = 0 \text{ for every } p \in V\} — find dim⁡U\dim U.

✅ Correct! In the basis 1,x,x2,x31, x, x^2, x^3 the condition says exactly that the first column of M(β)\mathcal{M}(\beta) is zero, which leaves 16−4=1216 - 4 = 12 free entries.
❌ That is dim⁡V(2)=42\dim V^{(2)} = 4^2. The condition β(p,1)=0\beta(p, 1) = 0 is a real restriction: it forces four entries of M(β)\mathcal{M}(\beta) to be 00.
❌ It is more than one condition. β(p,1)=0\beta(p, 1) = 0 must hold for every pp, which by linearity in the first slot means β(ej,1)=0\beta(e_j, 1) = 0 for each of the four basis vectors eje_j.
❌ Only the second slot is restricted. Nothing forces β(1,q)=0\beta(1, q) = 0, so the first row of M(β)\mathcal{M}(\beta) stays free; only the first column is zero.
Show solution

Use the basis e1=1e_1 = 1, e2=xe_2 = x, e3=x2e_3 = x^2, e4=x3e_4 = x^3, so dim⁡V=4\dim V = 4 and β↦M(β)\beta \mapsto \mathcal{M}(\beta) is an isomorphism V(2)→R4,4V^{(2)} \to \mathbf{R}^{4,4}.

For p=a1e1+⋯+a4e4p = a_1 e_1 + \cdots + a_4 e_4, linearity in the first slot gives β(p,1)=∑j=14aj β(ej,e1)\beta(p, 1) = \sum_{j=1}^4 a_j\, \beta(e_j, e_1). This is 00 for every pp exactly when β(ej,e1)=0\beta(e_j, e_1) = 0 for j=1,…,4j = 1, \dots, 4, that is, when column 11 of M(β)\mathcal{M}(\beta) is zero.

So the isomorphism carries UU onto the matrices in R4,4\mathbf{R}^{4,4} with zero first column, a space with 1212 free entries:

dim⁡U=16−4=12.\dim U = 16 - 4 = 12.

Solved: 0 / 4