
In
geometry
Geometry (; ) is a branch of mathematics concerned with properties of space such as the distance, shape, size, and relative position of figures. Geometry is, along with arithmetic, one of the oldest branches of mathematics. A mathematician w ...
, an intersection is a point, line, or curve common to two or more objects (such as lines, curves, planes, and surfaces). The simplest case in
Euclidean geometry
Euclidean geometry is a mathematical system attributed to ancient Greek mathematics, Greek mathematician Euclid, which he described in his textbook on geometry, ''Euclid's Elements, Elements''. Euclid's approach consists in assuming a small set ...
is the
line–line intersection between two distinct
lines, which either is one
point (sometimes called a ''
vertex'') or does not exist (if the lines are
parallel). Other types of geometric intersection include:
*
Line–plane intersection
*
Line–sphere intersection
*
Intersection of a polyhedron with a line
*
Line segment intersection
*
Intersection curve
Determination of the intersection of
flats – linear geometric objects embedded in a higher-
dimension
In physics and mathematics, the dimension of a mathematical space (or object) is informally defined as the minimum number of coordinates needed to specify any point within it. Thus, a line has a dimension of one (1D) because only one coo ...
al space – is a simple task of
linear algebra
Linear algebra is the branch of mathematics concerning linear equations such as
:a_1x_1+\cdots +a_nx_n=b,
linear maps such as
:(x_1, \ldots, x_n) \mapsto a_1x_1+\cdots +a_nx_n,
and their representations in vector spaces and through matrix (mathemat ...
, namely the solution of a
system of linear equations
In mathematics, a system of linear equations (or linear system) is a collection of two or more linear equations involving the same variable (math), variables.
For example,
: \begin
3x+2y-z=1\\
2x-2y+4z=-2\\
-x+\fracy-z=0
\end
is a system of th ...
. In general the determination of an intersection leads to
non-linear equations, which can be
solved numerically, for example using
Newton iteration. Intersection problems between a line and a
conic section
A conic section, conic or a quadratic curve is a curve obtained from a cone's surface intersecting a plane. The three types of conic section are the hyperbola, the parabola, and the ellipse; the circle is a special case of the ellipse, tho ...
(circle, ellipse, parabola, etc.) or a
quadric
In mathematics, a quadric or quadric surface is a generalization of conic sections (ellipses, parabolas, and hyperbolas). In three-dimensional space, quadrics include ellipsoids, paraboloids, and hyperboloids.
More generally, a quadric hype ...
(sphere, cylinder, hyperboloid, etc.) lead to
quadratic equation
In mathematics, a quadratic equation () is an equation that can be rearranged in standard form as
ax^2 + bx + c = 0\,,
where the variable (mathematics), variable represents an unknown number, and , , and represent known numbers, where . (If and ...
s that can be easily solved. Intersections between quadrics lead to
quartic equation
In mathematics, a quartic equation is one which can be expressed as a ''quartic function'' equaling zero. The general form of a quartic equation is
:ax^4+bx^3+cx^2+dx+e=0 \,
where ''a'' ≠ 0.
The quartic is the highest order polynom ...
s that can be solved
algebraically.
On a plane
Two lines
For the determination of the intersection point of two non-parallel lines
one gets, from
Cramer's rule
In linear algebra, Cramer's rule is an explicit formula for the solution of a system of linear equations with as many equations as unknowns, valid whenever the system has a unique solution. It expresses the solution in terms of the determinants of ...
or by substituting out a variable, the coordinates of the intersection point
:
:
(If
the lines are parallel and these formulas cannot be used because they involve dividing by 0.)
Two line segments

For two non-parallel
line segment
In geometry, a line segment is a part of a line (mathematics), straight line that is bounded by two distinct endpoints (its extreme points), and contains every Point (geometry), point on the line that is between its endpoints. It is a special c ...
s
and
there is not necessarily an intersection point (see diagram), because the intersection point
of the corresponding lines need not to be contained in the line segments. In order to check the situation one uses parametric representations of the lines:
:
:
The line segments intersect only in a common point
of the corresponding lines if the corresponding parameters
fulfill the condition
.
The parameters
are the solution of the linear system
:
:
It can be solved for ''s'' and ''t'' using Cramer's rule (see
above). If the condition
is fulfilled one inserts
or
into the corresponding parametric representation and gets the intersection point
.
''Example:'' For the line segments
and
one gets the linear system
:
:
and
. That means: the lines intersect at point
.
''Remark:'' Considering lines, instead of segments, determined by pairs of points, each condition
can be dropped and the method yields the intersection point of the lines (see
above).
A line and a circle

For the intersection of
*line
and
circle
A circle is a shape consisting of all point (geometry), points in a plane (mathematics), plane that are at a given distance from a given point, the Centre (geometry), centre. The distance between any point of the circle and the centre is cal ...
one solves the line equation for or and
substitutes it into the equation of the circle and gets for the solution (using the formula of a quadratic equation)
with
:
:
if
If this condition holds with strict inequality, there are two intersection points; in this case the line is called a
secant line
In geometry, a secant is a line (geometry), line that intersects a curve at a minimum of two distinct Point (geometry), points..
The word ''secant'' comes from the Latin word ''secare'', meaning ''to cut''. In the case of a circle, a secant inter ...
of the circle, and the line segment connecting the intersection points is called a
chord of the circle.
If
holds, there exists only one intersection point and the line is tangent to the circle. If the weak inequality does not hold, the line does not intersect the circle.
If the circle's midpoint is not the origin, see. The intersection of a line and a parabola or hyperbola may be treated analogously.
Two circles
The determination of the intersection points of two circles
*
can be reduced to the previous case of intersecting a line and a circle. By subtraction of the two given equations one gets the line equation:
:
This special line is the
radical line of the two circles.

Special case
:
In this case the origin is the center of the first circle and the second center lies on the x-axis (s. diagram). The equation of the radical line simplifies to
and the points of intersection can be written as
with
:
In case of