Analytical Geometry: Definition Formulas and Examples

#Analytical Geometry
TL;DR
Analytical geometry gives every point coordinates, so lines and curves become equations and geometry questions become algebra. Its core formulas, distance, midpoint, section and slope, are familiar ideas (Pythagoras, averages, rise over run) in coordinates.
Vaishali Tomar·reviewed byShikha SharmaLast updated on December 2, 202613 min read

Key Points

  • Analytical geometry, also called analytic, coordinate or Cartesian geometry, describes figures with coordinates and equations.
  • The distance formula is the Pythagoras theorem applied to the run and rise between two points.
  • The midpoint is the average of the endpoints, and a section point is a weighted average of them.
  • A circle with centre (h,k)(h, k) and radius rr is (x−h)2+(y−k)2=r2(x - h)^2 + (y - k)^2 = r^2.
  • Descartes published the method in 1637; Fermat reached it independently in the 1630s.

How Did a Fly on a Ceiling Turn Geometry into Algebra?

A fly on a ceiling, the story goes, showed René Descartes how two numbers fix a spot.

  • The fly is probably a legend, but the idea reshaped mathematics.
  • Give the plane a grid, and every point becomes a pair of numbers and every line an equation.

Where does the line y=x+1y = x + 1 cut the circle x2+y2=5x^2 + y^2 = 5? In analytical geometry you solve two equations.

  1. Substitute the line into the circle: x2+(x+1)2=5x^2 + (x + 1)^2 = 5.
  2. Simplify: x2+x−2=0x^2 + x - 2 = 0, so x=1x = 1 or x=−2x = -2.
  3. The meeting points are (1,2)(1, 2) and (−2,−1)(-2, -1), with no drawing needed.
analytical geometry turns a circle and a line into equations whose common solutions are the crossing points
A grid with the green circle x² + y² = 5 and the blue line y = x + 1 crossing at the orange points (1, 2) and (−2, −1), the two solutions of the equations taken together.
  • That trade, a picture for a calculation, is the base of coordinate geometry, calculus and computer graphics.

What Is Analytical Geometry?

Analytical geometry studies shapes through a coordinate grid and algebra.

  • A point becomes a pair of numbers, an ordered pair (x,y)(x, y) on the Cartesian plane.
  • A figure becomes an equation. A line, circle or parabola is every point that fits one equation.
  • A question becomes algebra. "How far apart?" and "Where do they meet?" are answered by calculation.
  • Analytic, analytical, coordinate and Cartesian geometry all name it, the last after the Cartesian coordinate system.

Who Invented Analytical Geometry?

Two Frenchmen built it in the 1600s on a Greek's work.

  • Apollonius of Perga (around 200 BCE) wrote the Conics and named the ellipse, parabola and hyperbola, describing each in words.
  • René Descartes (1596 to 1650) published La Géométrie in 1637, naming lengths with letters to write curves as equations.
  • Pierre de Fermat (1601 to 1665) found the same idea independently in the 1630s, printed only in 1679.
  • Fermat saw that first-degree equations give straight lines and second-degree ones give conics (the curves Apollonius named).
  • Linking algebra and geometry this way later made calculus possible.

What Are the Main Formulas in Analytical Geometry?

Each formula takes two points A(x1,y1)A(x_1, y_1) and B(x2,y2)B(x_2, y_2) and writes an old idea in coordinates.

The distance formula: Pythagoras in coordinates

d=(x2−x1)2+(y2−y1)2d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}
  • The run x2−x1x_2 - x_1 and the rise y2−y1y_2 - y_1 meet at a right angle, so the Pythagoras theorem gives the distance.
  • For A(−2,−1)A(-2, -1) and B(4,7)B(4, 7): run 66, rise 88, AB=100=10AB = \sqrt{100} = 10.
the distance formula is the Pythagoras theorem on the run and rise between two points
A grid with A(−2, −1) and B(4, 7) joined by an orange hypotenuse of length 10. A blue run of 4 − (−2) = 6 and a green rise of 7 − (−1) = 8 make the right triangle, with the note 6² + 8² = 100 = 10².
  • Squaring removes the sign, so the order of subtraction does not matter. The distance formula article has more practice.

The midpoint and section formulas: averages in disguise

M=(x1+x22, y1+y22)M = \left(\frac{x_1 + x_2}{2},\ \frac{y_1 + y_2}{2}\right)
  • The midpoint averages the x-coordinates and the y-coordinates.
  • The point dividing ABAB in the ratio m:nm : n is a weighted average:
P=(mx2+nx1m+n, my2+ny1m+n)P = \left(\frac{m x_2 + n x_1}{m + n},\ \frac{m y_2 + n y_1}{m + n}\right)
  • From A(−4,−1)A(-4, -1) to B(5,5)B(5, 5): (−1,1)(-1, 1) for 1:21 : 2, (2,3)(2, 3) for 2:12 : 1, midpoint (0.5,2)(0.5, 2).
the midpoint is the average of the endpoints and the section point is a weighted average
The segment from A(−4, −1) to B(5, 5) cut into three equal steps of run 3 and rise 2, landing on (−1, 1) for the ratio 1 : 2 and (2, 3) for 2 : 1, with the purple midpoint at (0.5, 2).

The slope formula and the equation of a line

The slope is rise over run:

m=y2−y1x2−x1,x1≠x2m = \frac{y_2 - y_1}{x_2 - x_1}, \qquad x_1 \ne x_2
  • A line keeps one slope, so (x,y)(x, y) is on it when y−y1=m(x−x1)y - y_1 = m(x - x_1), the point-slope form.
  • That rearranges to y=mx+cy = mx + c. Through (−3,−1)(-3, -1) and (3,3)(3, 3): y=23x+1y = \frac{2}{3}x + 1.
  • (6,5)(6, 5) fits that line; (5,−2)(5, -2) does not.
a line in analytical geometry is every point whose coordinates satisfy its equation
A grid with the blue line through (−3, −1) and (3, 3), a green run of 6 and rise of 4 giving slope 2/3, the y-intercept 1, the point (6, 5) that fits the equation and the point (5, −2) that does not.
  • Equal slopes mean parallel; slopes multiplying to −1-1 mean perpendicular. Others meet at the angle between two lines.

The circle equation: a distance condition

A circle is every point at distance rr from a centre (h,k)(h, k):

(x−h)2+(y−k)2=r2(x - h)^2 + (y - k)^2 = r^2
  • Centre (2,−1)(2, -1), radius 3: (x−2)2+(y+1)2=9(x - 2)^2 + (y + 1)^2 = 9.
  • (3.8,1.4)(3.8, 1.4) is on it: 1.82+2.42=91.8^2 + 2.4^2 = 9. Under 9 is inside; over 9 is outside.
the equation of a circle comes from the distance formula
A green circle with centre (2, −1) and radius 3. Blue radii run to the points (5, −1), (2, 2), (3.8, 1.4) and (−0.4, −2.8), and the label 1.8² + 2.4² = 9 checks one of them. The equation (x − 2)² + (y + 1)² = 9 is written beside it.

Try It Yourself

Use the coordinate lab to see Analytical Geometry at work: drag, change the numbers and watch what happens.

What Are the Types of Analytical Geometry?

The formulas above work on a flat plane, but analytical geometry comes in two types, sorted by dimension.

Type Coordinates Typical objects
Plane (2D) analytical geometry (x,y)(x, y) Points, lines, circles, parabolas, ellipses, hyperbolas
Solid (3D) analytical geometry (x,y,z)(x, y, z) Points, lines, planes, spheres
  • 2D uses the four quadrants. In 3D the distance formula gains a (z2−z1)2(z_2 - z_1)^2 term.

Proving a Theorem With Coordinates

Coordinates can prove facts, such as: the midpoint of a right triangle's hypotenuse is equally far from all three corners.

  1. Place the corners at O(0,0)O(0, 0), A(2a,0)A(2a, 0) and B(0,2b)B(0, 2b).
  2. The midpoint of ABAB is M(a,b)M(a, b).
  3. MO2MO^2, MA2MA^2 and MB2MB^2 all equal a2+b2a^2 + b^2. With a=4a = 4, b=3b = 3, all are 5.
a coordinate proof that the midpoint of the hypotenuse is equidistant from the three vertices
A right triangle with corners O(0, 0), A(8, 0) and B(0, 6). The midpoint M(4, 3) of the hypotenuse is joined to all three corners by orange segments of length 5, and a dashed purple circle centred at M passes through O, A and B.
  • The hard part is placing the axes well, not the algebra.

Examples of Analytical Geometry

Example 1

Find the distance between A(−3,4)A(-3, 4) and B(5,−2)B(5, -2).

  1. Run =8= 8, rise =−6= -6.
  2. d=64+36=10d = \sqrt{64 + 36} = 10.

Final answer: 10 units.

Example 2

Find the midpoint of the segment joining A(−3,5)A(-3, 5) and B(7,−1)B(7, -1).

  1. Subtracting and halving gives (5,−3)(5, -3), but y=−3y = -3 is lower than both ends: wrong.
  2. The midpoint formula averages: (−3+72,5+(−1)2)\left(\frac{-3 + 7}{2}, \frac{5 + (-1)}{2}\right).

Final answer: (2,2)(2, 2).

Example 3

Find the slope and the equation of the line through P(2,3)P(2, 3) and Q(6,11)Q(6, 11).

  1. m=84=2m = \frac{8}{4} = 2.
  2. y−3=2(x−2)y - 3 = 2(x - 2), so y=2x−1y = 2x - 1. Check: 2(6)−1=112(6) - 1 = 11. ✓

Final answer: slope 2; y=2x−1y = 2x - 1.

Example 4

Find the point that divides the segment from A(2,3)A(2, 3) to B(8,9)B(8, 9) in the ratio 1:21 : 2.

  1. P=(8+43,9+63)=(4,5)P = \left(\frac{8 + 4}{3}, \frac{9 + 6}{3}\right) = (4, 5).
  2. Check: a third of run 6 and rise 6 from AA lands on (4,5)(4, 5). ✓

Final answer: (4,5)(4, 5).

Example 5

Show that the triangle A(−2,1)A(-2, 1), B(2,−1)B(2, -1), C(4,3)C(4, 3) has a right angle at BB.

  1. AB2=20AB^2 = 20, BC2=20BC^2 = 20, AC2=40AC^2 = 40, and 20+20=4020 + 20 = 40.
  2. Slopes −12-\frac{1}{2} and 22 multiply to −1-1, confirming it.

Final answer: right-angled at BB, and isosceles since AB=BCAB = BC.

testing for a right angle with squared side lengths and with slopes
The triangle A(−2, 1), B(2, −1), C(4, 3) with a right-angle mark at B, labelled AB² = 20 with slope −1/2, BC² = 20 with slope 2, and AC² = 40.

Example 6

Write the equation of the circle with centre (2,−1)(2, -1) and radius 3, and decide whether (0,1)(0, 1) is inside it.

  1. (x−2)2+(y+1)2=9(x - 2)^2 + (y + 1)^2 = 9.
  2. For (0,1)(0, 1): 4+4=8<94 + 4 = 8 < 9.

Final answer: the point is inside.

Where Do Students Trip Up on Analytical Geometry?

Most slips are lost minus signs or mixed-up formulas.

Mistake 1: Mixing the order in the slope formula

  • Where it slips in: Working fast with two points.
  • Don't do this: Take y-values one way and x-values the other.
  • The correct way: Start from the same point on top and below; 11−36−2\frac{11 - 3}{6 - 2} and 3−112−6\frac{3 - 11}{2 - 6} both give 2.

Mistake 2: Squaring the coordinates instead of the difference

  • Where it slips in: The distance formula, under time pressure.
  • Don't do this: Write (x2−x1)2(x_2 - x_1)^2 as x22−x12x_2^2 - x_1^2.
  • The correct way: Subtract first, then square: 32+42=253^2 + 4^2 = 25, distance 5.

Mistake 3: Losing a minus sign

  • Where it slips in: A negative coordinate such as −3-3.
  • Don't do this: Write 5−35 - 3 for the run from −3-3 to 55.
  • The correct way: Bracket substituted coordinates: 5−(−3)=85 - (-3) = 8, not 2.

Mistake 4: Reading the centre of a circle with the wrong sign

  • Where it slips in: Equations like (x+3)2+(y−4)2=25(x + 3)^2 + (y - 4)^2 = 25.
  • Don't do this: Say the centre is (3,−4)(3, -4).
  • The correct way: In (x+3)2+(y−4)2=25(x + 3)^2 + (y - 4)^2 = 25, the centre is (−3,4)(-3, 4) and the radius 5.

Where Is Analytical Geometry Used?

It runs wherever a position must be described with numbers.

  • GPS. Each satellite distance puts the receiver on a sphere. Four satellites fix the position and correct its clock.
  • Games. Two round objects touch when their centres are closer than the sum of their radii.
  • Maps. Straight-line distance comes from the distance formula; the road route is longer.
straight-line distance from the distance formula compared with the distance along city streets
A flat city map on a 1 km grid. Home at (1, 2) and school at (7, 10). The orange dashed straight line is √(6² + 8²) = 10 km; the blue route along the streets goes 6 km east and 8 km north, 14 km in all.

Conclusion

  • Analytical geometry describes figures with coordinates and equations, so shapes can be calculated rather than only drawn.
  • Distance is Pythagoras on the run and rise; the midpoint is an average and the section point a weighted average.
  • A line keeps one slope, and a circle is a distance condition, (x−h)2+(y−k)2=r2(x - h)^2 + (y - k)^2 = r^2.
  • To take analytical geometry further with a teacher, explore Bhanzu's geometry tutor or high school math tutor sessions, or browse math classes online.

Read More

Practice These to Solidify Your Understanding

  1. Find the distance between A(−2,1)A(-2, 1) and B(3,13)B(3, 13).
  2. Find the midpoint of the segment joining (5,−4)(5, -4) and (−1,6)(-1, 6).
  3. Find the slope of the line through (1,−2)(1, -2) and (4,7)(4, 7).

Answer to Question 1: d=52+122=169=13d = \sqrt{5^2 + 12^2} = \sqrt{169} = 13.

Answer to Question 2: M=(5+(−1)2,−4+62)=(2,1)M = \left(\frac{5 + (-1)}{2}, \frac{-4 + 6}{2}\right) = (2, 1).

Answer to Question 3: m=7−(−2)4−1=93=3m = \frac{7 - (-2)}{4 - 1} = \frac{9}{3} = 3.

Then plot A(−4,−2)A(-4, -2), B(4,2)B(4, 2) and C(0,5)C(0, 5) and decide, from side lengths and slopes alone, whether the triangle has a right angle.

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

Research Behind This Article

  1. J. J. O'Connor and E. F. Robertson, biographies of René Descartes, Pierre de Fermat and Apollonius of Perga, MacTutor History of Mathematics, University of St Andrews. mathshistory.st-andrews.ac.uk
  2. OpenStax, College Algebra 2e, Section 2.1: The Rectangular Coordinate Systems and Graphs (distance and midpoint formulas). openstax.org
  3. GPS.gov (U.S. government), GPS: The Global Positioning System. gps.gov
  4. OpenStax, Calculus Volume 3, Section 2.2: Vectors in Three Dimensions (3D distance formula). openstax.org

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 is analytical geometry in simple words?
The study of shapes using coordinates and algebra: each point is a pair of numbers and each shape an equation.
Is analytical geometry the same as coordinate geometry?
Yes. Analytic, analytical, coordinate and Cartesian geometry name the same subject.
What are the basic formulas of analytical geometry?
Distance, midpoint, section point and slope. The line and circle equations are built from these.
Who is called the father of analytical geometry?
René Descartes, for La Géométrie (1637). Pierre de Fermat developed the same method independently, so many historians credit both.
Why is it called "analytical"?
In older mathematics, "analysis" meant naming the unknowns and solving for them. Descartes did that with lengths in a figure.
Does analytical geometry work in three dimensions?
Yes: points become (x,y,z)(x, y, z) and the distance formula gains a third squared term. GPS uses this version.
✍️ Written By
Vaishali Tomar
Vaishali Tomar
Subject Matter Expert
Vaishali Tomar is an educator and content specialist with over four years of experience teaching and developing learning resources for students from UKG to Grade 8. At Bhanzu, she creates lesson plans, assessments and educational content that simplify math through structured, student-friendly learning. She holds an M.Sc. in Computer Science and co-founded Qeemle, an online magazine, during her college years, which built her skills in content creation and editing.
LinkedIn
🔬 Reviewed By
Shikha Sharma
Subject Matter Expert
Book a FREE Demo ClassBook Now →