Collinearity: Conditions to Check If Points Lie on One Line

#Collinearity
TL;DR
Collinearity is the property of three or more points lying on one straight line. Equal slopes, AB+BC=ACAB + BC = AC, zero triangle area, a zero determinant or parallel vectors all test it, and they always agree.
Kota Jaya Mounika·reviewed byShikha SharmaLast updated on December 2, 202614 min read

Key Points

  • Any two points are collinear, so the question starts with three points.
  • Three points are collinear when x1(y2−y3)+x2(y3−y1)+x3(y1−y2)=0x_1(y_2 - y_3) + x_2(y_3 - y_1) + x_3(y_1 - y_2) = 0: their triangle has zero area.
  • The slope, area, determinant and vector tests are one equation rearranged.
  • If the area is not zero, CC lies 2×areaAB\frac{2 \times \text{area}}{AB} from line ABAB.
  • In every triangle, the orthocentre, centroid and circumcentre are collinear.

Three Points, One Ruler

Lay a ruler across three dots: either it touches all three, or one sits off the edge. That is collinearity. Then the dots get coordinates like (1.2,0.62)(1.2, 0.62), (2.4,1.18)(2.4, 1.18) and (3.6,1.83)(3.6, 1.83), and the eye can no longer tell.

Some of geometry's biggest surprises live here. In every triangle ever drawn, three special centres line up on one line, a fact Leonhard Euler worked out in the 1760s.

collinear points lie on one line while non-collinear points enclose a triangle
Two panels on grids. Left: A(1, 2), B(3, 4) and C(5, 6) all on one green line, area 0. Right: P(1, 1), Q(4, 2) and R(2, 5) enclosing an orange triangle of area 5.5.

What Is Collinearity?

Collinearity is the condition of points lying on the same straight line; such points are called collinear.

  • Points not all on one line are non-collinear; three of them form a triangle.
  • Two points are always collinear: exactly one line passes through them.
  • So every test asks whether the third point lands on the line through the first two.
  • Collinear vectors lie along the same line too. For worked problems, see collinear points.

What Is the Condition for Collinearity?

Three points A(x1,y1)A(x_1, y_1), B(x2,y2)B(x_2, y_2) and C(x3,y3)C(x_3, y_3) are collinear if any one of these holds; one check is enough.

Test Condition Best when
Slope y2−y1x2−x1=y3−y2x3−x2\dfrac{y_2 - y_1}{x_2 - x_1} = \dfrac{y_3 - y_2}{x_3 - x_2} coordinates are small whole numbers
Distance longest distance = sum of the other two lengths are already known
Area x1(y2−y3)+x2(y3−y1)+x3(y1−y2)=0x_1(y_2 - y_3) + x_2(y_3 - y_1) + x_3(y_1 - y_2) = 0 you want one calculation with no division
Determinant ∣x1y11x2y21x3y31∣=0\begin{vmatrix} x_1 & y_1 & 1 \\ x_2 & y_2 & 1 \\ x_3 & y_3 & 1 \end{vmatrix} = 0 you are working with matrices
Vector AB⃗=k AC⃗\vec{AB} = k\,\vec{AC}, or AB⃗×AC⃗=0⃗\vec{AB} \times \vec{AC} = \vec{0} the points are in 3D
Equation CC satisfies the equation of line ABAB you already have that equation

How Do You Check Collinearity Using Slope?

Find the slope of ABAB and of BCBC; if they are equal, the points are collinear.

slope of AB=y2−y1x2−x1slope of BC=y3−y2x3−x2\text{slope of } AB = \frac{y_2 - y_1}{x_2 - x_1} \qquad \text{slope of } BC = \frac{y_3 - y_2}{x_3 - x_2}
  • A line has the same slope (steepness) everywhere. Different slopes mean a turn at BB.
  • The two slopes must share a point. Equal slopes for ABAB and CDCD only show parallel segments.
equal slopes mean collinear points and unequal slopes mean a bend
Two panels. Left: A(1, 1), B(3, 2), C(7, 4) with rise-run steps of 1 over 2 and 2 over 4, both slope 0.5, collinear. Right: A(0, 0), B(2, 3), C(4, 5) with slopes 1.5 then 1, so the path bends at B.
  • If two points share an x-coordinate, the slope is undefined. Then all three must share it, on a vertical line.

How Do You Check Collinearity Using Distance?

If the two shorter distances add up to the longest, the points are collinear.

  • If BB is on segment ACAC, walking A→B→CA \to B \to C covers exactly ACAC. Off the line, the walk is a detour.
  • This is the triangle inequality, with equality only for a flat "triangle".
  • Compare square roots exactly, not as rounded decimals.
collinear points make AB + BC equal AC, while a point off the line makes a longer detour
Two panels. Left: A(1, 1), B(2, 2), C(4, 4) with AB about 1.41, BC about 2.83 and AC about 4.24, so AB + BC = AC. Right: B moved to (2, 3), so AB and BC are each about 2.24 and their sum 4.47 is more than AC = 4.24.

How Do You Check Collinearity Using the Area of a Triangle?

Work out the area of the triangle the three points would make; if it is zero, they are collinear.

  • Area is 12×base×height\frac{1}{2} \times \text{base} \times \text{height}, and the height drops to 00 when the point reaches the line.
as the third point reaches the line the triangle's area drops to zero
Three panels with A(0, 0) and B(6, 0) fixed. C(3, 2) gives area 6, C(3, 1) gives area 3, and C(3, 0) on the line gives area 0.

With coordinates, the area of a triangle is

Area=12 ∣x1(y2−y3)+x2(y3−y1)+x3(y1−y2)∣\text{Area} = \frac{1}{2}\,\bigl|x_1(y_2 - y_3) + x_2(y_3 - y_1) + x_3(y_1 - y_2)\bigr|
  • Collinear when x1(y2−y3)+x2(y3−y1)+x3(y1−y2)=0x_1(y_2 - y_3) + x_2(y_3 - y_1) + x_3(y_1 - y_2) = 0.
  • The 12\frac{1}{2} and the absolute-value bars do not change whether it is zero.
  • No division, so no undefined-slope trap.

Try It Yourself

In the tool, drag the corners and watch the area, worked out two ways. Bring one corner into line and it clicks into place, area 00. "Show me: box and subtract" shows where the formula comes from.

How Do You Check Collinearity Using Determinants?

The points are collinear when this 3×33 \times 3 determinant equals zero.

∣x1y11x2y21x3y31∣=0\begin{vmatrix} x_1 & y_1 & 1 \\ x_2 & y_2 & 1 \\ x_3 & y_3 & 1 \end{vmatrix} = 0
  • It is the area expression in disguise: expanding along the last column gives it back.
  • Use it once you know the determinant of a matrix.

How Do You Check Collinearity Using Vectors?

AA, BB, CC are collinear when AB⃗\vec{AB} is a multiple of AC⃗\vec{AC}: AB⃗=k AC⃗\vec{AB} = k\,\vec{AC}.

  • Equivalently, AB⃗×AC⃗=0⃗\vec{AB} \times \vec{AC} = \vec{0}.
  • Both arrows start at AA, so they must lie on one line.
  • This test also works in 3D, where there is no single slope.
AB is two-thirds of AC so the three points are collinear
The points A(1, 1), B(3, 5) and C(4, 7) on a grid with the orange arrow AB = (2, 4) lying along the blue arrow AC = (3, 6), both on one dashed line, since (2, 4) is two-thirds of (3, 6).

Why Every Test Gives the Same Answer

The slope, area, determinant and vector tests are one equation rearranged.

  1. Start with equal slopes from AA: y2−y1x2−x1=y3−y1x3−x1\frac{y_2 - y_1}{x_2 - x_1} = \frac{y_3 - y_1}{x_3 - x_1}.
  2. Cross-multiply: (x2−x1)(y3−y1)−(x3−x1)(y2−y1)=0(x_2 - x_1)(y_3 - y_1) - (x_3 - x_1)(y_2 - y_1) = 0.
  3. That is the 2D cross product of AB⃗\vec{AB} and AC⃗\vec{AC}: the vector test.
  4. Multiply it out and it becomes the area expression, which is also the determinant.

The distance test reaches the same verdict through the triangle inequality, but square roots make it the clumsiest.

What Are the Properties of Collinear Points?

Collinear points enclose no area, share one slope and always have one point between the others.

  • Any two points are collinear.
  • Every pair gives the same slope, or all share a vertical line.
  • One point lies between the other two.
  • Sliding or evenly stretching a figure keeps collinear points collinear.

Examples of Collinearity

Example 1

Use the slope test on A(1,1)A(1, 1), B(3,2)B(3, 2) and C(7,4)C(7, 4).

  1. Slope AB=2−13−1=12AB = \frac{2 - 1}{3 - 1} = \frac{1}{2}.
  2. Slope BC=4−27−3=12BC = \frac{4 - 2}{7 - 3} = \frac{1}{2}.

Final answer: equal slopes through BB, so collinear.

Example 2

A student sees A(0,0)A(0, 0), B(2,3)B(2, 3) and C(4,5)C(4, 5), notices the x-values are evenly spaced, and calls them collinear. Right?

  1. Even x-spacing says nothing about y.
  2. Slope AB=1.5AB = 1.5, slope BC=1BC = 1. Different.
  3. Area test: 0(3−5)+2(5−0)+4(0−3)=−20(3 - 5) + 2(5 - 0) + 4(0 - 3) = -2, so the area is 11.

Final answer: not collinear.

Example 3

Use the distance test on A(1,1)A(1, 1), B(2,2)B(2, 2) and C(4,4)C(4, 4).

  1. AB=2AB = \sqrt{2}, BC=22BC = 2\sqrt{2}, AC=32AC = 3\sqrt{2}.
  2. 2+22=32\sqrt{2} + 2\sqrt{2} = 3\sqrt{2} exactly.

Final answer: collinear, with BB in the middle.

Example 4

Use the determinant test on A(1,1)A(1, 1), B(2,3)B(2, 3) and C(3,5)C(3, 5).

  1. ∣111231351∣=1(3−5)−1(2−3)+1(10−9)\begin{vmatrix} 1 & 1 & 1 \\ 2 & 3 & 1 \\ 3 & 5 & 1 \end{vmatrix} = 1(3 - 5) - 1(2 - 3) + 1(10 - 9).
  2. =−2+1+1=0= -2 + 1 + 1 = 0.

Final answer: collinear.

Example 5

Find kk so that A(2,3)A(2, 3), B(4,k)B(4, k) and C(6,7)C(6, 7) are collinear.

  1. Equal slopes through BB: k−32=7−k2\frac{k - 3}{2} = \frac{7 - k}{2}.
  2. k−3=7−kk - 3 = 7 - k, so k=5k = 5.
  3. Check: 2(5−7)+4(7−3)+6(3−5)=02(5 - 7) + 4(7 - 3) + 6(3 - 5) = 0.

Final answer: k=5k = 5.

Example 6

Are A(1,2,3)A(1, 2, 3), B(3,6,7)B(3, 6, 7) and C(4,8,9)C(4, 8, 9) collinear?

  1. In 3D, use vectors: AB⃗=(2,4,4)\vec{AB} = (2, 4, 4) and AC⃗=(3,6,6)\vec{AC} = (3, 6, 6).
  2. Ratios: 32=64=64=1.5\frac{3}{2} = \frac{6}{4} = \frac{6}{4} = 1.5, so AC⃗=1.5 AB⃗\vec{AC} = 1.5\,\vec{AB}.

Final answer: collinear, with CC beyond BB.

Where Do Students Trip Up on Collinearity?

Most errors come from trusting the picture or the decimals instead of one clean test.

Mistake 1: Judging by eye

Where it slips in: Plotted points look lined up, as in Example 2.

Don't do this: Skip the calculation.

The correct way: Run one test. An area of 11 looks like zero on a small graph.

Mistake 2: Stopping at an undefined slope

Where it slips in: Two points share an x-coordinate.

Don't do this: Treat "undefined" as proof of not collinear.

The correct way: Check if all three x-values match, or use the area test. (2,−1)(2, -1), (2,3)(2, 3), (2,8)(2, 8) lie on x=2x = 2.

Mistake 3: Reading a negative area expression as "not collinear"

Where it slips in: The expression comes out negative, like the −2-2 in Example 2.

Don't do this: Draw meaning from the sign, or drop a minus to force zero.

The correct way: Only zero means collinear. The sign just reflects the order of the points.

Mistake 4: Comparing rounded square roots

Where it slips in: The distance test with lengths like 2\sqrt{2} and 8\sqrt{8}.

Don't do this: Compare 1.41+2.831.41 + 2.83 with 4.244.24.

The correct way: Compare exactly, 2+22=32\sqrt{2} + 2\sqrt{2} = 3\sqrt{2}, or use the area test.

How Far From Collinear Is a Point?

When the answer is no, the area still helps: CC is 2×AreaAB\frac{2 \times \text{Area}}{AB} away from line ABAB. This comes from area =12×base×height= \frac{1}{2} \times \text{base} \times \text{height}.

  • For A(0,0)A(0, 0), B(6,2)B(6, 2), C(2,3)C(2, 3): Area =12∣0+6(3−0)+2(0−2)∣=7= \frac{1}{2}\left|0 + 6(3 - 0) + 2(0 - 2)\right| = 7.
  • AB=40≈6.32AB = \sqrt{40} \approx 6.32, so CC is 146.32≈2.21\frac{14}{6.32} \approx 2.21 units off.
the distance from C to line AB is twice the area divided by AB
The triangle A(0, 0), B(6, 2), C(2, 3) with area 7 shaded, line AB extended dashed, and the perpendicular from C to the line marked 2.21 units.

Measured points always carry small errors, so computers ask whether this distance is below a tolerance.

A Famous Collinearity: the Euler Line

In every triangle, the orthocentre HH (where the altitudes meet), the centroid GG (where the medians meet) and the circumcentre OO (centre of the circle through the corners) are collinear. Euler wrote this up in 1763; it was published in 1767.

Check it on A(0,0)A(0, 0), B(6,0)B(6, 0), C(2,4)C(2, 4):

  • Centroid: average the corners, G=(83,43)G = \left(\frac{8}{3}, \frac{4}{3}\right).
  • Circumcentre: on x=3x = 3, the perpendicular bisector of ABAB, giving O=(3,1)O = (3, 1).
  • Orthocentre: altitudes x=2x = 2 and y=xy = x meet at H=(2,2)H = (2, 2).
  • Slopes HGHG and GOGO are both −1-1. Collinear, with HG=2×GOHG = 2 \times GO.
the orthocentre, centroid and circumcentre of a triangle lie on the Euler line
The triangle A(0, 0), B(6, 0), C(2, 4) with its circumcircle, two dashed altitudes meeting at H(2, 2), the centroid G(8/3, 4/3) and circumcentre O(3, 1), all three on one green line, with HG about 0.943 and GO about 0.471.

Where Is Collinearity Used?

Wherever things must line up, or a computer must decide if a point adds anything.

  • Map routes: software drops any recorded point whose triangle with its neighbours has a tiny area.
  • Surveying: lining up fence posts or survey pegs by sighting along them.
  • Navigation: two landmarks seen one behind the other put the boat on one known line.
nearly collinear points are removed to simplify a route
A recorded route of 8 points on a pale green map. Each middle point is labelled with the area of the triangle it makes with its neighbours; the points with areas 0.04, 0.05 and 0.02 are hollow and dropped, and the 5 kept points still trace the route.

Conclusion

In short:

  • Collinearity asks if the third point lands on the line through the first two.
  • Slope, area, determinant and vector tests are one equation in four forms.
  • The area test never divides; the vector test also works in 3D.
  • When the answer is no, the area tells you how far off the point is.

To take coordinate-geometry proofs further with a teacher, explore Bhanzu's geometry tutor or high school math tutor sessions, or browse math classes online.

Practice These to Solidify Your Understanding

Use two tests where you can, and check they agree.

  1. Are A(1,3)A(1, 3), B(2,5)B(2, 5) and C(4,9)C(4, 9) collinear? Use slopes.
  2. Find kk so that (1,2)(1, 2), (3,k)(3, k) and (5,8)(5, 8) are collinear.
  3. Use the area condition on (0,0)(0, 0), (2,2)(2, 2) and (3,3)(3, 3).
  4. Are X(−1,4)X(-1, 4), Y(1,1)Y(1, 1) and Z(5,−5)Z(5, -5) collinear?

Answers:

  1. Both slopes are 2: collinear.
  2. k−22=8−24=1.5\frac{k - 2}{2} = \frac{8 - 2}{4} = 1.5, so k=5k = 5.
  3. 0+2(3−0)+3(0−2)=00 + 2(3 - 0) + 3(0 - 2) = 0: collinear.
  4. Yes; both slopes are −32-\frac{3}{2}.

If two of your tests disagree, redo the work with the area test, which has no fractions.

Want a live Bhanzu trainer to take your child through coordinate geometry step by step? Book a free demo class, online globally, or in person at our McKinney, TX center.

Read More

Research Behind This Article

  1. Euclid, Elements, Book I, Postulate 1 (a straight line can be drawn from any point to any point), with commentary by D. E. Joyce, Clark University. mathcs.clarku.edu
  2. Euclid, Elements, Book I, Proposition 20 (the triangle inequality), with commentary by D. E. Joyce, Clark University. mathcs.clarku.edu
  3. OpenStax, College Algebra 2e, Section 4.1: Linear Functions (a line has one constant slope). openstax.org
  4. OpenStax, Calculus Volume 3, Section 2.4: The Cross Product (parallel vectors have a zero cross product). openstax.org
  5. The Euler Archive, University of the Pacific, Solutio facilis problematum quorundam geometricorum difficillimorum (E325; written 1763, published 1767; the collinearity of the triangle's centres). scholarlycommons.pacific.edu

Quick Quiz: Check Yourself

Three levels, questions with figures, instant feedback with the reason.

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What does collinearity mean?
That three or more points all lie on the same straight line.
What is the condition for collinearity of three points, using the area formula?
x1(y2−y3)+x2(y3−y1)+x3(y1−y2)=0x_1(y_2 - y_3) + x_2(y_3 - y_1) + x_3(y_1 - y_2) = 0. Then the triangle has zero area.
Are two points always collinear?
Yes. Exactly one straight line passes through any two points.
Why do all the collinearity tests give the same answer?
They are one equation in different forms. Cross-multiplied equal slopes give the cross product, which expands to the area expression.
What is the difference between collinearity and collinear points?
Collinearity is the property; collinear points are points that have it.
What is the difference between collinear points and collinear vectors?
Collinear points lie on one line. Collinear vectors point along the same or parallel lines: one is a number times the other.
✍️ Written By
Kota Jaya Mounika
Kota Jaya Mounika
Subject Matter Expert
Kota Jaya Mounika is a mathematics educator and content development professional with 2 years of experience. She previously worked as a Mathematics Instructor at NIAT, teaching B.Tech students and developing educational resources. At Bhanzu, she specializes in developing and reviewing mathematics content for Grades 6–8, focusing on conceptual understanding, problem-solving, and content accuracy. She is passionate about making mathematics simple, engaging, and accessible. She holds a B.Sc. in Mathematics and Statistics and a postgraduate degree in Computer Applications.
LinkedIn
🔬 Reviewed By
Shikha Sharma
Subject Matter Expert
Book a FREE Demo ClassBook Now →