Describing points, lines and circles in the plane by numerical coordinates and equations.
IntuitionTurning Geometry into Algebra
In a city laid out on a numbered street grid, you can locate any building with just two numbers: how many blocks east and how many blocks north of the town square. Coordinate geometry applies the same idea to the Euclidean plane: by fixing two perpendicular number lines meeting at an origin, every point becomes an ordered pair of numbers, every line becomes a first-degree equation, and every circle becomes a second-degree equation. Geometric questions about intersections, distances, and tangency turn into algebraic calculations.
Interactive coordinate plane plotting a line with adjustable slope and intercept
With a=0 and b=0, the polynomial curve reduces to the line y=cx+d (or cx−y+d=0); adjust the slope c and vertical intercept d to see how the equation controls the line in the coordinate plane.
SchoolCoordinates, Lines, and Circles
Definition: Cartesian Coordinates and the Distance Formula
In the Cartesian plane Oxy with unit basis vectors i=(1,0) and j=(0,1), each point M has unique coordinates M(x,y) defined by OM=xi+yj. Given two points A(x1,y1) and B(x2,y2), the displacement vector is AB=(x2−x1,y2−y1), the midpoint of segment AB is I(2x1+x2,2y1+y2), and the distance between A and B is AB=(x2−x1)2+(y2−y1)2.
Every straight line Δ in the plane can be written in the general equationax+by+c=0 with a2+b2>0. The nonzero vector n=(a,b) is a normal vector perpendicular to Δ, while u=(−b,a) is a direction vector parallel to Δ because n⋅u=a(−b)+ba=0. The perpendicular distance from any point M0(x0,y0) to the line Δ is given by d(M0,Δ)=a2+b2∣ax0+by0+c∣.
(x−a)2+(y−b)2=R2⟺x2+y2−2ax−2by+c=0(R=a2+b2−c>0)
A circle with center I(a,b) and radius R>0 consists of all points M(x,y) at distance R from I; squaring IM=R yields the standard circle equation (x−a)2+(y−b)2=R2. Expanding the squares produces the general form x2+y2−2ax−2by+c=0, which represents a real circle whenever a2+b2−c>0, with center I(a,b) and radius R=a2+b2−c.
For any two points A(x1,y1) and B(x2,y2) in the Cartesian plane, the distance between them is AB=(x2−x1)2+(y2−y1)2.
Why is it true?
Dropping lines parallel to the axes from A and B forms a right triangle whose legs have lengths ∣x2−x1∣ and ∣y2−y1∣, so the hypotenuse AB follows directly from the Pythagorean theorem.
Proof
Introduce the auxiliary point C(x2,y1), which shares the second coordinate y1 with A(x1,y1) and the first coordinate x2 with B(x2,y2).
The segment AC is parallel to the first axis with length AC=∣x2−x1∣, while the segment CB is parallel to the second axis with length CB=∣y2−y1∣. Since the two coordinate axes are perpendicular, ∠ACB=90∘.
Applying the Pythagorean theorem to the right triangle △ACB gives AB2=AC2+CB2=∣x2−x1∣2+∣y2−y1∣2=(x2−x1)2+(y2−y1)2. Taking the nonnegative square root yields AB=(x2−x1)2+(y2−y1)2 (which also holds when x1=x2 or y1=y2).
The perpendicular distance from a point M0(x0,y0) to a line Δ:ax+by+c=0 (with a2+b2>0) is d(M0,Δ)=a2+b2∣ax0+by0+c∣.
Why is it true?
The shortest segment from M0 to Δ runs along the normal direction n=(a,b), so projecting the vector from any point on Δ to M0 onto the unit normal ∣n∣n measures the exact perpendicular distance.
Proof
Let H(xH,yH) be the orthogonal projection of M0(x0,y0) onto Δ. Because HM0 is parallel to the normal vector n=(a,b), there exists a scalar t∈R such that HM0=tn=(ta,tb), which gives xH=x0−ta and yH=y0−tb.
Since H lies on Δ, its coordinates satisfy axH+byH+c=0. Substituting xH and yH yields a(x0−ta)+b(y0−tb)+c=0, or ax0+by0+c−t(a2+b2)=0.
Solving for t gives t=a2+b2ax0+by0+c. Therefore the distance is d(M0,Δ)=∣HM0∣=∣t∣∣n∣=a2+b2∣ax0+by0+c∣a2+b2=a2+b2∣ax0+by0+c∣.
UndergraduateReal-World Applications and Worked Examples
Coordinate geometry powers geographic information systems (GIS), autonomous navigation, and collision detection in robotics. By representing roads as line equations and broadcast ranges or safety zones as circle equations, software can instantly compute whether a vehicle is drifting off course or entering a restricted radius.
Example: Shortest Access Road from a Station to a Highway
On a coordinate map (in kilometers), a straight highway follows the line Δ:3x+4y−12=0 and a rescue station is located at M0(4,5). Find the length of the shortest straight access road connecting M0 to the highway Δ.
Solution
The shortest road from M0(4,5) to the line Δ:3x+4y−12=0 is the perpendicular segment, whose length is given by the point-to-line distance formula with a=3, b=4, and c=−12.
Substituting (x0,y0)=(4,5) gives d(M0,Δ)=32+42∣3(4)+4(5)−12∣=25∣12+20−12∣=520=4 km.
Example: Radar Coverage Circle and Tangent Flight Path
A radar tower at I(1,−2) tracks aircraft within a radius of R=5 km. Write the equation of the coverage boundary circle and verify whether an aircraft flying along the line Δ:3x−4y−20=0 skims tangentially along the boundary.
Solution
With center I(1,−2) and radius R=5, the coverage boundary circle has equation (x−1)2+(y+2)2=25.
A line Δ is tangent to the circle if and only if the distance from the center I(1,−2) to Δ equals R. Computing this distance gives d(I,Δ)=32+(−4)2∣3(1)−4(−2)−20∣=5∣3+8−20∣=59=1.8 km. Since d(I,Δ)=1.8<5=R, the flight path cuts across the interior of the radar zone rather than skimming tangentially.
What is the distance AB between the points A(−1,2) and B(2,6)?
Which of the following is a normal vector n of the line Δ:2x−5y+7=0?
What is the perpendicular distance from the point M0(1,2) to the line Δ:3x+4y−6=0?
A Wi-Fi router at I(3,−4) covers a circular area of radius R=6 m. Which equation describes the boundary circle of its signal range?