Definition · applies to functions · also called $\ip{f}{g}_{L^2}$, $L^2$ inner product

Undergraduate

Consider two real-valued functions $f$ and $g$ on an interval $[a, b]$ such that $\int_a^b f(t)^2 \dt$ and $\int_a^b g(t)^2 \dt$ are finite. The $L^2$ inner product of $f$ and $g$ is

\[\ip{f}{g} = \int_a^b f(t) g(t) \dt.\]

Properties

  • The $L^2$ inner product is the continuous analog of the dot product: the sum over entries becomes an integral over the interval.
  • Its norm $\norm{f} = \sqrt{\int_a^b f(t)^2 \dt}$ measures the size of $f$ on average, and two functions that differ only at finitely many points have distance $0$.
  • The functions $\sin(k t)$ for $k = 1, 2, \dots$ are orthogonal in the $L^2$ inner product on $[0, 2\pi]$, which is the basis of Fourier series.

Notes

The condition that $\int_a^b f(t)^2 \dt$ and $\int_a^b g(t)^2 \dt$ are finite guarantees that the integral defining $\ip{f}{g}$ is finite. This follows from the Cauchy–Schwarz inequality:

\[\left\lvert \int_a^b f(t) g(t) \dt \right\rvert \le \sqrt{\int_a^b f(t)^2 \dt} \, \sqrt{\int_a^b g(t)^2 \dt}.\]

Without the condition, the inner product might not exist. For example, the function $f(t) = 1/\sqrt{t}$ on $[0, 1]$ is integrable, but $f(t)^2 = 1/t$ is not, so $\ip{f}{f}$ is infinite.

Distinctions involving this term

All definitions · All distinctions · All examples · Notation