In mathematics, analytic geometry (also called Cartesian geometry) describes every point in threedimensional space by means of three coordinates. Three coordinate axes are given, each perpendicular to the other two at the origin, the point at which they cross. They are usually labeled x, y, and z. Relative to these axes, the position of any point in threedimensional space is given by an ordered triple of real numbers, each number giving the distance of that point from the origin measured along the given axis, which is equal to the distance of that point from the plane determined by the other two axes.
Other popular methods of describing the location of a point in threedimensional space include cylindrical coordinates and spherical coordinates, though there are an infinite number of possible methods. See Euclidean space.
Below are images of the abovementioned systems.
Two distinct points always determine a (straight) line. Three distinct points are either collinear or determine a unique plane. Four distinct points can either be collinear, coplanar or determine the entire space.
Two distinct lines can either intersect, be parallel or be skew. Two parallel lines, or two intersecting lines, lie in a unique plane, so skew lines are lines that do not meet and do not lie in a common plane.
Two distinct planes can either meet in a common line or are parallel (do not meet). Three distinct planes, no pair of which are parallel, can either meet in a common line, meet in a unique common point or have no point in common. In the last case, the three lines of intersection of each pair of planes are mutually parallel.
A line can lie in a given plane, intersect that plane in a unique point or be parallel to the plane. In the last case, there will be lines in the plane that are parallel to the given line.
A hyperplane is a subspace of one dimension less than the dimension of the full space. The hyperplanes of a threedimensional space are the twodimensional subspaces, that is, the planes. In terms of cartesian coordinates, the points of a hyperplane satisfy a single linear equation, so planes in this 3space are described by linear equations. A line can be described by a pair of independent linear equations, each representing a plane having this line as a common intersection.
Varignon's theorem states that the midpoints of any quadrilateral in ℝ^{3} form a parallelogram, and so, are coplanar.
A sphere in 3space (also called a 2sphere because it is a 2dimensional object) consists of the set of all points in 3space at a fixed distance r from a central point P. The solid enclosed by the sphere is called a ball (or, more precisely a 3ball). The volume of the ball is given by
V
=
4
3
π
r
3
.
Another type of sphere arises from a 4ball, whose threedimensional surface is the 3sphere: points equidistant to the origin of the euclidean space ℝ^{4}. If a point has coordinates, P(x, y, z, w), then x^{2} + y^{2} + z^{2} + w^{2} = 1 characterizes those points on the unit 3sphere centered at the origin.
In three dimensions, there are nine regular polytopes: the five convex Platonic solids and the four nonconvex KeplerPoinsot polyhedra.
A surface generated by revolving a plane curve about a fixed line in its plane as an axis is called a surface of revolution. The plane curve is called the generatrix of the surface. A section of the surface, made by intersecting the surface with a plane that is perpendicular (orthogonal) to the axis, is a circle.
Simple examples occur when the generatrix is a line. If the generatrix line intersects the axis line, the surface of revolution is a right circular cone with vertex (apex) the point of intersection. However, if the generatrix and axis are parallel, the surface of revolution is a circular cylinder.
In analogy with the conic sections, the set of points whose cartesian coordinates satisfy the general equation of the second degree, namely,
A
x
2
+
B
y
2
+
C
z
2
+
F
x
y
+
G
y
z
+
H
x
z
+
J
x
+
K
y
+
L
z
+
M
=
0
,
where A, B, C, F, G, H, J, K, L and M are real numbers and not all of A, B, C, F, G and H are zero is called a quadric surface.
There are six types of nondegenerate quadric surfaces:
 Ellipsoid
 Hyperboloid of one sheet
 Hyperboloid of two sheets
 Elliptic cone
 Elliptic paraboloid
 Hyperbolic paraboloid
The degenerate quadric surfaces are the empty set, a single point, a single line, a single plane, a pair of planes or a quadratic cylinder (a surface consisting of a nondegenerate conic section in a plane π and all the lines of ℝ^{3} through that conic that are normal to π). Elliptic cones are sometimes considered to be degenerate quadric surfaces as well.
Both the hyperboloid of one sheet and the hyperbolic paraboloid are ruled surfaces, meaning that they can be made up from a family of straight lines. In fact, each has two families of generating lines, the members of each family are disjoint and each member one family intersects, with just one exception, every member of the other family. Each family is called a regulus.
Another way of viewing threedimensional space is found in linear algebra, where the idea of independence is crucial. Space has three dimensions because the length of a box is independent of its width or breadth. In the technical language of linear algebra, space is threedimensional because every point in space can be described by a linear combination of three independent vectors.
A vector can be pictured as an arrow. Its magnitude is its length, and its direction is the direction the arrow points. A vector in ℝ^{3} can be represented by an ordered triple of real numbers. These numbers are called the components of the vector.
The dot product of two vectors A = [A_{1}, A_{2}, A_{3}] and B = [B_{1}, B_{2}, B_{3}] is defined as:
A
⋅
B
=
A
1
B
1
+
A
2
B
2
+
A
3
B
3
.
The magnitude of a vector A is denoted by A. The dot product of a vector A = [A_{1}, A_{2}, A_{3}] with itself is
A
⋅
A
=
∥
A
∥
2
=
A
1
2
+
A
2
2
+
A
3
2
,
which gives
∥
A
∥
=
A
⋅
A
=
A
1
2
+
A
2
2
+
A
3
2
,
the formula for the Euclidean length of the vector.
Without reference to the components of the vectors, the dot product of two nonzero Euclidean vectors A and B is given by
A
⋅
B
=
∥
A
∥
∥
B
∥
cos
θ
,
where θ is the angle between A and B.
The cross product or vector product is a binary operation on two vectors in threedimensional space and is denoted by the symbol ×. The cross product a × b of the vectors a and b is a vector that is perpendicular to both and therefore normal to the plane containing them. It has many applications in mathematics, physics, and engineering.
The space and product form an algebra over a field, which is neither commutative nor associative, but is a Lie algebra with the cross product being the Lie bracket.
One can in n dimensions take the product of n − 1 vectors to produce a vector perpendicular to all of them. But if the product is limited to nontrivial binary products with vector results, it exists only in three and seven dimensions.
In a rectangular coordinate system, the gradient is given by
∇
f
=
∂
f
∂
x
i
+
∂
f
∂
y
j
+
∂
f
∂
z
k
The divergence of a continuously differentiable vector field F = U i + V j + W k is equal to the scalarvalued function:
div
F
=
∇
⋅
F
=
∂
U
∂
x
+
∂
V
∂
y
+
∂
W
∂
z
.
Expanded in Cartesian coordinates (see Del in cylindrical and spherical coordinates for spherical and cylindrical coordinate representations), the curl ∇ × F is, for F composed of [F_{x}, F_{y}, F_{z}]:

i
j
k
∂
∂
x
∂
∂
y
∂
∂
z
F
x
F
y
F
z

where i, j, and k are the unit vectors for the x, y, and zaxes, respectively. This expands as follows:
(
∂
F
z
∂
y
−
∂
F
y
∂
z
)
i
+
(
∂
F
x
∂
z
−
∂
F
z
∂
x
)
j
+
(
∂
F
y
∂
x
−
∂
F
x
∂
y
)
k
For some scalar field f : U ⊆ R^{n} → R, the line integral along a piecewise smooth curve C ⊂ U is defined as
∫
C
f
d
s
=
∫
a
b
f
(
r
(
t
)
)

r
′
(
t
)

d
t
.
where r: [a, b] → C is an arbitrary bijective parametrization of the curve C such that r(a) and r(b) give the endpoints of C and
a
<
b
.
For a vector field F : U ⊆ R^{n} → R^{n}, the line integral along a piecewise smooth curve C ⊂ U, in the direction of r, is defined as
∫
C
F
(
r
)
⋅
d
r
=
∫
a
b
F
(
r
(
t
)
)
⋅
r
′
(
t
)
d
t
.
where · is the dot product and r: [a, b] → C is a bijective parametrization of the curve C such that r(a) and r(b) give the endpoints of C.
A surface integral is a generalization of multiple integrals to integration over surfaces. It can be thought of as the double integral analog of the line integral. To find an explicit formula for the surface integral, we need to parameterize the surface of interest, S, by considering a system of curvilinear coordinates on S, like the latitude and longitude on a sphere. Let such a parameterization be x(s, t), where (s, t) varies in some region T in the plane. Then, the surface integral is given by
∬
S
f
d
S
=
∬
T
f
(
x
(
s
,
t
)
)
∥
∂
x
∂
s
×
∂
x
∂
t
∥
d
s
d
t
where the expression between bars on the righthand side is the magnitude of the cross product of the partial derivatives of x(s, t), and is known as the surface element. Given a vector field v on S, that is a function that assigns to each x in S a vector v(x), the surface integral can be defined componentwise according to the definition of the surface integral of a scalar field; the result is a vector.
A volume integral refers to an integral over a 3dimensional domain.
It can also mean a triple integral within a region D in R^{3} of a function
f
(
x
,
y
,
z
)
,
and is usually written as:
∭
D
f
(
x
,
y
,
z
)
d
x
d
y
d
z
.
The fundamental theorem of line integrals, says that a line integral through a gradient field can be evaluated by evaluating the original scalar field at the endpoints of the curve.
Let
φ
:
U
⊆
R
n
→
R
. Then
φ
(
q
)
−
φ
(
p
)
=
∫
γ
[
p
,
q
]
∇
φ
(
r
)
⋅
d
r
.
Stokes' theorem relates the surface integral of the curl of a vector field F over a surface Σ in Euclidean threespace to the line integral of the vector field over its boundary ∂Σ:
∬
Σ
∇
×
F
⋅
d
Σ
=
∮
∂
Σ
F
⋅
d
r
.
Suppose V is a subset of
R
n
(in the case of n = 3, V represents a volume in 3D space) which is compact and has a piecewise smooth boundary S (also indicated with ∂V = S ). If F is a continuously differentiable vector field defined on a neighborhood of V, then the divergence theorem says:
∭
V
(
∇
⋅
F
)
d
V
=
S
(
F
⋅
n
)
d
S
.
The left side is a volume integral over the volume V, the right side is the surface integral over the boundary of the volume V. The closed manifold ∂V is quite generally the boundary of V oriented by outwardpointing normals, and n is the outward pointing unit normal field of the boundary ∂V. (dS may be used as a shorthand for ndS.)
Threedimensional space has a number of topological properties that distinguish it from spaces of other dimension numbers. For example, at least three dimensions are required to tie a knot in a piece of string.
With the space
R
3
, the topologists locally model all other 3manifolds.