Why complex length needs the conjugate transpose, the complex inner product with conjugate symmetry and positive definiteness, sesquilinear forms, the norm it defines and the Gram matrix of a basis.
The vector x=(1,i) in C2 is not zero, yet the real recipe for squared length gives xTx=1+i2=0. A squared length that vanishes on a nonzero vector is useless, so the recipe has to change once the scalars are complex. Conjugating one of the two copies repairs it, because (a−ib)(a+ib)=a2+b2 for real a and b. This lesson builds the complex inner product on that observation, settles which argument is linear, and shows how a basis stores an inner product in its Gram matrix. Throughout, a tuple such as (1,i) stands for a column vector.
Key terms
Conjugate transpose
Definition The conjugate transpose of a matrix A∈Cm×n is the matrix A∗∈Cn×m obtained by transposing and conjugating every entry,
A∗=AT,(A∗)ij=aji.
A column x∈Cn becomes the row x∗=[x1⋯xn], so for columns x,y∈Cn
x∗y=x1y1+⋯+xnyn.
The rules (A∗)∗=A, (cA)∗=cA∗ and (AB)∗=B∗A∗ hold whenever the sizes allow the product. For a real matrix the conjugate transpose is the transpose. A square matrix H with H∗=H is called Hermitian.
In plain words Turn rows into columns and conjugate every entry. In the product x∗x each coordinate meets its own conjugate, and xjxj=∣xj∣2 is never negative, while the unconjugated xj2 can be negative or not even real.
Example For x=(1,i) the two recipes disagree,
xTx=1+i2=0,x∗x=1+(−i)(i)=2.
For a rectangular matrix,
A=[132+i0−i1+i],A∗=12−ii301−i.
Complex inner product
Definition Let V be a vector space over F, where F is R or C. An inner product on V assigns to each pair x,y∈V a scalar ⟨x,y⟩∈F such that for all x,y,z∈V and all a,b∈F
The first rule is linearity in the second argument. The second is conjugate symmetry, which forces every value ⟨x,x⟩ to be real. The third is positive definiteness, treated in more detail below. The first argument is then conjugate-linear, since
When F=C this is a complex inner product, and V with it is a complex inner product space. Over R the conjugations do nothing and the rules are those of a real inner product. The standard inner product on Cn is ⟨x,y⟩=x∗y. Some books make the first argument linear instead. Every formula in this course uses the convention above, with the second argument linear.
In plain words An inner product turns two vectors into a scalar. A scalar factor comes out of the second slot unchanged and out of the first slot conjugated, and swapping the two vectors conjugates the result.
Example The standard inner product satisfies the rules. It is linear in y by matrix multiplication, conjugating ∑jxjyj gives ∑jyjxj=y∗x, and x∗x=∑j∣xj∣2 is positive unless every entry is 0. For x=(1,i) and y=(1,1) the value is ⟨x,y⟩=1−i. Multiplying either input by i gives
⟨ix,y⟩⟨x,iy⟩=i(1−i)=−1−i,=i(1−i)=1+i,
and swapping gives ⟨y,x⟩=1+i, the conjugate of 1−i.
Sesquilinear form
Definition Let V be a complex vector space. A sesquilinear form on V is a map s:V×V→C that is linear in its second argument and conjugate-linear in its first, so that for all x,y,z∈V and a,b∈C
It is Hermitian if s(y,x)=s(x,y) for all x,y, and then every value s(x,x) is real. A complex inner product is exactly a Hermitian sesquilinear form that is positive definite. On Cn every sesquilinear form is s(x,y)=x∗Hy for exactly one matrix H∈Cn×n, namely hij=s(ei,ej), and the form is Hermitian exactly when H∗=H. A complex bilinear form, linear in both arguments, is a different object. If the new basis vectors have old coordinate columns forming an invertible matrix S, a sesquilinear form’s matrix changes by conjugate congruence H↦S∗HS, while a bilinear form’s matrix changes by congruence M↦STMS.
In plain words Sesquilinear means one and a half times linear. One slot is fully linear and the other is linear up to conjugating scalars, and that half step is what lets a complex form give real, positive squared lengths.
Example The form b(x,y)=xTy on C2 is bilinear. For x=(1,2) it gives b(x,x)=5, while b(ix,ix)=i2⋅5=−5. The same computation works for any bilinear form and any x with b(x,x)>0, so no complex bilinear form on a nonzero complex space is positive definite. The form
s(x,y)=x1y1−x2y2,
with matrix diag(1,−1), is Hermitian sesquilinear, but s(e2,e2)=−1. It meets every rule of an inner product except positivity.
Positive definiteness
Definition A Hermitian sesquilinear form s on a complex vector space V is positive definite if s(x,x)>0 for every nonzero x∈V. A Hermitian matrix H∈Cn×n is positive definite if
z∗Hz>0for every nonzero z∈Cn.
The number z∗Hz is real because H is Hermitian, so the condition makes sense, and a positive definite H makes ⟨x,y⟩H=x∗Hy an inner product on Cn. Over R the same definitions apply to real vectors, and a real Hermitian matrix is simply a symmetric one. Linearity already gives s(0,0)=0, so positive definiteness says that squared length is zero only for the zero vector and is never negative. A single nonzero vector with s(x,x)≤0 rules a form out.
In plain words Every nonzero vector must get a positive squared length. Zero is reserved for the zero vector, and negative squared lengths are not allowed at all.
Example Take H with rows (2,1) and (1,2). Because ∣z1+z2∣2=∣z1∣2+∣z2∣2+z1z2+z2z1,
Every term is nonnegative, and the last two vanish together only when z=0. So H is positive definite and x∗Hy is an inner product on C2, with no eigenvalues needed. At z=(1,i) the value is 2+1+1=4. The Hermitian matrices diag(1,−1) and diag(1,0) fail, since the nonzero vector e2 gives −1 and 0.
Norm from an inner product
Definition In an inner product space over F, the norm of x is the nonnegative square root
∥x∥=⟨x,x⟩.
It satisfies ∥x∥≥0, with equality only for x=0, and ∥ax∥=∣a∣∥x∥ for every scalar a, because ⟨ax,ax⟩=aa⟨x,x⟩. Vectors x and y are orthogonal when ⟨x,y⟩=0, and by conjugate symmetry this holds exactly when ⟨y,x⟩=0. Expanding the sum gives
∥x+y∥2=∥x∥2+∥y∥2+2Re⟨x,y⟩,
so orthogonal vectors satisfy ∥x+y∥2=∥x∥2+∥y∥2. The triangle inequality ∥x+y∥≤∥x∥+∥y∥, which makes this a norm in the full sense, is not automatic. It follows from the Cauchy-Schwarz inequality in the next lesson.
In plain words Length comes from pairing a vector with itself. Multiplying a vector by a complex number of absolute value 1, a phase, can change its coordinates but never its length.
Example For x=(1,i) and y=(i,1), both squared norms are 2 and ⟨x,y⟩=1⋅i+(−i)⋅1=0, so the vectors are orthogonal. Their sum (1+i,1+i) has squared norm 2+2=4, the sum of the squared norms. For every real θ the vector eiθx still has norm 2, and (3+4i)x has norm 52.
Gram matrix
Definition Let V be an inner product space over F with basis B=(b1,…,bn). Its Gram matrix is G∈Fn×n with entries
Gij=⟨bi,bj⟩.
If x and y have coordinate columns ξ=[x]B and η=[y]B, expanding both sums gives
⟨x,y⟩=i,j∑ξiηj⟨bi,bj⟩=ξ∗Gη.
The conjugation falls on the whole first coordinate column. The matrix G is Hermitian, since Gji=Gij, and positive definite, since ξ∗Gξ=∥x∥2>0 for ξ=0. Conversely, every Hermitian positive definite G∈Fn×n defines an inner product on Fn by ⟨ξ,η⟩G=ξ∗Gη. The basis is orthonormal exactly when G=I, and a change of basis with matrix S as above replaces G by S∗GS.
In plain words The Gram matrix records how the basis vectors pair with each other, and from it the inner product of any two vectors can be computed from their coordinates alone. A new basis can give a different Gram matrix for the same inner product.
Example In R2 with the dot product, take b1=(1,0) and b2=(1,1). Then
G=[1112].
The coordinate column ξ=(0,1) describes b2=(1,1), and ξTGξ=2, its true squared length, not 1. In C2 with the standard inner product, the basis b1=(1,i), b2=(1,1) gives
G=[21+i1−i2],
which is Hermitian. The coordinates ξ=(1,−1) describe b1−b2=(0,−1+i), whose squared norm is 2, and indeed ξ∗Gξ=2−(1−i)−(1+i)+2=2.
Check yourself
In C2 with the standard inner product, let x=(2,i) and y=(1+i,1). Find ⟨x,y⟩, ⟨y,x⟩, ∥x∥, ∥y∥ and ⟨ix,y⟩.
Show the answer
Conjugate the first vector, then multiply and add,
⟨x,y⟩=2(1+i)+(−i)(1)=2+i.
By conjugate symmetry ⟨y,x⟩=2−i. The norms are ∥x∥=4+1=5 and ∥y∥=2+1=3. A factor i in the first slot comes out conjugated, so ⟨ix,y⟩=−i(2+i)=1−2i. Watch for the unconjugated product xTy=2+3i, which is not the inner product.
In C2 let x=(1,0) and y=(i,0). Check that ∥x+y∥2=∥x∥2+∥y∥2. Does it follow that x and y are orthogonal?
Show the answer
The sum is (1+i,0), with squared norm ∣1+i∣2=2=1+1. Yet ⟨x,y⟩=1⋅i=i=0, so the vectors are not orthogonal. In fact y=ix lies on the same complex line as x. The expansion
∥x+y∥2=∥x∥2+∥y∥2+2Re⟨x,y⟩
shows that the squared norms add exactly when Re⟨x,y⟩=0. Over C that is weaker than orthogonality, so the converse of the Pythagorean identity fails.
Which of these define an inner product on C2? (a) ⟨x,y⟩=xTy. (b) ⟨x,y⟩=x∗Hy with H having rows (2,i) and (−i,1). (c) ⟨x,y⟩=x∗Dy with D=diag(1,0).
Show the answer
Rule (a) is not an inner product. It is bilinear, and the nonzero vector (i,0) gives i2=−1.
Rule (b) is an inner product. The slot rules hold for x∗My with any 2×2 matrix M, by matrix multiplication. This H is also Hermitian, because conjugating and transposing returns rows (2,i) and (−i,1), so conjugate symmetry holds too. For positivity, expand ∣z2−iz1∣2 to get
z∗Hz=∣z1∣2+∣z2−iz1∣2.
Both terms are nonnegative. If the sum is 0, then z1=0 and then z2=0, so the form is positive definite.
Rule (c) is not an inner product. The matrix is Hermitian, but the nonzero vector (0,1) has squared length 0, so positive definiteness fails.
May we count page visits to understand which courses and learning features are useful? Cloudflare collects visit and performance statistics, without your account details or answers. Your choice does not affect access. Details