Solve coordinate geometry problems instantly. Calculate distance between two points, midpoint, slope, line equation, centroid, triangle area, and collinearity with animated visual and step-by-step solutions.
Coordinate geometry, also known as analytic geometry, is the branch of mathematics that bridges algebra and geometry by using a coordinate system to describe geometric shapes. Developed independently by René Descartes and Pierre de Fermat in the 17th century, it allows us to solve geometric problems using algebraic equations and vice versa.
This calculator covers the seven most essential operations in coordinate geometry: computing the distance between two points, finding the midpoint of a segment, calculating the slope of a line, deriving the equation of a line through two points, locating the centroid of a triangle, computing the area of a triangle from its vertices, and testing whether three points are collinear. Each operation includes a complete step-by-step derivation so you can follow the logic behind every formula.
Understanding these concepts is critical not only for academic success in mathematics but also for practical applications in engineering, computer graphics, geographic information systems (GIS), physics, and data science. The distance formula, for instance, is a direct application of the Pythagorean theorem, while the slope formula captures the fundamental idea of rate of change that underpins calculus.
Distance between A(1, 2) and B(4, 6): d = √((4−1)² + (6−2)²) = √(9 + 16) = √25 = 5 units. Midpoint of A(1, 2) and B(4, 6): M = ((1+4)/2, (2+6)/2) = (2.5, 4). Slope of line through A(1, 2) and B(4, 6): m = (6−2)/(4−1) = 4/3 ≈ 1.333. Area of triangle with vertices A(0,0), B(4,0), C(0,3): A = ½|0(0−3) + 4(3−0) + 0(0−0)| = ½|12| = 6 square units.
Given the points
Distance formula
Substitute the known values
Compute the result