Line (geometry)
on the two-dimensional Cartesian coordinate system In geometry, a straight line, usually abbreviated line, is an infinitely long object with no width, depth, or curvature.
≈ 12 min read
Line (geometry). encyclopegia.org, snapshot enwiki-001376009825. /a/line-geometry
Names in other languages
No names in other languages are held for this entry yet.
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
on the two-dimensional Cartesian coordinate system In geometry, a straight line, usually abbreviated line, is an infinitely long object with no width, depth, or curvature. It is a special case of a curve and an idealisation of such physical objects as a straightedge, a taut string, or a ray of light.
Lines are spaces of dimension one, which may be embedded in spaces of dimension two, three, or higher. The word line may also refer, in everyday life, to a line segment, which is a part of a line delimited by two points (its endpoints).
Euclid's Elements defines a straight line as a "breadthless length" that "lies evenly with respect to the points on itself", and introduced several postulates as basic unprovable properties on which the rest of geometry was established. Euclidean line and Euclidean geometry are terms introduced to avoid confusion with generalizations introduced since the end of the 19th century, such as non-Euclidean, projective, and affine geometry.
on the two-dimensional Cartesian coordinate system]] In geometry, a straight line, usually abbreviated line, is an infinitely long object with no width, depth, or curvature. It is a special case of a curve and an idealisation of such physical objects as a straightedge, a taut string, or a ray of light.
Lines are spaces of dimension one, which may be embedded in spaces of dimension two, three, or higher. The word line may also refer, in everyday life, to a line segment, which is a part of a line delimited by two points (its endpoints).
Euclid's Elements defines a straight line as a "breadthless length" that "lies evenly with respect to the points on itself", and introduced several postulates as basic unprovable properties on which the rest of geometry was established. Euclidean line and Euclidean geometry are terms introduced to avoid confusion with generalizations introduced since the end of the 19th century, such as non-Euclidean, projective, and affine geometry.
In higher dimensions
In three-dimensional space, a first degree equation in the variables , , and defines a plane, so two such equations, provided the planes they give rise to are not parallel, define a line which is the intersection of the planes. More generally, in -dimensional space first-degree equations in the coordinate variables define a line under suitable conditions.
In more general Euclidean space, (and analogously in every other affine space), the line passing through two different points and is the subset L = \left\{ (1 - t) \, a + t b \mid t \in \R \right\}. The orientation or direction of the oriented line (or directed line) above is from a reference point ( ) to a target point ( ), or in other words, in the direction of the relative vector .
A directed line is also called an axis, especially if it plays a distinctive role (e.g., an axis of rotation). Swapping points and yields the opposite directed line.
Collinear points
Three or more points are said to be collinear if they lie on the same line. If three points are not collinear, there is exactly one plane that contains them.
In affine coordinates, in -dimensional space the points \begin{align} X &= (x_1, x_2, \dots, x_n), \\ Y &= (y_1, y_2, \dots, y_n), \\ Z &= (z_1, z_2, \dots, z_n), \end{align} are collinear if the matrix \begin{bmatrix} 1 & x_1 & x_2 & \cdots & x_n \\ 1 & y_1 & y_2 & \cdots & y_n \\ 1 & z_1 & z_2 & \cdots & z_n \end{bmatrix} has a rank less than 3. In particular, for three points in the plane ( ), the above matrix is square and the points are collinear if and only if its determinant is zero.
Equivalently for three points in a plane, the points are collinear if and only if the slope between one pair of points equals the slope between any other pair of points (in which case the slope between the remaining pair of points will equal the other slopes). By extension, points in a plane are collinear if and only if any ( ) pairs of points have the same pairwise slopes.
In Euclidean geometry, the Euclidean distance between two points and may be used to express the collinearity between three points by: However, there are other notions of distance (such as the Manhattan distance) for which this property is not true. In the geometries where the concept of a line is a primitive notion, as may be the case in some synthetic geometries, other methods of determining collinearity are needed.
Relationship with other figures
In Euclidean geometry, all lines are congruent, meaning that every line can be obtained by moving a specific line. However, lines may play special roles with respect to other geometric objects and can be classified according to that relationship.
For instance, with respect to a conic (a circle, ellipse, parabola, or hyperbola), lines can be: tangent lines, which touch the conic at a single point; secant lines, which intersect the conic at two points and pass through its interior; exterior lines, which do not meet the conic at any point of the Euclidean plane; or a directrix, whose distance from a point helps to establish whether the point is on the conic. a coordinate line, a linear coordinate dimension In the context of determining parallelism in Euclidean geometry, a transversal is a line that intersects two other lines that may or not be parallel to each other. For more general algebraic curves, lines could also be: -secant lines, meeting the curve in points counted without multiplicity, or asymptotes, which a curve approaches arbitrarily closely without touching it.
With respect to triangles we have: the Euler line, the Simson lines, and central lines. For a convex quadrilateral with at most two parallel sides, the Newton line is the line that connects the midpoints of the two diagonals. For a hexagon with vertices lying on a conic we have the Pascal line and, in the special case where the conic is a pair of lines, we have the Pappus line.
Parallel lines are lines in the same plane that never cross. Intersecting lines share a single point in common. Coincidental lines coincide with each other—every point that is on either one of them is also on the other.
Perpendicular lines are lines that intersect at right angles. In three-dimensional space, skew lines are lines that are not in the same plane and thus do not intersect each other. L = \{(x,y)\mid ax+by=c\}, where , and are fixed real numbers (called coefficients) such that and are not both zero.
Using this form, vertical lines correspond to equations with . One can further suppose either or , by dividing everything by if it is not zero. There are many variant ways to write the equation of a line, which can all be converted from one to another by algebraic manipulation.
The above form is sometimes called the standard form. If the constant term is put on the left, the equation becomes ax + by - c = 0, and this is sometimes called the general form of the equation. However, this terminology is not universally accepted, and many authors do not distinguish these two forms.
These forms are generally named by the type of information (data) about the line that is needed to write down the form. Some of the important data of a line is its slope, -intercept, known points on the line and -intercept. The equation of the line passing through two different points and may be written as (y - y_0)(x_1 - x_0) = (y_1 - y_0)(x - x_0).
If , this equation may be rewritten as \begin{align} y &= (x - x_0) \frac{y_1 - y_0}{x_1 - x_0} + y_0 \\[4pt] &= x \frac{y_1 - y_0}{x_1 - x_0} + \frac{x_1 y_0 - x_0 y_1}{x_1 - x_0} \end{align} In two dimensions, the equation for non-vertical lines is often given in the slope–intercept form: y = mx + b where is the slope or gradient of the line. is the y-intercept of the line. is the independent variable of the function . The slope of the line through points and , when , is given by m = \frac{y_b - y_a}{x_b - x_a} and the equation of this line can be written y = m (x - x_a) + y_a.
As a note, lines in three dimensions may also be described as the simultaneous solutions of two linear equations \begin{align} a_1 x + b_1 y + c_1 z - d_1 &= 0 \\ a_2 x + b_2 y + c_2 z - d_2 &= 0 \end{align} such that and are not proportional (the relations , , imply ). This follows since in three dimensions a single linear equation typically describes a plane and a line is what is common to two distinct intersecting planes. \begin{align} x &= x_0 + at \\ y &= y_0 + bt \\ z &= z_0 + ct \end{align} where: , , and are all functions of the independent variable which ranges over the real numbers. is any point on the line. , , and are related to the slope of the line, such that the direction vector is parallel to the line.
Parametric equations for lines in higher dimensions are similar in that they are based on the specification of one point on the line and a direction vector. x \cos \varphi + y \sin \varphi - p = 0 , where is the angle of inclination of the normal segment (the oriented angle from the unit vector of the -axis to this segment), and is the (positive) length of the normal segment. The normal form can be derived from the standard form ax + by = c by dividing all of the coefficients by \sqrt{a^2 + b^2}. and also multiplying through by –1 if .
Unlike the slope-intercept and intercept forms, this form can represent any line but also requires only two finite parameters, and , to be specified. If , then is uniquely defined modulo . On the other hand, if the line is through the origin ( ), one drops the term to compute and , and it follows that is only defined modulo .
Vectors
The vector equation of the line through points and is given by \mathbf{r} = \mathbf{OA} + \lambda\, \mathbf{AB} (where is a scalar). If is vector and is vector , then the equation of the line can be written: \mathbf{r} = \mathbf{a} + \lambda (\mathbf{b} - \mathbf{a}) A ray starting at point is described by limiting . One ray is obtained if , and the opposite ray comes from .
Polar coordinates
In a Cartesian plane, polar coordinates are related to Cartesian coordinates by the parametric equations: x=r\cos\theta, \quad y=r\sin\theta. In polar coordinates, the equation of a line not passing through the origin—the point with coordinates —can be written r = \frac p {\cos (\theta-\varphi)}, with and \varphi-\pi/2 Here, is the (positive) length of the line segment perpendicular to the line and delimited by the origin and the line, and is the (oriented) angle from the -axis to this segment.
It may be useful to express the equation in terms of the angle \alpha=\varphi+\pi/2 between the -axis and the line. In this case, the equation becomes r=\frac p {\sin (\theta-\alpha)}, with and . These equations can be derived from the normal form of the line equation by setting x = r \cos\theta, \quad y = r \sin\theta, and then applying the angle difference identity for sine or cosine.
These equations can also be proven geometrically by applying right triangle definitions of sine and cosine to the right triangle that has a point of the line and the origin as vertices, and the line and its perpendicular through the origin as sides. The previous forms do not apply for a line passing through the origin, but a simpler formula can be written: the polar coordinates of the points of a line passing through the origin and making an angle of \alpha with the -axis, are the pairs (r, \theta) such that r\ge 0,\qquad \text{and} \quad \theta=\alpha \quad\text{or}\quad \theta=\alpha +\pi.
Line segment
A line segment is a part of a line that is bounded by two distinct end points and contains every point on the line between its end points. Depending on how the line segment is defined, either of the two end points may or may not be part of the line segment.
Two or more line segments may have some of the same relationships as lines, such as being parallel, intersecting, or skew, but unlike lines they may be none of these, if they are coplanar and either do not intersect or are collinear.
See also
Affine transformation Coordinate axis Curve Distance between two parallel lines Distance from a point to a line Flat (geometry) Incidence (geometry) Line segment Generalised circle Locus Plane (geometry) Polyline
External links
Equations of the Straight Line at Cut-the-Knot
Text derived from https://en.wikipedia.org/w/index.php?oldid=1376009825 under CC BY-SA 4.0; modifications have been made.