Straight Line: Definition, Properties & Slope
Straight Line: Definition, Properties & Slope
TL;DR
A straight line is a one-dimensional figure that extends infinitely in both directions, has no curves, and keeps a constant slope throughout. This article covers the definition and properties, what slope means and how to find it, a brief tour of the equation forms, and six worked examples.
What Is a Straight Line?
A straight line is a one-dimensional figure that extends infinitely in both directions, has no thickness, no curves, and maintains a single constant direction from end to end. Because it never stops, a true straight line has no length you can measure: it is the idea of "perfectly straight, forever," not a mark of fixed size.
Two points are enough to pin one down. The rule geometry leans on constantly is this: through any two distinct points, exactly one straight line can be drawn. A line is named either by two points on it, written AB↔\overleftrightarrow{AB}AB with a double arrow to show it runs both ways, or by a single lowercase letter such as line lll. The double arrow is the giveaway that you are looking at a full line rather than a bounded line segment.
Properties of a Straight Line
Everything that makes a straight line useful comes from its one defining habit: it never changes direction. The properties below are that single idea, seen from different angles.
Infinite length. A straight line runs forever both ways, so it has no measurable length, unlike a segment, which is the bounded piece between two endpoints.
One dimension. A line has length but no width and no thickness, which is why it has zero area and zero volume.
Constant slope. The steepness never changes along a straight line; pick any two points on it and you get the same slope. This is the property that separates a straight line from a curve.
Two points determine it. Exactly one straight line passes through two distinct points, while infinitely many lines can pass through a single point.
No curves. Every part of the line points the same way; the moment the direction changes, it is no longer straight.
What Is the Slope of a Straight Line?
The single most-asked question about straight lines is also the most useful one to answer carefully. What is the slope of a straight line, and how do you find it? The slope, written mmm, measures how steep the line is, the rate at which it rises or falls as you move along it. It is the change in yyy divided by the change in xxx between any two points, "rise over run":
m=y2−y1x2−x1.m = \frac{y_2 - y_1}{x_2 - x_1}.
Here y2−y1y_2 - y_1 is the vertical change (rise) and x2−x1x_2 - x_1 is the horizontal change (run). The formula comes straight from the meaning of steepness: how much the line climbs for each step it takes sideways. Because a straight line has a constant slope, you can pick any two points on it and the ratio comes out the same, which is exactly the test for straightness.
Slope comes in four kinds, and naming them lets you read a line's direction at a glance before any arithmetic.
| Slope | Sign of mmm | Direction of the line |
|---|---|---|
| Positive | m>0m > 0 | Rises from left to right |
| Negative | m<0m < 0 | Falls from left to right |
| Zero | m=0m = 0 | Flat, a horizontal line |
| Undefined | run is 000 | Vertical line; you cannot divide by zero |
The undefined case trips up the most students, so it is worth its own line. A vertical line has no horizontal change at all, so the run is 000, and dividing by zero is undefined, which is why a vertical line's slope is undefined rather than "infinite." (Slope is also the entry point to the rate of change idea that runs through calculus.)
The Equation Forms of a Straight Line, Briefly
Every straight line can be written as an equation linking xxx and yyy, and the form you pick depends on what you already know. Here is the short tour.
Slope-intercept form: y=mx+cy = mx + c, where mmm is the slope and ccc is the yyy-intercept (where the line crosses the yyy-axis). The most common form for graphing.
Point-slope form: y−y1=m(x−x1)y - y_1 = m(x - x_1), used when you know one point and the slope.
General form: ax+by+c=0ax + by + c = 0, a tidy way to write any line, including vertical ones.
Examples of the Straight Line
With the definition, the properties, and slope in hand, here is the concept doing real work. The problems build from reading a slope off an equation up to a constant-slope check.
Example 1 - Find the slope of the line through (0,0)(0, 0) and (2,6)(2, 6)
m=6−02−0=62=3.m = \frac{6 - 0}{2 - 0} = \frac{6}{2} = 3.
Final answer: m=3.
Example 2 - Find the slope of the line through (−2,5)(-2, 5) and (4,−7)(4, -7)
Done correctly, keep both subtractions in the same order: m=−7−54−(−2)=−126=−2.m = \frac{-7 - 5}{4 - (-2)} = \frac{-12}{6} = -2.
Final answer: m=−2.
Example 3 - A line has equation y=−34x+5y = -\tfrac{3}{4}x + 5.
State its slope and its yyy-intercept
Final answer: slope −34, yyy-intercept 5.
Example 4 - A line passes through (1,4)(1, 4) with slope 2.
Write its equation in slope-intercept form
Final answer: y=2x+2.
Example 5 - A vertical line passes through (3,1)(3, 1) and (3,9)(3, 9).
Find its slope and write its equation
Final answer: slope undefined; equation x=3.
Example 6 - Three points (1,2)(1, 2), (3,6)(3, 6), and (5,10)(5, 10) are given. Do they lie on one straight line?
Final answer: yes, they are on one line of slope 2.
Why the Straight Line Underpins So Much
The straight line looks almost too simple to matter, yet it is the reference every measurement and every machine is built against, and getting it right has real stakes.
Key Takeaways
A straight line is a one-dimensional figure of infinite length, with no curves and a constant direction.
Two distinct points determine exactly one straight line; one point allows infinitely many.
The slope m=y2−y1x2−x1 measures steepness and stays constant along a straight line, which is the test for straightness.
Slope is positive (rising), negative (falling), zero (horizontal), or undefined (vertical, zero run).
The most common slips are treating a line as having a length, mismatching subtraction order in the slope, or calling a vertical slope "zero" instead of undefined.
Practice These Problems to Solidify Your Understanding
- Find the slope of the line through (−1,2) and (3,−6).
- A line has equation y=4x−7. State its slope and yyy-intercept.
- Do the points (0,1), (2,5), and (4,8) lie on one straight line? Justify using slopes.