Subject · Mathematics

Mathematics

Algebra through geometry and probability — concise lessons, worked examples, and tools that show every step.

Lessons

Expressions & order of operations

An expression is a combination of numbers, variables, and operations. To evaluate consistently, everyone follows the same order — remembered as PEMDAS: Parentheses, Exponents, Multiplication/Division (left to right), Addition/Subtraction (left to right).

Example: 3 + 4 × 2² = 3 + 4 × 4 = 3 + 16 = 19. Exponents before multiplication; multiplication before addition.

Multiplication and division have equal priority — you do whichever comes first reading left to right. Same for addition and subtraction.

Watch out: PEMDAS doesn't mean "all multiplication before all division." 12 ÷ 4 × 3 = 3 × 3 = 9, not 1.
Solving linear equations

A linear equation like 3x − 7 = 14 is a balance: whatever you do to one side, do to the other. The goal is to isolate x.

Example: Solve 3x − 7 = 14.
① Add 7 to both sides → 3x = 21
② Divide both sides by 3 → x = 7
③ Check: 3(7) − 7 = 14 ✓

Undo operations in reverse order: addition/subtraction first, then multiplication/division. Always check by substituting your answer back in.

Try it below — the linear solver shows each step.
Slope and linear functions

Slope measures how steep a line is — "rise over run":

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

A line in slope-intercept form is y = mx + b, where m is the slope and b is the y-intercept (where the line crosses the y-axis).

Example: Points (2, 3) and (6, 11): m = (11 − 3)/(6 − 2) = 8/4 = 2. Using y = mx + b with (2,3): 3 = 2(2) + b → b = −1. The line is y = 2x − 1.

Positive slope rises left-to-right, negative slope falls, zero slope is horizontal, and a vertical line's slope is undefined.

Quadratic equations

A quadratic has the form ax² + bx + c = 0. Any quadratic can be solved with the quadratic formula:

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

The part under the root, b² − 4ac, is the discriminant. It tells you how many real solutions exist: positive → two real roots, zero → one repeated root, negative → two complex roots.

Example: x² − 5x + 6 = 0. Here a=1, b=−5, c=6. Discriminant = 25 − 24 = 1. x = (5 ± 1)/2 → x = 3 or x = 2. (You could also factor: (x−2)(x−3) = 0.)
Use the quadratic solver below — it handles complex roots too.
Exponents and their rules

An exponent tells you to multiply the base by itself: 2⁵ = 2×2×2×2×2 = 32.

RuleExample
aᵐ · aⁿ = aᵐ⁺ⁿ2³ · 2⁴ = 2⁷
aᵐ / aⁿ = aᵐ⁻ⁿ3⁵ / 3² = 3³
(aᵐ)ⁿ = aᵐⁿ(2²)³ = 2⁶
a⁰ = 199⁰ = 1
a⁻ⁿ = 1/aⁿ2⁻³ = 1/8
a^(1/n) = ⁿ√a16^(1/2) = 4
Common mistake: (a + b)² ≠ a² + b². Instead, (a+b)² = a² + 2ab + b².
Geometry essentials
Medieval manuscript illustration of a teacher demonstrating geometry to students
A 14th-century manuscript shows a teacher demonstrating geometry — students have studied these shapes for centuries.

Triangles

Interior angles sum to 180°. For right triangles, the Pythagorean theorem connects the sides: a² + b² = c² where c is the hypotenuse.

a b c
Example: Legs of 3 and 4 → c² = 9 + 16 = 25 → c = 5. (3-4-5 is a classic "Pythagorean triple.")

Key area & volume formulas

ShapeFormula
TriangleA = ½bh
CircleA = πr², C = 2πr
RectangleA = lw
TrapezoidA = ½(b₁ + b₂)h
SphereV = (4/3)πr³
CylinderV = πr²h
Probability basics

Probability = (favorable outcomes) ÷ (total possible outcomes). It ranges from 0 (impossible) to 1 (certain).

Example: A bag has 3 red and 7 blue marbles. P(red) = 3/10 = 0.3 = 30%.

Independent events: multiply probabilities. Two coin flips, P(two heads) = ½ × ½ = ¼.

Complement rule: P(not A) = 1 − P(A). If P(rain) = 0.2, then P(no rain) = 0.8.

Misconception to avoid: past independent events don't change future odds. After 5 heads in a row, the next coin flip is still 50/50.

Tools

Scientific calculator

0

Trig uses radians. Type expressions directly or click keys.

Linear equation solver

Solve ax + b = c for x.

Quadratic solver

Solve ax² + bx + c = 0.

Mental math drill

…

Score: 0 / 0
Study tip: Don't just read the examples — cover the answer, work it yourself on paper, then compare. Active recall beats re-reading every time. Take the math quiz →