In geometry, an intersection between geometric objects (seen as sets of points) 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 is the line–line intersection between two distinct lines, which either is one point (sometimes called a vertex) or empty (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-dimensional space – is a simple task of linear algebra, namely the solution of a system of linear equations. 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 (circle, ellipse, parabola, etc.) or a quadric (sphere, cylinder, hyperboloid, etc.) lead to quadratic equations that can be easily solved. Intersections between quadrics lead to quartic equations that can be solved algebraically. The notion of intersection from geometry has been exended to the status of an operation with sets, intersection (set theory), in works by Giuseppe Peano.
On a plane
Two lines
For the determination of the intersection point of two non-parallel lines a1x+b1y=c1, a2x+b2y=c2 one gets, from Cramer's rule or by substituting out a variable, the coordinates of the intersection point (xs,ys) :
xs=c1b2−c2b1a1b2−a2b1,ys=a1c2−a2c1a1b2−a2b1. (If a1b2−a2b1=0 the lines are parallel and these formulas cannot be used because they involve dividing by 0.)
Two line segments
For two non-parallel line segments (x1,y1),(x2,y2) and (x3,y3),(x4,y4) there is not necessarily an intersection point (see diagram), because the intersection point (x0,y0) 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:
(x(s),y(s))=(x1+s(x2−x1),y1+s(y2−y1)), (x(t),y(t))=(x3+t(x4−x3),y3+t(y4−y3)). The line segments intersect only in a common point (x0,y0) of the corresponding lines if the corresponding parameters s0,t0 fulfill the condition 0≤s0,t0≤1. The parameters s0,t0 are the solution of the linear system
s(x2−x1)−t(x4−x3)=x3−x1, s(y2−y1)−t(y4−y3)=y3−y1 . It can be solved for s and t using Cramer's rule (see above). If the condition 0≤s0,t0≤1 is fulfilled one inserts s0 or t0 into the corresponding parametric representation and gets the intersection point (x0,y0). Example: For the line segments (1,1),(3,2) and (1,4),(2,−1) one gets the linear system
2s−t=0 s+5t=3 and s0=311,t0=611. That means: the lines intersect at point (1711,1411). Remark: Considering lines, instead of segments, determined by pairs of points, each condition 0≤s0,t0≤1 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 ax+by=c and circle x2+y2=r2 one solves the line equation for x or y and substitutes it into the equation of the circle and gets for the solution (using the formula of a quadratic equation) (x1,y1),(x2,y2) with
x1/2=ac±br2(a2+b2)−c2a2+b2 , y1/2=bc∓ar2(a2+b2)−c2a2+b2 , if r2(a2+b2)−c2>0 . If this condition holds with strict inequality, there are two intersection points; in this case the line is called a secant line of the circle, and the line segment connecting the intersection points is called a chord of the circle. If r2(a2+b2)−c2=0 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. Another quick way to derive the intersection points is the ansatz (x1/2,y1/2)=s(a,b)±t(b,−a), solving first for s using the line equation, which simplifies to s(a2+b2)=c and then for t using the circle equation, which simplifies to (s2+t2)(a2+b2)=r2. 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
(x−x1)2+(y−y1)2=r12, (x−x2)2+(y−y2)2=r22 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:
2(x2−x1)x+2(y2−y1)y=r12−x12−y12−r22+x22+y22. This special line is the radical line of the two circles.
Special case x1=y1=y2=0 : 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 2x2x=r12−r22+x22 and the points of intersection can be written as (x0,±y0) with
x0=r12−r22+x222x2,y0=r12−x02 . In case of r12<x02 the circles have no points in common. In case of r12=x02 the circles have one point in common and the radical line is a common tangent. Any general case as written above can be transformed by a shift and a rotation into the special case. The intersection of two disks (the interiors of the two circles) forms a shape called a lens.
Two conic sections The problem of intersection of an ellipse/hyperbola/parabola with another conic section leads to a system of quadratic equations, which can be solved in special cases easily by elimination of one coordinate. Special properties of conic sections may be used to obtain a solution. In general the intersection points can be determined by solving the equation by a Newton iteration. If a) both conics are given implicitly (by an equation) a 2-dimensional Newton iteration b) one implicitly and the other parametrically given a 1-dimensional Newton iteration is necessary. See next section.
Two smooth curves
Two curves in ℝ2 (two-dimensional space), which are continuously differentiable (i.e. there is no sharp bend), have an intersection point, if they have a point of the plane in common and have at this point (see diagram):
… excerpt ends here. Continue reading the full article.





