{
  "id": "inner-product",
  "title": "Inner product",
  "lang": "en",
  "source_lang": "en",
  "summary": "An inner product pairs vectors with scalars, extending the dot product and defining lengths, angles, orthogonality, and projections in real or complex vector spaces.",
  "category": "mathematics",
  "subcategory": "algebra",
  "type": "concept",
  "aliases": [
    "Scalar product"
  ],
  "generated_at": "2026-10-04",
  "model": "pro/gpt-6.1-sol",
  "url": "https://aiwiki.page/en/inner-product/",
  "translations": {
    "zh-Hans": {
      "url": "https://aiwiki.page/zh/inner-product/",
      "json": "https://aiwiki.page/zh/inner-product.json"
    }
  },
  "sections": [
    {
      "heading": "",
      "text": "An inner product is an operation on a real or complex vector space that assigns a scalar to each pair of vectors, subject to linearity, symmetry, and positivity conditions. It generalizes the familiar dot product of coordinate vectors, providing a way to define length, perpendicularity, and geometric relationships for objects such as functions and sequences. A vector space equipped with an inner product is called an inner product space. The concept connects linear algebra with geometry and analysis. (wiki.math.ntnu.no)"
    },
    {
      "heading": "Definition and conventions",
      "text": "Let \\(V\\) be a vector space over the field \\(\\mathbb F\\), where \\(\\mathbb F\\) is either the real numbers or the complex numbers. Using the convention that the second argument is linear, an inner product is a map\n\n\\[\\langle\\cdot,\\cdot\\rangle:V\\times V\\longrightarrow\\mathbb F\\]\n\nsatisfying, for vectors \\(u,v,w\\) and scalars \\(a,b\\):\n\n- Linearity in the second argument:\n\n\\[\\langle u,av+bw\\rangle =a\\langle u,v\\rangle+b\\langle u,w\\rangle.\\]\n- Conjugate symmetry:\n\n\\[\\langle u,v\\rangle=\\overline{\\langle v,u\\rangle}.\\]\n- Positive definiteness: \\(\\langle v,v\\rangle\\) is real and nonnegative, and equals zero exactly when \\(v=0\\).\n\nThese properties imply conjugate linearity in the first argument:\n\n\\[\\langle au+bv,w\\rangle =\\overline a\\langle u,w\\rangle+\\overline b\\langle v,w\\rangle.\\]\n\nOver the real numbers, conjugation has no effect, so the operation is symmetric and linear in both arguments. (ocw.mit.edu)\n\nMany mathematical texts instead make the first argument linear and the second conjugate-linear. Both conventions describe the same structure, but formulas must be adjusted consistently. In complex spaces, an inner product is therefore sesquilinear, rather than bilinear. (linear.axler.net)"
    },
    {
      "heading": "Coordinate examples",
      "text": "On \\(\\mathbb R^n\\), the standard dot product is\n\n\\[\\langle x,y\\rangle=\\sum_{j=1}^{n}x_jy_j.\\]\n\nOn \\(\\mathbb C^n\\), the corresponding formula under the second-argument-linear convention is\n\n\\[\\langle x,y\\rangle=\\sum_{j=1}^{n}\\overline{x_j}y_j.\\]\n\nConjugation ensures that\n\\(\\langle x,x\\rangle=\\sum_j|x_j|^2\\).\nWithout conjugation, a nonzero complex vector can have zero or negative self-product, violating positive definiteness. (wiki.math.ntnu.no)\n\nInner products need not weight all coordinates equally. For a Hermitian positive-definite matrix \\(A\\),\n\n\\[\\langle x,y\\rangle_A=x^*Ay,\\]\n\nwhere \\(x^*\\) denotes conjugate transpose. Relative to a chosen basis, every finite-dimensional inner product has this form. Its representing matrix consists of the pairwise inner products of basis vectors, forming their Gram matrix. Changing the inner product can change lengths and perpendicularity without changing vector addition or scalar multiplication. (math.brown.edu)"
    },
    {
      "heading": "Length, angles, and orthogonality",
      "text": "An inner product induces a norm:\n\n\\[\\|v\\|=\\sqrt{\\langle v,v\\rangle}.\\]\n\nThe associated distance is \\(d(u,v)=\\|u-v\\|\\), making the space a metric space as well as a normed vector space. The Cauchy–Schwarz inequality\n\n\\[|\\langle u,v\\rangle|\\leq\\|u\\|\\|v\\|\\]\n\ncontrols the magnitude of the pairing. Equality holds exactly when the two vectors are linearly dependent. This inequality also yields the triangle inequality for the induced norm. (math.brown.edu)\n\nFor nonzero vectors in a real inner product space, their angle \\(\\theta\\in[0,\\pi]\\) is defined by\n\n\\[\\cos\\theta=\\frac{\\langle u,v\\rangle}{\\|u\\|\\|v\\|}.\\]\n\nVectors are orthogonal when their inner product is zero. Orthogonal vectors satisfy the generalized Pythagorean theorem:\n\n\\[\\|u+v\\|^2=\\|u\\|^2+\\|v\\|^2.\\]\n\nIn complex spaces, inner products may be nonreal, so this real-angle formula does not apply unchanged. (math.brown.edu)"
    },
    {
      "heading": "Orthonormal bases and projections",
      "text": "An orthonormal basis consists of mutually orthogonal unit vectors. The Gram–Schmidt process converts a finite linearly independent list into an orthonormal list with the same span by successively subtracting projections and normalizing. In an orthonormal basis, vector coordinates and lengths take particularly simple forms. (ocw.mit.edu)\n\nIf \\(e_1,\\ldots,e_m\\) form an orthonormal basis of a finite-dimensional subspace \\(W\\), its orthogonal projection is\n\n\\[P_Wv=\\sum_{j=1}^{m}\\langle e_j,v\\rangle e_j.\\]\n\nThe residual \\(v-P_Wv\\) is orthogonal to every vector in \\(W\\), and \\(P_Wv\\) is the unique element of \\(W\\) minimizing distance to \\(v\\). This is the geometric basis of least-squares approximation, where a target vector is approximated within the column space of a matrix. (linear.axler.net)"
    },
    {
      "heading": "Function spaces and completeness",
      "text": "For square-integrable complex functions on a measure space, an inner product is\n\n\\[\\langle f,g\\rangle=\\int\\overline{f(x)}g(x)\\,d\\mu(x).\\]\n\nThe integral replaces the coordinate sum. Functions agreeing almost everywhere are identified, ensuring that zero norm means the zero element. The resulting \\(L^2\\) space is a Hilbert space: an inner product space complete in its induced norm. Completeness means that every Cauchy sequence converges to an element of the space. Finite-dimensional inner product spaces are always complete; infinite-dimensional ones need not be. (ocw.mit.edu)\n\nOrthogonal function expansions, including Fourier series, use inner products to extract coefficients. In quantum mechanics, complex inner products determine state overlaps. For normalized states, \\(|\\langle\\phi,\\psi\\rangle|^2\\) gives the probability associated with projection onto \\(\\phi\\), according to the Born rule. (ocw.mit.edu)"
    },
    {
      "heading": "Characterization by the norm",
      "text": "Not every norm arises from an inner product. A real or complex norm is induced by an inner product exactly when it satisfies the parallelogram law:\n\n\\[\\|u+v\\|^2+\\|u-v\\|^2 =2\\|u\\|^2+2\\|v\\|^2.\\]\n\nThe inducing inner product is unique. In the real case, the polarization identity recovers it as\n\n\\[\\langle u,v\\rangle =\\frac{\\|u+v\\|^2-\\|u-v\\|^2}{4}.\\]\n\nThus an inner-product norm encodes the entire pairing, not merely vector lengths. (linear.axler.net)"
    }
  ],
  "links": [
    "vector-space",
    "linear-algebra",
    "field-mathematics",
    "real-number",
    "complex-number",
    "dot-product",
    "positive-definite-matrix",
    "basis-linear-algebra",
    "matrix",
    "gram-matrix",
    "norm-vector",
    "metric-space",
    "normed-vector-space",
    "cauchy-schwarz-inequality",
    "orthogonality",
    "pythagorean-theorem",
    "orthonormal-basis",
    "gram-schmidt-process",
    "linear-subspace",
    "orthogonal-projection",
    "ordinary-least-squares",
    "integral",
    "hilbert-space",
    "cauchy-sequence",
    "fourier-series",
    "quantum-mechanics",
    "born-rule",
    "parallelogram-law"
  ],
  "sources": [
    {
      "title": "wiki.math.ntnu.no/linearmethods/innerproductspaces",
      "url": "https://wiki.math.ntnu.no/linearmethods/innerproductspaces"
    },
    {
      "title": "ocw.mit.edu/courses/22-02-introduction-to-applied-nuclear-physics-spring-2012/0…",
      "url": "https://ocw.mit.edu/courses/22-02-introduction-to-applied-nuclear-physics-spring-2012/0456d26b0767e6aab3bace1e6f86d78b_MIT22_02S12_lec_ch2.pdf"
    },
    {
      "title": "linear.axler.net/LADR4e.pdf",
      "url": "https://linear.axler.net/LADR4e.pdf"
    },
    {
      "title": "math.brown.edu/streil/papers/LADW/HTML_2026_08-31/Ch5.html",
      "url": "https://www.math.brown.edu/streil/papers/LADW/HTML_2026_08-31/Ch5.html"
    },
    {
      "title": "ocw.mit.edu/courses/18-06sc-linear-algebra-fall-2011/7ac32be444c25e48590f475738…",
      "url": "https://ocw.mit.edu/courses/18-06sc-linear-algebra-fall-2011/7ac32be444c25e48590f47573833ccc6_MIT18_06SCF11_Ses2.4sum.pdf"
    },
    {
      "title": "ocw.mit.edu/courses/18-102-introduction-to-functional-analysis-spring-2021/3d4c…",
      "url": "https://ocw.mit.edu/courses/18-102-introduction-to-functional-analysis-spring-2021/3d4cc88026d44a01f936cd6a0aa995cb_MIT18_102s20_lec_FA.pdf"
    }
  ],
  "license": "https://creativecommons.org/licenses/by/4.0/"
}