10182

# Three Vector Spaces

This Demonstration shows addition and scalar multiplication on vectors in three vector spaces: 2D vectors, sequences, and functions. A vector space becomes an inner-product space with an inner product. In particular, the intuitive notion of orthogonality for 2D vectors, when the inner product equals 0, is shown in the possibly unintuitive settings of sequences and functions.
The fixed vector is black. You can vary the red vector using the slider (angle with the horizontal axis for 2D vectors and frequency for sequences and functions). The gray vector is the result of the indicated vector space operation.

### DETAILS

A vector space is a set of objects, called vectors, with two operations, addition and scalar multiplication (that satisfy certain properties). While the notion of a vector space is intuitive in standard Euclidean spaces, it may not be when vectors are other objects, such as functions or sequences. We can add functions, resulting in a function. We can multiply functions by scalars, again resulting in a function. With an appropriate inner product, a vector space becomes an inner-product space. We can then define orthogonality as we do for standard vectors in the real plane: two vectors (sequences or functions) are orthogonal when their inner product equals 0.
In this Demonstration, we consider 2D vectors, sequences on an interval, and functions on an interval. The inner products are defined as follows:
For vectors, .
For sequences, .
For functions, .
Reference
[1] M. Vetterli, J. Kovačević, and V. K. Goyal, Foundations of Signal Processing, Cambridge: Cambridge University Press, 2014. www.fourierandwavelets.org.

### PERMANENT CITATION

 Share: Embed Interactive Demonstration New! Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details » Download Demonstration as CDF » Download Author Code »(preview ») Files require Wolfram CDF Player or Mathematica.

#### Related Topics

 RELATED RESOURCES
 The #1 tool for creating Demonstrations and anything technical. Explore anything with the first computational knowledge engine. The web's most extensive mathematics resource. An app for every course—right in the palm of your hand. Read our views on math,science, and technology. The format that makes Demonstrations (and any information) easy to share and interact with. Programs & resources for educators, schools & students. Join the initiative for modernizing math education. Walk through homework problems one step at a time, with hints to help along the way. Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet. Knowledge-based programming for everyone.