Math Reference & Interactive Demos

A collection of math lessons, formulas, and trivia compiled by Jackson Otto. Scroll down for interactive physics-based demonstrations.

Algebra Fundamentals

The Quadratic Formula

For any equation of the form ax² + bx + c = 0, the solutions are:

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

The expression under the radical, b² - 4ac, is called the discriminant. If it's positive, there are two real solutions. If zero, one repeated solution. If negative, two complex solutions.

Laws of Exponents

RuleFormulaExample
Productam · an = am+n23 · 24 = 27 = 128
Quotientam / an = am-n56 / 52 = 54 = 625
Power(am)n = amn(32)3 = 36 = 729
Zeroa0 = 1990 = 1
Negativea-n = 1/an2-3 = 1/8

Factoring Patterns

a² - b² = (a + b)(a - b) — Difference of Squares
a³ + b³ = (a + b)(a² - ab + b²) — Sum of Cubes
a³ - b³ = (a - b)(a² + ab + b²) — Difference of Cubes
Math Trivia: The word "algebra" comes from the Arabic al-jabr, meaning "reunion of broken parts," from a 9th-century book by mathematician al-Khwarizmi.

Geometry

Area Formulas

ShapeFormula
CircleA = πr²
TriangleA = ½bh
TrapezoidA = ½(b1 + b2)h
ParallelogramA = bh
EllipseA = πab

Volume Formulas

SolidFormula
SphereV = (4/3)πr³
CylinderV = πr²h
ConeV = (1/3)πr²h
Rectangular PrismV = lwh

The Pythagorean Theorem

a² + b² = c²

In a right triangle, the square of the hypotenuse equals the sum of the squares of the other two sides. Common Pythagorean triples: (3, 4, 5), (5, 12, 13), (8, 15, 17), (7, 24, 25).

Math Trivia: There are over 370 known proofs of the Pythagorean theorem, including ones by Leonardo da Vinci and U.S. President James Garfield.

Trigonometry

SOH-CAH-TOA

FunctionDefinitionMnemonic
sin(θ)Opposite / HypotenuseSOH
cos(θ)Adjacent / HypotenuseCAH
tan(θ)Opposite / AdjacentTOA

Key Identities

sin²(θ) + cos²(θ) = 1
sin(2θ) = 2 sin(θ) cos(θ)
cos(2θ) = cos²(θ) - sin²(θ)

Unit Circle Reference

Anglesincostan
010
30°1/2√3/2√3/3
45°√2/2√2/21
60°√3/21/2√3
90°10undefined
Math Trivia: The equals sign (=) was invented in 1557 by Welsh mathematician Robert Recorde, who was tired of writing "is equal to" over and over.

Pre-Calculus & Calculus Concepts

Limits

The limit describes the value a function approaches as the input approaches some value. A classic example:

lim (x→0) sin(x)/x = 1

Derivative Rules

RuleFormula
Power Ruled/dx [xn] = nxn-1
Product Ruled/dx [fg] = f'g + fg'
Quotient Ruled/dx [f/g] = (f'g - fg') / g²
Chain Ruled/dx [f(g(x))] = f'(g(x)) · g'(x)

Common Integrals

∫ xn dx = xn+1/(n+1) + C  (n ≠ -1)
∫ sin(x) dx = -cos(x) + C
∫ cos(x) dx = sin(x) + C
∫ 1/x dx = ln|x| + C
∫ ex dx = ex + C
Math Trivia: Newton and Leibniz independently invented calculus in the late 1600s, leading to one of the most famous disputes in the history of science.

Number Theory & Fun Facts

Types of Numbers

Prime numbers under 100: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97.

Perfect numbers equal the sum of their proper divisors: 6 (1+2+3), 28 (1+2+4+7+14), 496, 8128.

Fibonacci sequence: 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610...

Math Trivia: A pizza that has radius "z" and height "a" has volume Pi · z · z · a.
Math Trivia: 111,111,111 × 111,111,111 = 12,345,678,987,654,321 — a perfect palindrome.
Math Trivia: If you shuffle a deck of 52 cards, the number of possible orderings (52!) is larger than the number of atoms on Earth.
Math Trivia: Zero is the only number that cannot be represented in Roman numerals.
Math Trivia: The number 1729 is known as the Hardy-Ramanujan number — it is the smallest number expressible as the sum of two cubes in two different ways: 1³ + 12³ and 9³ + 10³.

Quick Reference: Math Symbols

SymbolMeaningExample
Summation∑(i=1 to 5) i = 15
Product∏(i=1 to 4) i = 24
Infinitylim (x→∞)
ΔChange inΔy / Δx
Gradient∇f(x,y)
Element ofx ∈ R
SubsetA ⊂ B
Thereforex=2 ∴ 2x=4

Math reference compiled for educational purposes.