Tutorials › Linear Algebra › Complex Conjugation In Inner Products

Inner Products and Norms · Tutorial 601 of 1000

Complex Conjugation In Inner Products

Use complex conjugation correctly in inner products and see why it is essential for positive squared lengths.

Intermediate 10 min read

What You'll Learn

  • Compute complex conjugates and products using exact real and imaginary parts.
  • Apply conjugate-linearity in the second argument under the course convention.
  • Explain why a self-product is real and why conjugation supports positive squared lengths.
  • Prove that a positive-definite pairing on a nonzero complex space cannot be bilinear in both arguments.
  • Detect and correct calculations that omit complex conjugation.

Why Complex Conjugation Appears

Over the real numbers, multiplying a scalar by itself gives a nonnegative result: \(a^2\ge 0\) for every real \(a\). Complex numbers do not have this property. For example, \(i^2=-1\), so a direct analogue of squaring a complex coordinate can produce a negative value. An inner product must still give a real, nonnegative value when a vector is paired with itself. Complex conjugation supplies the needed adjustment: if \(z=a+bi\), then \(z\overline{z}=a^2+b^2\), which is real and nonnegative.

Throughout this tutorial, the scalar field is \(\mathbb{C}\), and we use the course convention that an inner product is linear in its first argument and conjugate-linear in its second. Thus scaling the first argument by \(c\) scales the result by \(c\), while scaling the second argument by \(c\) scales the result by \(\overline{c}\). These rules explain how to calculate with complex inner products; they do not mean that conjugation is applied to an entire vector or pairing indiscriminately.

Definition: For \(z=a+bi\in\mathbb{C}\), where \(a,b\in\mathbb{R}\), its complex conjugate is \(\overline{z}=a-bi\). Its squared modulus is \(z\overline{z}=a^2+b^2\), and its modulus is \(|z|=\sqrt{a^2+b^2}\).

The conjugate changes the sign of the imaginary part, not the real part. It obeys \(\overline{z+w}=\overline{z}+\overline{w}\) and \(\overline{zw}=\overline{z}\,\overline{w}\). In particular, \(z\overline{z}\) is real for every \(z\), and it is zero exactly when \(z=0\): the sum \(a^2+b^2\) is zero exactly when both real numbers \(a\) and \(b\) are zero.

Conjugation in Inner-Product Calculations

A complex inner product on a complex vector space \(V\) is a pairing \(\langle\mathbf{u},\mathbf{v}\rangle\in\mathbb{C}\) with, among its defining properties, linearity in the first argument, conjugate-linearity in the second, conjugate symmetry, and positive definiteness. The calculation rules used here are \(\langle c\mathbf{u},\mathbf{v}\rangle=c\langle\mathbf{u},\mathbf{v}\rangle\) and \(\langle\mathbf{u},c\mathbf{v}\rangle=\overline{c}\langle\mathbf{u},\mathbf{v}\rangle\). Conjugate symmetry means \(\langle\mathbf{u},\mathbf{v}\rangle=\overline{\langle\mathbf{v},\mathbf{u}\rangle}\). Positive definiteness means \(\langle\mathbf{u},\mathbf{u}\rangle\) is real and nonnegative, and it is zero exactly when \(\mathbf{u}=\mathbf{0}\).

These properties distinguish a complex inner product from a pairing that is simply linear in both arguments. Conjugate symmetry makes each self-product equal to its own conjugate, so it is real. Conjugate-linearity makes the contribution from a complex scalar in the second slot its conjugate, which is what turns a scalar self-product into a squared modulus.

Result: Under the stated convention, for any \(c\in\mathbb{C}\) and \(\mathbf{x}\in V\), \(\langle c\mathbf{x},c\mathbf{x}\rangle=|c|^2\langle\mathbf{x},\mathbf{x}\rangle\). Also, every self-product \(\langle\mathbf{x},\mathbf{x}\rangle\) is real.

Proof. By conjugate symmetry, \(\langle\mathbf{x},\mathbf{x}\rangle=\overline{\langle\mathbf{x},\mathbf{x}\rangle}\). A complex number equal to its conjugate has zero imaginary part, so the self-product is real. For the scaling identity, first use linearity in the first argument and then conjugate-linearity in the second: \(\langle c\mathbf{x},c\mathbf{x}\rangle=c\langle\mathbf{x},c\mathbf{x}\rangle=c\overline{c}\langle\mathbf{x},\mathbf{x}\rangle=|c|^2\langle\mathbf{x},\mathbf{x}\rangle\). This calculation also applies when \(c=0\), since both sides are zero. \(\square\)

Worked Example: Multiplying by a Conjugate

Let \(z=2-3i\) and \(w=1+2i\). Calculate \(z\overline{w}\) and \(w\overline{z}\), then compare them.

First, \(\overline{w}=1-2i\) and \(\overline{z}=2+3i\). Multiplying gives

$$ \begin{aligned} z\overline{w} &=(2-3i)(1-2i)\\ &=2-4i-3i+6i^2\\ &=2-7i-6\\ &=-4-7i, \end{aligned} $$

and, in the reverse order,

$$ \begin{aligned} w\overline{z} &=(1+2i)(2+3i)\\ &=2+3i+4i+6i^2\\ &=2+7i-6\\ &=-4+7i. \end{aligned} $$

Check: \(\overline{w\overline{z}}=\overline{-4+7i}=-4-7i=z\overline{w}\). This verifies the conjugate relationship between the two products; reversing the order has conjugated the result.

In one complex coordinate, the pairing \(\langle z,w\rangle=z\overline{w}\) illustrates these rules directly. Its first slot is linear, and its second slot is conjugate-linear. In particular, the self-product of a scalar \(z\) is \(z\overline{z}=|z|^2\), not \(z^2\).

Worked Example: A Self-Product in One Complex Coordinate

Use the one-coordinate pairing \(\langle z,w\rangle=z\overline{w}\) to calculate the two orders for \(u=1+2i\) and \(v=3-i\), and calculate the self-product of \(u\).

Since \(\overline{v}=3+i\),

$$ \begin{aligned} \langle u,v\rangle &=(1+2i)(3+i)\\ &=3+i+6i+2i^2\\ &=1+7i. \end{aligned} $$

Since \(\overline{u}=1-2i\), the reverse order is

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

The self-product is

$$ \langle u,u\rangle =(1+2i)(1-2i) =1-2i+2i-4i^2 =1+4 =5. $$

Check: \(\overline{\langle v,u\rangle}=\overline{1-7i}=1+7i=\langle u,v\rangle\), and \(5=1^2+2^2>0\). Both calculations agree with conjugate symmetry and with the squared-modulus formula.

Why Bilinearity in Both Arguments Fails

For a real vector space, an inner product is linear in both arguments. It is tempting to carry that rule unchanged to a complex vector space. The scalar \(i\) shows why that cannot preserve positive definiteness: if both slots were linear, putting \(i\mathbf{x}\) in both slots would multiply a self-product by \(i^2=-1\). A nonzero vector would then have a negative self-product, contrary to positive definiteness.

Theorem: On a nonzero complex vector space, a positive-definite pairing cannot be bilinear in both arguments. Here “bilinear in both arguments” means linear over \(\mathbb{C}\) in each slot, and positive definite means the self-product is real and nonnegative, with value zero exactly for the zero vector.

Proof. Suppose \(V\) contains a nonzero vector \(\mathbf{x}\), and suppose a pairing on \(V\) is bilinear in both arguments and positive definite. Bilinearity in the first and second arguments gives \(\langle i\mathbf{x},i\mathbf{x}\rangle=i\,i\,\langle\mathbf{x},\mathbf{x}\rangle=-\langle\mathbf{x},\mathbf{x}\rangle\). Because \(\mathbf{x}\ne\mathbf{0}\), positive definiteness gives \(\langle\mathbf{x},\mathbf{x}\rangle>0\). Thus the displayed self-product is a negative real number. But \(i\mathbf{x}\ne\mathbf{0}\), since multiplying by the nonzero scalar \(i\) cannot turn a nonzero vector into zero; positive definiteness therefore requires \(\langle i\mathbf{x},i\mathbf{x}\rangle>0\). The same number cannot be both negative and positive, a contradiction. The nonzero-space hypothesis matters: on the zero vector space, the zero pairing is bilinear and positive definite vacuously, because there is no nonzero vector to test. \(\square\)

Worked Example: A Bilinear Formula That Fails Positivity

Consider the pairing \(B(z,w)=zw\) on \(\mathbb{C}\). It is linear in each argument, but test whether it can be positive definite by evaluating a self-product.

For \(z=i\), the value is

$$ B(i,i)=i\cdot i=i^2=-1. $$

Since \(i\ne0\), positive definiteness would require \(B(i,i)>0\). The computed value is \(-1\), so \(B\) is not positive definite.

Check: Using conjugation in the second slot instead gives \(i\overline{i}=i(-i)=-i^2=1\), a positive real number. This single test shows the failure of the bilinear formula and the correction for this scalar.

Scaling and Squared Lengths

Positive definiteness gives a squared length through the self-product: the value \(\langle\mathbf{x},\mathbf{x}\rangle\) is real and nonnegative, and it vanishes only for \(\mathbf{x}=\mathbf{0}\). The scaling identity shows how that value changes when the vector is multiplied by a complex scalar. Because \(|c|^2\ge0\), multiplying a vector by \(c\) cannot reverse the sign of its squared length. If \(c\ne0\) and \(\mathbf{x}\ne\mathbf{0}\), then \(|c|^2>0\), so the scaled vector still has positive squared length.

Worked Example: Scaling a Complex Scalar

In the one-coordinate pairing, let \(u=1+2i\), so \(\langle u,u\rangle=5\), and let \(c=2-i\). Calculate the self-product of \(cu\) directly and by the scaling identity.

First calculate the scaled scalar:

$$ cu=(2-i)(1+2i)=2+4i-i-2i^2=4+3i. $$

Its self-product is

$$ \langle cu,cu\rangle =(4+3i)(4-3i) =16-12i+12i-9i^2 =16+9 =25. $$

For comparison, \(|c|^2=(2-i)(2+i)=4+1=5\). The scaling identity gives \(|c|^2\langle u,u\rangle=5\cdot5=25\).

Check: The direct calculation and the identity both give \(25\). The result is positive, as required because \(cu=4+3i\ne0\).

Common Mistake: Squaring Instead of Conjugating

A common error is to calculate a complex self-product as though the same scalar appeared linearly in both slots. For \(z=1+2i\), that incorrect calculation is \(z^2=(1+2i)^2=1+4i+4i^2=-3+4i\). This is not even real, so it cannot be a positive squared length. The correction is to conjugate the scalar in the second slot: \((1+2i)\overline{(1+2i)}=(1+2i)(1-2i)=1-2i+2i-4i^2=5\). The corrected value is real and positive, and it equals \(1^2+2^2\).

The same issue appears in the smallest possible test: omitting conjugation gives \(i^2=-1\), while the corrected self-product is \(i\overline{i}=i(-i)=1\). When checking a complex inner-product calculation, verify both which argument is being scaled and whether its scalar must be conjugated. In particular, do not replace conjugation by taking a real part or by changing the sign of the whole expression.

Check Your Understanding

Use the conjugation rules and the positive-definiteness requirement to justify each answer.

  1. Calculate \((3+i)\overline{(3+i)}\) and state why the result is suitable as a self-product.
  2. For \(z=1-2i\) and \(w=2+i\), calculate \(z\overline{w}\), then calculate \(w\overline{z}\). How are the results related?
  3. For a complex inner product linear in the first argument, what factor appears when a scalar \(c\) multiplies the second argument?
  4. Explain why a bilinear pairing on a nonzero complex vector space cannot be positive definite, using a nonzero vector \(\mathbf{x}\) and the scalar \(i\).
  5. Give the correct self-product of \(2+i\) in the one-coordinate pairing, and identify the error in using \((2+i)^2\) instead.

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