Circles: Circumference, Area, Angles and Equations
Geometry Numbers Proof Computing
Quick answer
A circle is the set of all points in a plane that lie the same distance, the radius, from a fixed point, the center. Its circumference is C=2π r and the disk it encloses has area A=π r^2, where π≈3.14159 is the ratio of circumference to diameter. An inscribed angle is half the central angle on the same arc, a tangent is perpendicular to the radius, and a circle with center (h,k) has the equation (x-h)^2+(y-k)^2=r^2.
Key takeaways
- Every point of a circle is at distance r from the center; the diameter d=2r is the longest chord, and all circles are similar, which is why π=\frac Cd is the same for every circle.
- Circumference C=2π r and area A=π r^2; π is irrational and transcendental, so 3.14, (22)/(7) and (355)/(113) are only approximations.
- A central angle of θ cuts off the fraction (θ)/(360) of the circle: arc =(θ)/(360)·2π r=rθ in radians, sector =\frac12r^2θ, and 180^\circ=π radians.
- An inscribed angle is half the central angle on the same arc; so an angle in a semicircle is 90^\circ (Thales) and opposite angles of a cyclic quadrilateral add up to 180^\circ.
- A tangent is perpendicular to the radius, the two tangents from an outside point are equal with length √(OP^2-r^2), and for crossing chords PA· PB=PC· PD.
- The circle with center (h,k) and radius r is (x-h)^2+(y-k)^2=r^2; comparing a squared distance with r^2 decides whether a point is inside, on or outside, and a line or another circle can be tested the same way.
What is a circle?
A circle is the set of all points in a plane that are the same distance, called the radius, from one fixed point, called the center. The circle is only the curve; the curve together with its inside is the disk, and in everyday language "the area of a circle" means the area of the disk.
| Part | Meaning |
|---|---|
| Center | the fixed point O |
| Radius | a segment from the center to the circle; its length is r |
| Diameter | a chord through the center; its length is d=2r, the longest possible chord |
| Chord | a segment joining two points of the circle |
| Arc | the piece of the circle between two points |
| Sector | the region between two radii and the arc between them, like a slice of pizza |
| Segment | the region between a chord and its arc |
| Secant | a line through two points of the circle |
| Tangent | a line that touches the circle at exactly one point |
| Circumference | the length of the circle itself |
A circle is perfectly symmetric: every line through the center is a line of symmetry, and turning the circle by any angle about the center leaves it unchanged. It is also similar to every other circle, since one is a scaled copy of the other (the same idea as similar triangles). That is the reason the ratio of circumference to diameter is one number for all circles.
What is π, and how do you find the circumference and area of a circle?
The number π≈3.14159 is the ratio of the circumference of any circle to its diameter, so the circumference is C=π d=2π r, and the area of the disk is A=π r^2.
| Known | Circumference | Area |
|---|---|---|
| radius r | 2π r | π r^2 |
| diameter d | π d | (π d^2)/(4) |
| circumference C | C | (C^2)/(4π) |
| area A | 2√(π A) | A |
Why π r^2? Cut the disk into many thin sectors and lay them side by side, alternately pointing up and down. They form a shape that looks more and more like a rectangle as the slices get thinner. Its height is r and its width is half the circumference, π r, so the area is π r· r=π r^2.
For r=7 the circumference is 14π≈43.98 and the area is 49π≈153.94. Keep π as a symbol as long as you can: the answer "49π" is exact, while 153.94 is rounded. A ring (annulus) between radii R and r has area π R^2-π r^2=π(R-r)(R+r); for R=10 and r=6 that is 64π≈201.06.
What kind of number is π? It is irrational, so no fraction equals it, and transcendental, so it is not the solution of any polynomial equation with whole-number coefficients, a fact that ends the old puzzle of squaring the circle; see pi, e and transcendental numbers. Its first digits are 3.14159 26535 89793. Useful fractions come from rational approximations: 3.14 is off by 0.05\%, (22)/(7)≈3.142857 by 0.04\%, and (355)/(113)≈3.1415929 by less than 0.00001\%.
A word problem: a round pond has a diameter of 14 m and is to be fenced, with π≈(22)/(7). The fence is C=(22)/(7)·14=44 m long, and at 12 dollars per meter it costs 44·12=528 dollars.
Archimedes found bounds for π by squeezing the circle between two polygons. The tool below repeats his doubling, from the hexagon to a polygon with thousands of sides.
Interactive: trapping pi with polygons
Double the sides of a polygon inside and outside a circle, as Archimedes did, and watch the two bounds close in on pi.
How do you find arc length, sector area and segment area?
A central angle of θ cuts off the fraction (θ)/(360) of the circle, so the arc is that fraction of the circumference and the sector is that fraction of the disk; the segment is the sector minus the triangle of the two radii and the chord.
| Quantity | θ in degrees | θ in radians |
|---|---|---|
| Arc length | (θ)/(360)·2π r | rθ |
| Sector area | (θ)/(360)·π r^2 | \frac12r^2θ |
| Chord length | 2r\sin(θ)/(2) | 2r\sin(θ)/(2) |
| Segment area | sector - triangle | \frac12r^2(θ-\sinθ) |
Radians. One radian is the central angle whose arc is exactly as long as the radius. A full turn has (2π r)/(r)=2π radians, so 180^\circ=π rad and 1 rad≈57.2958^\circ. In radians the arc is simply rθ, which is why mathematics prefers them.
| Degrees | 30^\circ | 45^\circ | 60^\circ | 90^\circ | 180^\circ | 360^\circ |
|---|---|---|---|---|---|---|
| Radians | (π)/(6) | (π)/(4) | (π)/(3) | (π)/(2) | π | 2π |
Examples. For r=6 and θ=120^\circ the fraction is \frac13, so the arc is \frac13·12π=4π≈12.57 and the sector is \frac13·36π=12π≈37.70. This is the multiplication of fractions with π carried along. For r=10 and θ=90^\circ: arc 5π≈15.71, sector 25π≈78.54, chord 10√2≈14.14 and segment 25π-50≈28.54, since the triangle has area \frac12·10·10=50.
Choose a radius (or any of the other three quantities) and slide the angle below.
Interactive: circumference, area, arcs and sectors
Give a radius, diameter, circumference or area, then slide the central angle to see the arc length, sector, chord and segment, with exact multiples of pi.
What are the angle theorems of a circle?
An inscribed angle (a vertex on the circle) is half the central angle on the same arc, and from this one theorem come the right angle in a semicircle, equal angles in the same segment and the 180^\circ of a cyclic quadrilateral.
- Central angle. An angle at the center measures the same, in degrees, as the arc it cuts off.
- Inscribed angle theorem. An angle \angle APB with P on the circle is half the central angle \angle AOB on the same arc: central 120^\circ gives inscribed 60^\circ.
- Same segment. Inscribed angles on the same arc are equal, wherever P moves on the other part of the circle.
- Thales. If AB is a diameter, the arc is 180^\circ, so every inscribed angle \angle APB is 90^\circ. The converse is the fact that the circumcenter of a right triangle is the midpoint of its hypotenuse, as in the centers of a triangle.
- Cyclic quadrilateral. If all four vertices lie on a circle, opposite angles add up to 180^\circ, because they are half of two arcs that together make 360^\circ. With \angle A=75^\circ the opposite angle is \angle C=105^\circ. Ptolemy's theorem and Brahmagupta's area formula in the history of quadrilaterals are about these shapes.
- Tangent and radius. A tangent is perpendicular to the radius at the point where it touches.
- Tangent and chord. The angle between a tangent and a chord equals the inscribed angle on the other side of the chord (the alternate segment).
Why one half? Take the case where one side of the angle passes through the center. The triangle OPA is isosceles (OP=OA=r), so its base angles are equal, and the central angle is an exterior angle of that triangle, equal to the sum of the two base angles, as in the angle sum and exterior angle. So the central angle is twice the inscribed one. The general case adds or subtracts two such cases.
Slide the four points below: the inscribed angles on the same side of AB stay equal, and on opposite sides they add up to 180^\circ.
Interactive: angles in a circle
Slide four points around a circle and watch the central angle, the inscribed angles, Thales' right angle and the opposite angles of a cyclic quadrilateral.
What are the rules for chords, tangents and secants?
The perpendicular from the center to a chord cuts the chord in half, a tangent is perpendicular to the radius, and the products of the pieces of crossing chords or secants are equal; all three come from the right triangles that the radius makes.
- Chord and center. If a chord is at distance d from the center, its length is 2√(r^2-d^2). With r=5 and d=3 it is 2√(25-9)=8, the 3–4–5 triangle of the Pythagorean theorem. Equal chords are equally far from the center, and the closer a chord is to the center the longer it is; the diameter (d=0) is the longest.
- Two tangents. From a point P outside the circle there are two tangents, and the two tangent segments have equal length √(OP^2-r^2). With r=5 and OP=13 the length is √(169-25)=12, the 5–12–13 triangle.
- Crossing chords. If two chords AB and CD cross at P inside the circle, then PA· PB=PC· PD. For PA=3, PB=8 and PC=4 we get PD=6, since 3·8=4·6=24.
- Secants and tangents. From a point P outside, two secants give PA· PB=PC· PD, and a tangent PT and a secant give PT^2=PA· PB. For the tangent 12 above and the secant through the center, PA=13-5=8 and PB=13+5=18, and 8·18=144=12^2.
All of these say one thing: the number |PO|^2-r^2, the power of the point P, is negative inside the circle, zero on it and positive outside, and for every line through P that meets the circle at A and B the product PA· PB equals its absolute value. Radicals like 2√(r^2-d^2) are often best left in simplified form.
What is the equation of a circle?
The circle with center (h,k) and radius r is the set of points (x,y) with (x-h)^2+(y-k)^2=r^2, because that says the squared distance to the center is r^2. For the center (3,-2) and r=5 it is (x-3)^2+(y+2)^2=25.
Expanding (see expanding brackets) gives the general form x^2+y^2+Dx+Ey+F=0 with D=-2h, E=-2k and F=h^2+k^2-r^2. Our circle is x^2+y^2-6x+4y-12=0. To go back, complete the square in x and in y: x^2-6x=(x-3)^2-9 and y^2+4y=(y+2)^2-4, so (x-3)^2+(y+2)^2=12+9+4=25. The general form describes a real circle only when r^2=(D^2)/(4)+(E^2)/(4)-F is positive.
Where is a point? Compare the squared distance (x-h)^2+(y-k)^2 with r^2: smaller means inside, equal means on the circle, larger means outside. For the circle above, (0,0) gives 13<25 (inside), (8,-2) gives 25 (on it) and (9,5) gives 85>25 (outside).
Through three points. Three points that are not on one line lie on exactly one circle, the circumcircle of the triangle they form. The circle through (0,0), (6,0) and (0,8) has center (3,4), the midpoint of the hypotenuse, and r=5: (x-3)^2+(y-4)^2=25.
The unit circle. For r=1 and the center at the origin, x^2+y^2=1, and the points are (\cos t,\sin t). Rational points also exist: (\frac35,\frac45) is on it because 3^2+4^2=5^2, the same Pythagorean triple in disguise.
How can a line, a point or another circle meet a circle?
Compare a distance with the radius: a line that is farther than r from the center misses the circle, one at distance exactly r is a tangent, and one closer than r is a secant; two circles are decided the same way by the distance d between their centers.
A line and a circle. Let d be the distance from the center to the line. If d>r there is no common point, if d=r there is exactly one (the line is a tangent, and the point of contact is where the perpendicular from the center lands), and if d<r there are two. Algebraically, substituting the line into (x-h)^2+(y-k)^2=r^2 gives a quadratic equation, and these are its cases: no solution, one double solution, two solutions. For the circle x^2+y^2=25 the line y=3 is at distance 3 and meets it at (±4,3), the line x=5 at distance 5 touches it at (5,0), and the line x=6 misses it.
Two circles with radii r_1,r_2 and center distance d lie in one of these ways, where \delta=|r_1-r_2| is the difference of the radii:
| Distance between the centers | How the circles lie |
|---|---|
| d>r_1+r_2 | apart, outside each other |
| d=r_1+r_2 | touching from outside, one common point |
| \delta<d<r_1+r_2 | crossing in two points |
| d=\delta | touching from inside, one common point |
| d<\delta | one inside the other |
With radii 5 and 3 these are the distances d=9, 8, 6, 2 and 1. The tool uses exact fractions, so a tangent is recognized as exactly a tangent. It gives the intersection points in the exact form a+b√ m, and the tangent points from an outside point.
Interactive: lines, points and circles
Place a line, a point or a second circle against a circle and get the exact answer: miss, tangent or secant, the tangent points, and how two circles lie.
How do you work with circles in code?
Keep the squared radius, not the radius, and every question about a circle with whole-number or fraction data becomes an exact comparison of squared distances; use math.pi only for lengths and areas at the end.
from fractions import Fraction as F
from math import pi, sin, cos, radians
def power(c, p): # |PC|² − r²: negative inside, 0 on the circle, positive outside
(h, k, r2), (x, y) = c, p
return (x - h) ** 2 + (y - k) ** 2 - r2
def meets(c, a, b, k): # the line a·x + b·y = k against the circle: none / tangent / secant
h, kk, r2 = c
d2 = F(a * h + b * kk - k) ** 2 / (a * a + b * b) # squared distance from the center to the line
return "none" if d2 > r2 else "tangent" if d2 == r2 else "secant"
def sector(r, deg): # arc length, sector area, segment area
t = radians(deg)
return r * t, r * r * t / 2, r * r * (t - sin(t)) / 2
>>> c = (3, -2, 25) # center (3, -2) and the square of the radius, 25
>>> power(c, (0, 0)), power(c, (8, -2)), power(c, (9, 5))
(-12, 0, 60)
>>> meets((0, 0, 25), 0, 1, 3), meets((0, 0, 25), 1, 0, 5), meets((0, 0, 25), 1, 0, 6)
('secant', 'tangent', 'none')
>>> round(2 * pi * 7, 4), round(pi * 7 ** 2, 4)
(43.9823, 153.938)
>>> 22 / 7, 355 / 113, pi
(3.142857142857143, 3.1415929203539825, 3.141592653589793)
>>> sector(10, 90)
(15.707963267948966, 78.53981633974483, 28.539816339744828)
>>> sin(pi) # should be 0 ...
1.2246467991473532e-16
>>> cos(radians(3)) ** 2 + sin(radians(3)) ** 2 == 1 # ... and this should be exactly 1
Falseconst r = 7 2 * Math.PI * r // 43.982297150257104 Math.PI * r ** 2 // 153.93804002589985 Math.sin(Math.PI) // 1.2246467991473532e-16, not 0 const power = ([h, k, r2], [x, y]) => (x - h) ** 2 + (y - k) ** 2 - r2 power([3, -2, 25], [9, 5]) // 60: outside, exact for whole numbers
#include <iostream>
#include <cstdio>
#include <cmath>
using namespace std;
const double PI = acos(-1.0);
// |PC|^2 - r^2: negative inside, 0 on the circle, positive outside
int power(int h, int k, int r2, int x, int y) {
return (x - h) * (x - h) + (y - k) * (y - k) - r2;
}
// the line a x + b y = c against the circle with center (h, k) and radius^2 = r2:
// compare d^2 = (a h + b k - c)^2 / (a^2 + b^2) with r2, in whole numbers
const char* meets(int h, int k, int r2, int a, int b, int c) {
int num = (a * h + b * k - c) * (a * h + b * k - c);
int rhs = r2 * (a * a + b * b);
if (num > rhs) return "none";
if (num == rhs) return "tangent";
return "secant";
}
int main() {
cout << power(3, -2, 25, 0, 0) << " " << power(3, -2, 25, 8, -2) << " " << power(3, -2, 25, 9, 5) << endl;
cout << meets(0, 0, 25, 0, 1, 3) << " " << meets(0, 0, 25, 1, 0, 5) << " " << meets(0, 0, 25, 1, 0, 6) << endl;
printf("%.4f %.4f\n", 2 * PI * 7, PI * 7 * 7); // circumference and area, r = 7
printf("%.10f %.10f %.10f\n", 22.0 / 7, 355.0 / 113, PI);
double r = 10, t = 90 * PI / 180; // a sector of 90 degrees
printf("%.4f %.4f %.4f\n", r * t, r * r * t / 2, r * r * (t - sin(t)) / 2); // arc, sector, segment
printf("%d\n", fabs(sin(PI)) < 1e-12); // sin(pi) is 1.2e-16, not 0
return 0;
}
/* output:
-12 0 60
secant tangent none
43.9823 153.9380
3.1428571429 3.1415929204 3.1415926536
15.7080 78.5398 28.5398
1
*/The pitfalls, in order of how often they bite:
| Pitfall | What happens | What to do |
|---|---|---|
Testing xx + yy == r*r with floats | rounding makes a point that is on the circle look off it | use whole numbers or Fraction, as in the article on real numbers in code, or math.isclose |
sin(pi) and cos(pi/2) | they are about 1e-16, not 0 | never compare with 0; round or use a tolerance |
Degrees to sin and cos | sin(30) is not 0.5 | convert with radians(30) |
| Using 3.14 or 22/7 for π | the answer is only as good as the approximation | use math.pi and round only the final answer |
| Square root of a negative number | sqrt(d2 - r2) for a tangent length fails inside the circle | check that the power is positive first |
acos or asin of a rounded value | 1.0000000000000002 raises ValueError | clamp the argument to [-1,1] |
| Radius against diameter | the area uses pi d d / 4, not pi * d ** 2 | name the variable r or d and keep to it |
Where does the study of circles come from?
The circle is the oldest curve people studied, and the effort to find π is among the longest in mathematics.
- c. 1800 BCE. Babylonian texts take the circumference to be three times the diameter, and later 3\frac18.
- c. 1650 BCE. Problem 50 of the Rhind Papyrus says that a round field of diameter 9 has the area of a square of side 8, which is π≈\left((16)/(9)\right)^2≈3.16.
- c. 300 BCE. Euclid's Elements, Book III, is the theory of circles: chords, tangents, the inscribed angle (III.20), the right angle in a semicircle (III.31) and the crossing chords (III.35, III.36). Book XII shows that the areas of circles are in the ratio of the squares of their diameters.
- c. 250 BCE. Archimedes, in Measurement of a Circle, squeezes the circle between polygons with 96 sides and proves 3(10)/(71)<π<3\frac17; he also shows that the area of a circle equals that of a right triangle with legs r and C.
- c. 480 CE. Zu Chongzhi in China finds (355)/(113), correct to six decimals, a record that lasted nearly a thousand years.
- c. 1400. Madhava of Sangamagrama finds an infinite series for π, the first of its kind.
- 1706. William Jones uses the Greek letter π for the ratio, and Euler makes the symbol standard in the 1730s.
- 1761 and 1882. Lambert proves that π is irrational and Lindemann that it is transcendental, so the circle cannot be squared with compass and straightedge.
- 1873. James Thomson coins the word radian for an idea Roger Cotes had described in 1714.
What are the common mistakes with circles?
The most common mistakes with circles are the nine below, each with the correct statement.
| Mistake | Correct |
|---|---|
| ❌ The circumference is π r^2 | That is the area. The circumference is 2π r. |
| ❌ Putting the diameter into π r^2 | Halve it first: r=\frac d2, or use (π d^2)/(4). |
| ❌ π equals 3.14 or (22)/(7) | Both are approximations; π is irrational. |
| ❌ The area is in cm, not cm² | Length is in cm, area in cm², volume in cm³. |
| ❌ Arc length is rθ with θ in degrees | That needs radians; with degrees use (θ)/(360)·2π r. |
| ❌ An inscribed angle equals the central angle | It is half of it. |
| ❌ A tangent can cut the circle twice | A tangent has exactly one common point and is perpendicular to the radius. |
| ❌ Some chord is longer than the diameter | The diameter is the longest chord. |
| ❌ A calculator in the wrong mode | Radians against degrees: \sin30 is 0.5 only in degree mode. |
Practice: test your understanding
These questions mix everything above. A wrong answer costs nothing here: read the hint and try again.
True or false?
Decide whether each statement is True or False.
- The number π is exactly (22)/(7).
- The diameter is the longest chord of a circle.
- A tangent is perpendicular to the radius at the point of contact.
- An inscribed angle is twice the central angle on the same arc.
- An angle inscribed in a semicircle is a right angle.
- Opposite angles of a cyclic quadrilateral add up to 180^\circ.
Select all that apply
Choose all the points on the circle x^2+y^2=25.
- (3,4)
- (-5,0)
- (4,4)
- (0,-5)
- (2,5)
A circumference
Find the circumference of a circle of radius 7, using π≈(22)/(7).
An area in terms of π
A circle has diameter 20. Write its area as a multiple of π.
An arc and a sector
A sector has radius 6 and central angle 120^\circ. Write its arc length and its area as multiples of π.
The inscribed angle
The arc AB has a central angle of 100^\circ. What is an inscribed angle \angle APB on that arc?
- 25^\circ
- 50^\circ
- 100^\circ
- 200^\circ
A chord
A chord of length 24 lies in a circle of radius 13. How far is it from the center?
A tangent
A point is 10 from the center of a circle of radius 6. How long is the tangent segment from the point to the circle?
General form
The circle with center (3,-2) and radius 5 is x^2+y^2-6x+4y+F=0. Find F.
Two circles
Two circles have radii 4 and 9, and their centers are 5 apart. How do they lie?
- apart
- touching from outside
- touching from inside
- crossing in two points
A fence
A round garden has a diameter of 28 m and is fenced all round, at 15 dollars per meter. Use π≈(22)/(7). What does the fence cost?
- 1,320 dollars
- 660 dollars
- 9,240 dollars
- 2,640 dollars
Summary: circles at a glance
- Definition: all points at distance r from the center O; diameter d=2r is the longest chord; all circles are similar.
- Measures: C=2π r=π d, A=π r^2; π is irrational and transcendental.
- Arcs and sectors: arc =(θ)/(360)·2π r=rθ, sector =\frac12r^2θ, segment =\frac12r^2(θ-\sinθ); 180^\circ=π rad.
- Angles: inscribed =\frac12 central; 90^\circ in a semicircle; opposite angles of a cyclic quadrilateral sum to 180^\circ; a tangent is perpendicular to the radius.
- Lengths: chord =2√(r^2-d^2); tangent length =√(OP^2-r^2); crossing chords PA· PB=PC· PD; PT^2=PA· PB.
- Equation: (x-h)^2+(y-k)^2=r^2, or x^2+y^2+Dx+Ey+F=0 with r^2=(D^2+E^2)/(4)-F.
- Position: compare a distance with r (point, line) or with r_1± r_2 (two circles).
- Code: keep r^2 and compare squared distances exactly;
math.piand radians only at the end.
Glossary: key terms
- Circle
- The set of all points in a plane that are the same distance from a fixed point called the center.
- Radius
- A segment from the center to a point on the circle, or its length, the distance that defines the circle.
- Diameter
- A chord that passes through the center, with length twice the radius, the longest chord of the circle.
- Chord
- A segment that joins two points on a circle.
- Arc
- The part of a circle between two of its points.
- Sector
- The region of a disk between two radii and the arc between their endpoints.
- Segment
- The region of a disk between a chord and the arc it cuts off.
- Tangent
- A line that touches a circle at exactly one point and is perpendicular to the radius there.
- Secant
- A line that meets a circle in two points.
- Circumference
- The length of the circle itself, equal to pi times the diameter.
- Pi
- The ratio of the circumference of any circle to its diameter, about 3.14159, an irrational and transcendental number.
- Central angle
- An angle whose vertex is the center of the circle, equal in degrees to the arc it cuts off.
- Inscribed angle
- An angle whose vertex is on the circle and whose sides are chords, equal to half the central angle on the same arc.
- Radian
- The central angle whose arc is as long as the radius, so that 180 degrees equals pi radians.
- Cyclic quadrilateral
- A quadrilateral whose four vertices lie on one circle, so that opposite angles add up to 180 degrees.
Frequently asked questions
What is a circle?
A circle is the set of all points in a plane that are the same distance, the radius, from a fixed point, the center. The curve together with its inside is called a disk, and its area is pi times the radius squared.
What is pi?
Pi is the ratio of the circumference of any circle to its diameter, about 3.14159. It is the same for every circle because all circles are similar. It is irrational and transcendental, so it is not exactly 22 over 7 or 3.14.
What are the formulas for the circumference and area of a circle?
The circumference is 2 pi times the radius, which is pi times the diameter. The area is pi times the radius squared. For a radius of 7 the circumference is 14 pi, about 43.98, and the area is 49 pi, about 153.94.
How do you find the length of an arc?
Multiply the circumference by the fraction of the circle, the central angle in degrees divided by 360. In radians the arc is simply the radius times the angle. For radius 6 and 120 degrees the arc is one third of 12 pi, which is 4 pi.
How do you find the area of a sector and a segment?
A sector is the same fraction of the disk as its angle is of 360 degrees, so its area is that fraction times pi r squared. A segment is the sector minus the triangle formed by the two radii and the chord.
What is a radian?
A radian is the central angle whose arc is as long as the radius. A full turn is 2 pi radians, so 180 degrees equals pi radians and one radian is about 57.3 degrees. In radians the arc length is just radius times angle.
What is the inscribed angle theorem?
An inscribed angle, with its vertex on the circle, is half the central angle on the same arc. So all inscribed angles on one arc are equal, an angle in a semicircle is 90 degrees, and opposite angles of a cyclic quadrilateral add up to 180 degrees.
What is Thales' theorem?
If one side of a triangle is a diameter of its circumscribed circle, the angle opposite that side is a right angle. Equivalently, every angle inscribed in a semicircle is 90 degrees, and the circumcenter of a right triangle is the midpoint of its hypotenuse.
What is a tangent to a circle?
A tangent is a line that touches the circle at exactly one point and is perpendicular to the radius at that point. The two tangent segments from a point outside the circle have equal length, the square root of the squared distance to the center minus the squared radius.
What is the equation of a circle?
A circle with center h, k and radius r has the equation x minus h squared plus y minus k squared equals r squared. Expanded it becomes x squared plus y squared plus Dx plus Ey plus F equals 0, and completing the square returns the center and radius.
How do you find the circle through three points?
Three points that are not on one line lie on exactly one circle, the circumcircle of their triangle. Its center is where the perpendicular bisectors of the sides meet, and the radius is the distance from the center to any of the points.
How do you tell whether a line is a tangent or a secant?
Find the distance from the center to the line and compare it with the radius. If the distance is larger the line misses the circle, if it is equal the line is a tangent, and if it is smaller the line is a secant that cuts the circle twice.
How do you check whether a point is inside a circle in code?
Compute the squared distance from the point to the center and compare it with the squared radius, with no square root. Smaller means inside, equal means on the circle and larger means outside. Use integers or fractions, because float equality is unreliable.
References
- Thomas L. Heath (translator) (1908). The Thirteen Books of Euclid's Elements (2nd ed.), Book III (circles) and Book XII, proposition 2. Cambridge University Press.
- Thomas L. Heath (translator) (1897). The Works of Archimedes, Measurement of a Circle. Cambridge University Press.
- Petr Beckmann (1971). A History of Pi. St. Martin's Press.
- H. S. M. Coxeter (1969). Introduction to Geometry (2nd ed.), chapter 2 (circles and angles). Wiley.
- H. S. M. Coxeter and Samuel L. Greitzer (1967). Geometry Revisited, chapter 2 (the circle). Mathematical Association of America.
- Python Software Foundation. The Python Standard Library: math, mathematical functions. docs.python.org. https://docs.python.org/3/library/math.html.
Related articles
- Triangles: Types, Angles, Area, Centers and Congruence: Triangles explained: types by sides and angles, the 180° angle sum, the triangle inequality, area and Heron's formula, centers, congruence and the law of sines.
- Quadrilaterals: Types, Properties, Perimeter and Area: Quadrilaterals explained: square, rectangle, rhombus, parallelogram, kite and trapezoid, their properties, perimeter, area and coordinates, with practice.
- Irrational Numbers: Definition, Examples, Proofs and Approximations: Irrational numbers explained: why √2 is irrational, which roots are, sums and products, π, e, transcendental numbers and fraction approximations, with practice.
- Algebraic Expressions: Terms, Simplifying, Expanding and Factoring: Algebraic expressions explained: terms, like terms, evaluating, expanding brackets, factoring and algebraic fractions, with worked examples and practice.