Advanced Mathematics

Complex Inner Product Spaces

Lengths and angles for vectors with complex entries, where the inner product conjugates one side so that lengths stay positive.

Needs a step first: 12

For complex vectors the dot product needs a twist: ⟨u,v⟩=∑iui‾ vi\langle u,v\rangle=\sum_i\overline{u_i}\,v_i, so that ⟨v,v⟩=∑i∣vi∣2\langle v,v\rangle=\sum_i|v_i|^2 is a positive length squared. (Physics conjugates the first vector, as here; many maths books conjugate the second.) The matrices that preserve it are unitary, U†U=IU^\dagger U=I, the complex rotations; those equal to their own conjugate transpose, H†=HH^\dagger=H, are Hermitian and have real eigenvalues. This is exactly the setting of quantum states, gates and observables.

Where it shows up: A qubit is a unit vector in C2\mathbb C^2: measuring ww in the basis u,vu,v gives uu with probability ∣α∣2=12|\alpha|^2=\tfrac12.

How to hold it: By hand, until automatic

Compute inner products of short complex vectors, conjugating the first one every time, and test U†U=IU^\dagger U=I and H†=HH^\dagger=H on 2×22\times2 matrices without effort, since every quantum probability starts this way.

What knowing it looks like

  • Compute complex inner products and lengths, conjugating the right entries.
  • Check whether a matrix is unitary or Hermitian.
  • Expand a vector in an orthonormal complex basis using inner products.

Test yourself

Let u=12(1,i)u=\tfrac1{\sqrt2}(1,i) and v=12(1,−i)v=\tfrac1{\sqrt2}(1,-i). Show that u,vu,v is an orthonormal basis of C2\mathbb C^2, and write w=(1,0)w=(1,0) as αu+βv\alpha u+\beta v.
Show the worked answer
⟨u,u⟩=12(1+i‾ i)=12(1+1)=1\langle u,u\rangle=\tfrac12(1+\overline{i}\,i)=\tfrac12(1+1)=1, likewise ⟨v,v⟩=1\langle v,v\rangle=1, and ⟨u,v⟩=12(1+i‾ (−i))=12(1+(−i)(−i))=12(1−1)=0\langle u,v\rangle=\tfrac12\big(1+\overline{i}\,(-i)\big)=\tfrac12\big(1+(-i)(-i)\big)=\tfrac12(1-1)=0. Two orthonormal vectors in a 2-dimensional space form a basis. Then α=⟨u,w⟩=12\alpha=\langle u,w\rangle=\tfrac1{\sqrt2} and β=⟨v,w⟩=12\beta=\langle v,w\rangle=\tfrac1{\sqrt2}, so w=12(u+v)w=\tfrac1{\sqrt2}(u+v). The trap: without the conjugate, u⋅u=12(1+i2)=0u\cdot u=\tfrac12(1+i^2)=0, a nonzero vector of length zero.

Needs a step first: 12

Learn it with an AI

Copy this prompt into any AI assistant. It will take you through step by step at your level and finish with the test above.

Be my maths tutor. I'm learning "Complex Inner Product Spaces" (Undergraduate II tier): Lengths and angles for vectors with complex entries, where the inner product conjugates one side so that lengths stay positive.
I already know: Orthogonality and Projections, Complex Numbers.
Teach it Socratically: first ask what I already know; then explain the core idea with one concrete example and why it's true; then give me three problems, one at a time, easy to hard. Wait for my answer, check every step, and point out mistakes without giving the answer away.
Finish by testing me with this: Let $u=\tfrac1{\sqrt2}(1,i)$ and $v=\tfrac1{\sqrt2}(1,-i)$. Show that $u,v$ is an orthonormal basis of $\mathbb C^2$, and write $w=(1,0)$ as $\alpha u+\beta v$.
Use LaTeX for formulas. When you say where it's used later (machine learning, quantum mechanics), be specific.

On the way to

Recommended