R^n — Definition, Formula & Examples
is the space of all lists of real numbers, such as . For example, is the coordinate plane and is ordinary three-dimensional space.
For a positive integer , ( factors) is the set of ordered -tuples with each . With componentwise addition and scalar multiplication , it is a real vector space of dimension . Equipped with the inner product , it is called -dimensional Euclidean space. The inner product induces the norm and the metric .
Key Formula
Where:
- = Points (vectors) in
- = The -th coordinates of and
- = The dimension, which is the number of coordinates in each point
- = The Euclidean distance between the two points
Worked Example
Problem: Find the Euclidean distance between the points and in .
Step 1: Subtract the points coordinate by coordinate. This uses the vector operations of .
Step 2: Square each component and add the results.
Step 3: Take the square root to get the norm of the difference vector.
Answer: The distance between the two points is .
Why It Matters
is the setting for multivariable calculus and linear algebra. In real analysis, you study open sets, convergence, and compactness there, including the Heine–Borel theorem: a subset of is compact exactly when it is closed and bounded. In data science, each data point with numeric features is a vector in .
Common Mistakes
Mistake: Reading as a power of a number, or thinking that dimensions above 3 have no meaning.
Correction: The exponent counts how many copies of appear in a Cartesian product, so it means 'lists of length .' You cannot picture , but you can still add its vectors, measure distances in it, and take limits there using the same formulas.
