MathorynMathematical Formula Database

Analytic Geometry

Equation of a Circle

All points at distance rr from the centre (h,k)(h,k) satisfy this equation. Completing the square converts the general form x2+y2+Dx+Ey+F=0x^2+y^2+Dx+Ey+F=0 to it. Use it to graph circles, test whether a point is inside or on a circle and solve intersection problems.

(x−h)2+(y−k)2=r2(x-h)^2+(y-k)^2=r^2
LaTeX(x-h)^2+(y-k)^2=r^2

Variables

(h,k)(h,k)
centre
rr
radius

Example

Is (6,2)(6,2) on the circle with centre (3,−2)(3,-2) and radius 5?

  1. (6−3)2+(2+2)2=9+16=25=52(6-3)^2+(2+2)^2=9+16=25=5^2.

Answer: Yes, the point lies on the circle.

Related formulas