Tutorials › Linear Algebra › The Standard Inner Product On C^n

Inner Products and Norms · Tutorial 603 of 1000

The Standard Inner Product On C^n

Learn to calculate complex inner products and squared lengths while checking how conjugation determines the rules in each argument.

Intermediate 10 min read

What You'll Learn

  • Write the standard inner product on complex coordinate space using the course’s linear-first convention.
  • Compute inner products by conjugating the entries in the second vector.
  • Verify conjugate symmetry and the scalar rules for both arguments.
  • Calculate squared lengths as sums of squared moduli.
  • Recognize and correct errors caused by omitting or misplacing conjugation.

Complex Coordinates Require Conjugation

For real vectors, the standard dot product multiplies corresponding coordinates and adds the results. Applying that same rule without change to complex coordinates does not give a suitable measure of squared length: for instance, multiplying \(i\) by \(i\) gives \(-1\), not a nonnegative number. Complex conjugation fixes this problem. It also determines how scalars behave in each argument, so it is important to keep the convention consistent throughout a calculation.

We use the course convention that an inner product on a complex vector space is linear in its first argument and conjugate-linear in its second. For \(z=a+bi\), where \(a,b\in\mathbb{R}\), its complex conjugate is \(\overline{z}=a-bi\), and its squared modulus is \(|z|^2=z\overline{z}=a^2+b^2\). Vectors in \(\mathbb{C}^n\) are columns, and scalar multiplication and addition are coordinatewise.

Definition: For \(\mathbf{u}=(u_1,\dots,u_n)^{\top}\) and \(\mathbf{v}=(v_1,\dots,v_n)^{\top}\) in \(\mathbb{C}^n\), the standard inner product is \(\langle\mathbf{u},\mathbf{v}\rangle=\sum_{j=1}^{n}u_j\overline{v_j}\). It is linear in the first argument and conjugate-linear in the second. Its associated squared length is \(\langle\mathbf{u},\mathbf{u}\rangle\).

With this convention, it is the entries of the second vector that are conjugated in \(\langle\mathbf{u},\mathbf{v}\rangle\). In particular, the scalar rules are \(\langle a\mathbf{u}+b\mathbf{w},\mathbf{v}\rangle=a\langle\mathbf{u},\mathbf{v}\rangle+b\langle\mathbf{w},\mathbf{v}\rangle\) and \(\langle\mathbf{u},a\mathbf{v}+b\mathbf{w}\rangle=\overline{a}\langle\mathbf{u},\mathbf{v}\rangle+\overline{b}\langle\mathbf{u},\mathbf{w}\rangle\), for \(a,b\in\mathbb{C}\). Some texts instead define the conjugate-linear argument first; that is a different convention. Here, using conjugation in the first argument would not match the linear-first convention.

Checking the Inner Product Axioms

To verify that the formula really defines an inner product, check its scalar rules, conjugate symmetry, and positive definiteness. Positive definiteness means that \(\langle\mathbf{u},\mathbf{u}\rangle\) is a nonnegative real number and equals zero exactly when \(\mathbf{u}=\mathbf{0}\).

Theorem: The standard inner product on \(\mathbb{C}^n\) satisfies, for all \(\mathbf{u},\mathbf{v},\mathbf{w}\in\mathbb{C}^n\) and \(a,b\in\mathbb{C}\): linearity in the first argument, conjugate-linearity in the second, conjugate symmetry \(\langle\mathbf{u},\mathbf{v}\rangle=\overline{\langle\mathbf{v},\mathbf{u}\rangle}\), and positive definiteness.

Proof. Applying the definition coordinate by coordinate gives \(\langle a\mathbf{u}+b\mathbf{w},\mathbf{v}\rangle=\sum_{j=1}^n(au_j+bw_j)\overline{v_j}=a\sum_{j=1}^n u_j\overline{v_j}+b\sum_{j=1}^n w_j\overline{v_j}=a\langle\mathbf{u},\mathbf{v}\rangle+b\langle\mathbf{w},\mathbf{v}\rangle\). For the second argument, \(\overline{av_j+bw_j}=\overline{a}\,\overline{v_j}+\overline{b}\,\overline{w_j}\). Therefore \(\langle\mathbf{u},a\mathbf{v}+b\mathbf{w}\rangle=\overline{a}\langle\mathbf{u},\mathbf{v}\rangle+\overline{b}\langle\mathbf{u},\mathbf{w}\rangle\). Also, \(\overline{\langle\mathbf{v},\mathbf{u}\rangle}=\overline{\sum_{j=1}^n v_j\overline{u_j}}=\sum_{j=1}^n\overline{v_j}u_j=\sum_{j=1}^n u_j\overline{v_j}=\langle\mathbf{u},\mathbf{v}\rangle\). Finally, \(\langle\mathbf{u},\mathbf{u}\rangle=\sum_{j=1}^n u_j\overline{u_j}=\sum_{j=1}^n |u_j|^2\). Each term is a nonnegative real number. If the sum is zero, every \(|u_j|^2=0\), so every \(u_j=0\) and \(\mathbf{u}=\mathbf{0}\). If \(\mathbf{u}=\mathbf{0}\), the sum is zero. This proves all the required properties. \(\square\)

The theorem gives a useful calculation rule: a squared length is found by multiplying each coordinate by its own conjugate and adding. If \(u_j=a_j+b_ji\), its contribution is \(u_j\overline{u_j}=a_j^2+b_j^2\). Thus the result is real and cannot be negative, even though a general inner product \(\langle\mathbf{u},\mathbf{v}\rangle\) may be complex.

Computing Inner Products and Squared Lengths

Worked Example: An Inner Product With Two Complex Coordinates

Let \(\mathbf{u}=(1+i,\,2-i)^{\top}\) and \(\mathbf{v}=(2-i,\,1+2i)^{\top}\). Compute \(\langle\mathbf{u},\mathbf{v}\rangle\), then reverse the arguments as a check.

Conjugate the entries in the second vector: \(\overline{2-i}=2+i\) and \(\overline{1+2i}=1-2i\). Then multiply corresponding entries:

$$ \begin{aligned} \langle\mathbf{u},\mathbf{v}\rangle &=(1+i)(2+i)+(2-i)(1-2i)\\ &=(2+i+2i+i^2)+(2-4i-i+2i^2)\\ &=(1+3i)-5i\\ &=1-2i. \end{aligned} $$

For the reversed inner product, conjugate the entries of \(\mathbf{u}\): \(\overline{1+i}=1-i\) and \(\overline{2-i}=2+i\). Hence \(\langle\mathbf{v},\mathbf{u}\rangle=(2-i)(1-i)+(1+2i)(2+i)\). The first product is \(2-2i-i+i^2=1-3i\); the second is \(2+i+4i+2i^2=5i\). Their sum is \(1+2i\), which is the complex conjugate of \(1-2i\), as required.

Worked Example: Squared Length in Three Coordinates

Find the squared length of \(\mathbf{w}=(1-2i,\,3i,\,-2+i)^{\top}\).

Use \(\langle\mathbf{w},\mathbf{w}\rangle=\sum_j w_j\overline{w_j}\). For the first coordinate, \((1-2i)(1+2i)=1+4=5\). For the second, \((3i)(-3i)=-9i^2=9\). For the third, \((-2+i)(-2-i)=4+1=5\). Adding the contributions gives

$$ \langle\mathbf{w},\mathbf{w}\rangle =5+9+5 =19. $$

Check: the coordinate moduli squared are \(1^2+(-2)^2=5\), \(0^2+3^2=9\), and \((-2)^2+1^2=5\). Their sum is \(19\), in agreement with the direct products. In particular, the answer is a nonnegative real number.

It is useful to keep the scalar rules visible when a complex scalar is moved into an argument. The next calculation checks both rules on the same vectors, rather than relying on a verbal shortcut.

Worked Example: A Scalar in Each Argument

Let \(\mathbf{u}=(1+i,\,1)^{\top}\), \(\mathbf{v}=(1,\,i)^{\top}\), and \(c=1+i\). Calculate \(\langle\mathbf{u},\mathbf{v}\rangle\), \(\langle c\mathbf{u},\mathbf{v}\rangle\), and \(\langle\mathbf{u},c\mathbf{v}\rangle\).

First, conjugate the entries of \(\mathbf{v}\): \(\langle\mathbf{u},\mathbf{v}\rangle=(1+i)\cdot1+1\cdot(-i)=1\). The first scalar rule predicts \(\langle c\mathbf{u},\mathbf{v}\rangle=c\cdot1=1+i\). Directly, \(c\mathbf{u}=((1+i)^2,1+i)^{\top}=(2i,1+i)^{\top}\), so \(\langle c\mathbf{u},\mathbf{v}\rangle=2i+(1+i)(-i)=2i+1-i=1+i\).

The second scalar rule predicts \(\langle\mathbf{u},c\mathbf{v}\rangle=\overline{c}\cdot1=1-i\). Indeed, \(c\mathbf{v}=(1+i,\,-1+i)^{\top}\), whose conjugate-coordinate vector is \((1-i,\,-1-i)^{\top}\). Therefore \(\langle\mathbf{u},c\mathbf{v}\rangle=(1+i)(1-i)+1(-1-i)=2-1-i=1-i\). Both direct computations agree with the scalar rules.

The Standard Coordinate Vectors

The standard coordinate vectors \(\mathbf{e}_1,\dots,\mathbf{e}_n\) are the columns whose coordinates are all zero except for a \(1\) in the indicated position. The standard inner product makes each of these vectors have squared length \(1\), and distinct coordinate vectors have inner product \(0\).

Theorem: For \(1\leq j,k\leq n\), \(\langle\mathbf{e}_j,\mathbf{e}_k\rangle=1\) if \(j=k\), and \(\langle\mathbf{e}_j,\mathbf{e}_k\rangle=0\) if \(j\ne k\). Moreover, if an inner product on \(\mathbb{C}^n\) is linear in the first argument, conjugate-linear in the second, and satisfies these same equalities, then it is the standard inner product.

Proof. In the standard inner product, the \(r\)th coordinate of \(\mathbf{e}_j\) is \(1\) when \(r=j\) and \(0\) otherwise. Thus the sum \(\langle\mathbf{e}_j,\mathbf{e}_k\rangle=\sum_{r=1}^n(\mathbf{e}_j)_r\overline{(\mathbf{e}_k)_r}\) has a nonzero term exactly when \(r=j=k\), and that term equals \(1\). This proves the first claim. For the uniqueness claim, write arbitrary vectors as \(\mathbf{u}=\sum_{j=1}^n u_j\mathbf{e}_j\) and \(\mathbf{v}=\sum_{k=1}^n v_k\mathbf{e}_k\). Linearity in the first argument and conjugate-linearity in the second give \(\langle\mathbf{u},\mathbf{v}\rangle=\sum_{j=1}^n\sum_{k=1}^n u_j\overline{v_k}\langle\mathbf{e}_j,\mathbf{e}_k\rangle\). All terms with \(j\ne k\) vanish, and each term with \(j=k\) has \(\langle\mathbf{e}_j,\mathbf{e}_j\rangle=1\). The expression is therefore \(\sum_{j=1}^n u_j\overline{v_j}\), which is the standard formula. \(\square\)

This characterization explains why the coordinate formula is natural: once the scalar convention is fixed, requiring the coordinate vectors to have unit squared length and to be mutually orthogonal determines every inner product. It also gives a quick check on calculations: a coordinate vector contributes only in its own coordinate, so mixing two distinct coordinate directions produces zero.

Common Mistakes and a Reliable Routine

Mistake: omit conjugation. For the one-coordinate vector \(\mathbf{u}=(i)^{\top}\), an incorrect calculation without conjugation gives \(i\cdot i=i^2=-1\) as its squared length. That cannot satisfy positive definiteness. The correction is \(\langle\mathbf{u},\mathbf{u}\rangle=i\overline{i}=i(-i)=-i^2=1\).

Mistake: conjugate the wrong argument for this convention. The formula \(\sum_j\overline{u_j}v_j\) is used in the alternative convention that is conjugate-linear in the first argument. It is not the formula used here. For example, with \(\mathbf{u}=(i)^{\top}\) and \(\mathbf{v}=(1)^{\top}\), this tutorial gives \(\langle\mathbf{u},\mathbf{v}\rangle=i\), whereas conjugating the first argument gives \(-i\). Neither convention is inherently invalid, but the formula and scalar rules must be kept together; switching between them mid-calculation changes the answer.

For a direct calculation, write the formula before multiplying, conjugate every coordinate of the second vector, and simplify each product before adding. For a squared length, use the same rule with the vector in both slots; each product then becomes a squared modulus. This makes it straightforward to check that the final value is real and nonnegative.

Check Your Understanding

Use the linear-first convention throughout. Show the conjugation step in each calculation.

  1. Compute \(\langle(2+i,\,-i)^{\top},(1-2i,\,3+i)^{\top}\rangle\).
  2. Find the squared length of \((2i,\,1-i,\,-3)^{\top}\) by calculating each coordinate’s squared modulus.
  3. For \(c=2-i\), state how \(\langle c\mathbf{u},\mathbf{v}\rangle\) and \(\langle\mathbf{u},c\mathbf{v}\rangle\) relate to \(\langle\mathbf{u},\mathbf{v}\rangle\).
  4. Explain why the rule \(\langle(i)^{\top},(i)^{\top}\rangle=i\cdot i\) cannot be the standard inner product.
  5. Use the standard coordinate vectors to compute \(\langle\mathbf{e}_1,\mathbf{e}_2\rangle\) in \(\mathbb{C}^2\), and give the reason for the result.

Test yourself: Linear Algebra final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon