What Is an Example of a Nonstandard Inner Product?
At a glance
- 1. Choose positive weights
On R², assign different positive weights to the two coordinates.
- 2. Check the axioms
Verify bilinearity, symmetry, and positivity; positive weights guarantee a positive squared length.
- 3. Compare the geometry
Compute lengths and orthogonality to see how the inner product differs from the usual dot product.
A simple example of an inner product that is not the usual dot product is a weighted dot product on . It gives different importance to the two coordinates while still satisfying all the inner-product axioms.
The phrase “non-Euclidean inner product” can be misleading. In many linear algebra contexts, it means an inner product other than the standard dot product in the coordinates being used—not a geometry that is non-Euclidean in the sense of curved space.
A weighted inner product on
For vectors and , define
This differs from the standard dot product, , because the first coordinate is weighted by and the second by .
To check that it is an inner product over the real numbers, verify the defining properties:
- Linearity in each argument: The expression is linear in the coordinates of and also in the coordinates of .
- Symmetry: .
- Positive definiteness:
and this is zero only when . Thus for every nonzero vector .
All three properties hold, so this is a valid inner product.
A worked example: lengths and orthogonality
Take and . Their inner product is
Therefore, and are orthogonal under this weighted inner product. Under the standard dot product, however,
so they are not orthogonal. The choice of inner product can change which vectors count as perpendicular.
It also changes lengths. The length induced by an inner product is . For the coordinate vectors and , this gives
In the standard dot product, both coordinate vectors have length . The unit vectors for the weighted inner product satisfy , which describes an ellipse in the usual coordinate plane rather than the standard unit circle.
The matrix form
The same inner product can be written as
For a real matrix , this formula defines an inner product on when is symmetric positive definite. Symmetry makes the inner product symmetric, and positive definiteness ensures for every nonzero . Here, is diagonal with positive diagonal entries, so it is positive definite.
More generally, any choice of positive weights gives an inner product
If a weight is zero or negative, positive definiteness fails: a nonzero vector can have squared length zero or less than zero.
What “non-Euclidean” means here
A finite-dimensional real inner-product space is isometric to with its standard dot product: an appropriate change of coordinates preserves inner products. So the weighted example is not a fundamentally different kind of finite-dimensional geometry. It is nonstandard in the given coordinates, and the changed lengths and angles are useful in applications such as least squares with weighted errors.
Common mistakes
- Changing the formula without checking positivity: A symmetric bilinear form is not automatically an inner product. For example, is symmetric and bilinear, but its value at is .
- Calling every different formula invalid: An inner product need not be the standard dot product. Positive weights, or more generally a symmetric positive-definite matrix, give legitimate alternatives.
- Treating “non-Euclidean” as a precise universal term: In this setting it usually means “not the standard coordinate dot product.” If the term is intended to mean curved or non-Euclidean geometry, a different question is being asked.
References
- Sheldon Axler, Linear Algebra Done Right
- Gilbert Strang, Introduction to Linear Algebra
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.