Reference

Formula Sheet

98 equations worth having in your head for the AMC 10/12 and early AIME, numbered from most important to least. Work down the list: if a Tier 1 formula is not instant, it is worth more of your time than any Tier 3 one. Then test yourself in the Formula Drill.

More filters

Quiz me: my whole set Tier 1 Tiers 1+2 Tier 3

Tier 1 · Know cold

Used on almost every contest. If you hesitate on any of these, drill it first.

  1. 1

    Pythagorean theorem Geometry

    a²+b²=c²

    Right triangle: legs a, b; hypotenuse c. Also the engine behind the distance formula. Common triples to recognise: 3-4-5, 5-12-13, 8-15-17, 7-24-25 and their multiples. It only applies when the angle between a and b is 90°. Example: a right triangle with perimeter 30 and hypotenuse 13 has a + b = 17, so ab = (289 − 169)/2 = 60 and the area is 30. A box's space diagonal uses the theorem twice: √(a² + b² + c²). Example: a 10-foot ladder with its top 8 feet up has its foot 6 feet out; if the top slides to 6 feet, the foot is 8 feet out, so it moved 2 feet. A rhombus splits into four right triangles by its diagonals: diagonals 22 and 120 give legs 11 and 60, so the side is 61.

  2. 2

    Area of a triangle Geometry

    K=½ bh

    Base times perpendicular height, over two. Any side can be the base. Triangles on equal bases between the same parallels have equal areas. Two triangles with the same height have areas in the ratio of their bases, and a median splits a triangle into two halves of equal area. Example: if D is on AB with AD : DB = 1 : 4 and triangle ACD has area 7, then ABC has area 7 · 5 = 35, because the two triangles share the height from C. Example: a triangle with base 9 and height 4 has the same area as one with base 6 and height 6. For a triangle inside a box, subtract the corner triangles: (0, 0), (6, 2), (3, 5) fits in a 6 by 5 box, so its area is 30 − 6 − 4.5 − 7.5 = 12.

  3. 3

    Difference of squares Algebra

    a²-b²=(a-b)(a+b)

    The most-used factoring pattern; also turns a product into a difference: 51 × 49 = 50² − 1². It splits big numbers (a² − b² = (a − b)(a + b)) and rationalises denominators such as 1/(√a − √b). In an alternating sum of squares, pair neighbours: 5² − 6² + 7² − 8² = −11 − 15 = −26.

  4. 4

    Square of a sum Algebra

    (a+b)²=a²+2ab+b²

    Remember the middle term; (a − b)² has −2ab. Rearranged: a² + b² = (a + b)² − 2ab, and (a + b)² − (a − b)² = 4ab. Use it to find a² + b² from a sum and a product without solving for a and b. The difference version is (a − b)² = a² − 2ab + b², and (a + b)² − (a − b)² = 4ab. Example: 2026² − 2 · 2026 · 2025 + 2025² = (2026 − 2025)² = 1. Example: x² + 10x + 25 = 64 with x positive gives (x + 5)² = 64, so x = 3. Sums of two squares can cancel the middle terms: (x + 5)² + (x − 5)² = 2x² + 50, which is 82 when x = 4.

  5. 5

    Quadratic formula Algebra

    x=(-b±√(b²-4ac))/2a

    Roots of ax² + bx + c = 0. The discriminant b² − 4ac decides the roots: positive means two real, zero one repeated, negative none real. They add to −b/a and multiply to c/a, and they differ by √(b² − 4ac)/|a|. Example: x² − 6x + 7 = 0 gives 3 ± √2. Example: if x² − 5x + k = 0 has roots differing by 3, the roots are (5 ± 3)/2 = 4 and 1, so k = 4. A repeated root means the discriminant is 0: 2x² − 20x + m = 0 has one solution when 400 − 8m = 0, so m = 50.

  6. 6

    Combinations Counting

    C(n, k)=n!/(k!(n-k)!)

    Choose k of n when order does not matter. C(n, k) = C(n, n − k), and C(n, k) = C(n − 1, k − 1) + C(n − 1, k). 'At least one' problems are often the total minus the none case. A particular person who must be in: choose the rest from the others, so C(12, 5) with one fixed becomes C(11, 4) = 330. All subsets of an n-set number 2ⁿ. Example: three numbers from 1 to 10 with an even sum: C(5, 3) + 5 · C(5, 2) = 60. Splitting 8 people into two unlabeled teams of 4 is C(8, 4)/2 = 35, because swapping the teams changes nothing. Example: C(10, k) is largest at k = 5, the middle of the row. Separate groups multiply: a committee of 3 men and 2 women from 6 men and 5 women can be chosen in C(6, 3) · C(5, 2) = 20 · 10 = 200 ways.

  7. 7

    Permutations Counting

    P(n,k)=n!/((n-k)!)

    Arrange k of n distinct objects in order. P(n, k) = C(n, k) · k!. With repeated letters, divide by the factorials of the repeats: MISSISSIPPI has 11!/(4! 4! 2!) = 34650 arrangements. Around a circle, n distinct objects can be seated in (n − 1)! ways. Example: P(9, 4)/P(9, 3) = 9 − 3 = 6, because the fourth pick has n − 3 choices left. Example: four-digit odd numbers with different digits: 5 choices for the units digit, then 8 for the thousands digit (not 0 and not the units digit), 8 for the hundreds and 7 for the tens, so 5 · 8 · 8 · 7 = 2240. When the last digit has two cases, add them: four-digit numbers with different digits ending in 0 or 5 number 9 · 8 · 7 + 8 · 8 · 7 = 504 + 448 = 952.

  8. 8

    Sum of the first n integers Algebra

    1+2+⋯+n=(n(n+1))/2

    Pair the ends: n/2 pairs each summing to n + 1. For a run that does not start at 1, use T(b) − T(a − 1) or count × (first + last)/2. T(n) is also the number of handshakes among n + 1 people. Example: 1 + 2 + ⋯ + 50 = 1275, so leaving out the multiples of 5 (which add to 275) leaves 1000. Example: from −10 to 25 the terms −10 to 10 cancel, leaving 11 + ⋯ + 25 = 15 · 18 = 270. Two neighbouring triangular numbers add to a square: Tₙ + Tₙ₋₁ = n², so T₇ + T₆ = 28 + 21 = 49.

  9. 9

    Arithmetic series sum Algebra

    Sₙ=(n(a₁+aₙ))/2

    Number of terms times the average of first and last. Count the terms with (last − first)/d + 1. If you know the common difference d instead of the last term, use Sₙ = n(2a₁ + (n − 1)d)/2. The sum of the first n odd numbers is n²; the sum of the first n even numbers is n(n + 1). Example: 3 + 7 + 11 + ⋯ + 43 has 11 terms, so the sum is 11 · 23 = 253. With an odd number of terms the sum is the count times the middle term. For a threshold, test consecutive n: the sum of the first n even numbers is n(n + 1), which is exactly 90 at n = 9, so 10 terms are needed to exceed 90.

  10. 10

    Arithmetic sequence, nth term Algebra

    aₙ=a₁+(n-1)d

    d is the common difference. A list from a to l has (l − a)/d + 1 terms, and the middle of three terms is their average. The sum of n terms is n · (first + last)/2, and aₘ − aₙ = (m − n)d. Example: if the first seven terms add to 84 and the eighth term is 20, the middle term a₄ = 12, so 4d = 20 − 12 = 8, d = 2 and a₁ = 6. Example: if a₄ + a₁₁ = 50, then a₇ + a₈ = 50 too, because both pairs have positions adding to 15. To find where a sequence reaches 0, write a general term: a₂ = 14 and a₆ = 6 give d = −2, so aₙ = 18 − 2n and the zero is the 9th term.

  11. 11

    Geometric sequence, nth term Algebra

    aₙ=a₁rⁿ⁻¹

    r is the common ratio: aₙ = a₁rⁿ⁻¹. A negative ratio flips the sign at every step, and r between −1 and 1 shrinks the terms. aₙ/aₘ = rⁿ⁻ᵐ, and three consecutive terms satisfy b² = ac. Example: three numbers in geometric progression with product 216 and sum 21 have middle term 6, then 6/r + 6 + 6r = 21 gives r = 2 or ½, so the numbers are 3, 6, 12. Example: in 3, 12, 48, … the k-th term is 3 · 4ᵏ⁻¹, which first exceeds 1000 at k = 6 (3072).

  12. 12

    Finite geometric series Algebra

    Sₙ=a(rⁿ-1)/(r-1)

    n terms starting at a with ratio r ≠ 1. For r between −1 and 1 and large n it approaches a/(1 − r), the infinite series. With ratio 2 from 1, n terms add to 2ⁿ − 1. To find the ratio from two sums, use S₆ − S₃ = r³ · S₃. Example: S₃ = 21 and S₆ = 189 give r³ = 168/21 = 8, so r = 2. Example: 5 + 10 + 20 + ⋯ with n terms adds to 5(2ⁿ − 1), which is 5115 for n = 10 and 10235 for n = 11, so at most 10 terms keep the total below 7000. A block of terms is a difference of sums: in 1, 4, 16, 64, 256, … the 3rd through 5th terms add to S₅ − S₂ = 341 − 5 = 336.

  13. 13

    Exponent rule: product Algebra

    a^m·aⁿ=a^(m+n)

    Same base: add exponents. Power of a power multiplies them: (aᵐ)ⁿ = aᵐⁿ. A quotient subtracts: aᵐ/aⁿ = aᵐ⁻ⁿ. With different bases, first rewrite everything as powers of one base (4 = 2², 8 = 2³). Also a⁰ = 1 and a⁻ⁿ = 1/aⁿ. If 2ˣ = 5, then 8ˣ = (2ˣ)³ = 125. Equal terms add up to a multiple: 3¹² + 3¹² + 3¹² = 3¹³, and 4ˣ + 4ˣ + 4ˣ + 4ˣ = 4ˣ⁺¹. Only a product or quotient of the same base combines exponents; a sum does not. Example: 2ˣ⁺² − 2ˣ = 4 · 2ˣ − 2ˣ = 3 · 2ˣ = 24 gives 2ˣ = 8, so x = 3. Fractional exponents are roots: 27^(2/3) · 4^(3/2) = 9 · 8 = 72.

  14. 14

    Vieta's formulas (quadratic) Algebra

    r+s=-b/a, rs=c/a

    Sum and product of the roots without solving. For x² + px + q = 0 the sum is −p and the product is q. Useful for r² + s², 1/r + 1/s and for building a quadratic from two given roots. Example: the roots of x² − 3x − 5 = 0 give 1/p + 1/q = (p + q)/pq = −3/5. For shifted roots, (p + 1)(q + 1) = pq + (p + q) + 1. Example: roots twice those of x² + 3x + 2 are −2 and −4, so the new equation is x² + 6x + 8; two positive roots in ratio 1:3 with product 12 are 2 and 6. Irrational roots of an integer quadratic come in conjugate pairs: roots 1 ± √5 give sum 2 and product −4, so x² − 2x − 4. With integer roots, the product fixes the pairs: x² − ax + 18 with positive integer roots gives a = 19, 11 or 9.

  15. 15

    Distance, rate, time Algebra

    d=rt

    Constant rate. Average speed is total distance over total time. Closing speed of two objects moving towards each other is the sum of their speeds; moving the same way, the difference. A train passing a pole travels its own length. A train crossing a platform travels its own length plus the platform's: 150 m over a 250 m platform in 20 s is 400/20 = 20 m/s. With a current, a boat's speeds are its still-water speed plus and minus the current. Example: a pace of 6 minutes per mile is 60/6 = 10 mph. For equal distances at two speeds, average with the harmonic mean: 20 mph out and 30 mph back average 2 · 20 · 30/(20 + 30) = 24 mph, not 25.

  16. 16

    Combined work rate Algebra

    1/t=1/a+1/b

    a and b are the times each worker takes alone. Work rates add: 1/a + 1/b. A drain or a worker who undoes work has a negative rate. If someone works only part of the time, add rate × time for each person and set the total to 1. Example: if A works twice as fast as B and together they take 8 days, then 3 times B's rate is 1/8, so B alone takes 24 days. Example: A takes 10 days and B 15; after 3 days together A leaves. Together they finish 3 · (1/10 + 1/15) = 1/2, and B needs 7.5 more days for the other half. If B takes 6 hours longer than A and together they take 4 hours, then 4(2x + 6) = x² + 6x, so x² − 2x − 24 = 0 and A needs 6 hours. Use partial progress too: if A alone needs 10 hours and A with B finish exactly half the job in 3 hours, B did 1/2 − 3/10 = 1/5 in 3 hours, so B alone needs 15 hours.

  17. 17

    Circle area Geometry

    A=πr²

    Use the radius: halve a diameter before squaring. Area grows with the square of r, so doubling r quadruples the area. A circle of area A has r = √(A/π). For a ring (annulus) subtract the inner circle: π(R² − r²). Example: a chord of 16 at distance 6 from the center gives r = √(64 + 36) = 10 and area 100π. A 44% larger area means the radius is 1.2 times as big, since 1.2² = 1.44. Example: for a chord of 16 tangent to the inner circle of a ring, R² − r² = 8² = 64, so the ring's area is 64π without finding either radius. Compare circles through their diameters: circles with diameters 5 and 15 have areas in the ratio 1 : 9.

  18. 18

    Circumference Geometry

    C=2πr

    C = 2πr = πd. Given C, divide by 2π to get r. A wheel of circumference C rolls a distance C per full turn. An arc of θ radians has length rθ, and the boundary of a semicircle is πr + 2r (do not forget the diameter). A string pulled tight around a post and then lengthened by 2π stands off 1 unit all the way around, whatever the post's size, because the circumference changes by 2π per unit of radius. Example: a wheel of radius 12 cm that rolls 480π cm makes 480π / 24π = 20 full turns. Rolling is arc length rθ: a wheel of radius 5 that turns through 144° rolls 5 · (4π/5) = 4π. The full boundary of a semicircle includes its diameter: with radius 4 it is 4π + 8.

  19. 19

    Similar figures: areas Geometry

    ([F'])/([F])=k²

    If lengths scale by k, areas scale by k² and volumes by k³. Use the ratio of any matching lengths (sides, perimeters, heights, radii) to find k: perimeters in the ratio 2:3 give areas in the ratio 4:9. The same works for solids: volumes 8 and 27 give a length ratio 2:3 and a surface-area ratio 4:9, so a larger surface area of 90 means the smaller has 40. A line parallel to a triangle's base cuts off a similar triangle: with side ratio 3:4 and a whole area of 80, the top triangle has area (9/16) · 80 = 45 and the trapezoid below it has 35.

  20. 20

    Polygon angle sum Geometry

    (n-2)·180°

    Interior angles of a convex n-gon. Each angle of a regular n-gon is this divided by n. The exterior angles of any convex polygon add to 360°, so a regular n-gon has exterior angle 360°/n and interior angle 180° − 360°/n. Example: if the exterior angle of a regular n-gon is 5° larger than that of a regular (n + 1)-gon, then 360/n − 360/(n + 1) = 5, so n(n + 1) = 72 and n = 8. Example: a convex polygon with exterior angles 30° and 60° and all others 45° has (360 − 90)/45 = 6 other angles, so 8 sides. Doubling the sides of a regular n-gon raises the interior angle by 180°/n: for n = 9 that is 20°.

  21. 21

    Slope Coordinate

    m=(y₂-y₁)/(x₂-x₁)

    Rise over run. Parallel lines share a slope, perpendicular slopes multiply to −1, a horizontal line has slope 0 and a vertical line has no slope. Example: a line with x-intercept 8 and slope −3/4 passes through (8, 0), so going 8 units left raises it by 6 and its y-intercept is 6. Collinear points share one slope: (2, 1), (4, 4) and (8, k) give slope 3/2 from the first two, so (k − 4)/4 = 3/2 and k = 10.

  22. 22

    Distance formula Coordinate

    d=√((x₂-x₁)²+(y₂-y₁)²)

    Pythagorean theorem on the coordinate differences. The distance from the origin to (a, b) is √(a² + b²). To find a point equally far from two points, set the squared distances equal; that avoids square roots. The midpoint of two points is the average of their coordinates. A square whose opposite vertices are d apart has area d²/2. Example: (0, 0), (14, 0) and (7, k) form an equilateral triangle when 7² + k² = 14², so k = 7√3. Example: the shortest path from (0, 3) to the x-axis and on to (4, 1) reflects the start to (0, −3), giving √(16 + 16) = 4√2. A point equally far from (0, 0) and (6, 0) lies on x = 3; if that distance is 5, then y = ±4.

  23. 23

    Point-slope form Coordinate

    y-y₁=m(x-x₁)

    Line through (x₁, y₁) with slope m. With two points, find m = (y₂ − y₁)/(x₂ − x₁) first. Setting y = 0 gives the x-intercept. Parallel lines share m; perpendicular slopes multiply to −1. A vertical line has no slope: x = x₁. Example: through (2, 3) with m = 4 gives y − 3 = 4(x − 2), so the y-intercept is −5. Slope is the change in y per unit of x: with m = −3, going from x = 1 to x = 5 changes y by −3 · 4 = −12.

  24. 24

    Complement rule Counting

    P(A^c)=1-P(A)

    Often easier to count what you do not want. For 'at least one' questions, compute P(none) and subtract from 1: P(at least one) = 1 − P(none). Example: three dice never all different with probability 1 − (6 · 5 · 4)/216 = 4/9, so at least two match with probability 4/9. Example: the chance a random two-digit number contains a 7 is 1 − (8 · 9)/90 = 1/5, because a number with no 7 has 8 choices for the tens digit (1 to 9 except 7) and 9 for the units digit (0 to 9 except 7). Likewise, drawing 2 of the cards 1 to 6, P(at least one odd) = 1 − C(3,2)/C(6,2) = 1 − 3/15 = 4/5. With repeats allowed, the chance that 4 people all have different birth days of the week is (7 · 6 · 5 · 4)/7⁴ = 120/343, so at least two share a day with probability 223/343.

  25. 25

    Inclusion–exclusion (two sets) Counting

    |A∪B|=|A|+|B|-|A∩B|

    Subtract the overlap you counted twice. For 'neither', take the total minus the union. For multiples of a or b, the overlap is the multiples of lcm(a, b): multiples of 6 or 15 up to 100 number 16 + 6 − 3 = 19. For three sets add the triple overlap back: |A∪B∪C| = Σ|A| − Σ|A∩B| + |A∩B∩C|. Example: for three sets with 20, 18 and 15 members, pairwise overlaps 6, 5 and 4, and 2 in all three, the union has 20 + 18 + 15 − 6 − 5 − 4 + 2 = 40 members. To count what is in none of the sets, subtract the union from the total: of the integers 1 to 42, 42 − 21 − 14 − 6 + 7 + 3 + 2 − 1 = 12 are divisible by none of 2, 3, 7.

  26. 26

    Expected value Counting

    E[X]=Σxᵢpᵢ

    Weight each value by its probability. Expectation is linear: E[X + Y] = E[X] + E[Y] even when X and Y depend on each other, and E[aX + b] = aE[X] + b. A game is fair when the entry price equals E[X]. Example: in 6 coin flips there are 5 consecutive pairs, each both heads with probability 1/4, so the expected number of HH pairs is 5/4; for independent dice, E[XY] = E[X]E[Y] = 49/4. Linearity needs no independence: when 3 cards are dealt from a 52-card deck, the expected number of hearts is 3 · 13/52 = 3/4.

  27. 27

    Number of divisors Number theory

    n=p₁^(a₁)⋯pₖ^(aₖ) ⇒ d(n)=(a₁+1)⋯(aₖ+1)

    Each prime power contributes a_i + 1 choices. Factor first: 360 = 2³ · 3² · 5 has 4 · 3 · 2 = 24 divisors. d(n) is odd exactly when n is a perfect square. Restrictions limit the exponent ranges: the divisors of 2⁴ · 3² · 7 that are multiples of 3 have 5 · 2 · 2 = 20 choices, because the exponent of 3 runs only from 1 to 2.

  28. 28

    gcd times lcm Number theory

    gcd(a,b)·lcm(a,b)=ab

    Only for two numbers: gcd(a, b) · lcm(a, b) = ab. With three or more, gcd · lcm need not equal the product (4, 6, 10 give 2 · 60 = 120, not 240), so work prime by prime instead. If gcd(a, b) = g, then a = gm and b = gn with m and n coprime, and lcm = gmn. With three numbers, lcm(12, 15, 20) = 60 while the gcd is 1. The number of ordered pairs with a given gcd g and lcm L is 2ᵏ, where k is the number of distinct primes of L/g. Example: with gcd 4 and lcm 60 write the numbers as 4a and 4b with ab = 15 and a, b coprime; (1, 15) and (3, 5) give sums 64 and 32.

Tier 2 · Know well

Show up regularly on AMC 10/12 and are the backbone of mid-to-hard problems.

  1. 29

    Heron's formula Geometry

    K=√(s(s-a)(s-b)(s-c)), s=(a+b+c)/2

    Area from the three sides, with s the semiperimeter. A zero under the root means the triangle is degenerate. Handy: 13-14-15 has area 84. Check with 3-4-5: s = 6 and √(6 · 3 · 2 · 1) = 6. The 5-5-6 triangle has s = 8 and area √(8 · 3 · 3 · 2) = 12. Heron often gives a surd: sides 3, 6, 7 have s = 8 and area √(8 · 5 · 2 · 1) = √80 = 4√5.

  2. 30

    Area with sine Geometry

    K=½ ab sin C

    Two sides and the included angle. For fixed sides the area is largest when that angle is 90°. A parallelogram has twice this area: ab sin C. Example: sides 7 and 10 with area 35√2/2 give sin C = √2/2, so the angle is 45° or, if it must be obtuse, 135°. Example: with two sides fixed, raising the included angle from 30° to 90° multiplies the area by sin 90°/sin 30° = 2.

  3. 31

    Equilateral triangle: area Geometry

    K=(√3)/4 s²

    Side s. The altitude is s√3/2, so this is just ½ · s · (s√3/2). Reverse: area A means s² = 4A/√3. The inradius is s√3/6 and the circumradius is s√3/3. Gluing six of them around a point gives a regular hexagon of side s with area 6 · (√3/4)s²: side 6 gives 54√3. Given the inradius, side = 2√3 · r: inradius 4 gives side 8√3 and area 48√3.

  4. 32

    Equilateral triangle: height Geometry

    h=(√3)/2 s

    Also the long leg of a 30-60-90 triangle with hypotenuse s. The area is (√3/4)s². The centre is 1/3 of the way up the altitude, so the inradius is h/3 and the circumradius is 2h/3.

  5. 33

    30-60-90 triangle Geometry

    1:√3:2

    Short leg : long leg : hypotenuse. The hypotenuse is twice the short leg and the long leg is the short leg times √3: half of an equilateral triangle. Example: a rectangle with a diagonal of 20 at 30° to a side has sides 10 and 10√3, so its area is 100√3. Example: a rhombus with side 6 and a 60° angle has long diagonal 6√3.

  6. 34

    45-45-90 triangle Geometry

    1:1:√2

    Leg : leg : hypotenuse. A square's diagonal is s√2. Going the other way, a hypotenuse h gives legs h/√2 = h√2/2. The area of the triangle is h²/4.

  7. 35

    Trapezoid area Geometry

    K=(b₁+b₂)/2 h

    Average of the parallel sides times the height. The average (b₁ + b₂)/2 is the midsegment. Drop perpendiculars from the ends of the shorter base to find the height of an isosceles trapezoid. Example: area 60 and height 5 mean the bases add to 24, so bases differing by 4 are 10 and 14. Extending the legs of a trapezoid until they meet gives similar triangles. Example: triangle ABC with base AB = 14 and area 35 has height 5, so a trapezoid with bases 14 and 8 has area (14 + 8)/2 · 5 = 55. Work backwards through the midsegment: area 84 and height 6 give a midsegment of 14, so the two bases add to 28.

  8. 36

    Law of cosines Geometry

    c²=a²+b²-2ab cos C

    Generalises the Pythagorean theorem (C = 90° drops the last term). Use it for SAS to find the third side, or for SSS to find an angle: cos C = (a² + b² − c²)/(2ab). Example: sides 5 and 8 with a 60° angle between them give c² = 25 + 64 − 40 = 49, so c = 7. With a 120° angle the last term is added instead (cos 120° = −½): sides 3 and 5 give 7. Example: sides 3 and 5 with cos C = 3/5 give c² = 9 + 25 − 2 · 3 · 5 · 3/5 = 16, so c = 4. To find an angle instead, solve for the cosine: sides 4, 5, 6 give cos of the largest angle = (16 + 25 − 36)/(2 · 4 · 5) = 1/8. To classify a triangle, compare the square of the longest side with the sum of the other two squares: sides 6, 7, 10 give 100 against 85, so the angle opposite 10 is obtuse.

  9. 37

    Law of sines Geometry

    a/(sin A)=b/(sin B)=c/(sin C)=2R

    R is the circumradius. Use it to get a side from two angles, or R from one side and its opposite angle. A side opposite 30° equals R. The sides are in the ratio of the sines of their opposite angles. Two sides and an angle not between them can give two different triangles. Example: in the 5-12-13 triangle, 5/sin A = 13, so R = 13/2. Example: sides in the ratio 4 : 5 : 6 have sines in the same ratio, so sin(largest)/sin(smallest) = 3/2.

  10. 38

    Inradius Geometry

    r=K/s

    Area over semiperimeter, so K = r · s. For a right triangle r = (a + b − c)/2. The tangent lengths from the vertices are s − a, s − b and s − c. For an equilateral triangle of side a, r = a/(2√3). Example: the 13-14-15 triangle has K = 84 and s = 21, so r = 4. Example: if a triangle's area is three times its perimeter, r = 2 · area/perimeter = 6. In a right triangle with legs 9 and 12 and hypotenuse 15, r = (9 + 12 − 15)/2 = 3, and the incenter is 3 from each leg.

  11. 39

    Circumradius Geometry

    R=abc/4K

    R = abc/(4K) with sides a, b, c and area K. Equivalent to a/sin A = 2R. For a right triangle R is half the hypotenuse; for an equilateral triangle R = s/√3. Example: the 5-5-8 triangle has K = 12, so R = 200/48 = 25/6. Do not mix it up with the inradius K/s. Example: a 17-17-16 triangle with area 120 has R = (17 · 17 · 16)/(4 · 120) = 289/30.

  12. 40

    Sphere volume Geometry

    V=4/3 πr³

    r is the radius, so halve a diameter first. Volume scales as r³: doubling r gives 8 times the volume. A hemisphere is half of this. A sphere is also (r/3) times its surface area. A sphere inscribed in a cube takes up π/6 of the cube. Example: a hemispherical bowl of radius 6 holds (2/3)π · 6³ = 144π; poured into a cylinder of radius 4, the depth is 144π/(16π) = 9. Example: a hollow ball with outer radius 5 and inner radius 3 contains (4/3)π(125 − 27) = 392π/3 of material. A plane at distance d from the center cuts a circle of radius √(R² − d²): at distance 5 from the center of a sphere of radius 13, the circle has radius 12.

  13. 41

    Sphere surface area Geometry

    S=4πr²

    Four times the area of a great circle. Surface area scales as r², volume as r³, so a sphere's volume is (r/3) times its surface area. A solid hemisphere has total surface 3πr² (curved part 2πr² plus the flat base πr²). Surface area and volume are numerically equal when r = 3. Example: the curved part of a hemisphere of radius 4 has area 2π · 16 = 32π; a sphere with the same area has 4πr² = 32π, so r = 2√2.

  14. 42

    Cylinder volume Geometry

    V=πr²h

    Base area times height. Square the radius, not the diameter. A cone with the same base and height has one third of this volume. Doubling r multiplies V by 4; doubling h only by 2. Side area is 2πrh. A cylinder whose height equals its diameter encloses a sphere, and the sphere is 2/3 of its volume. Example: a cylinder of radius 6 with side area 2πrh = 108π has h = 9 and volume 324π.

  15. 43

    Cone and pyramid volume Geometry

    V=⅓ Bh

    B is the base area and h the perpendicular height. A cone or pyramid is one third of the cylinder or prism with the same base and height. A square pyramid with base 6 and height 4 has volume 48. For a cone, h = √(slant² − r²): slant 13 and radius 5 give h = 12. A smaller similar cone cut off the top has volume scaled by the cube of its size ratio. Example: similar cones with heights in the ratio 2 : 3 have volumes in the ratio 8 : 27, so a larger volume of 54 means the smaller is 16. When the slant height is given, find the height first: radius 8 and slant height 17 give height 15 and volume (1/3)π · 64 · 15 = 320π.

  16. 44

    Arc length and sector area Geometry

    s=rθ, A=½ r²θ

    θ in radians: arc length s = rθ and sector area ½r²θ. With degrees, take θ/360 of the circumference or of the area. Convert with θ·π/180 (180° = π). Also A = ½ · s · r. Example: an inscribed angle of 50° cuts off a 100° arc, which on a circle of radius 9 has length (100/360) · 18π = 5π. Perimeter problems: a sector of radius 8 and perimeter 28 has arc 28 − 16 = 12, so its area is ½ · 8 · 12 = 48.

  17. 45

    Inscribed angle Geometry

    ∠ACB=½ arc AB

    An inscribed angle is half its intercepted arc. Angles on the same arc are equal, an angle in a semicircle is 90°, and a central angle equals its arc. A tangent-chord angle is also half its arc. Example: arcs of 80°, 120° and 160° give an inscribed triangle with angles 40°, 60° and 80°. Opposite angles of an inscribed quadrilateral add to 180°. A chord that subtends an inscribed angle θ in a circle of radius R has length 2R sin θ: with θ = 45° and R = 5 the chord is 5√2.

  18. 46

    Power of a point Geometry

    PA·PB=PC·PD

    Two chords (or two secants) through P. With a tangent of length t, PT² = PA · PB. Works for P inside or outside the circle. In general PA · PB = |PO² − R²|, which is 0 when P is on the circle. Example: P at distance 17 from the center of a radius 8 circle has tangent √(289 − 64) = 15.

  19. 47

    Angle bisector theorem Geometry

    BD/DC=AB/AC

    D on BC with AD bisecting angle A. The bisector splits the opposite side in the ratio of the two sides beside it; BD goes with AB and DC with AC. The two small triangles share a height, so their areas are in the same ratio. Example: AB = 7, AC = 14, BC = 15 gives BD = 5 and DC = 10.

  20. 48

    Diagonals of a polygon Geometry

    (n(n-3))/2

    Each vertex joins to n − 3 others, and each diagonal is counted twice. Equivalently C(n, 2) − n: all pairs of vertices minus the sides. A regular polygon with an even number of sides has n/2 diagonals through its center. Adding a vertex to an n-gon adds n − 1 diagonals (the old side becomes a diagonal, plus n − 2 new ones): a 16-gon has 104 diagonals and a 17-gon 119, which is 15 = 16 − 1 more.

  21. 49

    Midpoint Coordinate

    ((x₁+x₂)/2,(y₁+y₂)/2 )

    Average each coordinate separately. Run it backwards to find an endpoint: x₂ = 2xₘ − x₁ and y₂ = 2yₘ − y₁. The centroid of a triangle averages all three vertices. The midpoints of a triangle's sides form a triangle with half the perimeter and a quarter of the area. Reflecting P through a point M gives the image 2M − P. The midpoints of the sides of any quadrilateral form a parallelogram whose area is half of the quadrilateral's. Example: if the midpoints of AB, BC and CA are (1, 1), (5, 1) and (3, 5), then A = M(AB) + M(CA) − M(BC) = (−1, 5). A perpendicular bisector passes through the midpoint with the negative reciprocal slope: for (0, 0) and (4, 6) the midpoint is (2, 3) and the slope is −2/3, giving 2x + 3y = 13.

  22. 50

    Circle equation Coordinate

    (x-h)²+(y-k)²=r²

    Centre (h, k), radius r. The signs flip: (x + 3)² means h = −3. Complete the square to read the centre and radius off x² + y² + dx + ey + f = 0. A line is tangent to a circle when its distance from the center equals the radius: x + y = k and x² + y² = 8 give k/√2 = 2√2, so k = 4. Two circles touch externally when the distance between centers is the sum of the radii, internally when it is the difference. Example: a circle through the origin and (6, 2) with center (c, 0) has c² = (6 − c)² + 4, so c = 10/3 and the radius is 10/3. Example: a circle with center (−2, 5) tangent to the y-axis has radius 2, so its equation is (x + 2)² + (y − 5)² = 4.

  23. 51

    Sum of squares 1² + ⋯ + n² Algebra

    (n(n+1)(2n+1))/6

    Check with n = 3: 3·4·7/6 = 14, and n = 10 gives 385. Do not confuse it with (1 + 2 + ⋯ + n)², which equals the sum of the cubes. For a stretch use S(b) − S(a − 1); the first n even squares are 4 · S(n).

  24. 52

    Sum of cubes 1³ + ⋯ + n³ Algebra

    ((n(n+1))/2 )²

    The square of the sum of the first n integers: 1³ + ⋯ + n³ = (1 + ⋯ + n)². For a run that starts later, subtract two such sums. Alternating cubes split into odd cubes and even cubes. Example: 5³ + 10³ + ⋯ + 50³ = 125 · 3025 = 378125. The sum is a perfect square, T(n)² with T(n) = n(n + 1)/2, so it is a multiple of 4 exactly when T(n) is even. Given n(n + 1) instead of T(n), halve it first: n(n + 1) = 600 means T(n) = 300, so the sum of cubes is 90000.

  25. 53

    Infinite geometric series Algebra

    S=a/(1-r)

    Converges only when the absolute value of r is less than 1. S is the first term over 1 − r. If the series starts at a later term, use that term as a. Repeating decimals are geometric series with r = 1/10ᵏ. Example: 6 − 2 + 2/3 − ⋯ = 6/(1 + 1/3) = 9/2. A ball dropped from 18 m that bounces back to 2/3 of its height each time travels 18 + 2 · 12/(1 − 2/3) = 90 m. Example: two players alternately toss a fair coin and the first head wins; the first player wins with probability (1/2)/(1 − 1/4) = 2/3.

  26. 54

    Sum of cubes factoring Algebra

    a³+b³=(a+b)(a²-ab+b²)

    For a³ − b³ flip the signs: (a − b)(a² + ab + b²) = (a − b)[(a − b)² + 3ab], so a difference and a product give the difference of cubes: a − b = 1 and ab = 6 give 1 · (1 + 18) = 19. Useful identity: a³ + b³ = (a + b)³ − 3ab(a + b), so the sum and product of two numbers give the sum of their cubes. Example: 2⁹ + 1 = 8³ + 1 = (8 + 1)(64 − 8 + 1) = 9 · 57 = 27 · 19. With ab = 1 the identity gives x³ + 1/x³ = (x + 1/x)³ − 3(x + 1/x): x + 1/x = 5 gives 125 − 15 = 110.

  27. 55

    Discriminant Algebra

    Δ=b²-4ac

    Positive: two real roots; zero: one repeated root; negative: none. For integer coefficients the roots are rational exactly when Δ is a perfect square. Δ = (r − s)² a² in terms of the roots. Example: x² + kx + k + 3 has a repeated root when k² − 4k − 12 = 0, so k = 6 (or −2). And x² + kx + k has no real roots exactly for k strictly between 0 and 4. The roots differ by √Δ / |a|: x² − 7x + k with roots 3 apart needs 49 − 4k = 9, so k = 10.

  28. 56

    Vertex of a parabola Algebra

    x=-b/2a

    Axis of symmetry of y = ax² + bx + c. Put this x back in to get the vertex value: a maximum if a is negative, a minimum if a is positive. Example: y = −x² + 4x + 5 has axis x = −4/(2·(−1)) = 2 and maximum −4 + 8 + 5 = 9; two points at the same height, such as (0, 5) and (4, 5), put the axis halfway between them at x = 2.

  29. 57

    Sum of squares of the roots Algebra

    r²+s²=(r+s)²-2rs

    Combine with Vieta to avoid finding the roots. Related: r³ + s³ = (r + s)³ − 3rs(r + s), (r − s)² = (r + s)² − 4rs and 1/r + 1/s = (r + s)/rs.

  30. 58

    Remainder theorem Algebra

    P(x)=(x-a)Q(x)+P(a)

    The remainder on dividing by x − a is P(a). For x + a use P(−a). If P(a) = 0, then x − a is a factor. For a divisor like 2x − 6, use a = 3. Dividing by a quadratic leaves ax + b; plug in both roots to find it. Example: x²⁰²⁶ divided by x² − 1 leaves 1, because it equals 1 at both x = 1 and x = −1. Another case: if P(2) = 4 and P(−1) = −2, the remainder on division by (x − 2)(x + 1) is 2x, since 2a + b = 4 and −a + b = −2 give a = 2 and b = 0.

  31. 59

    Change of base Algebra

    logₐ b=(log b)/(log a)

    Switch any log to a base you like. It chains: logₐb · log_b c = logₐc, which is how products of logs collapse. Also logₐb = 1/log_b a, and a^(logₐ b) = b. Example: if log_a b = 3 then log_b a = 1/3 and log_b(a²) = 2/3. More generally log_{aᵏ}(bᵐ) = (m/k) · log_a b. Example: if log₄ x = log₂ 3, then log₂ x = 2 log₂ 3 and x = 9. Example: log₂ x + log₂(x − 3) = 2 means x(x − 3) = 4, so x = 4; the root x = −1 is rejected because the logs need positive inputs. Example: if 3^a = 5 and 5^b = 81, then 3^(ab) = 81, so ab = 4.

  32. 60

    Log of a product Algebra

    log(xy)=log x+log y

    Quotient becomes a difference; power comes out as a factor. log(x/y) = log x − log y and log(xᵏ) = k log x. Change of base: log_b(x) = log x / log b. A sum of logs in an equation becomes a product: log₂ x + log₂(x − 2) = 3 means x(x − 2) = 8, so x = 4 (reject the negative root). When the sum of two logs is given together with x + y, find the product first: log₃ x + log₃ y = 4 and x + y = 30 give xy = 81, so x and y are 27 and 3.

  33. 61

    AM-GM (two terms) Algebra

    (a+b)/2 ≥√(ab) (a,b≥0)

    Equality when a = b. Extends to n terms. With a fixed sum the product is largest at a = b; with a fixed product the sum is smallest at a = b. A right triangle with hypotenuse h has area at most h²/4, reached when it is isosceles. If 1/a + 1/b = 1, then a + b is at least 4. To use AM-GM on an uneven expression, split a term so the product is constant: x + 108/x² = x/2 + x/2 + 108/x² is at least 3 · (27)^(1/3) = 9, with equality at x = 6.

  34. 62

    Harmonic mean (equal distances) Algebra

    v_(avg)=2ab/(a+b)

    Average speed over two equal distances at speeds a and b. It is total distance over total time, not (a + b)/2: the slower leg takes longer, so the answer sits closer to the slower speed. If the two TIMES are equal, the plain average (a + b)/2 is right. For 40 and 60 mph over equal distances the true average is 48 mph, below the simple average 50, since the harmonic mean never exceeds the arithmetic mean. For equal times, use the arithmetic mean instead. Example: 240 pages at 24 pages per minute then 240 at 40 take 10 + 6 = 16 minutes, so the average rate is 480/16 = 30 pages per minute. Example: a round trip at 40 mph out and 60 mph back that takes 5 hours has one-way distance d with d/40 + d/60 = d/24 = 5, so d = 120 miles.

  35. 63

    Trig: Pythagorean identity Algebra

    sin²θ+cos²θ=1

    True for every angle, not only acute ones. Rearranged, sin²θ = 1 − cos²θ; the sign of the root depends on the quadrant. Dividing by cos²θ gives 1 + tan²θ = sec²θ, and dividing by sin²θ gives 1 + cot²θ = csc²θ. Squaring it gives sin⁴θ + cos⁴θ = 1 − 2sin²θcos²θ; with sin θ cos θ = 1/4 that is 7/8. Also (sin θ + cos θ)² = 1 + 2 sin θ cos θ: tan θ = 1/3 gives legs 1 and 3 with hypotenuse √10, so sin θ cos θ = 3/10 and the square is 1 + 3/5 = 8/5. The sign comes from the quadrant: cos θ = −9/41 with sin θ negative gives sin θ = −40/41.

  36. 64

    Binomial theorem Counting

    (x+y)ⁿ=Σₖ₌₀ⁿC(n, k)xⁿ⁻ᵏyᵏ

    Row n of Pascal's triangle gives the coefficients; the x^k y^(n−k) term has coefficient C(n, k). Keep the constants: in (2x + 1)ⁿ the 2 is raised to a power too. Equal-coefficient problems give an equation in k: in (1 + kx)⁵ the coefficients of x and x² are 5k and 10k², equal when k = 1/2. To find a constant term, track the power of x: in (x² + 1/x)⁶ the general term is C(6, r) · x^(12 − 3r), so the constant term needs r = 4 and equals 15.

  37. 65

    Row sum of Pascal's triangle Counting

    Σₖ₌₀ⁿC(n, k)=2ⁿ

    Number of subsets of an n-element set. Even-size and odd-size subsets are equally many: 2ⁿ⁻¹ each. Row n has n + 1 entries, the subsets containing a given element number 2ⁿ⁻¹, and for n at least 1 the alternating sum of the row is 0. Complement counting works well for 'at least one': subsets of {1, …, 10} with at least one even number number 2¹⁰ − 2⁵ = 992. Example: subsets of {1, …, 6} with at least 2 elements number 2⁶ − (1 + 6) = 57. Case-splitting also works: exactly one of 1, 2 in a subset of {1, …, 6} gives 2 · 2⁴ = 32.

  38. 66

    Pascal's rule Counting

    C(n, k)=C(n-1, k-1)+C(n-1, k)

    Include or exclude one fixed element. Applied repeatedly it builds Pascal's triangle and gives the hockey-stick sum C(2,2) + C(3,2) + ⋯ + C(n,2) = C(n+1,3). Starting later subtracts the missing front part. Example: C(10,2) + C(11,2) + C(12,2) = C(13,3) − C(10,3) = 286 − 120 = 166.

  39. 67

    Stars and bars Counting

    C(n+k-1, k-1)

    Nonnegative solutions to x₁ + ⋯ + x_k = n. For positive solutions use C(n − 1, k − 1). With lower bounds x_i at least m_i, subtract the bounds from n first. The same count gives n identical items placed into k distinct boxes. Upper limits use subtraction: 9 balls in 3 boxes with at most 5 each is C(11,2) − 3 · C(5,2) = 55 − 30 = 25 (two boxes can't both get 6 or more).

  40. 68

    Circular arrangements Counting

    (n-1)!

    Fix one object to break the rotational symmetry. If a bracelet or necklace can be flipped over, divide by 2 again (for n at least 3). Objects that must sit together: glue them into one block, then multiply by the block's inner orders. For two people directly opposite at a table of 2m seats, fix the first and the partner's seat is forced; the other 2m − 2 people fill the rest, so 10 people give 8! = 40320. Example: 7 people at a round table with 3 particular people consecutive give a block plus 4 others, so 4! · 3! = 144 seatings.

  41. 69

    Conditional probability Counting

    P(A|B)=(P(A∩B))/(P(B))

    Restrict attention to the cases where B happened and ask how often A also did. Rearranged it is the multiplication rule P(A∩B) = P(A|B) · P(B). Reducing the sample space is often fastest: given a red card, only 26 cards remain; given two dice sum to 8, only 5 outcomes remain. Example: bag X has 3 red and 1 blue, bag Y has 1 red and 3 blue; given a red ball from a random bag, P(X) = (3/8)/(3/8 + 1/8) = 3/4.

  42. 70

    Binomial probability Counting

    P(k)=C(n, k)pᵏ(1-p)ⁿ⁻ᵏ

    Exactly k successes in n independent trials. 'At least one' is 1 − (1 − p)ⁿ. For a fair coin the probabilities are C(n, k)/2ⁿ, and the C(n, k) add up to 2ⁿ. Example: a coin with P(heads) = 1/3 flipped 3 times gives exactly 2 heads with probability 3 · (1/9) · (2/3) = 2/9. Restricted patterns are counted by hand: 5 fair flips with no two heads adjacent have probability 13/32. 'At most k' adds the terms: 8 fair flips with at most 1 head have probability (1 + 8)/256 = 9/256.

  43. 71

    Euler's totient Number theory

    φ(n)=n∏_(p|n)(1-1/p )

    Count of 1..n coprime to n. Only the distinct primes of n matter: φ(12) = 12 · ½ · ⅔ = 4. For a prime power, φ(pᵏ) = pᵏ − pᵏ⁻¹, and φ(p) = p − 1. φ(100) = 100 · ½ · ⅘ = 40. The values φ(d) over all divisors d of n add up to n: for 12, 1 + 1 + 2 + 2 + 2 + 4 = 12. Only the primes of n matter, so φ(n)/n = ½ exactly for powers of 2. The integers up to n that are coprime to n add to n · φ(n)/2 when n is above 2: for 18 that is 18 · 6/2 = 54, because k and n − k pair up. Example: 3600 = 2⁴ · 3² · 5², so φ(3600) = 3600 · (1/2) · (2/3) · (4/5) = 960. Multiplying needs coprime arguments: φ(35) = φ(5) · φ(7) = 4 · 6 = 24, but φ(4) = 2, not φ(2) · φ(2) = 1.

  44. 72

    Sum of divisors Number theory

    σ(p^a)=(p^(a+1)-1)/(p-1)

    Multiply over the prime powers of n. For odd divisors drop the factor for 2. σ(pᵃ) = 1 + p + ⋯ + pᵃ. σ is multiplicative for coprime numbers: σ(12) = σ(4)σ(3) = 7 · 4 = 28. A number is perfect when σ(n) = 2n (6, 28, 496).

  45. 73

    Fermat's little theorem Number theory

    a^(p-1)≡1(mod p)

    p prime, p does not divide a. To reduce a huge power, take the exponent mod p − 1. Equivalent form: aᵖ ≡ a (mod p) for every a. Wilson's theorem is the companion: (p − 1)! ≡ −1 (mod p). The inverse of a mod p is aᵖ⁻². Wilson with a factor removed: 12! ≡ −1 (mod 13) and 12 ≡ −1, so 11! ≡ 1 (mod 13).

Tier 3 · Early AIME and occasional

Less frequent, but each one can turn a hard problem into a short one.

  1. 74

    Euler's theorem Number theory

    a^(φ(n))≡1(mod n)

    gcd(a, n) = 1. Generalises Fermat (n prime gives φ(n) = n − 1). Reduce the exponent mod φ(n), as in 7¹⁰⁰ mod 10. φ(pᵏ) = pᵏ − pᵏ⁻¹ and φ is multiplicative: φ(72) = φ(8)φ(9) = 4 · 6 = 24. The order of a modulo n divides φ(n) but can be smaller: powers of 10 mod 21 return to 1 at k = 6, not 12, which is why 1/21 repeats every 6 digits. And 7²⁰²⁶ ends in 49 because 7⁴ ≡ 1 (mod 100). Example: 3¹⁶ ≡ 1 (mod 17) and 100 = 16 · 6 + 4, so 3¹⁰⁰ ≡ 3⁴ = 81 ≡ 13 (mod 17).

  2. 75

    Wilson's theorem Number theory

    (p-1)!≡-1(mod p)

    p prime. (p − 1)! ≡ −1 (mod p), so p divides (p − 1)! + 1. For composite n above 4, n divides (n − 1)!, so this test is exact. Also (p − 2)! ≡ 1 (mod p).

  3. 76

    Legendre's formula Number theory

    vₚ(n!)=Σ_(k≥1)⌊n/(pᵏ) ⌋

    Power of a prime in n!, e.g. trailing zeros. Trailing zeros of n! = v₅(n!) because 2s are plentiful. For a composite like 12ᵏ, find the exponent of each prime and take the smallest ratio. Example: v₃(50!) = 16 + 5 + 1 = 22. For 20! in base 12 = 2² · 3: v₂ = 18 gives 9 pairs of 2s and v₃ = 8, so it ends in 8 zeros. Example: the product 1 · 3 · 5 ⋯ 19 has v₃ = 1 (from 3) + 2 (from 9) + 1 (from 15) = 4. For a quotient subtract: v₅(60!/20!) = 14 − 4 = 10. The smallest n with 11³ dividing n! is 33, the first multiple of 11 that brings the exponent to 3.

  4. 77

    Simon's favorite factoring trick Algebra

    xy+x+y=(x+1)(y+1)-1

    Add a constant so a two-variable equation factors. xy + x + y + 1 = (x + 1)(y + 1). For axy + bx + cy, multiply through by a first. Then list the factor pairs of the constant. Example: xy = 3x + 3y becomes (x − 3)(y − 3) = 9, which gives the ordered pairs (4, 12), (6, 6) and (12, 4).

  5. 78

    Three-cube identity Algebra

    a³+b³+c³-3abc=(a+b+c)(a²+b²+c²-ab-bc-ca)

    Zero when a + b + c = 0, which gives a³ + b³ + c³ = 3abc. It also equals ½(a + b + c)[(a − b)² + (b − c)² + (c − a)²]. Example: 1³ + 2³ + (−3)³ = −18 = 3 · 1 · 2 · (−3). Example: three consecutive integers adding to 15 are 4, 5, 6, and a³ + b³ + c³ − 3abc = ½ · 15 · (1 + 1 + 4) = 45; if the expression is 0 and a + b + c is 15, then a = b = c = 5. Differences that add to 0 work too: (x − y)³ + (y − z)³ + (z − x)³ = 3(x − y)(y − z)(z − x).

  6. 79

    Sophie Germain identity Algebra

    a⁴+4b⁴=(a²+2b²+2ab)(a²+2b²-2ab)

    Shows a⁴ + 4b⁴ is composite for most integers: add and subtract 4a²b² to complete the square. n⁴ + 4 = (n² + 2n + 2)(n² − 2n + 2), so it is prime only for n = 1. In general a⁴ + 4b⁴ = (a² + 2ab + 2b²)(a² − 2ab + 2b²). Example: 6⁴ + 4 = 1300 = 50 · 26, and 7⁴ + 4 · 3⁴ = 2725 = 109 · 25.

  7. 80

    Cauchy–Schwarz (two terms) Algebra

    (a²+b²)(c²+d²)≥(ac+bd)²

    Equality when a/c = b/d. Useful for maxima: (3x + 4y)² ≤ (3² + 4²)(x² + y²), so on x² + y² = 25 the largest value of 3x + 4y is 25. It works for minima too: (2x + y)² ≤ 5(x² + y²), so on 2x + y = 10 the smallest x² + y² is 20. With three terms: (a² + b² + c²)(d² + e² + f²) ≥ (ad + be + cf)². Example: on x² + y² + z² = 49 the largest 2x + 3y + 6z is 49, because (2² + 3² + 6²)(49) = 49²; equality needs (x, y, z) proportional to (2, 3, 6), so (x, y, z) = (2, 3, 6). Reciprocal sums work too: for positive a, b with a + b = 5, (a + b)(1/a + 1/b) ≥ 4, so 1/a + 1/b is at least 4/5. For an ellipse-type constraint, rescale first: with 9x² + 16y² = 144, write 3x · (1/3) + 4y · (1/4), so (x + y)² is at most 144 · (1/9 + 1/16) = 25 and x + y is at most 5.

  8. 81

    Trig: angle addition (sine) Algebra

    sin(a+b)=sin a cos b+cos a sin b

    sin(x + y) = sin x cos y + cos x sin y; for x − y the sign in the middle flips. The cosine version is cos(x ± y) = cos x cos y ∓ sin x sin y, with the sign reversed. Build 15°, 75° and 105° from 30°, 45° and 60°: sin 75° = sin 45° cos 30° + cos 45° sin 30° = (√6 + √2)/4. Setting y = x gives the double-angle formula. Example: sin 75° sin 45° = ½[cos 30° − cos 120°] = (√3 + 1)/4; and cos(a + b) cos(a − b) = cos²a − sin²b. Adding 90° turns a sine into a cosine, and sin a = 5/13 (a acute) gives sin 2a = 2 · (5/13) · (12/13) = 120/169.

  9. 82

    Trig: double angle (sine) Algebra

    sin 2θ=2 sin θ cos θ

    sin 2θ = 2 sin θ cos θ, so sin θ cos θ = ½ sin 2θ. That caps 2 sin x cos x at 1 and turns products of sines and cosines into one sine. Example: sin 15° cos 15° = ½ sin 30° = ¼. Also (sin θ + cos θ)² = 1 + sin 2θ, and applying it twice gives sin 4θ = 2 sin 2θ cos 2θ. Example: if sin θ − cos θ = 1/3, squaring gives 1 − sin 2θ = 1/9, so sin 2θ = 8/9. When only cos θ is given, find the sign of sin θ from the quadrant: cos θ = 20/29 in the fourth quadrant gives sin θ = −21/29, so sin 2θ = −840/841.

  10. 83

    Trig: double angle (cosine) Algebra

    cos 2θ=2 cos²θ-1

    Also 1 − 2sin²θ and cos²θ − sin²θ. Rearranged, cos²θ = (1 + cos 2θ)/2 and sin²θ = (1 − cos 2θ)/2, which turn squares into first powers. Example: cos²15° = (1 + cos 30°)/2 = (2 + √3)/4. In tangent form, cos 2θ = (1 − tan²θ)/(1 + tan²θ).

  11. 84

    Trig: tangent addition Algebra

    tan(a+b)=(tan a+tan b)/(1-tan a tan b)

    tan(a + b) = (tan a + tan b)/(1 − tan a tan b); for a − b the signs flip. It is undefined when the denominator is 0. Example: tan a = 1/2 and tan b = 1/3 give tan(a + b) = 1. In a triangle, tan A + tan B + tan C = tan A tan B tan C. Another case: tan a = 2 and tan b = 1/3 give tan(a + b) = (7/3)/(1/3) = 7 and tan(a − b) = (5/3)/(5/3) = 1.

  12. 85

    De Moivre's theorem Algebra

    (cos θ+i sin θ)ⁿ=cos nθ+i sin nθ

    Powers and roots of complex numbers: the angle is multiplied by n and the modulus raised to the nth power. Check: (1 + i)⁸ = (√2)⁸ = 16, since 8 × 45° = 360°.

  13. 86

    Roots of unity sum Algebra

    1+ω+ω²+⋯+ωⁿ⁻¹=0

    ω a primitive nth root of unity (ω ≠ 1). Leaving out the term 1 gives ω + ⋯ + ωⁿ⁻¹ = −1. The roots sit evenly spaced on the unit circle. Powers reduce mod n because ωⁿ = 1, and the sum of ωᵏ over all n roots is 0 unless n divides k. For n = 5, (1 − ω)(1 − ω²)(1 − ω³)(1 − ω⁴) = 5. Example: with ω a primitive cube root of unity, ω⁷ + ω⁸ + ω⁹ = ω⁷(1 + ω + ω²) = 0, and for a primitive 12th root ω, ω¹⁰⁰ = ω⁴ because ω¹² = 1. The n roots are the vertices of a regular n-gon of area (n/2) sin(2π/n); for n = 6 that is 3√3/2. Sums of squared distances reduce to real parts: over the eight 8th roots, |z − 2|² = 5 − 4 · (real part of z), and the real parts add to 0, so the total is 8 · 5 = 40.

  14. 87

    Median length Geometry

    mₐ²=(2b²+2c²-a²)/4

    m_a is the median to side a: m_a² = (2b² + 2c² − a²)/4. Check: in a right triangle the median to the hypotenuse is half of it (sides 8, 15, 17 give m = 17/2). The three medians meet at the centroid, which divides each in the ratio 2:1 from the vertex, and m_a² + m_b² + m_c² = ¾ (a² + b² + c²). The medians drawn from B and C are perpendicular exactly when b² + c² = 5a². Run it backwards to find a side from a median. For an equilateral triangle of side s the median is s√3/2, so side 6 gives 3√3.

  15. 88

    Ptolemy's theorem Geometry

    AC·BD=AB·CD+BC·DA

    Cyclic quadrilateral ABCD, vertices in order on a circle: the product of the diagonals equals the sum of the products of opposite sides. A rectangle gives the Pythagorean theorem. For any four points, AC · BD ≤ AB · CD + BC · DA, with equality exactly when they lie on a circle in that order. Example: a cyclic isosceles trapezoid with legs 6 and diagonals 10 has AB · CD = 100 − 36 = 64; a rectangle with side 5 and diagonal 13 has 169 = 25 + BC², so BC = 12.

  16. 89

    Brahmagupta's formula Geometry

    K=√((s-a)(s-b)(s-c)(s-d))

    Cyclic quadrilateral; s is the semiperimeter. Setting d = 0 gives Heron's formula, and for a rectangle it gives the product of the sides. The order of the sides does not change the area. Among all quadrilaterals with the same four sides, the cyclic one has the largest area: sides 2, 5, 5, 8 give at most √(8 · 5 · 5 · 2) = 20.

  17. 90

    Ceva's theorem Geometry

    AF/FB ·BD/DC ·CE/EA=1

    Cevians AD, BE, CF (D on BC, E on CA, F on AB) are concurrent exactly when this product of ratios is 1. Medians give 1 · 1 · 1. For a cevian through an inner point P, a ratio equals a ratio of areas, e.g. AF/FB = [PCA]/[PBC]. The incircle's touch points give (x/y)(y/z)(z/x) = 1, so the lines from the vertices to them are concurrent. Mass points give ratios fast: with AF:FB = 2:1 and D the midpoint of BC, take masses A = 1, B = 2, C = 2, D = 4, so AP:PD = 4:1. Solving for the third ratio: AF:FB = 4:3 and BD:DC = 1:5 give (4/3)(1/5) · CE/EA = 1, so CE:EA = 15:4.

  18. 91

    Euler's distance formula Geometry

    OI²=R(R-2r)

    Circumcentre O, incentre I. Since OI² ≥ 0 we get R ≥ 2r (Euler's inequality), with equality only for an equilateral triangle. So r can never exceed R/2. Check with the 3-4-5 triangle: R = 5/2, r = 1, OI² = (5/2)(1/2) = 5/4. Example: for a 10-10-12 triangle, r = 3 and R = 25/4, so OI² = R(R − 2r) = (25/4)(1/4) = 25/16; going the other way, R = 8 and OI² = 48 give 48 = 64 − 16r, so r = 1.

  19. 92

    Shoelace formula Coordinate

    A=½ |Σ(xᵢyᵢ₊₁-xᵢ₊₁yᵢ)|

    Polygon area from vertex coordinates, for any polygon (triangle, quadrilateral, pentagon, …) with the vertices listed in order around the boundary. Write the vertices in two columns (x, y) and repeat the first vertex at the bottom. Add the down-right products xᵢ · yᵢ₊₁, add the up-right products xᵢ₊₁ · yᵢ, subtract, and halve the absolute value. The two sets of diagonals cross like the laces of a shoe, hence the name. With one vertex at the origin it shortens: (0, 0), (3, 7), (5, 2) has area |3 · 2 − 7 · 5|/2 = 29/2. A centroid splits a triangle into three equal-area pieces.

  20. 93

    Pick's theorem Coordinate

    A=I+B/2-1

    Lattice polygon: I interior points, B boundary points. A segment from (0, 0) to (p, q) has gcd(p, q) + 1 lattice points, which gives B by adding up the sides. Solve for the unknown: I = A − B/2 + 1. Example: a right triangle with legs 8 and 10 on the axes has area 40 and 8 + 10 + gcd(8, 10) = 20 boundary points, so I = 40 − 10 + 1 = 31.

  21. 94

    Space diagonal of a box Geometry

    d=√(a²+b²+c²)

    For a box a × b × c. Think of Pythagoras twice: a face diagonal first, then the edge at right angles to it. A cube of edge s has diagonal s√3. Example: from a vertex of a cube of edge 6 to the center of the opposite face is √(3² + 3² + 6²) = 3√6.

  22. 95

    Regular tetrahedron volume Geometry

    V=a³/(6√2)

    Edge a. Each face is an equilateral triangle, so the surface area is a²√3, and the height is a√(2/3). Four vertices of a cube, no two sharing an edge, form one. The inscribed sphere has radius one quarter of the height. Example: edge 6 gives height 2√6 and inradius √6/2.

  23. 96

    Ellipse area Geometry

    A=πab

    a and b are semi-axes, measured from the centre, not full lengths. A circle is the case a = b = r. For x²/a² + y²/b² = 1 read a and b off the denominators (9x² + 16y² = 144 has a = 4, b = 3). Stretching a circle by factors p and q multiplies its area by pq. Example: semi-minor axis 6 and focal distance 8 give a² = 6² + 8² = 100, so a = 10 and the area is 60π. A taut string of length 2a with its ends at the foci traces the ellipse.

  24. 97

    Derangements Counting

    Dₙ=n!Σₖ₌₀ⁿ((-1)ᵏ)/k!

    Permutations with no fixed point; D_n is the nearest integer to n!/e. D₁ to D₆ = 0, 1, 2, 9, 44, 265. Recurrences: Dₙ = (n − 1)(Dₙ₋₁ + Dₙ₋₂) and Dₙ = nDₙ₋₁ + (−1)ⁿ. Exactly k fixed points: C(n, k) · Dₙ₋ₖ. If only some positions are forbidden, use inclusion–exclusion. Example: permutations of 1..5 with 3 not first and 4 not second number 120 − 24 − 24 + 6 = 78.

  25. 98

    Catalan numbers Counting

    Cₙ=1/(n+1) C(2n, n)

    Balanced parentheses, lattice paths below the diagonal, triangulations. C₀ to C₈ = 1, 1, 2, 5, 14, 42, 132, 429, 1430. A convex (n + 2)-gon has Cₙ triangulations. Recurrence: Cₙ₊₁ = 2(2n + 1)/(n + 2) · Cₙ. Binary trees with n nodes and the ways to bracket n + 1 factors are also counted by Cₙ: 4 nodes give C₄ = 14.

Notation: C(n, k) is the binomial coefficient; φ is Euler’s totient; K is a triangle’s area; s is its semiperimeter. Angles are in degrees unless a formula says radians.