intersection (Euclidean geometry)
   HOME

TheInfoList



OR:

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 a_1x+b_1y=c_1, \ a_2x+b_2y=c_2 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 (x_s,y_s) : : x_s=\frac , \quad y_s=\frac. \ (If a_1b_2-a_2b_1=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 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 (x_1,y_1),(x_2,y_2) and (x_3,y_3),(x_4,y_4) there is not necessarily an intersection point (see diagram), because the intersection point (x_0,y_0) 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))=(x_1+s(x_2-x_1),y_1+s(y_2-y_1)), : (x(t),y(t))=(x_3+t(x_4-x_3),y_3+t(y_4-y_3)). The line segments intersect only in a common point (x_0,y_0) of the corresponding lines if the corresponding parameters s_0,t_0 fulfill the condition 0\le s_0,t_0 \le 1 . The parameters s_0,t_0 are the solution of the linear system : s(x_2-x_1)-t(x_4-x_3)=x_3-x_1, : s(y_2-y_1)-t(y_4-y_3)=y_3-y_1 \ . It can be solved for ''s'' and ''t'' using Cramer's rule (see above). If the condition 0\le s_0,t_0 \le 1 is fulfilled one inserts s_0 or t_0 into the corresponding parametric representation and gets the intersection point (x_0,y_0). ''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 s_0=\tfrac, t_0=\tfrac. That means: the lines intersect at point (\tfrac,\tfrac). ''Remark:'' Considering lines, instead of segments, determined by pairs of points, each condition 0\le s_0,t_0 \le 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 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 ...
x^2+y^2=r^2 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) (x_1,y_1),(x_2,y_2) with :x_= \frac \ , :y_= \frac \ , if r^2(a^2+b^2)-c^2 > 0 \ . 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 r^2(a^2+b^2)-c^2=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.
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-x_1)^2+(y-y_1)^2=r_1^2 ,\ \quad (x-x_2)^2+(y-y_2)^2=r_2^2 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(x_2-x_1)x+2(y_2-y_1)y=r_1^2-x_1^2-y_1^2-r_2^2+x_2^2+y_2^2. This special line is the radical line of the two circles. Special case \;x_1=y_1=y_2=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 \;2x_2x=r_1^2-r_2^2+x_2^2\; and the points of intersection can be written as (x_0,\pm y_0) with :x_0=\frac,\quad y_0 =\sqrt\ . In case of r_1^2 the circles have no points in common.
In case of r_1^2=x_0^2 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 A lens is a transmissive optical device that focuses or disperses a light beam by means of refraction. A simple lens consists of a single piece of transparent material, while a compound lens consists of several simple lenses (''elements'') ...
.


Two conic sections

The problem of intersection of an ellipse/hyperbola/parabola with another
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 ...
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 \R^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): : a) different tangent lines (''transversal intersection'', after '' transversality''), or : b) the tangent line in common and they are crossing each other (''touching intersection'', after '' tangency''). If both the curves have a point and the tangent line there in common but do not cross each other, they are just ''touching'' at point . Because touching intersections appear rarely and are difficult to deal with, the following considerations omit this case. In any case below all necessary differential conditions are presupposed. The determination of intersection points always leads to one or two non-linear equations which can be solved by Newton iteration. A list of the appearing cases follows: *If ''both curves are explicitly'' given: y=f_1(x), \ y=f_2(x), equating them yields the equation :: f_1(x)=f_2(x) \ . *If ''both curves are parametrically'' given: C_1: (x_1(t),y_1(t)), \ C_2: (x_2(s),y_2(s)). : Equating them yields two equations in two variables: :: x_1(t)=x_2(s), \ y_1(t)=y_2(s) \ . *If ''one curve is parametrically and the other implicitly'' given: C_1: (x_1(t),y_1(t)), \ C_2: f(x,y)=0. :This is the simplest case besides the explicit case. One has to insert the parametric representation of C_1 into the equation f(x,y)=0 of curve C_2 and one gets the equation: ::f(x_1(t),y_2(t))=0 \ . *If ''both curves are implicitly'' given: C_1: f_1(x,y)=0, \ C_2: f_2(x,y)=0. : Here, an intersection point is a solution of the system ::f_1(x,y)=0, \ f_2(x,y)=0 \ . Any Newton iteration needs convenient starting values, which can be derived by a visualization of both the curves. A parametrically or explicitly given curve can easily be visualized, because to any parameter or respectively it is easy to calculate the corresponding point. For implicitly given curves this task is not as easy. In this case one has to determine a curve point with help of starting values and an iteration. See . ''Examples:'' :1: C_1: (t,t^3) and circle C_2: (x-1)^2+(y-1)^2-10=0 (see diagram). :: The Newton iteration t_:=t_n-\frac for function :::f(t)=(t-1)^2+(t^3-1)^2-10 has to be done. As start values one can choose −1 and 1.5. ::The intersection points are: (−1.1073, −1.3578), (1.6011, 4.1046) :2:C_1: f_1(x,y)=x^4+y^4-1=0, :: C_2: f_2(x,y)=(x-0.5)^2+(y-0.5)^2-1=0 (see diagram). :: The Newton iteration :::= has to be performed, where is the solution of the linear system :::\begin \frac & \frac \\ \frac & \frac \end= at point (x_n,y_n). As starting values one can choose(−0.5, 1) and (1, −0.5). :: The linear system can be solved by Cramer's rule. ::The intersection points are (−0.3686, 0.9953) and (0.9953, −0.3686).


Two polygons

If one wants to determine the intersection points of two
polygon In geometry, a polygon () is a plane figure made up of line segments connected to form a closed polygonal chain. The segments of a closed polygonal chain are called its '' edges'' or ''sides''. The points where two edges meet are the polygon ...
s, one can check the intersection of any pair of line segments of the polygons (see above). For polygons with many segments this method is rather time-consuming. In practice one accelerates the intersection algorithm by using ''window tests''. In this case one divides the polygons into small sub-polygons and determines the smallest window (rectangle with sides parallel to the coordinate axes) for any sub-polygon. Before starting the time-consuming determination of the intersection point of two line segments any pair of windows is tested for common points. See.


In space (three dimensions)

In 3-dimensional space there are intersection points (common points) between curves and surfaces. In the following sections we consider '' transversal intersection'' only.


A line and a plane

The intersection of a line and a plane ''in general position'' in three dimensions is a point. Commonly a line in space is represented parametrically (x(t),y(t),z(t)) and a plane by an equation ax+by+cz=d. Inserting the parameter representation into the equation yields the linear equation :ax(t)+by(t)+cz(t)=d\ , for parameter t_0 of the intersection point (x(t_0),y(t_0),z(t_0)). If the linear equation has no solution, the line either lies on the plane or is parallel to it.


Three planes

If a line is defined by two intersecting planes \varepsilon_i: \ \vec n_i\cdot\vec x=d_i, \ i=1,2 and should be intersected by a third plane \varepsilon_3: \ \vec n_3\cdot\vec x=d_3 , the common intersection point of the three planes has to be evaluated. Three planes \varepsilon_i: \ \vec n_i\cdot\vec x=d_i, \ i=1,2,3 with linear independent normal vectors \vec n_1,\vec n_2, \vec n_3 have the intersection point : \vec p_0=\frac \ . For the proof one should establish \vec n_i\cdot\vec p_0=d_i, \ i=1,2,3 , using the rules of a scalar triple product. If the scalar triple product equals to 0, then planes either do not have the triple intersection or it is a line (or a plane, if all three planes are the same).


A curve and a surface

Analogously to the plane case the following cases lead to non-linear systems, which can be solved using a 1- or 3-dimensional Newton iteration. *parametric curve C: (x(t),y(t),z(t)) and :parametric surface S: (x(u,v),y(u,v),z(u,v))\ , *parametric curve C: (x(t),y(t),z(t)) and :implicit surface S: f(x,y,z)=0\ . Example: :parametric curve C: (t,t^2,t^3) and :implicit surface S: x^4+y^4+z^4-1=0 (s. picture). :The intersection points are: (−0.8587, 0.7374, −0.6332), (0.8587, 0.7374, 0.6332). A line–sphere intersection is a simple special case. Like the case of a line and a plane, the intersection of a curve and a surface ''in general position'' consists of discrete points, but a curve may be partly or totally contained in a surface.


A line and a polyhedron


Two surfaces

Two transversally intersecting surfaces give an intersection curve. The most simple case is the intersection line of two non-parallel planes.


A sphere and a plane

When the intersection of a sphere and a plane is not empty or a single point, it is a circle. This can be seen as follows: Let ''S'' be a sphere with center ''O'', ''P'' a plane which intersects ''S''. Draw perpendicular to ''P'' and meeting ''P'' at ''E''. Let ''A'' and ''B'' be any two different points in the intersection. Then ''AOE'' and ''BOE'' are right triangles with a common side, ''OE'', and hypotenuses ''AO'' and ''BO'' equal. Therefore, the remaining sides ''AE'' and ''BE'' are equal. This proves that all points in the intersection are the same distance from the point ''E'' in the plane ''P'', in other words all points in the intersection lie on a circle ''C'' with center ''E''. This proves that the intersection of ''P'' and ''S'' is contained in ''C''. Note that ''OE'' is the axis of the circle. Now consider a point ''D'' of the circle ''C''. Since ''C'' lies in ''P'', so does ''D''. On the other hand, the triangles ''AOE'' and ''DOE'' are right triangles with a common side, ''OE'', and legs ''EA'' and ''ED'' equal. Therefore, the hypotenuses ''AO'' and ''DO'' are equal, and equal to the radius of ''S'', so that ''D'' lies in ''S''. This proves that ''C'' is contained in the intersection of ''P'' and ''S''. As a corollary, on a sphere there is exactly one circle that can be drawn through three given points. The proof can be extended to show that the points on a circle are all a common angular distance from one of its poles.Hobbs, Prop. 310 Compare also
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 ...
s, which can produce
oval An oval () is a closed curve in a plane which resembles the outline of an egg. The term is not very specific, but in some areas of mathematics (projective geometry, technical drawing, etc.), it is given a more precise definition, which may inc ...
s.


Two spheres

To show that a non-trivial intersection of two spheres is a circle, assume (without loss of generality) that one sphere (with radius R) is centered at the origin. Points on this sphere satisfy :x^2 + y^2 + z^2 = R^2. Also without loss of generality, assume that the second sphere, with radius r, is centered at a point on the positive x-axis, at distance a from the origin. Its points satisfy :(x-a)^2 + y^2 + z^2 = r^2. The intersection of the spheres is the set of points satisfying both equations. Subtracting the equations gives :\begin (x-a)^2 - x^2 & = r^2 - R^2 \\ a^2 - 2ax & = r^2 - R^2 \\ x & = \frac. \end In the singular case a = 0, the spheres are concentric. There are two possibilities: if R = r, the spheres coincide, and the intersection is the entire sphere; if R \not= r, the spheres are disjoint and the intersection is empty. When ''a'' is nonzero, the intersection lies in a vertical plane with this x-coordinate, which may intersect both of the spheres, be tangent to both spheres, or external to both spheres. The result follows from the previous proof for sphere-plane intersections.


See also

* Line-plane intersection * Line–sphere intersection * Line-cylinder intersection * Analytic geometry#Intersections * Computational geometry * Equation of a line *
Intersection (set theory) In set theory, the intersection of two Set (mathematics), sets A and B, denoted by A \cap B, is the set containing all elements of A that also belong to B or equivalently, all elements of B that also belong to A. Notation and terminology Int ...
*
Intersection theory In mathematics, intersection theory is one of the main branches of algebraic geometry, where it gives information about the intersection of two subvarieties of a given variety. The theory for varieties is older, with roots in Bézout's theorem o ...


Notes


References

*


Further reading

* * Nicholas M. Patrikalakis and Takashi Maekawa, ''Shape Interrogation for Computer Aided Design and Manufacturing'', Springer, 2002, , 9783540424543, pp. 408

*{{cite book , title=Solid Geometry , url=https://archive.org/details/solidgeometry01comsgoog , first1=M., last1=Sykes, first2=C.E., last2=Comstock, publisher=Rand McNally , year=1922, page
81
ff Geometric intersection, *