# Flat (geometry)

In geometry, a **flat** or **Euclidean subspace** is a subset of a Euclidean space that is itself a Euclidean space (of lower dimension). The flats in two-dimensional space are points and lines, and the flats in three-dimensional space are points, lines, and planes.

In a n-dimensional space, there are flats of every dimension from 0 to *n* − 1.[1] Flats of dimension *n* − 1 are called hyperplanes.

Flats are the affine subspaces of Euclidean spaces, which means that they are similar to linear subspaces, except that they need not pass through the origin. Flats occurs in linear algebra, as geometric realizations of solution sets of systems of linear equations.

A flat is manifold and an algebraic variety, and is sometimes called *linear manifold* or *linear variety* for distinguishing it from other manifolds or varieties.

## Descriptions

### By equations

A flat can be described by a system of linear equations. For example, a line in two-dimensional space can be described by a single linear equation involving x and y:

In three-dimensional space, a single linear equation involving x, y, and z defines a plane, while a pair of linear equations can be used to describe a line. In general, a linear equation in n variables describes a hyperplane, and a system of linear equations describes the intersection of those hyperplanes. Assuming the equations are consistent and linearly independent, a system of k equations describes a flat of dimension *n* − *k*.

### Parametric

A flat can also be described by a system of linear parametric equations. A line can be described by equations involving one parameter:

while the description of a plane would require two parameters:

In general, a parameterization of a flat of dimension k would require parameters *t*_{1}, … , *t _{k}*.

## Operations and relations on flats

### Intersecting, parallel, and skew flats

An intersection of flats is either a flat or the empty set.[2]

If every line from the first flat is parallel to some line from the second flat, then these flats are parallel. Two parallel flats of the same dimension either coincide or do not intersect; they can be described by two systems of linear equations which differ only in their right-hand sides.

If flats do not intersect, and no line from the first flat is parallel to a line from the second flat, then these are skew flats. It is possible only if sum of their dimensions is less than dimension of the ambient space.

### Join

For two flats of dimensions *k*_{1} and *k*_{2} there exists the minimal flat which contains them, of dimension at most *k*_{1} + *k*_{2} + 1. If two flats intersect, then the dimension of the containing flat equals to *k*_{1} + *k*_{2} minus the dimension of the intersection.

### Properties of operations

These two operations (referred to as *meet* and *join*) make the set of all flats in the Euclidean n-space a lattice and can build systematic coordinates for flats in any dimension, leading to Grassmann coordinates or dual Grassmann coordinates. For example, a line in three-dimensional space is determined by two distinct points or by two distinct planes.

However, the lattice of all flats is not a distributive lattice.
If two lines ℓ_{1} and ℓ_{2} intersect, then ℓ_{1} ∩ ℓ_{2} is a point. If p is a point not lying on the same plane, then (ℓ_{1} ∩ ℓ_{2}) + *p* = (ℓ_{1} + *p*) ∩ (ℓ_{2} + *p*), both representing a line. But when ℓ_{1} and ℓ_{2} are parallel, this distributivity fails, giving p on the left-hand side and a third parallel line on the right-hand side.

## Euclidean geometry

The aforementioned facts do not depend on the structure being that of Euclidean space (namely, involving Euclidean distance) and are correct in any affine space. In a Euclidean space:

- There is the distance between a flat and a point. (See for example Distance from a point to a plane and Distance from a point to a line.)
- There is the distance between two flats, equal to 0 if they intersect. (See for example Distance between two lines (in the same plane) and Skew lines#Distance.)
- There is the angle between two flats, which belongs to the interval [0, π/2] between 0 and the right angle. (See for example Dihedral angle (between two planes). See also Angles between flats.)

## See also

## Notes

- In addition, a whole n-dimensional space, being a subset of itself, may also be considered as an n-dimensional flat.
- Can be considered as −1-flat.

## References

- Heinrich Guggenheimer (1977)
*Applicable Geometry*,page 7, Krieger, New York. - Stolfi, Jorge (1991),
*Oriented Projective Geometry*, Academic Press, ISBN 978-0-12-672025-9

From original Stanford Ph.D. dissertation,*Primitives for Computational Geometry*, available as DEC SRC Research Report 36.