Coordinate geometry
Reading position saved on this browser; this is not a completion record.
Learning objectives
Connect distances, midpoints, slopes, and perpendicularity to geometric figures; write and interpret circle equations; complete the square; analyze translations, radii, tangency, and intersections; use algebra to confirm what a graph suggests.
Distance, midpoint, and direction
For points (x1, y1) and (x2, y2), the horizontal and vertical displacements form the legs of a right triangle. The Pythagorean theorem gives the distance formula:
d
The midpoint averages the corresponding coordinates:
M
If a midpoint and one endpoint are known, work backward: x2
For a nonvertical line, its slope is m
A line through (x0, y0) with slope m has equation y − y0
A circle equation is a distance statement
A circle with center (h, k) and positive radius r has equation
(x − h)2 + (y − k)2
This simply says that the squared distance from (x, y) to the fixed center is r2. Every point on the circle satisfies the equation. Conversely, every real point satisfying the equation lies on the circle.
For a point above and to the right of the center, the signed coordinate differences are also the positive leg lengths shown. Squaring makes the equation valid in every direction.
Read signs and squares carefully
The center of (x + 2)2 + (y − 5)2
For center (h, k) and radius r, the extreme coordinates are
xmin
To classify a point, compare its squared distance to r2: less means inside the disk, equal means on the circle, and greater means outside. No square roots are needed for that comparison.
Completing the square reveals center and radius
Expanded equations hide the center. The key identity is
x2 + Dx
Halve the linear coefficient, then square it. Do this separately for the x terms and the y terms. If you add a number to one side of the equation, add the same number to the other side. For the normalized equation x2 + y2 + Dx + Ey + F
(x + )2 + (y + )2
Thus the center is (−D/2, −E/2), and the right side is r2. Use this as a summary of completing the square, not as a formula to apply before normalizing the equation.
Normalize first; then check that a circle exists If the coefficients of x2 and y2 are the same nonzero number, divide the entire equation by that number first. In the resulting standard form, a positive right side gives a circle; zero gives only its center point; a negative right side gives no real points. Unequal squared-term coefficients do not give this standard circle form merely by completing the square.
Transformations, tangency, and intersections
Translating a circle right by a and up by b changes its center from (h, k) to (h + a, k + b) without changing its radius. Multiplying the radius by q multiplies the right side r2 by q2. A dilation about the origin also multiplies the center coordinates by q; an enlargement about the circle’s own center does not move the center. Always identify the transformation’s fixed point.
A circle tangent to the x-axis has radius |k|; one tangent to the y-axis has radius |h|. More generally, the radius equals the perpendicular distance from the center to the tangent line.
To find a line-circle intersection, substitute the line’s equation into the circle equation. The resulting quadratic typically has two, one, or no real solutions, matching a secant, tangent, or disjoint line. For a quadratic Au2 + Bu + C
A graph is a useful check on location and the number of intersections. An exact algebraic calculation is still preferable when the answer is a radical or when a parameter must produce exact tangency. Use equal axis scales when visually judging distances or whether a graph looks circular.
15 worked examples
5.01. Distance between two points
Find the distance between (−3, 2) and (5, 8).
Show worked solutionHide worked solution for example 5.01
Recognize the structure. Use the horizontal change 8 and vertical change 6 as right-triangle legs.
Work it through. The distance is
d = = = = 10.
Answer: 10 units.
Avoid the trap. Subtract coordinates of the same type: x from x and y from y. Also keep the double negative in 5 − (−3). The order of both point differences may be reversed because the differences are squared.
5.02. Recover an endpoint from a midpoint
The midpoint of segment AB is (1, 3). If A = (−6, 9), what are the coordinates of B?
Show worked solutionHide worked solution for example 5.02
Recognize the structure. The midpoint averages the endpoint coordinates, so reverse that averaging process.
Work it through. Let B
= 1 u = 8, = 3 v = −3.
Answer: (8, −3).
Key takeaway. The displacement from A to the midpoint is (7, −6). Moving that same displacement again reaches (8, −3), providing a geometric check.
5.03. A perpendicular line through a specified point
Line l passes through (2, −1) and (6, 7). Find an equation of the line perpendicular to l that passes through (4, 3).
Show worked solutionHide worked solution for example 5.03
Recognize the structure. Find the original slope, take its negative reciprocal, then use the specified point.
Work it through. The slope of l is (7 − (−1))/(6 − 2) = 8/4 = 2. The perpendicular slope is −1/2. Using point-slope form, y − 3 = −(x − 4) y = − x + 5.
Answer: y
Avoid the trap. A negative reciprocal is −1/2, not −2. Check both the slope product, 2(−1/2)
5.04. Write a circle equation from center and radius
A circle has center (−2, 5) and radius 7. Write its equation.
Show worked solutionHide worked solution for example 5.04
Recognize the structure. Substitute the signed center coordinates into (x − h)2 + (y − k)2
Work it through. Use h
(x − (−2))2 + (y − 5)2
Answer: (x + 2)2 + (y − 5)2
Key takeaway. The point (−2, 12) is 7 units directly above the center; substituting it gives 0 + 49
5.05. Read the rightmost point, not just the radius
A circle is represented by (x − 4)2 + (y + 3)2 = 20. What is the largest possible x-coordinate of a point on the circle? A) 4 + 20 B) 4 + 2 C) 2 D) −4 + 2
Show worked solutionHide worked solution for example 5.05
Recognize the structure. The rightmost point is one radius to the right of the center.
Work it through. The center is (4, −3) and the radius is
Answer: B, 4 + 2. Another efficient route. Since (y + 3)2 ≥ 0, the largest possible (x − 4) occurs when y
5.06. A point on the circle gives the radius squared
A circle is centered at (3, −2) and passes through (9, 6). Write its equation.
Show worked solutionHide worked solution for example 5.06
Recognize the structure. The radius is the distance from the center to the given point, but the equation needs only its square.
Work it through. Compute
r2 = (9 − 3)2 + (6 − (−2))2 = 62 + 82 = 100.
Answer: (x − 3)2 + (y + 2)2
Key takeaway. There is no need to take a square root and then square again. The radius is 10, but using the squared distance directly is more efficient.
5.07. A diameter gives both center and radius
A diameter of a circle has endpoints (−4, 1) and (8, 7). Write the circle’s equation.
Show worked solutionHide worked solution for example 5.07
Recognize the structure. The center is the midpoint of the diameter, not either endpoint.
Work it through. The midpoint is (, )
Using either endpoint, r2 = (8 − 2)2 + (7 − 4)2 = 36 + 9 = 45.
Answer: (x − 2)2 + (y − 4)2
Avoid the trap. The endpoint-to-endpoint squared distance is 180. That is d2
5.08. Complete the square in both variables
A circle has equation x2 + y2 − 10x + 6y − 15 = 0. Find its center and radius.
Show worked solutionHide worked solution for example 5.08
Recognize the structure. Group the variable terms, move the constant, and add the two completing-square amounts to both sides.
Work it through. Rearrange and complete:
x2 − 10x + y2 + 6y
Answer: Center (5, −3); radius 7.
Avoid the trap. The added amounts are (−10/2)2
5.09. Normalize before completing the square
A circle has equation 2x2 + 2y2 + 12x − 8y − 24 = 0. Find its radius.
Show worked solutionHide worked solution for example 5.09
Recognize the structure. The common coefficient of the squared terms is 2, so divide the entire equation by 2 first.
Work it through. After dividing, x2 + y2 + 6x − 4y − 12
Then (x2 + 6x + 9) + (y2 − 4y + 4)
Answer: 5 units.
Avoid the trap. Halving only some coefficients changes the equation. Normalization must include the constant term as well as both linear terms.
5.10. Translate the center and enlarge the radius
A circle has equation (x + 1)2 + (y − 4)2 = 9. Its center is translated 5 units right and 2 units down. A new circle at that translated center has twice the original radius. Write the new circle’s equation.
Show worked solutionHide worked solution for example 5.10
Recognize the structure. Treat center movement and radius scaling as separate operations.
Work it through. The original center is (−1, 4) and its radius is 3. The new center is (−1 + 5, 4 − 2)
Answer: (x − 4)2 + (y − 2)2
Avoid the trap. Doubling the radius multiplies r2 by 4, not by 2. Also, moving right makes the center’s x-coordinate larger even though the equation contains x − 4.
5.11. Tangency to an axis determines a constant
The equation x2 + y2 − 8x + 4y + c = 0 represents a circle tangent to the x-axis. What is c?
Show worked solutionHide worked solution for example 5.11
Recognize the structure. Complete the square to identify the center; its distance from the x-axis must equal the radius.
Work it through. Rewriting gives (x − 4)2 + (y + 2)2
Answer: 16.
Key takeaway. The tangent point is (4, 0). Substituting it into the original equation with c
5.12. A horizontal line cuts a circle
The line y = 3 intersects the circle (x − 2)2 + (y + 1)2 = 25 at two points. What is the distance between those points?
Show worked solutionHide worked solution for example 5.12
Recognize the structure. Substitute the common y-coordinate; then the distance is the difference of the two x-coordinates.
Work it through. At y
Thus x
Answer: 6 units.
Another efficient route. The center-to-chord distance is 4 and the radius is 5. Half the chord is
5.13. Exact tangency through a discriminant
For a positive constant b, line y = 3x + b is tangent to the circle x2 + y2 = 25. What is b?
Show worked solutionHide worked solution for example 5.13
Recognize the structure. Tangency means the substituted quadratic has exactly one real solution.
Work it through. Substitute y
x2 + (3x + b)2 = 25 10x2 + 6bx + (b2 − 25) = 0.
Set the discriminant to zero:
(6b)2 − 4(10)(b2 − 25) = 0 36b2 − 40b2 + 1000 = 0.
Therefore b2
Answer: 5.
Avoid the trap. A graph that looks tangent does not establish the exact parameter. Also, b is a y-intercept, not the radius; the line’s perpendicular distance from the origin is smaller than b.
5.14. An inscribed rectangle from circle coordinates
A rectangle has vertices (a, 6), (−a, 6), (−a, −6), and (a, −6), where a > 0. All four vertices lie on x2 + y2 = 100. What is the rectangle’s area?
Show worked solutionHide worked solution for example 5.14
Recognize the structure. One vertex determines a; symmetry gives the full width and height.
Work it through. Substitute (a, 6) into the circle equation:
a2 + 36 = 100 a2 = 64 a = 8.
The width is 8 − (−8)
Answer: 192 square units.
Avoid the trap. a and 6 are half-dimensions. Multiplying 8 by 6 gives only one quarter of the rectangle’s area.
5.15. Find a center using a perpendicular bisector
A circle passes through A = (1, 2) and B = (5, 2). Its center lies on the line y = 2x − 1. Write the circle’s equation.
Show worked solutionHide worked solution for example 5.15
Recognize the structure. A center is equidistant from A and B, so it lies on the perpendicular bisector of chord AB.
Work it through. The chord is horizontal and has midpoint (3, 2), so its perpendicular bisector is x
r2 = (1 − 3)2 + (2 − 5)2 = 4 + 9 = 13.
Answer: (x − 3)2 + (y − 5)2
Key takeaway. Two points alone do not determine a unique circle. The added center-line condition selects a unique center here because it intersects the perpendicular bisector at one point.
Mastery check and error prevention
Translate standard form into center and radius without hesitation, then reverse the process. Complete the square in expanded equations while keeping both sides balanced. Explain why a tangent gives one intersection, and distinguish a circle’s radius from its squared radius or diameter.
A compact graphing check
For Example 5.12, graph the circle and the horizontal line as two equations, then compare the intersection coordinates with (−1, 3) and (5, 3). The algebra establishes the exact result; the graph checks that both points, the horizontal chord, and the center are in the expected positions. Do not infer an exact radical from a rounded coordinate display.