dotprodukt
The dotprodukt, also known as the scalar product or inner product in broader contexts, is a mathematical operation that takes two vectors and returns a scalar. For two real vectors x = (x1, x2, ..., xn) and y = (y1, y2, ..., yn) in R^n, the dotprodukt is defined as x · y = x1y1 + x2y2 + ... + xnyn. It is denoted by x · y or ⟨x, y⟩.
Key properties include commutativity (x · y = y · x), bilinearity (x · (ay + bz) = a x · y + b
In complex vector spaces, the dotprodukt generalizes to ⟨x, y⟩ = Σ xi conj(yi), which is conjugate-symmetric and
Applications are widespread. The dotprodukt is used to compute projections, test for orthogonality, and measure similarity
Generalizations include inner products on abstract vector spaces, which satisfy similar properties and define geometry beyond
---