Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

Formula & theorem reference

Concept clusters →

Every named result in this course, grouped by chapter. Each one links back to where it's derived.

The language of math

Theorem

The Empty Set is a Subset of Every Set

also known as: vacuous subset

For every set A, \varnothing \subset A.

Show proof

B \subset A is false only when B contains some element that A lacks. Take B = \varnothing: it contains no elements at all, so there is nothing it could possibly contain that A doesn't also contain. The condition for B \subset A to fail can never be met, so \varnothing \subset A holds automatically — for every set A, including A = \varnothing itself.

Formula

Union and Intersection

For sets A and B: A \cup B = \{\text{everything in } A,\text{ in } B,\text{ or in both}\} A \cap B = \{\text{everything in both } A \text{ and } B\}

Formula

Interval Notation

For endpoints a < b: (a,b)=\{x\mid a<x<b\} \qquad [a,b]=\{x\mid a\le x\le b\} [a,b)=\{x\mid a\le x<b\} \qquad (a,b]=\{x\mid a<x\le b\} (a,\infty)=\{x\mid x>a\} \qquad (-\infty,b]=\{x\mid x\le b\}

Theorem

Nesting of the Number Families

\mathbb{N} \subset \mathbb{Z} \subset \mathbb{Q} \subset \mathbb{R}
Show proof

Every natural number n has no fractional part and no negative sign, so it's also an integer: \mathbb{N} \subset \mathbb{Z}. Every integer n can be written as the ratio \frac{n}{1} of two integers, which is exactly the definition of rational: \mathbb{Z} \subset \mathbb{Q}. Every rational number is, by definition, a real number (the rationals are one of the two pieces — rational and irrational — that together make up \mathbb{R}): \mathbb{Q} \subset \mathbb{R}. Chaining all three containments gives \mathbb{N} \subset \mathbb{Z} \subset \mathbb{Q} \subset \mathbb{R}.

Formula

The Perfect-Square Test for \sqrt{n}

For a positive integer n: \sqrt{n} \in \mathbb{N} \iff n \text{ is a perfect square} \qquad \text{otherwise } \sqrt{n} \text{ is irrational}

Formula

Absolute Value

|x| = \begin{cases} x & \text{if } x \ge 0 \\ -x & \text{if } x < 0 \end{cases}

Fundamentals of algebra

Theorem

Triangle Inequality

For all real numbers a and b, |a + b| \le |a| + |b|. It is one of the most-used inequalities in all of mathematics.

Show proof

Every real number x satisfies -|x| \le x \le |x| directly from the definition of absolute value. Applying this to a and to b separately and adding the results gives -(|a|+|b|) \le a+b \le |a|+|b|. A number sandwiched between -k and k has absolute value at most k, so |a+b| \le |a|+|b|.

Theorem

Field Properties of the Real Numbers

For all a, b, c \in \mathbb{R}:

\text{Commutative:} \quad a+b=b+a, \quad ab=ba\text{Associative:} \quad (a+b)+c=a+(b+c), \quad (ab)c=a(bc)\text{Identity:} \quad a+0=a, \quad a\cdot1=a\text{Inverse:} \quad a+(-a)=0, \quad a\cdot\tfrac1a=1 \ (a\neq0)\text{Distributive:} \quad a(b+c)=ab+ac

Together these five properties make \mathbb{R} a field, the algebraic structure every solving and simplifying technique in this course ultimately rests on.

Show proof

These five properties aren't derived from anything more basic here — they ARE the basics, the starting assumptions about + and \times that every other algebraic fact in this course is built from (including the Zero- Product Property and the Properties of Equality elsewhere in this registry, both proved by appealing directly to these). Asking "why is addition commutative?" inside algebra itself has no more basic answer to give; it's where the axioms start.

For like terms ax^n and bx^n (same variable, same power), ax^n + bx^n = (a+b)x^n. Unlike terms cannot be combined into a single term by this rule.

For all a, b, c \in \mathbb{R}:

  • Reflexive: a = a.
  • Symmetric: if a=b, then b=a.
  • Transitive: if a=b and b=c, then a=c.
  • Substitution: if a=b, then a may be replaced by b (or b by a) in any expression without changing its value.
Show proof

These four properties aren't derived from anything more basic in this course — they're part of what "=" means, the same way the Field Properties of the Real Numbers describe what "+" and "\times" mean. Every algebraic manipulation in this course — clearing a denominator, adding the same term to both sides, substituting one expression for an equal one — is really an appeal to one of these four properties, usually substitution. They're listed here explicitly because that appeal is normally silent.

Formula

Laws of Exponents

For a real number a and positive integers m, n:

a^n = \underbrace{a \cdot a \cdots a}_{n \text{ factors}}

The laws of exponents:

  1. Product rule: a^m \cdot a^n = a^{m+n}
  2. Quotient rule: \dfrac{a^m}{a^n} = a^{m-n} (for a \neq 0)
  3. Power rule: (a^m)^n = a^{mn}
  4. Power of a product: (ab)^n = a^n b^n
  5. Power of a quotient: \left(\dfrac{a}{b}\right)^n = \dfrac{a^n}{b^n} (for b \neq 0)

To make the quotient rule consistent for all exponents we define, for a \neq 0: a^0 = 1 \qquad\text{and}\qquad a^{-n} = \frac{1}{a^n}. With these definitions, all five laws hold for every integer exponent.

Formula

Properties of Radicals

Valid whenever both sides are defined:

  1. Product property: \sqrt[n]{ab} = \sqrt[n]{a}\,\sqrt[n]{b}
  2. Quotient property: \sqrt[n]{\dfrac{a}{b}} = \dfrac{\sqrt[n]{a}}{\sqrt[n]{b}}
  3. Rational-exponent link: \left(\sqrt[n]{a}\right)^m = \sqrt[n]{a^m} = a^{m/n}

Formula

Definition of a Rational Exponent

For a > 0 and integers m, n with n > 0: a^{1/n} = \sqrt[n]{a}, \qquad a^{m/n} = \left(\sqrt[n]{a}\right)^m = \sqrt[n]{a^m}. Read the denominator as the root and the numerator as the power.

Formula

Special Products

Three products recur so often they deserve memorizing:

(a + b)^2 = a^2 + 2ab + b^2(a - b)^2 = a^2 - 2ab + b^2(a + b)(a - b) = a^2 - b^2

Theorem

Roots From Factors (Zero-Product Property)

If a and b are real numbers and ab = 0, then a = 0 or b = 0 (or both). More generally, a product of any number of factors equals zero exactly when at least one factor equals zero.

Show proof

Suppose ab = 0 and a \neq 0. By the Field Properties of the Real Numbers, a has a multiplicative inverse \frac1a with a\cdot\frac1a=1. Multiplying both sides of ab=0 by \frac1a gives \frac1a(ab) = \frac1a \cdot 0, \qquad \left(\frac1a \cdot a\right)b = 0, \qquad 1\cdot b = 0, \qquad b = 0, using associativity, then the inverse property, then the identity property, in turn. So whenever a \neq 0, b is forced to be 0 — which means a=0 or b=0 is unavoidable whenever ab=0.

For more than two factors, group and repeat: view a_1a_2\cdots a_n=0 as (a_1)(a_2\cdots a_n)=0. Either a_1=0, or a_1\neq0 and the argument above forces the shorter product a_2\cdots a_n to be 0 — to which the same splitting applies again, one factor shorter each time, until some single factor is forced to 0.

Formula

Factoring Patterns

Four patterns worth recognizing on sight, each running a multiplication rule in reverse:

Difference of squares: a^2 - b^2 = (a + b)(a - b)

Perfect-square trinomial (both signs): the special products from earlier in this chapter, run in reverse: a^2 + 2ab + b^2 = (a+b)^2, \qquad a^2 - 2ab + b^2 = (a-b)^2

Sum of cubes: a^3 + b^3 = (a+b)(a^2 - ab + b^2)

Difference of cubes: a^3 - b^3 = (a-b)(a^2+ab+b^2)

In both cube patterns, the binomial factor keeps the same sign as the original expression; the trinomial factor always keeps the opposite sign in its middle term, and its last term is always positive.

Formula

Domain Restrictions of a Rational Expression

For a rational expression \dfrac{p(x)}{q(x)}, the domain excludes every value of x for which q(x) = 0, read off the original (unfactored, uncancelled) denominator.

Formula

Quotient of Opposite Factors

For any nonzero expression A, \frac{A}{-A} = \frac{-A}{A} = -1.

Formula

Multiplying Rational Expressions

For rational expressions \dfrac{p}{q} and \dfrac{r}{s} (q, s \neq 0), \frac{p}{q}\cdot\frac{r}{s} = \frac{pr}{qs}. Factor every numerator and denominator completely first, then cancel any factor shared between a numerator and a denominator anywhere in the product.

Formula

Dividing Rational Expressions

For rational expressions \dfrac{p}{q} and \dfrac{r}{s}, \frac{p}{q} \div \frac{r}{s} = \frac{p}{q}\cdot\frac{s}{r}, \qquad q, r, s \neq 0. Every denominator that appears at any stage, before or after flipping, excludes a value from the final domain.

Formula

Least Common Denominator (LCD) of Rational Expressions

The LCD of several rational expressions is the product of every distinct factor appearing in any denominator, each raised to the highest power it appears with anywhere:

  1. Factor every denominator completely.
  2. Assemble the LCD from the distinct factors, using the highest power of each.
  3. Build up each fraction by the factor(s) it's missing from the LCD.

Formula

Adding and Subtracting Rational Expressions

For rational expressions sharing a common denominator d \neq 0, \frac{A}{d} \pm \frac{B}{d} = \frac{A \pm B}{d}. Expressions without a common denominator must first be rewritten over their LCD before the numerators can be combined.

Formula

The Difference Quotient

For a function f and h \neq 0, \frac{f(x+h) - f(x)}{h}. Geometrically, this is the slope of the line through (x, f(x)) and (x+h, f(x+h)), the algebraic starting point for the derivative in calculus.

Equations & inequalities

Theorem

Reversal Rule for Inequalities

also known as: the flip rule

For real numbers a < b:

  • If c > 0, then ac < bc and \dfrac{a}{c} < \dfrac{b}{c}: the direction is preserved.
  • If c < 0, then ac > bc and \dfrac{a}{c} > \dfrac{b}{c}: the direction is reversed.

Adding or subtracting any real number c preserves the direction: a + c < b + c always.

Show proof

a < b means b - a > 0. Adding c to both sides of a<b is the claim (b+c)-(a+c) > 0, which is just b - a > 0 again — unchanged, so addition always preserves direction.

For multiplication, compare ac and bc by looking at their difference: bc - ac = (b-a)c. Since b - a > 0, the sign of this difference is exactly the sign of c. If c > 0, a positive times a positive is positive, so bc - ac > 0, i.e. ac < bc — direction preserved. If c < 0, a positive times a negative is negative, so bc - ac < 0, i.e. ac > bc — direction reversed. Dividing by c is multiplying by \frac{1}{c}, which carries the same sign as c, so the division rule follows immediately from the multiplication rule.

Formula

Absolute Value Equation Form

For a > 0: |u| = a \iff u = a or u = -a. If a = 0, the single case u = 0 applies. If a < 0, there is no solution.

Theorem

Absolute Value Inequality Forms

For a > 0:

  • |u| < a \iff -a < u < a (an "and" sandwich, one interval).
  • |u| > a \iff u < -a \ \text{ or } \ u > a (an "or" split, two rays).

The same correspondence holds with \le and \ge, using closed endpoints.

Show proof

For u \ge 0, |u| = u, so |u| < a means u < a — combined with 0 \le u and a > 0, that already reads -a < u < a. For u < 0, |u| = -u, so |u| < a means -u < a, i.e. u > -a — combined with u < 0 < a, that's again -a < u < a. Either way, |u| < a \iff -a < u < a.

For |u| > a: if u \ge 0, |u| = u > a directly; if u < 0, |u| = -u > a means u < -a. So |u| > a holds exactly when u > a or u < -a — the two rays. The \le/\ge forms follow the identical case split with the strict inequality replaced throughout.

Theorem

The Zero-Product Property

If A and B are real numbers (or real expressions) and A \cdot B = 0, then A = 0 or B = 0 (or both).

Show proof

Suppose A \cdot B = 0 and A \neq 0. Since A \neq 0, it has a multiplicative inverse \frac{1}{A}. Multiply both sides by \frac{1}{A}: \frac{1}{A}(A \cdot B) = \frac{1}{A} \cdot 0 The left side simplifies to B (since \frac{1}{A} \cdot A = 1) and the right side is 0, so B = 0. By the same argument with the roles swapped, if B \neq 0 then A = 0. So at least one of the two factors must be 0.

Formula

The Square Root Property

If u^2 = k with k \ge 0, then u = \sqrt{k} or u = -\sqrt{k}, abbreviated u = \pm\sqrt{k}. If k < 0, there are no real solutions.

Formula

Completing the Square

To solve x^2 + bx + c = 0: move the constant right, then add \left(\frac{b}{2}\right)^2 to both sides. The left side becomes the perfect square \left(x + \frac{b}{2}\right)^2, and the square root property finishes the job. (If a \ne 1, divide the equation by a first.)

Formula

The Quadratic Formula

also known as: the general solution to ax²+bx+c=0

For a \neq 0, x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}.

Show proof

Start from the general quadratic ax^2 + bx + c = 0 and divide every term by a (legal since a \neq 0): x^2 + \frac{b}{a}x + \frac{c}{a} = 0

Move the constant term to the right side: x^2 + \frac{b}{a}x = -\frac{c}{a}

Complete the square: take half of the x-coefficient, \frac{b}{2a}, square it, and add it to both sides. x^2 + \frac{b}{a}x + \left(\frac{b}{2a}\right)^2 = \left(\frac{b}{2a}\right)^2 - \frac{c}{a}

The left side is now a perfect-square trinomial: \left(x + \frac{b}{2a}\right)^2 = \frac{b^2}{4a^2} - \frac{c}{a} = \frac{b^2 - 4ac}{4a^2}

Take the square root of both sides — remembering a square root has two signs (strictly, \sqrt{4a^2} = 2|a| since a could itself be negative, but the very next \pm absorbs that sign either way, so writing 2a in the denominator costs nothing): x + \frac{b}{2a} = \pm\frac{\sqrt{b^2 - 4ac}}{2a}

Subtract \frac{b}{2a} from both sides: x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

Theorem

Discriminant Classification

For ax^2 + bx + c = 0 with a \neq 0, let D = b^2 - 4ac. Then:

  • D > 0: two distinct real solutions (rational if D is a perfect square, irrational otherwise).
  • D = 0: exactly one repeated real solution, x = -\frac{b}{2a}.
  • D < 0: no real solutions; instead, two complex conjugate solutions.
Show proof

The Quadratic Formula gives every solution of ax^2+bx+c=0 as x = \frac{-b \pm \sqrt{D}}{2a}, \qquad D = b^2 - 4ac, and the three cases fall directly out of what \sqrt{D} does under the \pm.

D > 0. \sqrt{D} is a positive real number, and +\sqrt D \ne -\sqrt D, so the formula produces two distinct real values. If D is a perfect square, \sqrt D is a whole number and the whole expression is a ratio of integers — rational. If D is not a perfect square, \sqrt D is irrational, and an irrational number added to the rational -b stays irrational, so both solutions are irrational.

D = 0. The \pm\sqrt D term vanishes entirely, collapsing the two branches into the single value x = -\frac{b}{2a} — one repeated solution.

D < 0. No real number squares to a negative, so \sqrt D has no real value and the formula names no real solution. Writing \sqrt D = i\sqrt{-D} instead produces the two complex values x = \frac{-b \pm i\sqrt{-D}}{2a}, which are conjugates of each other since they differ only in the sign in front of the imaginary part.

Formula

Sum and Product of the Roots

also known as: Vieta's formulas

For ax^2+bx+c=0 with a \neq 0 and roots r_1 and r_2, r_1 + r_2 = -\frac{b}{a}, \qquad r_1 r_2 = \frac{c}{a}.

Show proof

Write the roots from the quadratic formula, r_{1,2} = \dfrac{-b \pm \sqrt{D}}{2a} where D = b^2-4ac. Adding the two roots, the \pm\sqrt{D} terms cancel: r_1+r_2 = \frac{-b+\sqrt D}{2a} + \frac{-b-\sqrt D}{2a} = \frac{-2b}{2a} = -\frac{b}{a}. Multiplying uses a difference of squares: r_1 r_2 = \frac{(-b+\sqrt D)(-b-\sqrt D)}{4a^2} = \frac{b^2-D}{4a^2} = \frac{4ac}{4a^2} = \frac{c}{a}.

Formula

Cross-Multiplication

For b \ne 0 and d \ne 0: \frac{a}{b} = \frac{c}{d} \iff ad = bc.

Show proof

This is the LCD method applied to the one shape where it collapses to a one-line shortcut. The LCD of \frac{a}{b} and \frac{c}{d} is bd; multiply both sides by it: \frac{a}{b} \cdot bd = \frac{c}{d} \cdot bd. On the left, the b in the denominator cancels the b just introduced, leaving ad; on the right, the d cancels, leaving bc. That gives ad = bc — the "multiply the diagonals" rule is nothing more than the LCD step with the cancellation already carried out. Since b \ne 0 and d \ne 0 (both are required for the original fractions to even be defined), multiplying by bd here is a genuinely reversible step — dividing back by bd recovers \frac{a}{b} = \frac{c}{d} from ad = bc — which is exactly why this one shape needs no extraneous-root check the way the general LCD method does. The moment a third term joins the equation, the LCD is no longer just bd shared cleanly between two single fractions, and this shortcut no longer applies.

Formula

Combined Work Rate

If one worker alone completes a job in a hours and a second alone completes it in b hours, then working together they complete it in t hours, where \frac{1}{a} + \frac{1}{b} = \frac{1}{t}.

Show proof

The key modeling step, not just algebra: rates of the same kind of work add when the workers work simultaneously. If a job takes a hours alone, the worker completes \frac{1}{a} of the job every hour — that's the definition of "rate" as "amount of job per unit time." In t hours of working together, worker A contributes \frac{t}{a} of the job and worker B contributes \frac{t}{b}, and "together they finish the job" means their contributions sum to exactly one whole job: \frac{t}{a} + \frac{t}{b} = 1. Divide both sides by t (valid since t \ne 0 — finishing takes some positive amount of time): \frac{1}{a} + \frac{1}{b} = \frac{1}{t}. This is the same equation, just organized by rate instead of by amount completed — and it's why the pipes example above is set up as a sum of unit rates equal to \frac{1}{t} rather than derived from nothing: it's this identity, applied with a=4 and b=6.

Theorem

The Extraneous-Solution Warning

An algebraic step can fail to be reversible: squaring both sides, raising both sides to an even power, or multiplying both sides by an expression that can equal zero. Any such step can introduce candidate solutions to the transformed equation that do not satisfy the original equation. Every candidate produced by such a step must be checked against the original equation before being accepted. No amount of correct algebra afterward can substitute for that check.

Show proof

It suffices to show squaring is not reversible: a = b does not follow from a^2 = b^2 alone. Move everything to one side and factor: a^2 = b^2 \iff a^2 - b^2 = 0 \iff (a-b)(a+b) = 0 \iff a = b \ \text{ or } \ a = -b. So a^2 = b^2 certifies only that a equals b or its negation — the squaring step cannot distinguish which. If the original equation was a = b, the transformed equation a^2 = b^2 therefore also admits every solution of the different, unrelated equation a = -b, with no flag marking which root belongs to which. Those extra roots are extraneous precisely when they solve a^2=b^2 but fail the original a=b — which is exactly what re-checking every candidate against the original equation catches.

The same argument, one level more general, is why multiplying both sides by an expression E(x) that can equal zero is also irreversible: P = Q implies PE = QE for any E, but PE = QE only implies P = Q when E \ne 0 (dividing both sides by E requires it). Wherever E(x) = 0, PE = QE collapses to the trivially true 0 = 0 regardless of whether P = Q actually held there — so the transformed equation can pick up every root of E(x) = 0 as a spurious solution, which is exactly why step 1 of the rational-equation method (find the excluded values first) exists.

Graphs & functions

Formula

The Distance Formula

also known as: the 2-point distance formula

The distance between P_1 = (x_1, y_1) and P_2 = (x_2, y_2) is d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}.

Show proof

Introduce a third point Q = (x_2, y_1) — same height as P_1, same sideways position as P_2. The segment P_1Q is horizontal with length |x_2 - x_1|, and the segment QP_2 is vertical with length |y_2 - y_1|. A horizontal segment meeting a vertical one always forms a right angle, so triangle P_1QP_2 is a right triangle with legs |x_2 - x_1| and |y_2 - y_1|, and its hypotenuse is exactly the segment P_1P_2 whose length d we want. The Pythagorean theorem gives d^2 = (x_2 - x_1)^2 + (y_2 - y_1)^2, and taking the (non-negative) square root of both sides gives the formula.

Formula

The Midpoint Formula

The midpoint of the segment from P_1 = (x_1, y_1) to P_2 = (x_2, y_2) is M = \left( \frac{x_1 + x_2}{2}, \; \frac{y_1 + y_2}{2} \right).

Show proof

The step from P_1 to M is \left( \frac{x_1+x_2}{2} - x_1, \; \frac{y_1+y_2}{2} - y_1 \right) = \left( \frac{x_2-x_1}{2}, \; \frac{y_2-y_1}{2} \right), which is exactly half the step from P_1 to P_2. A point reached by taking half the step from P_1 toward P_2 sits exactly halfway along the segment — which is what "midpoint" means.

Formula

Standard Form of a Circle

also known as: center-radius form

The circle with center (h,k) and radius r has equation (x - h)^2 + (y - k)^2 = r^2.

Show proof

A point (x,y) lies on the circle exactly when its distance to the center (h,k) equals r. By the distance formula, \sqrt{(x-h)^2 + (y-k)^2} = r. Square both sides (both sides are non-negative, so this keeps the same solutions) to clear the radical: (x-h)^2 + (y-k)^2 = r^2.

Formula

The Slope Formula

The slope of the line through (x_1, y_1) and (x_2, y_2), with x_1 \neq x_2, is m = \frac{y_2 - y_1}{x_2 - x_1} = \frac{\text{rise}}{\text{run}}.

Formula

Forms of a Line's Equation

also known as: slope-intercept, point-slope, and standard form

Slope-intercept form: y = mx + b, where m is the slope and b is the y-intercept.

Point-slope form: a line through a known point (x_1, y_1) with slope m satisfies y - y_1 = m(x - x_1).

Standard form: Ax + By = C, with A, B, C integers and A > 0 by convention.

Theorem

Parallel Slopes

Two nonvertical lines are parallel if and only if m_1 = m_2, and they are not the same line.

Show proof

Write the two lines in slope-intercept form, y = m_1x + b_1 and y = m_2x + b_2. A point lies on both lines exactly when m_1x + b_1 = m_2x + b_2 \quad\Longleftrightarrow\quad (m_1 - m_2)x = b_2 - b_1.

If m_1 \neq m_2, this last equation solves for a single value of x (divide both sides by m_1 - m_2), so the lines meet at exactly one point — they are not parallel.

If m_1 = m_2, the left side is 0 for every x, so the equation becomes 0 = b_2 - b_1. When b_1 \neq b_2 that's false for every x: no intersection at all, which is exactly what parallel means. When b_1 = b_2 the equation is true for every x: the two equations describe the same line, not two parallel ones — which is exactly why the theorem excludes that case by name.

Theorem

Perpendicular Slopes

Two nonvertical, nonhorizontal lines with slopes m_1 and m_2 are perpendicular if and only if m_1 m_2 = -1, \qquad \text{equivalently} \qquad m_2 = -\frac{1}{m_1}.

Show proof

Let the two lines meet at point P. Build the right triangle that defines line 1's slope with its right-angle corner at P: a horizontal leg of run a and a vertical leg of rise b, so m_1 = \frac{b}{a}.

Now rotate that triangle 90° about P. A 90° rotation is a rigid motion — it preserves every length and every angle — and it does one very specific thing to direction: it swaps horizontal and vertical, flipping the sign of one of them. The horizontal leg of length a becomes a vertical leg of length a; the vertical leg of length b becomes a horizontal leg of length b, now pointing the opposite way along the x-direction.

Because a 90° rotation about P is, by definition, what turns line 1 into the line through P perpendicular to it, the rotated triangle's hypotenuse lies exactly along line 2. Reading its slope from the rotated legs: m_2 = \frac{\text{rise}}{\text{run}} = \frac{a}{-b} = -\frac{a}{b}.

Multiply the two slopes: m_1 m_2 = \frac{b}{a} \cdot \left(-\frac{a}{b}\right) = -1.

Every step above is reversible — rotating by 90° the other way undoes it — so the same argument run backward proves the converse: if m_1 m_2 = -1, the lines meet at a right angle.

Theorem

Vertical Line Test

A curve in the plane is the graph of a function of x if and only if no vertical line intersects the curve more than once.

Show proof

The vertical line x = a consists of exactly the points whose first coordinate is a — so the curve's intersections with that line are exactly the points (a, y) the curve assigns to input a.

If the curve is the graph of a function, input a has exactly one output, so x = a meets it in at most one point — for every a. Conversely, if some vertical line x = a met the curve twice, at (a, y_1) and (a, y_2) with y_1 \neq y_2, that would mean input a produced two different outputs, which is precisely what the definition of a function forbids. So the curve fails to be a function exactly when some vertical line crosses it more than once.

Formula

Average Rate of Change

The average rate of change of f on [a, b] is \frac{f(b) - f(a)}{b - a}, the slope of the secant line through (a, f(a)) and (b, f(b)).

Formula

Even and Odd Functions

A function f is

  • even if f(-x) = f(x) for every x in the domain, so the graph is symmetric about the y-axis;
  • odd if f(-x) = -f(x) for every x in the domain, so the graph is symmetric about the origin, meaning a 180^\circ rotation maps it onto itself.

Formula

Function Transformation Rules

Let c > 0 and a > 1. Starting from y = f(x):

Shifts

  • y = f(x) + c shifts the graph up c units;
  • y = f(x) - c shifts it down c units;
  • y = f(x - c) shifts it right c units;
  • y = f(x + c) shifts it left c units.

Reflections

  • y = -f(x): reflection across the x-axis (outputs negated);
  • y = f(-x): reflection across the y-axis (inputs negated).

Stretches and compressions

  • y = a \cdot f(x): vertical stretch by factor a;
  • y = \frac{1}{a} f(x): vertical compression by factor a;
  • y = f(ax): horizontal compression by factor a;
  • y = f\left(\frac{1}{a}x\right): horizontal stretch by factor a.

Changes outside f act on outputs (vertical, intuitive direction); changes inside the parentheses act on inputs (horizontal, opposite the apparent direction).

Formula

Function Composition

also known as: (f ∘ g)(x)

(f \circ g)(x) = f(g(x)),

apply g first, then apply f to the result. Its domain is every x in the domain of g for which g(x) lies in the domain of f.

Theorem

Horizontal Line Test

A function f is one-to-one if and only if no horizontal line intersects its graph more than once.

Show proof

The horizontal line y = k meets the graph of f exactly at the points (x, k) with f(x) = k — one point for every input that produces output k.

If f is one-to-one, then f(a) = f(b) forces a = b, so no two distinct inputs share an output: every horizontal line meets the graph at most once. Conversely, suppose some horizontal line y = k met the graph twice, at (a, k) and (b, k) with a \neq b. Then f(a) = k = f(b) with a \neq b — two different inputs sharing an output, which is exactly the negation of one-to-one. So f fails to be one-to-one exactly when some horizontal line crosses its graph more than once.

Formula

Inverse Function

also known as: the undo-button relationship

If f is one-to-one, its inverse f^{-1} is defined by f^{-1}(y) = x \iff f(x) = y, so that f^{-1}(f(x)) = x for all x in the domain of f, and f(f^{-1}(x)) = x for all x in the domain of f^{-1}.

Polynomial & rational functions

Formula

Vertex of a Parabola

For f(x) = ax^2 + bx + c with a \neq 0, the vertex occurs at x = -\frac{b}{2a}, and f\!\left(-\frac{b}{2a}\right) is the minimum value of f when a > 0 and the maximum value when a < 0.

Formula

Finite Differences Test

also known as: the differences fingerprint

For data with equally spaced inputs, let \Delta y denote the first differences (successive output changes) and \Delta^2 y the second differences (differences of the first differences).

  • \Delta y constant \iff the data is linear, with slope equal to that common first difference per unit step.
  • \Delta y non-constant but \Delta^2 y constant \iff the data is quadratic, with leading coefficient a = \frac{\Delta^2 y}{2} for unit steps.

Formula

Leading Term Test

also known as: the end-behavior shortcut

For f(x) = a_n x^n + \cdots + a_0 with a_n \neq 0, the end behavior of f matches the end behavior of its leading term a_n x^n alone:

n a_n left end right end
even > 0 rises rises
even < 0 falls falls
odd > 0 falls rises
odd < 0 rises falls

Theorem

Zero Multiplicity Theorem

If c is a zero of f with multiplicity k, the graph of f meets the x-axis at x = c as follows:

  • k odd: the graph crosses the axis (a sign change).
  • k even: the graph touches the axis and turns back (no sign change).

For k \geq 3 the graph additionally flattens against the axis near x = c.

Show proof

Multiplicity k means f(x) = (x-c)^k g(x) for some polynomial g with g(c) \neq 0. A polynomial can only change sign by passing through a zero, and g has none at c, so on a small enough interval around c the sign of g(x) stays fixed at the sign of g(c). That means near x = c, the sign of f(x) is controlled entirely by the sign of (x-c)^k.

k odd. (x - c) itself changes sign at c — negative just to the left, positive just to the right. Raising to an odd power preserves that sign change: (x-c)^k is negative on one side and positive on the other, so f is too. The graph crosses.

k even. Raising (x-c) to an even power erases the sign entirely — (x-c)^k \geq 0 on both sides of c, with equality only at c itself. So f keeps the same sign on both sides (matching the sign of g(c)), touches zero at c, and turns back rather than crossing.

The flattening for k \geq 3 is a matter of scale rather than sign: for |x - c| < 1, higher powers of a small number shrink faster, so (x-c)^k (and hence f) sits closer to 0 near c the larger k is — the curve hugs the axis longer before pulling away.

Formula

Turning Points of a Polynomial

A polynomial of degree n (n \ge 1) has at most n - 1 turning points. Equivalently, a graph observed to have t turning points came from a polynomial of degree at least t + 1.

Theorem

Division Algorithm for Polynomials

For polynomials f(x) and d(x) \neq 0, there exist unique polynomials q(x) and r(x) with f(x) = d(x)\,q(x) + r(x), \qquad r(x) = 0 \text{ or } \deg r(x) < \deg d(x).

Show proof

Existence. This is exactly what the long-division procedure produces. At each step, the working dividend's leading term is cancelled by subtracting \frac{\text{lead}(f)}{\text{lead}(d)}x^{\,\deg f - \deg d} \cdot d(x) — a multiple of d chosen precisely so its leading term matches. That cancellation strictly lowers the degree of the working dividend at every step. Degrees are nonnegative integers, and a strictly decreasing sequence of nonnegative integers cannot continue forever, so the process must halt after finitely many steps. It halts exactly when the working dividend's degree drops below \deg d (or hits 0) — call what's left r(x), and call the accumulated multiples of d(x) subtracted along the way q(x). Adding everything back together gives f(x) = d(x)q(x) + r(x).

Uniqueness. Suppose two pairs both work: f = dq_1 + r_1 = dq_2 + r_2. Rearranging, d(q_1 - q_2) = r_2 - r_1. If q_1 \neq q_2, the left side is d times a nonzero polynomial, so it has degree at least \deg d. But the right side is a difference of two remainders, each either 0 or of degree less than \deg d — so \deg(r_2 - r_1) < \deg d, a contradiction. So q_1 = q_2, and then r_2 - r_1 = d(q_1-q_2) = 0 forces r_1 = r_2 as well.

Theorem

Remainder Theorem

When f(x) is divided by x - c, the remainder is f(c).

Show proof

Write f(x) = (x-c)q(x) + r with r a constant (the division algorithm guarantees \deg r < \deg(x-c) = 1, so r has degree 0). Substitute x = c: f(c) = (c-c)q(c) + r = 0 + r = r. So the remainder r equals f(c).

Loading interactive…

Theorem

Factor Theorem

x - c is a factor of f(x) if and only if f(c) = 0. Zeros of f and linear factors of f are the same information.

Show proof

By the Remainder Theorem, dividing f(x) by x - c leaves remainder f(c). If f(c) = 0, the remainder is 0, so f(x) = (x-c)q(x) exactly — x - c divides evenly, i.e. it's a factor. Conversely, if x - c is a factor, f(x) = (x-c)q(x) for some q(x), so f(c) = (c-c)q(c) = 0.

Loading interactive…

Theorem

Rational Zero Theorem

also known as: Rational Root Theorem

If f(x) = a_n x^n + \cdots + a_1 x + a_0 has integer coefficients and \frac{p}{q} (in lowest terms) is a rational zero, then p divides a_0 and q divides a_n.

Thus every rational zero appears in the finite list \frac{p}{q} : \quad p \mid a_0, \quad q \mid a_n. The theorem does not promise any of the candidates is a zero. It only guarantees that no rational zero hides outside the list.

Show proof

Substitute x = \frac{p}{q} into f(x) = 0: a_n \left(\frac{p}{q}\right)^n + a_{n-1}\left(\frac{p}{q}\right)^{n-1} + \cdots + a_1\left(\frac{p}{q}\right) + a_0 = 0. Multiply every term by q^n to clear denominators: a_np^n + a_{n-1}p^{n-1}q + \cdots + a_1pq^{n-1} + a_0q^n = 0.

Isolate the constant term: a_0q^n = -\left(a_np^n + a_{n-1}p^{n-1}q + \cdots + a_1pq^{n-1}\right). Every term on the right has a factor of p, so p divides a_0q^n. Because \frac{p}{q} is in lowest terms, p and q share no prime factor, so p shares no prime factor with q^n either — meaning p must divide a_0 on its own.

The same move on the leading term gives a_np^n = -\left(a_{n-1}p^{n-1}q + \cdots + a_0q^n\right), and every term on the right now has a factor of q, so q divides a_np^n. Again q shares no factor with p^n, so q must divide a_n.

Theorem

Fundamental Theorem of Algebra

Every polynomial of degree n \geq 1 with complex (in particular, real) coefficients has at least one complex zero.

Show proof

Every known proof leans on machinery outside this course — complex analysis (Liouville's theorem: a bounded entire function is constant, applied to 1/f), topology (a degree-n map wraps the plane around itself n times, so it must hit 0), or Galois theory. None of those tools are available yet, so the result is taken on faith here, the way it is in every first course that uses it. What this course can do with it: combined with the Factor Theorem, it guarantees a degree-n polynomial factors completely into n linear factors over the complex numbers — that consequence, the Linear Factorization Theorem, is used freely and does have its own proof in the registry.

Theorem

Linear Factorization Theorem

Every degree-n polynomial (n \ge 1) factors over \mathbb{C} as f(x) = a_n(x - c_1)(x - c_2)\cdots(x - c_n), so f has exactly n complex zeros, counted with multiplicity.

Show proof

Apply the Fundamental Theorem of Algebra to find one zero c_1; by the Factor Theorem, f(x) = (x - c_1)q_1(x) for a degree-(n-1) quotient q_1. Apply the Fundamental Theorem again to q_1 to peel off c_2, and repeat. After n steps the quotient has degree 0 — a constant, which must be the leading coefficient a_n — leaving the full factorization f(x) = a_n(x-c_1)\cdots(x-c_n).

Theorem

Conjugate Pair Theorem

also known as: Conjugate Pairs Theorem

If f has real coefficients and a + bi (b \neq 0) is a zero, then its conjugate a - bi is also a zero. Hence nonreal zeros of real polynomials come in pairs, and every real polynomial of odd degree has at least one real zero.

Show proof

Conjugation respects addition and multiplication: for z = a+bi and w = c+di, direct expansion gives \overline{z+w} = \overline{z} + \overline{w} and \overline{zw} = \overline{z}\,\overline{w} (each side works out to the same real and imaginary parts). Since any polynomial expression is built from nothing but additions and multiplications, it follows that \overline{f(z)} = a_n\overline{z}^{\,n} + \cdots + a_1\overline{z} + a_0 provided every coefficient a_k is real — because \overline{a_k} = a_k exactly when a_k is real, which is precisely where the hypothesis gets spent.

Now suppose f(a+bi) = 0 for a real-coefficient f. Taking the conjugate of both sides: \overline{f(a+bi)} = f(\overline{a+bi}) = f(a - bi), and \overline{0} = 0, so f(a-bi) = 0 as well — the conjugate is also a zero.

Every nonreal zero therefore drags its conjugate along as a second zero, so nonreal zeros come in pairs. By the Linear Factorization Theorem, a degree-n polynomial has exactly n zeros counted with multiplicity. If n is odd, the nonreal zeros can only ever be removed two at a time — leaving an odd number unaccounted for, and those leftover zeros can't be nonreal (they'd need an unpaired partner), so at least one must be real.

Theorem

Intermediate Value Theorem (for polynomials)

also known as: the sign-change test

Let f be a polynomial and let a < b. If f(a) and f(b) have opposite signs, then f has at least one real zero c with a < c < b.

Show proof

The idea is intuitive — a graph that starts below the x-axis and ends above it, without ever jumping, has to cross somewhere — but making "without ever jumping" precise is a statement about the real numbers themselves. A rigorous proof needs the completeness property of \mathbb R (typically via the least-upper-bound axiom, showing the crossing point is the supremum of \{x \in [a,b] : f(x) < 0\}), which belongs to a real analysis course, not this one. It's taken on faith here — a polynomial is continuous (its graph really is one unbroken curve), and continuity is exactly the property the sign-change test relies on.

Loading interactive…

Theorem

Descartes' Rule of Signs

Let f(x) be a polynomial with real coefficients, written with terms in descending order of degree. Let v be the number of sign changes between consecutive nonzero coefficients; skip over any zero coefficients, since they don't count as a sign or a change.

  • The number of positive real zeros of f (counted with multiplicity) is either v, or v less an even number (v - 2, v - 4, \dots), down to 0 or 1.
  • The number of negative real zeros of f (counted with multiplicity) is either v', or v' less an even number, where v' is the number of sign changes in f(-x).

This is a classical 17th-century result; a full proof is beyond this course, but the rule is precise and worth using with confidence.

Loading interactive…

Formula

Upper and Lower Bound Tests

also known as: the synthetic division bound test

Let f(x) have real coefficients and positive leading coefficient, and synthetically divide f(x) by x - c.

  • Upper bound. If c > 0 and every number in the bottom row (the quotient's coefficients and the remainder) is nonnegative, then no real zero of f is greater than c: c is an upper bound.
  • Lower bound. If c < 0 and the numbers in the bottom row alternate in sign (zeros may count as either sign, whichever keeps the alternation going), then no real zero of f is less than c: c is a lower bound.

The positive-leading-coefficient requirement is a bookkeeping convenience, not a real restriction: if f's leading coefficient is negative, test -f(x) instead (same zeros, flipped sign) and the rows read the normal way.

Loading interactive…

Theorem

Irrational Root Theorem

also known as: the Irrational Conjugate Pairs Theorem

Let f have rational coefficients, and suppose a + \sqrt{b} is a zero of f, where a and b are rational and \sqrt{b} is irrational. Then the conjugate a - \sqrt{b} is also a zero of f, with the same multiplicity.

Show proof

Let d(x) = \big(x - (a+\sqrt b)\big)\big(x - (a-\sqrt b)\big) = (x-a)^2 - b = x^2 - 2ax + (a^2-b) — a quadratic whose coefficients are rational, since a and b are.

Divide f by d using the Division Algorithm: f(x) = d(x)q(x) + r(x) with \deg r \leq 1. Because d has rational coefficients and long division only ever adds, subtracts, multiplies, and divides the coefficients it's given, q and r come out with rational coefficients too — this is exactly where the rational-coefficient hypothesis earns its keep. Write r(x) = mx + n with m, n rational.

Evaluate at x = a + \sqrt b. Since d(a+\sqrt b) = 0 by construction, 0 = f(a+\sqrt b) = d(a+\sqrt b)q(a+\sqrt b) + r(a+\sqrt b) = r(a+\sqrt b) = (ma+n) + m\sqrt b. Both ma+n and m are rational, and \sqrt b is irrational. If m \neq 0, this equation could be solved for \sqrt b = -\frac{ma+n}{m}, a ratio of rational numbers — making \sqrt b rational, a contradiction. So m = 0, and then n = 0 follows immediately. That means r(x) \equiv 0, so f(x) = d(x)q(x) exactly.

Since a - \sqrt b is the other root of d, it makes d(x)q(x) = f(x) vanish too — it is also a zero of f. Repeating the same division on q shows each additional factor of d that divides f pulls another matched pair out together, so the two conjugate zeros always carry equal multiplicity.

Loading interactive…

Theorem

Vertical Asymptote and Hole Test

Let f(x) = \frac{p(x)}{q(x)}, and suppose (x-c)^n exactly divides q(x) and (x-c)^k exactly divides p(x) (k = 0 if p has no such factor).

  • If k \geq n: hole at x = c.
  • If k < n: vertical asymptote at x = c. The leftover power n - k determines its shape: odd leaves opposite infinities on each side, even leaves matching infinities on both sides.
Show proof

Write p(x) = (x-c)^kP(x) and q(x) = (x-c)^nQ(x) with P(c) \neq 0 and Q(c) \neq 0. For x \neq c, cancel the shared factor: f(x) = \frac{(x-c)^kP(x)}{(x-c)^nQ(x)} = (x-c)^{k-n}\,\frac{P(x)}{Q(x)}.

k \geq n: the hole. The exponent k - n is \geq 0, so (x-c)^{k-n}\frac{P(x)}{Q(x)} is an ordinary polynomial-or-rational expression that's perfectly defined at x = c (recall Q(c) \neq 0). f agrees with this reduced expression at every x \neq c, and is simply undefined at the single point x = c where the original q(x) vanished — a removable gap, i.e. a hole.

k < n: the asymptote. Here f(x) = \dfrac{P(x)/Q(x)}{(x-c)^{n-k}} with n - k > 0. As x \to c, the numerator \frac{P(x)}{Q(x)} approaches the nonzero number \frac{P(c)}{Q(c)}, while the denominator (x-c)^{n-k} shrinks toward 0 — a nonzero number divided by something shrinking to 0 grows without bound, so |f(x)| \to \infty.

For the sign: (x-c)^{n-k} is positive on both sides of c when n-k is even (the sign-erasing behavior an even power always has), so f blows up toward the same infinity on both sides. When n-k is odd, (x-c)^{n-k} carries the sign of (x-c) itself — negative to the left of c, positive to the right — so f blows up toward opposite infinities on the two sides.

Formula

Horizontal Asymptote Rules

Let f(x) = \frac{p(x)}{q(x)} with \deg p = n, \deg q = m, and leading coefficients a_n and b_m. As x \to \pm\infty:

  1. n < m: f(x) \to 0; horizontal asymptote y = 0.
  2. n = m: f(x) \to \frac{a_n}{b_m}; horizontal asymptote y = \frac{a_n}{b_m}, the ratio of leading coefficients.
  3. n = m + 1: no horizontal asymptote; polynomial division gives f(x) = (kx + b) + \frac{r(x)}{q(x)} with the remainder term vanishing at infinity, so the line y = kx + b is a slant (oblique) asymptote.
  4. n > m + 1: neither horizontal nor slant; the graph follows the polynomial quotient.

Unlike vertical asymptotes, a graph may cross its horizontal or slant asymptote at finite x. The asymptote only constrains behavior as x \to \pm\infty.

Other functions, variation & modeling

Formula

Square Root of a Square

also known as: \sqrt{x^2} = |x|

For every real number x, \sqrt{x^2} = |x|. The shortcut \sqrt{x^2} = x only holds once x \ge 0 is already known.

Theorem

Domain of a Radical Function

For f(x) = \sqrt[n]{g(x)}:

  • n even, bare radical: domain is \{x : g(x) \ge 0\}.
  • n even, radical in a denominator: domain is \{x : g(x) > 0\}; the boundary point is excluded, since it would make the denominator 0.
  • n odd, bare radical: domain is all of \mathbb{R}, with no condition to solve.
  • n odd, radical in a denominator: domain is \{x : g(x) \neq 0\}, the only forbidden input being the one that zeroes the denominator.
Show proof

A real nth root \sqrt[n]{x} is, by definition, a real number y with y^n = x. When n is even, y^n \ge 0 for every real y — an even power is never negative — so x must be \ge 0 for such a y to exist. That's the bare-radical, n-even case. When n is odd, y^n ranges over all of \mathbb{R} as y does, since odd powers preserve sign and grow without bound in both directions, so every real x has a real nth root — the bare-radical, n-odd case.

The two denominator cases layer the ordinary "a denominator can't be zero" restriction on top of that: the boundary g(x)=0 is excluded whenever the radical sits under a fraction, regardless of n's parity, since \sqrt[n]{0}=0 either way.

Theorem

Domain and Sign for a Rational-Exponent Power Function

also known as: the p/q domain-and-sign rule

Write n = \dfrac{p}{q} in lowest terms, q > 0, for f(x) = x^{p/q}.

  • Domain depends only on q: all of \mathbb{R} if q is odd, [0,\infty) if q is even.
  • Sign of the output depends only on p: never negative if p is even, matching the sign of x if p is odd.
Show proof

By definition, x^{p/q} = \left(\sqrt[q]{x}\right)^p once q > 0. The Domain of a Radical Function rule applied to the inner \sqrt[q]{x} gives exactly the stated domain — all of \mathbb{R} if q is odd, [0,\infty) if q is even — and the outer whole-number power p restricts nothing further, since raising any real number to a whole-number power is always defined.

For the sign, write y = \sqrt[q]{x}, so x^{p/q} = y^p. If p is even, y^p \ge 0 for every real y, so the output is never negative no matter what x is. If p is odd, y^p carries the same sign as y — and y=\sqrt[q]{x} carries the same sign as x (an odd root preserves sign; an even root, defined only where x \ge 0, is itself \ge 0) — so the output matches the sign of x.

Formula

End Behavior of Power Functions

also known as: the xⁿ end-behavior table

For f(x) = x^n as x \to \pm\infty:

n as x \to -\infty as x \to +\infty
even, positive f(x) \to +\infty f(x) \to +\infty
odd, positive f(x) \to -\infty f(x) \to +\infty
even, negative f(x) \to 0^+ f(x) \to 0^+
odd, negative f(x) \to 0^- f(x) \to 0^+

A negative n makes |f(x)| shrink toward 0 rather than grow, because x^n = \frac{1}{x^{|n|}}: a large denominator means a small fraction.

Formula

Multiplicativity of Absolute Value

also known as: |ab| = |a||b|

For all real a and b, |ab| = |a|\,|b|.

Formula

Absolute Value Vertex Form

also known as: y = a|x − h| + k

For a \neq 0, the graph of f(x) = a\,|x-h| + k is a V with vertex (h, k), opening upward if a>0 and downward if a<0, with ray slopes \pm a.

Formula

Direct Variation

also known as: y is directly proportional to x

y varies directly as x means y = kx, \qquad k \neq 0, for a fixed constant of variation k.

Formula

Inverse Variation

also known as: y is inversely proportional to x

y varies inversely as x means y = \frac{k}{x}, \qquad k \neq 0.

Formula

Direct vs. Inverse Recognition Test

also known as: the ratio-or-product test

For paired data (x, y) with no value repeated for x:

  • \dfrac{y}{x} constant across every pair \iff direct variation.
  • xy constant across every pair \iff inverse variation.

Check across every pair, not just one. An early pair can look consistent with the wrong pattern by coincidence.

Formula

Joint Variation

also known as: z varies directly as the product of x and y

z varies jointly as x and y means z = kxy, \qquad k \neq 0.

Formula

Combined Variation

also known as: z varies directly as x and inversely as y

z varies directly as x and inversely as y means z = \frac{kx}{y}, \qquad k \neq 0.

Formula

Power Variation

also known as: varies directly or inversely as the nth power

For a positive integer n and nonzero constant k:

  • y varies directly as the nth power of x: y = kx^n.
  • y varies inversely as the nth power of x: y = \dfrac{k}{x^n}.

The power attaches to x before k is applied. n=1 recovers plain direct and inverse variation as the special case.

Formula

Correlation coefficient

also known as: Pearson's r

For paired data (x_i, y_i), the correlation coefficient is r = \frac{n\sum x_iy_i - \sum x_i \sum y_i}{\sqrt{\left[n\sum x_i^2 - \left(\sum x_i\right)^2\right]\left[n\sum y_i^2 - \left(\sum y_i\right)^2\right]}}, a quantity always satisfying -1 \le r \le 1, computed by calculator or software in practice, exactly like m and b themselves. What matters is reading the value it returns:

  • r close to +1: a strong positive linear relationship. As x goes up, y reliably goes up too, and the points hug the line tightly.
  • r close to -1: a strong negative linear relationship. As x goes up, y reliably goes down, points still hugging the line tightly.
  • r close to 0: little to no linear relationship. The points are scattered too loosely (or don't trend in a straight line at all) for a line to say much of anything.
  • The sign of r always matches the sign of the slope m of the fitted line. Both record the same fact, that y rises or falls with x.

Formula

Model Family Diagnostic Signals

also known as: the model-identification cheat sheet

Family Diagnostic signal Shape Covered in
Linear constant first differences (add the same amount each step) straight line, constant rate Slope and line equations
Quadratic first differences change, but constant second differences parabola: one max or min, symmetric Quadratic models
Polynomial (degree ≥ 3) multiple turning points; no single constant-difference level ever settles several ups and downs Graphs of polynomial functions
Rational undefined at one or more specific inputs; outputs may flatten toward a fixed value far out vertical asymptote(s), sometimes a horizontal one too Asymptotes, holes, and graphs of rational functions
Root / power (e.g. \sqrt{x}, \sqrt[3]{x}, x^{1/2}, x^{-2}) a fractional or negative exponent in the formula itself; domain or range restricted by an even root or even-denominator exponent half-parabola-like curve, or a curve hugging an axis Square and cube root functions / Power functions and end behavior
Absolute value a sharp corner (no smooth turn), mirror-symmetric about a vertical line V shape Absolute value functions
Variation (direct/inverse/joint/combined) output is a constant multiple of an input (direct), or of 1/x^n (inverse) — no additive intercept line through the origin, or a curve hugging both axes Direct and inverse variation / Joint and combined variation

Formula

Residual

also known as: prediction error

For a model f and a data point (x, y), r = y - f(x).

Positive means the actual value came in above the model's prediction; negative means below; a residual near zero at every checked point is the signature of a good fit.

Exponential & logarithmic functions

Formula

Exponential Function

also known as: the general exponential model

An exponential function with base b has the form f(x) = a \cdot b^x, \qquad b > 0,\; b \neq 1,\; a \neq 0, where a = f(0) is the initial value. It models growth when b > 1 and decay when 0 < b < 1.

Formula

Compound Interest

If a principal P earns annual rate r (as a decimal), compounded n times per year for t years, the balance is A = P\left(1 + \frac{r}{n}\right)^{nt}.

Formula

Continuous Compounding

With continuous compounding at annual rate r, a principal P grows after t years to A = Pe^{rt}.

Formula

Definition of a Logarithm

also known as: log-exponential equivalence

For b > 0, b \neq 1, and x > 0, \log_b x = y \quad \Longleftrightarrow \quad b^y = x. That is, \log_b x is the exponent to which b must be raised to produce x.

Theorem

Domain Rule for Logarithms

also known as: the argument-must-be-positive rule

For any expression g(x), \log_b(g(x)) is only defined where g(x) > 0. The argument of a log can never be zero or negative, no matter how complicated g(x) is.

Show proof

By definition, \log_b(u) is the exponent y satisfying b^y = u. For a base b > 0, b^y is strictly positive for every real y: a positive number raised to a positive-integer power stays positive, raised to a negative power becomes the reciprocal of a positive number (still positive), and any root of a positive number is again taken to be positive. So the equation b^y = u can only ever be satisfied when u itself is positive. There is no real exponent y that produces 0 (the powers of a positive base approach but never reach 0) or a negative value.

Whenever u \leq 0, the defining equation b^y = u has no solution, so \log_b(u) names nothing; it's undefined. Substituting u = g(x) gives the rule for an arbitrary argument: \log_b(g(x)) is defined exactly where g(x) > 0.

Formula

Inverse Properties of Logarithms and Exponentials

Because \log_b x and b^x are inverse functions: b^{\log_b x} = x \quad (x > 0), \qquad \log_b(b^x) = x \quad (\text{any real } x).

Formula

Properties of Logarithms

For b > 0, b \neq 1, positive reals M, N, and any real p:

  1. Product rule: \log_b(MN) = \log_b M + \log_b N
  2. Quotient rule: \log_b\frac{M}{N} = \log_b M - \log_b N
  3. Power rule: \log_b(M^p) = p \log_b M

Formula

Change-of-Base Formula

For any valid bases a, b and x > 0: \log_b x = \frac{\log_a x}{\log_a b}.

Theorem

One-to-One Property of Exponential and Logarithmic Functions

For b > 0, b \neq 1: b^m = b^n \iff m = n, \qquad \log_b M = \log_b N \iff M = N \ (M, N > 0).

Show proof

Both directions of each statement lean on the pair of inverse identities \log_b(b^x) = x and b^{\log_b x} = x.

Given b^m = b^n, apply \log_b to both sides: \log_b(b^m) = \log_b(b^n), and the inverse identity collapses each side to just the exponent, leaving m = n. The converse — equal inputs to b^{(\cdot)} give equal outputs — holds simply because b^{(\cdot)} is a function.

Given \log_b M = \log_b N, apply b^{(\cdot)} to both sides: b^{\log_b M} = b^{\log_b N}, and the other inverse identity collapses each side back to the original argument, leaving M = N. Again the converse holds because \log_b is a function.

The restriction b \neq 1 is exactly what makes this work: for 0 < b < 1 or b > 1, b^x is strictly increasing or strictly decreasing, so it never repeats an output and the inverse identities are valid. At b = 1 that fails completely — 1^m = 1^n = 1 for every m and n, so equal outputs say nothing at all about the exponents, which is precisely why b = 1 is excluded from the theorem.

Formula

Exponential Growth and Decay

A quantity that grows or decays continuously at relative rate k satisfies N(t) = N_0 e^{kt}, where k > 0 gives growth and k < 0 gives decay.

A quantity with half-life h satisfies A(t) = A_0 \left(\tfrac{1}{2}\right)^{t/h}. Equivalently, for the continuous model A = A_0 e^{rt} with r < 0, the half-life is t = \dfrac{\ln 2}{|r|}.

Theorem

Newton's Law of Cooling

An object's temperature T(t) as it approaches the constant ambient temperature T_a of its surroundings, starting from initial temperature T_0 at t = 0 with cooling constant k > 0, satisfies T(t) = T_a + (T_0 - T_a)e^{-kt}. As t \to \infty, T(t) \to T_a.

Show proof

Deriving this formula from scratch needs a differential equation (the rate T changes is proportional to the current gap T-T_a), which is beyond this course. What can be checked directly, with nothing but exponent rules, is that the formula behaves exactly the way that defining property demands.

Matches the starting temperature. At t=0, T(0) = T_a + (T_0-T_a)e^0 = T_a + (T_0-T_a) = T_0.

Approaches, never crosses, the ambient temperature. Since k>0, e^{-kt}\to0 as t\to\infty, so T(t)\to T_a+0=T_a — and e^{-kt} is never 0 for any finite t, so the gap T(t)-T_a=(T_0-T_a)e^{-kt} never actually reaches zero.

The gap shrinks by the same factor over any equal time step, which is the real content of "cooling slows down as the gap closes." For any time t and step \Delta t, T(t+\Delta t) - T_a = (T_0-T_a)e^{-k(t+\Delta t)} = \big[(T_0-T_a)e^{-kt}\big]\cdot e^{-k\Delta t} = \big(T(t)-T_a\big)\cdot e^{-k\Delta t}. The multiplier e^{-k\Delta t} depends only on \Delta t, not on t — so the gap after any additional 10 minutes, say, is always the same fraction of whatever the gap was 10 minutes earlier, whether that's the first 10 minutes or the fifty-first. That is exactly the "loses the same percentage of what's left" pattern every other exponential-decay model in this chapter shares, just applied to a gap instead of to the quantity itself.

Formula

Decibel Scale

Sound intensity I (in W/m²) is measured against the reference intensity I_0 = 10^{-12}\text{ W/m}^2 by \beta = 10\log\frac{I}{I_0}.

Formula

Richter Scale

The Richter magnitude of an earthquake compares its intensity I to a reference intensity I_0: M = \log\frac{I}{I_0}.

Formula

pH Scale

The pH of a solution measures the hydrogen-ion concentration [\text{H}^+] (in moles per liter): \text{pH} = -\log[\text{H}^+].

Formula

Counting Digits with a Logarithm

For a positive integer N, the number of digits in N is \lfloor \log_{10} N \rfloor + 1.

Formula

Logistic Growth Model

A quantity growing toward carrying capacity L with growth-rate constant k>0 follows P(t) = \frac{L}{1 + Ae^{-kt}}, \qquad A = \frac{L-P_0}{P_0}, where P_0 = P(0) is the initial value.

Formula

Time to Reach a Logistic Population Target

For the logistic model P(t) = \dfrac{L}{1+Ae^{-kt}}, the time to reach a target value P is t = -\frac{1}{k}\ln\!\left[\frac{1}{A}\left(\frac{L}{P}-1\right)\right].

Trigonometric functions

Formula

Degree Measure of a Fractional Turn

A rotation of \dfrac{p}{q} of a full turn corresponds to an angle of \theta = \frac{p}{q} \times 360°.

fraction of a turn \frac12 \frac13 \frac14 \frac16 \frac18 \frac1{12}
degrees 180° 120° 90° 60° 45° 30°

Formula

Degree–Radian Conversion

\theta_{\text{rad}} = \theta_{\text{deg}} \cdot \frac{\pi}{180}, \qquad \theta_{\text{deg}} = \theta_{\text{rad}} \cdot \frac{180}{\pi}
Show proof

Both scales measure the same full rotation, just in different units: 360^\circ = 2\pi \text{ rad}. Divide both sides by 360 to find what one degree equals in radians: 1^\circ = \frac{2\pi}{360} \text{ rad} = \frac{\pi}{180} \text{ rad}. Multiplying by \theta_{\text{deg}} scales this up to any angle: \theta_{\text{rad}} = \theta_{\text{deg}} \cdot \frac{\pi}{180}. The reverse conversion is the reciprocal factor, \frac{180}{\pi}.

Formula

Coterminal Angles

Two angles are coterminal exactly when they differ by a whole number of full rotations: \theta + n\cdot 360°, \qquad \text{or} \qquad \theta + n\cdot 2\pi \text{ rad}, \qquad n \text{ any integer.}

Formula

Arc Length

For a circle of radius r, an angle of \theta radians (measured at the center) subtends an arc of length s = r\theta, \qquad \theta \text{ in radians.}

Show proof

By definition, one radian is the angle subtended by an arc equal in length to the radius — that is, an angle of 1 radian goes with an arc of length 1 \cdot r = r. Angles scale arc length proportionally: doubling the angle doubles the arc, tripling the angle triples it, and so on, because the arc is being swept out at a constant rate as \theta grows. So an angle of \theta radians — \theta copies of "one radius-length of arc" — subtends an arc of length \theta \cdot r = r\theta. The formula isn't really a new fact so much as radians' own definition, restated in symbols.

Formula

Sector Area

For a circle of radius r, the area of a sector with central angle \theta (in radians) is A = \frac{1}{2} r^2 \theta, \qquad \theta \text{ in radians.}

Show proof

A sector with angle \theta is one particular fraction of the whole circle — specifically, the fraction \frac{\theta}{2\pi}, since 2\pi is the angle of the complete circle. The whole circle has area \pi r^2, so the sector's area is that same fraction of the total: A = \frac{\theta}{2\pi} \cdot \pi r^2 = \frac{\theta \pi r^2}{2\pi} = \frac{1}{2}r^2\theta. The \pi in the numerator and denominator cancel, leaving a formula with no \pi in it at all — it's already baked into \theta being in radians.

Formula

RPM to Angular Speed in Radians per Second

Since one revolution is 2\pi radians and one minute is 60 seconds, \omega_{\text{rad/s}} = \omega_{\text{RPM}} \times \frac{2\pi}{60} = \omega_{\text{RPM}} \times \frac{\pi}{30}, \qquad \omega_{\text{RPM}} = \omega_{\text{rad/s}} \times \frac{30}{\pi}.

Formula

Linear Speed from Angular Speed

also known as: v = rω

For a point at radius r from the center of rotation, v = r\omega.

Show proof

Start from the arc-length formula, s = r\theta (with \theta in radians). Both sides describe the same motion over the same time interval t, so divide both sides by t: \frac{s}{t} = \frac{r\theta}{t} = r \cdot \frac{\theta}{t} The left side, \frac{s}{t}, is exactly the definition of linear speed v; the factor \frac{\theta}{t} on the right is exactly the definition of angular speed \omega. Substituting both gives v = r\omega.

Theorem

The Pythagorean Theorem

In a right triangle with legs a and b and hypotenuse c, a^2 + b^2 = c^2.

Show proof

Take four identical copies of the right triangle (legs a, b, hypotenuse c) and arrange them inside a square of side length a+b, with each triangle's hypotenuse forming one side of a smaller, tilted square in the middle. That tilted inner square has side length c, so its area is c^2.

The big square's area can be computed two ways. Directly, it's (a+b)^2. Piece by piece, it's the tilted inner square plus the four triangles: c^2 + 4 \cdot \frac{1}{2}ab = c^2 + 2ab. Both expressions describe the same region, so they're equal: (a+b)^2 = c^2 + 2ab a^2 + 2ab + b^2 = c^2 + 2ab a^2 + b^2 = c^2 A fully general treatment — proving the dissection actually tiles the square with no gaps or overlaps for any right triangle — is geometry-course territory; the rearrangement above is the intuition that makes the result believable, not just memorizable.

Formula

The Six Trigonometric Ratios

also known as: SOH-CAH-TOA and their reciprocals

For an acute angle \theta in a right triangle with opposite side o, adjacent side a, and hypotenuse h: \sin\theta = \frac{o}{h}, \qquad \cos\theta = \frac{a}{h}, \qquad \tan\theta = \frac{o}{a} Three more are defined as the reciprocals of these. They aren't new ratios of their own, just 1 divided by one of the three above: \csc\theta = \frac{1}{\sin\theta} = \frac{h}{o}, \qquad \sec\theta = \frac{1}{\cos\theta} = \frac{h}{a}, \qquad \cot\theta = \frac{1}{\tan\theta} = \frac{a}{o}

Formula

Common Pythagorean Triples

A handful of whole-number right-triangle side combinations recur constantly: 3\text{-}4\text{-}5, \qquad 5\text{-}12\text{-}13, \qquad 8\text{-}15\text{-}17, \qquad 7\text{-}24\text{-}25. Any whole-number multiple of a triple is also a triple, since scaling every side by k scales both sides of a^2+b^2=c^2 by k^2.

Formula

Exact Trig Values for 30°, 45°, 60°

also known as: the special-angles table

\theta \sin\theta \cos\theta \tan\theta
30° \dfrac{1}{2} \dfrac{\sqrt{3}}{2} \dfrac{\sqrt{3}}{3}
45° \dfrac{\sqrt{2}}{2} \dfrac{\sqrt{2}}{2} 1
60° \dfrac{\sqrt{3}}{2} \dfrac{1}{2} \sqrt{3}
Show proof

Every entry is just opposite/hypotenuse, adjacent/hypotenuse, or opposite/adjacent, read straight off the two triangles derived above.

From the 1 : \sqrt3 : 2 triangle, at the 30° angle the opposite leg is 1, the adjacent leg is \sqrt3, and the hypotenuse is 2: \sin 30° = \frac{1}{2}, \qquad \cos 30° = \frac{\sqrt3}{2}, \qquad \tan 30° = \frac{1}{\sqrt3} = \frac{\sqrt3}{3} At the 60° angle in the same triangle, opposite and adjacent swap (the side that was adjacent to 30° is opposite 60°, and vice versa): \sin 60° = \frac{\sqrt3}{2}, \qquad \cos 60° = \frac{1}{2}, \qquad \tan 60° = \sqrt3 From the 1 : 1 : \sqrt2 triangle, at either 45° angle opposite and adjacent are both 1: \sin 45° = \frac{1}{\sqrt2} = \frac{\sqrt2}{2}, \qquad \cos 45° = \frac{\sqrt2}{2}, \qquad \tan 45° = \frac{1}{1} = 1

Theorem

Angle of Elevation Equals Angle of Depression

The angle of elevation from point A to point B always equals the angle of depression from B back down to A.

Show proof

The horizontal line at A's feet and the horizontal line at B's altitude are parallel (both are just "horizontal"), and the line of sight connecting A and B is a single straight line crossing both. A line crossing two parallel lines creates equal alternate interior angles wherever it cuts them — a geometry fact independent of trigonometry — and the elevation/depression pair is exactly that alternate-interior-angle pair.

Theorem

The Unit Circle Definition of Sine and Cosine

Let \theta be an angle in standard position, and let (x, y) be the point where its terminal side intersects the unit circle. Then \cos\theta = x \qquad\text{and}\qquad \sin\theta = y.

Show proof

Take an acute angle \theta, so its terminal side crosses the unit circle at a point (x,y) in the first quadrant. Drop a perpendicular segment straight down from (x,y) to the x-axis. That segment, the x-axis, and the terminal side form a right triangle with:

  • hypotenuse = 1 (the radius of the unit circle),
  • the side adjacent to \theta running along the x-axis, with length x,
  • the side opposite \theta standing vertically, with length y.

By the right-triangle definition already in hand, \cos\theta = \frac{\text{adjacent}}{\text{hypotenuse}} = \frac{x}{1} = x, \qquad \sin\theta = \frac{\text{opposite}}{\text{hypotenuse}} = \frac{y}{1} = y. So for every acute angle, the coordinate definition and the right-triangle definition hand back the exact same numbers — the unit circle isn't replacing the old definition, it's the same idea with the hypotenuse fixed at 1 so "adjacent" and "opposite" collapse into plain x and y.

For \theta in any other quadrant, drop the same perpendicular from (x,y) to the x-axis and let \theta' be the resulting reference angle — the acute angle between the terminal side and the x-axis. That perpendicular still forms a right triangle with hypotenuse 1, legs |x| and |y|, and angle \theta', so the acute case already proven gives \cos\theta' = |x| and \sin\theta' = |y|. The sign is supplied automatically, not separately argued: x and y are the point's actual (signed) coordinates, negative exactly in the quadrants where the terminal side puts them, so \cos\theta = x and \sin\theta = y hold with their correct sign built in — nothing about the coordinate definition ever stops applying, only the right-triangle language ("opposite," "adjacent") stops making sense once \theta passes 90°.

Formula

Reference Angle by Quadrant

\theta' = \begin{cases} \theta & \text{QI} \\ 180° - \theta & \text{QII} \\ \theta - 180° & \text{QIII} \\ 360° - \theta & \text{QIV} \end{cases}

(replace 180° and 360° with \pi and 2\pi in radians).

Formula

Sign of Each Trig Function by Quadrant

also known as: All Students Take Calculus

Quadrant \sin,\csc \cos,\sec \tan,\cot
I + + +
II + - -
III - - +
IV - + -

Formula

Exact Trig Values for Standard Angles

also known as: the unit circle table

\theta (deg) \theta (rad) \sin\theta \cos\theta \tan\theta
0^\circ 0 0 1 0
30^\circ \pi/6 1/2 \sqrt{3}/2 \sqrt{3}/3
45^\circ \pi/4 \sqrt{2}/2 \sqrt{2}/2 1
60^\circ \pi/3 \sqrt{3}/2 1/2 \sqrt{3}
90^\circ \pi/2 1 0 undefined
120^\circ 2\pi/3 \sqrt{3}/2 -1/2 -\sqrt{3}
135^\circ 3\pi/4 \sqrt{2}/2 -\sqrt{2}/2 -1
150^\circ 5\pi/6 1/2 -\sqrt{3}/2 -\sqrt{3}/3
180^\circ \pi 0 -1 0
210^\circ 7\pi/6 -1/2 -\sqrt{3}/2 \sqrt{3}/3
225^\circ 5\pi/4 -\sqrt{2}/2 -\sqrt{2}/2 1
240^\circ 4\pi/3 -\sqrt{3}/2 -1/2 \sqrt{3}
270^\circ 3\pi/2 -1 0 undefined
300^\circ 5\pi/3 -\sqrt{3}/2 1/2 -\sqrt{3}
315^\circ 7\pi/4 -\sqrt{2}/2 \sqrt{2}/2 -1
330^\circ 11\pi/6 -1/2 \sqrt{3}/2 -\sqrt{3}/3
360^\circ 2\pi 0 1 0

Every row reduces to a 0^\circ, 30^\circ, 45^\circ, 60^\circ, or 90^\circ reference angle with a quadrant sign attached. Nothing here is new information, just the special-triangle values and the sign table, tabulated once so you're not rederiving them mid-problem.

Formula

The \sqrt{n}/2 Pattern for Quadrant-I Exact Values

For the five standard first-quadrant angles, \sin\theta = \dfrac{\sqrt{n}}{2} with n counting 0,1,2,3,4 as \theta counts 0°,30°,45°,60°,90°: \sin 0° = \frac{\sqrt0}{2}, \ \sin 30° = \frac{\sqrt1}{2}, \ \sin 45° = \frac{\sqrt2}{2}, \ \sin 60° = \frac{\sqrt3}{2}, \ \sin 90° = \frac{\sqrt4}{2}. \cos\theta for the same five angles is the identical list read in reverse order, and \tan\theta = \sin\theta/\cos\theta follows from both.

Formula

Domain of the Six Trigonometric Functions

\sin\theta,\ \cos\theta: \text{ all real } \theta \qquad \tan\theta,\ \sec\theta: \theta \neq \tfrac{\pi}{2}+k\pi \qquad \cot\theta,\ \csc\theta: \theta \neq k\pi

(k any integer)

Formula

Range of the Six Trigonometric Functions

\sin\theta,\ \cos\theta: [-1,1] \qquad \tan\theta,\ \cot\theta: (-\infty,\infty) \qquad \sec\theta,\ \csc\theta: (-\infty,-1]\cup[1,\infty)

Formula

Period of the Six Trigonometric Functions

\sin\theta,\ \cos\theta,\ \sec\theta,\ \csc\theta: \text{ period } 2\pi \qquad \tan\theta,\ \cot\theta: \text{ period } \pi

Theorem

Trigonometric Functions of a General Angle

If (x,y) is any point (other than the origin) on the terminal side of \theta in standard position, and r = \sqrt{x^2+y^2}, then \sin\theta = \frac{y}{r}, \quad \cos\theta = \frac{x}{r}, \quad \tan\theta = \frac{y}{x}, \quad \csc\theta = \frac{r}{y}, \quad \sec\theta = \frac{r}{x}, \quad \cot\theta = \frac{x}{y}.

Show proof

Scale (x, y) down to the unit circle by dividing by r: the point \left(\frac{x}{r}, \frac{y}{r}\right) is on the terminal side of the same angle \theta and satisfies \left(\frac{x}{r}\right)^2 + \left(\frac{y}{r}\right)^2 = \frac{x^2+y^2}{r^2} = 1, so it's the actual unit-circle point for \theta. By the unit circle definition, \cos\theta = \frac{x}{r} and \sin\theta = \frac{y}{r}; the other four follow from their usual quotient and reciprocal relationships.

Graphs of trigonometric functions

Formula

Amplitude and Midline

also known as: the vertical anatomy of A sin(B(x−C))+D

For y = A\sin(B(x-C))+D (or with \cos), \text{amplitude} = |A|, \qquad \text{midline: } y = D, with maximum value D + |A| and minimum value D - |A|.

Formula

Period of a Sinusoid

also known as: the period of A sin(B(x−C))+D or A cos(B(x−C))+D

For B \neq 0, the function y = A\sin(B(x-C))+D (or with \cos) has period T = \frac{2\pi}{|B|}.

Show proof

One full cycle of the parent \sin\theta occurs exactly as \theta runs through an interval of length 2\pi — that's the defining fact about the period of sine.

Here \theta has been replaced by B(x - C). Setting up the same "one full sweep" condition: the cycle completes as B(x-C) increases by 2\pi.

Solve for how much x itself must increase. If B(x-C) increases by 2\pi over an x-interval of length T, then B \cdot T = 2\pi, so T = \frac{2\pi}{B}.

Taking |B| handles a negative B (which reflects the wave horizontally but can't produce a negative period, since a period is a length): T = \frac{2\pi}{|B|}.

Formula

Phase Shift of a Sinusoid

also known as: the horizontal shift C in A sin(B(x−C))+D

For y = A\sin(B(x-C))+D (or with \cos), the graph is the parent wave shifted right by C when C>0 and left by |C| when C<0. This is always relative to the factored form B(x-C), never an unfactored equation read directly.

Formula

Period of Tangent and Cotangent

also known as: the pi/|B| period rule

For y=\tan(Bx) or y=\cot(Bx) with B \neq 0, T=\frac{\pi}{|B|}. Half the sine/cosine period formula's numerator, since tangent's own parent period is \pi, not 2\pi.

Theorem

Vertical Asymptotes of tan, cot, sec, csc

also known as: where each reciprocal or quotient function blows up

\tan\theta,\ \sec\theta \text{ are undefined at } \theta=\frac{\pi}{2}+k\pi, \qquad \cot\theta,\ \csc\theta \text{ are undefined at } \theta=k\pi,

for every integer k.

Show proof

\tan\theta=\sin\theta/\cos\theta and \sec\theta=1/\cos\theta are both undefined exactly where \cos\theta=0 — at \theta=\frac{\pi}{2}+k\pi, the zeros of cosine established in the unit-circle chapter. \cot\theta=\cos\theta/\sin\theta and \csc\theta=1/\sin\theta are both undefined exactly where \sin\theta=0 — at \theta=k\pi, sine's zeros. Every one of the four asymptote locations is nothing more than "where does the function's own denominator vanish," read straight off sine and cosine's already-known zeros.

Formula

Simple Harmonic Motion

also known as: the centered, unshifted sinusoid model

An object exhibits simple harmonic motion when its displacement d from equilibrium at time t satisfies d = a\sin(\omega t) \qquad \text{or} \qquad d = a\cos(\omega t), with amplitude |a|, angular frequency \omega, period T = \dfrac{2\pi}{\omega}, and frequency f = \dfrac{1}{T} = \dfrac{\omega}{2\pi}.

Formula

Period–Frequency Relationship

also known as: converting between T, f, and ω

T = \frac{1}{f}, \qquad f = \frac{1}{T}, \qquad \omega = 2\pi f = \frac{2\pi}{T}.

T and f are always reciprocals. A larger period always means a smaller frequency, never both large or both small at once.

Trigonometric identities & equations

\csc\theta = \frac{1}{\sin\theta} \quad (\sin\theta \neq 0,\text{ i.e. }\theta \neq k\pi), \qquad \sec\theta = \frac{1}{\cos\theta} \quad (\cos\theta \neq 0,\text{ i.e. }\theta \neq \tfrac{\pi}{2}+k\pi), \qquad \cot\theta = \frac{1}{\tan\theta} \quad (\tan\theta \neq 0,\text{ i.e. }\theta \neq k\pi)
\tan\theta = \frac{\sin\theta}{\cos\theta} \quad (\cos\theta \neq 0,\text{ i.e. }\theta \neq \tfrac{\pi}{2}+k\pi), \qquad \cot\theta = \frac{\cos\theta}{\sin\theta} \quad (\sin\theta \neq 0,\text{ i.e. }\theta \neq k\pi)

Theorem

The Pythagorean Identity

For every angle \theta, \sin^2\theta + \cos^2\theta = 1.

Show proof

The terminal side of \theta meets the unit circle at the point (\cos\theta, \sin\theta), and every point on the unit circle satisfies x^2 + y^2 = 1 by definition of the circle. Substitute x = \cos\theta and y = \sin\theta directly: \cos^2\theta + \sin^2\theta = 1. That's the whole proof. No triangle, no case split for which quadrant \theta lands in — the unit-circle equation itself doesn't care, so neither does this identity.

1 + \tan^2\theta = \sec^2\theta \quad (\theta \neq \tfrac{\pi}{2}+k\pi), \qquad 1 + \cot^2\theta = \csc^2\theta \quad (\theta \neq k\pi)

Formula

Even and Odd Trig Identities

\sin(-t) = -\sin t, \qquad \cos(-t) = \cos t, \qquad \tan(-t) = -\tan t\csc(-t) = -\csc t, \qquad \sec(-t) = \sec t, \qquad \cot(-t) = -\cot t
\sin\left(\frac{\pi}{2}-\theta\right) = \cos\theta, \qquad \cos\left(\frac{\pi}{2}-\theta\right) = \sin\theta, \qquad \tan\left(\frac{\pi}{2}-\theta\right) = \cot\theta\cot\left(\frac{\pi}{2}-\theta\right) = \tan\theta, \qquad \sec\left(\frac{\pi}{2}-\theta\right) = \csc\theta, \qquad \csc\left(\frac{\pi}{2}-\theta\right) = \sec\theta

Theorem

The Cosine Difference Formula

also known as: the angle-subtraction formula for cosine

For any angles \alpha and \beta, \cos(\alpha - \beta) = \cos\alpha\cos\beta + \sin\alpha\sin\beta.

Show proof

Place two points on the unit circle: P = (\cos\alpha, \sin\alpha) at angle \alpha from standard position, and Q = (\cos\beta, \sin\beta) at angle \beta. The angle between segments OP and OQ (where O is the origin) has measure \alpha - \beta. We'll compute the straight-line distance PQ two different ways and set the results equal.

Way 1 — the distance formula. PQ^2 = (\cos\alpha - \cos\beta)^2 + (\sin\alpha - \sin\beta)^2 Expand both squares: PQ^2 = \cos^2\alpha - 2\cos\alpha\cos\beta + \cos^2\beta + \sin^2\alpha - 2\sin\alpha\sin\beta + \sin^2\beta Regroup by point, and apply the Pythagorean identity to each point separately — \cos^2\alpha+\sin^2\alpha=1 since P is on the unit circle, and likewise for Q: PQ^2 = \underbrace{(\cos^2\alpha+\sin^2\alpha)}_{=\,1} + \underbrace{(\cos^2\beta+\sin^2\beta)}_{=\,1} - 2(\cos\alpha\cos\beta+\sin\alpha\sin\beta) = 2 - 2(\cos\alpha\cos\beta+\sin\alpha\sin\beta)

Way 2 — the Law of Cosines. Triangle OPQ has two sides of length 1 (both P and Q are on the unit circle, so OP = OQ = 1) enclosing an angle of measure \alpha-\beta. The Law of Cosines gives PQ^2 = OP^2 + OQ^2 - 2\cdot OP\cdot OQ\cdot\cos(\alpha-\beta) = 1 + 1 - 2\cos(\alpha-\beta) = 2 - 2\cos(\alpha-\beta) This route treats \alpha-\beta as an actual interior angle of a triangle, which only makes literal sense for 0<\alpha-\beta<\pi — Way 1 makes no such assumption at all (it's pure coordinate algebra, valid for every real \alpha,\beta), which is what actually earns the theorem's "for any angles" claim; Way 2 is included because the Law-of-Cosines route is the more memorable picture, not because it alone would suffice.

Set the two expressions for PQ^2 equal — they measure the same segment: 2 - 2(\cos\alpha\cos\beta+\sin\alpha\sin\beta) = 2 - 2\cos(\alpha-\beta) Subtract 2 from both sides, then divide by -2: \cos\alpha\cos\beta + \sin\alpha\sin\beta = \cos(\alpha-\beta) which is the identity, read right to left. \blacksquare

Formula

Sum and Difference Identities

also known as: the angle-addition formulas

\cos(\alpha\mp\beta) = \cos\alpha\cos\beta \pm \sin\alpha\sin\beta\sin(\alpha\pm\beta) = \sin\alpha\cos\beta \pm \cos\alpha\sin\beta\tan(\alpha\pm\beta) = \frac{\tan\alpha\pm\tan\beta}{1\mp\tan\alpha\tan\beta}

Note the crossed signs in the cosine line: a - on the left pairs with a + on the right, and vice versa. That crossing is exactly what trips people up. See the next check.

Formula

Angle Between Two Lines

For two nonvertical lines with slopes m_1 and m_2, the acute angle \theta between them satisfies \tan\theta = \left|\frac{m_2 - m_1}{1 + m_1 m_2}\right|. \tan\theta is undefined exactly when 1+m_1m_2=0, meaning \theta=90°: the perpendicular case.

Show proof

A nonvertical line's slope is the tangent of its inclination angle, the angle it makes with the positive x-axis. Let \theta_1, \theta_2 be the two lines' inclination angles, so m_1=\tan\theta_1 and m_2=\tan\theta_2. One angle between the two lines is \theta_2-\theta_1, and the tangent difference formula gives \tan(\theta_2-\theta_1) = \frac{\tan\theta_2-\tan\theta_1}{1+\tan\theta_1\tan\theta_2} = \frac{m_2-m_1}{1+m_1m_2}. Two intersecting lines actually form two pairs of equal vertical angles — one acute (or right), one obtuse (or right) — and \theta_2-\theta_1 might land on either one depending on which line is labeled "1" and which is "2." Taking the absolute value of the ratio always selects the acute angle: if the raw ratio is negative, \theta_2-\theta_1 named the obtuse angle, and its supplement (the acute one) has the same tangent magnitude with the opposite sign, which the absolute value produces either way, without needing to know in advance which of the two named angles was acute.

1+m_1m_2=0 making \tan\theta undefined recovers the perpendicular test from Chapter 4 exactly: m_1m_2=-1 is precisely the negative- reciprocal condition, and a tangent that blows up to infinity signals an angle of 90°, consistent with that earlier, purely algebraic rule.

Theorem

The Harmonic Addition Formula

also known as: the amplitude-phase form of a sinusoid

a\sin\theta + b\cos\theta = R\sin(\theta+\varphi), \qquad R=\sqrt{a^2+b^2},\quad \cos\varphi=\frac aR,\ \sin\varphi=\frac bR
Show proof

Start from the target shape and expand it with the sine sum formula proved earlier in this chapter: R\sin(\theta+\varphi) = R\sin\theta\cos\varphi + R\cos\theta\sin\varphi = (R\cos\varphi)\sin\theta + (R\sin\varphi)\cos\theta

For this to equal a\sin\theta+b\cos\theta for every value of \theta, the coefficients of \sin\theta and \cos\theta must match independently (two different, linearly independent functions of \theta can only agree everywhere if their coefficients agree term by term): R\cos\varphi = a \qquad\text{and}\qquad R\sin\varphi = b

Square both equations and add them. The left side collapses via the Pythagorean identity: R^2\cos^2\varphi + R^2\sin^2\varphi = a^2+b^2 \implies R^2\underbrace{(\cos^2\varphi+\sin^2\varphi)}_{=\,1} = a^2+b^2 \implies R = \sqrt{a^2+b^2}

With R known, divide the two original equations by R to isolate \varphi: \cos\varphi = \frac aR, \qquad \sin\varphi = \frac bR \qquad\blacksquare

Formula

Harmonic Addition

also known as: amplitude-phase conversion

a\sin\theta + b\cos\theta = R\sin(\theta+\varphi), \qquad R=\sqrt{a^2+b^2},\quad \cos\varphi=\frac aR,\ \sin\varphi=\frac bR

Formula

Common Reduction Formulas

also known as: landmark-angle identities

Identity From
\sin(\theta+180^\circ) = -\sin\theta sine sum, \beta=180^\circ
\cos(\theta+180^\circ) = -\cos\theta cosine sum, \beta=180^\circ
\sin(180^\circ-\theta) = \sin\theta sine difference, \alpha=180^\circ
\cos(180^\circ-\theta) = -\cos\theta cosine difference, \alpha=180^\circ
\cos(90^\circ+\theta) = -\sin\theta cosine sum, \alpha=90^\circ

Every row is produced the same way as the worked examples above: fix one angle at the landmark, substitute its known sine and cosine, simplify.

Formula

Double-Angle Identity for Sine

\sin(2\theta) = 2\sin\theta\cos\theta
Show proof

Substitute \alpha=\beta=\theta into the sine sum formula \sin(\alpha+\beta)=\sin\alpha\cos\beta+\cos\alpha\sin\beta: \sin(2\theta) = \sin(\theta+\theta) = \sin\theta\cos\theta + \cos\theta\sin\theta = 2\sin\theta\cos\theta. The two middle terms are identical, so they combine by ordinary like-terms addition — not a new trig fact, just x + x = 2x wearing a trig costume.

Theorem

Double-Angle Identities for Cosine

For every angle \theta, \cos(2\theta) = \cos^2\theta - \sin^2\theta = 2\cos^2\theta - 1 = 1 - 2\sin^2\theta.

Show proof

Set \alpha=\beta=\theta in the cosine sum formula \cos(\alpha+\beta)=\cos\alpha\cos\beta-\sin\alpha\sin\beta: \cos(2\theta) = \cos(\theta+\theta) = \cos\theta\cos\theta - \sin\theta\sin\theta = \cos^2\theta - \sin^2\theta. That's the first form, and no further work is required — it's already a true statement about \cos(2\theta).

The other two forms come from a single substitution each, using the Pythagorean identity \sin^2\theta+\cos^2\theta=1. Replace \sin^2\theta with 1-\cos^2\theta: \cos(2\theta) = \cos^2\theta - \sin^2\theta = \cos^2\theta - (1-\cos^2\theta) = 2\cos^2\theta - 1. Or replace \cos^2\theta with 1-\sin^2\theta instead: \cos(2\theta) = \cos^2\theta - \sin^2\theta = (1-\sin^2\theta) - \sin^2\theta = 1 - 2\sin^2\theta. All three expressions equal \cos(2\theta); they're the same quantity written three ways, not three different facts.

Formula

Double-Angle Identity for Tangent

\tan(2\theta) = \frac{2\tan\theta}{1-\tan^2\theta}, \qquad \theta \neq \tfrac{\pi}{2}+k\pi,\ \tan\theta \neq \pm 1
Show proof

By the quotient identity, \tan(2\theta) = \dfrac{\sin(2\theta)}{\cos(2\theta)}. Substitute the sine and cosine double-angle forms just proved: \tan(2\theta) = \frac{2\sin\theta\cos\theta}{\cos^2\theta - \sin^2\theta} Divide every term, top and bottom, by \cos^2\theta — valid only once \cos\theta\neq0, i.e. \theta\neq\frac{\pi}{2}+k\pi, since dividing by \cos^2\theta is what introduces \tan\theta in the first place: \tan(2\theta) = \frac{\dfrac{2\sin\theta\cos\theta}{\cos^2\theta}}{\dfrac{\cos^2\theta}{\cos^2\theta} - \dfrac{\sin^2\theta}{\cos^2\theta}} = \frac{2\tan\theta}{1-\tan^2\theta} Two separate restrictions survive into the final form, for two different reasons. \theta \neq \frac{\pi}{2}+k\pi is carried over from the division step above — \tan\theta itself doesn't exist there, so the right-hand side can't even be evaluated, even though \tan(2\theta) on the left is perfectly fine (e.g. \theta=\frac{\pi}{2} gives \tan(2\theta)=\tan\pi=0). Separately, \tan\theta \neq \pm 1 keeps the denominator 1-\tan^2\theta away from 0 — and that condition is exactly \theta = \frac{\pi}{4}+k\frac{\pi}{2}, precisely where 2\theta itself has no tangent, so both sides genuinely agree there is no value to assign.

Formula

Power-Reduction Identities

\sin^2\theta = \frac{1-\cos(2\theta)}{2}, \qquad \cos^2\theta = \frac{1+\cos(2\theta)}{2}
Show proof

Start from \cos(2\theta) = 1 - 2\sin^2\theta. Subtract 1 from both sides, then multiply by -1: \cos(2\theta) - 1 = -2\sin^2\theta \quad\Longrightarrow\quad 1 - \cos(2\theta) = 2\sin^2\theta Divide both sides by 2: \sin^2\theta = \frac{1-\cos(2\theta)}{2} Start instead from \cos(2\theta) = 2\cos^2\theta - 1. Add 1 to both sides: \cos(2\theta) + 1 = 2\cos^2\theta Divide both sides by 2: \cos^2\theta = \frac{1+\cos(2\theta)}{2}

Formula

Half-Angle Identities

\sin\frac{\theta}{2} = \pm\sqrt{\frac{1-\cos\theta}{2}}, \qquad \cos\frac{\theta}{2} = \pm\sqrt{\frac{1+\cos\theta}{2}}, \qquad \tan\frac{\theta}{2} = \pm\sqrt{\frac{1-\cos\theta}{1+\cos\theta}}

The sign in front of each radical is not a free choice and not always +. It's determined by which quadrant \dfrac{\theta}{2} itself falls in.

Show proof

Substitute \theta \to \dfrac{\theta}{2} into both power-reduction identities (so every 2\theta becomes \theta): \sin^2\frac{\theta}{2} = \frac{1-\cos\theta}{2}, \qquad \cos^2\frac{\theta}{2} = \frac{1+\cos\theta}{2} Square-rooting a squared quantity always produces a \pm — the square root property from Chapter 3 applies here exactly as it did to any equation of the form u^2 = k: \sin\frac{\theta}{2} = \pm\sqrt{\frac{1-\cos\theta}{2}}, \qquad \cos\frac{\theta}{2} = \pm\sqrt{\frac{1+\cos\theta}{2}} Dividing the two gives the tangent version, and it also simplifies to two radical-free forms, \tan\dfrac{\theta}{2} = \dfrac{1-\cos\theta}{\sin\theta} = \dfrac{\sin\theta}{1+\cos\theta}, which carry their own sign automatically — but the radical form above is the one that matches sine and cosine's pattern, and the one this course uses by default.

Formula

Product-to-Sum Identities

\cos\alpha\cos\beta = \tfrac12\big[\cos(\alpha-\beta)+\cos(\alpha+\beta)\big]\sin\alpha\sin\beta = \tfrac12\big[\cos(\alpha-\beta)-\cos(\alpha+\beta)\big]\sin\alpha\cos\beta = \tfrac12\big[\sin(\alpha+\beta)+\sin(\alpha-\beta)\big]
Show proof

Write the cosine difference and sum formulas together: \cos(\alpha-\beta) = \cos\alpha\cos\beta+\sin\alpha\sin\beta, \qquad \cos(\alpha+\beta) = \cos\alpha\cos\beta-\sin\alpha\sin\beta Add them — the \sin\alpha\sin\beta terms cancel, leaving \cos\alpha\cos\beta doubled: \cos(\alpha-\beta)+\cos(\alpha+\beta) = 2\cos\alpha\cos\beta \implies \cos\alpha\cos\beta = \tfrac12\big[\cos(\alpha-\beta)+\cos(\alpha+\beta)\big] Subtract them instead — the \cos\alpha\cos\beta terms cancel, leaving \sin\alpha\sin\beta doubled: \cos(\alpha-\beta)-\cos(\alpha+\beta) = 2\sin\alpha\sin\beta \implies \sin\alpha\sin\beta = \tfrac12\big[\cos(\alpha-\beta)-\cos(\alpha+\beta)\big] The same add-and-cancel move on the sine sum and difference formulas, \sin(\alpha+\beta)=\sin\alpha\cos\beta+\cos\alpha\sin\beta and \sin(\alpha-\beta)=\sin\alpha\cos\beta-\cos\alpha\sin\beta, isolates the third identity above.

Formula

Sum-to-Product Identities

\sin x + \sin y = 2\sin\!\left(\frac{x+y}{2}\right)\cos\!\left(\frac{x-y}{2}\right)\sin x - \sin y = 2\cos\!\left(\frac{x+y}{2}\right)\sin\!\left(\frac{x-y}{2}\right)\cos x + \cos y = 2\cos\!\left(\frac{x+y}{2}\right)\cos\!\left(\frac{x-y}{2}\right)\cos x - \cos y = -2\sin\!\left(\frac{x+y}{2}\right)\sin\!\left(\frac{x-y}{2}\right)

Formula

Standard Restricted Domains for Inverse Trig

also known as: the principal branches of sine, cosine, and tangent

\sin\theta \text{ restricted to } \left[-\frac{\pi}{2}, \frac{\pi}{2}\right], \qquad \cos\theta \text{ restricted to } [0, \pi], \qquad \tan\theta \text{ restricted to } \left(-\frac{\pi}{2}, \frac{\pi}{2}\right).

Theorem

Definitions of Arcsine, Arccosine, and Arctangent

y = \arcsin x \iff \sin y = x, \quad x \in [-1, 1], \quad y \in \left[-\frac{\pi}{2}, \frac{\pi}{2}\right]y = \arccos x \iff \cos y = x, \quad x \in [-1, 1], \quad y \in [0, \pi]y = \arctan x \iff \tan y = x, \quad x \in (-\infty, \infty), \quad y \in \left(-\frac{\pi}{2}, \frac{\pi}{2}\right)

Each inverse is defined only on the restricted piece of its parent function carved out earlier in this chapter. The domain and range above are not a separate choice; they are forced by which piece was restricted.

Show proof

A function has an inverse only where it's one-to-one — otherwise "the" angle with \sin y = x isn't unique, and \arcsin x couldn't return a single answer. Sine, cosine, and tangent are each periodic, so none of them is one-to-one on their full natural domain: infinitely many angles share the same sine (or cosine, or tangent).

Restricting to one piece where the function is strictly monotonic (always increasing, or always decreasing) fixes that, since a monotonic function never repeats a value. \left[-\frac{\pi}{2}, \frac{\pi}{2}\right] is exactly one full monotonic piece of sine (increasing from -1 to 1); [0,\pi] is one full monotonic piece of cosine (decreasing from 1 to -1); \left(-\frac{\pi}{2}, \frac{\pi}{2}\right) is one full monotonic piece of tangent (increasing across every real value). Each restricted function is now one-to-one on its piece, so it has a genuine inverse — and that inverse's domain is exactly the parent's restricted range, while its range is exactly the parent's restricted domain, which is precisely what's stated above.

Other monotonic pieces exist too (sine is also monotonic on \left[\frac{\pi}{2}, \frac{3\pi}{2}\right], for instance) — the pieces above are simply the standard convention, chosen for sitting closest to the origin.

Formula

Trig-of-Inverse-Trig Composition Identities

\sin(\arccos x) = \sqrt{1-x^2}, \qquad \cos(\arcsin x) = \sqrt{1-x^2}, \qquad \tan(\arcsin x) = \frac{x}{\sqrt{1-x^2}} \qquad (-1 \le x \le 1;\ x \neq \pm 1 \text{ where it appears in a denominator})\sin(\arctan x) = \frac{x}{\sqrt{1+x^2}}, \qquad \cos(\arctan x) = \frac{1}{\sqrt{1+x^2}}, \qquad \tan(\arccos x) = \frac{\sqrt{1-x^2}}{x} \qquad (x \neq 0 \text{ where it appears in a denominator})

Each row is the triangle mnemonic run once and recorded, not a new fact. Rebuilding any one of them from the labeled triangle takes the same three steps as the worked examples above.

Formula

General Solution of a Basic Trig Equation

also known as: the +2πk pattern

If \theta_1, \theta_2, \dots are all the solutions of a trig equation found within one period, the complete solution set, over all real numbers, comes from adding every integer multiple of the period to each one. For sine, cosine, secant, and cosecant (period 2\pi): \theta = \theta_1 + 2\pi k \quad \text{or} \quad \theta = \theta_2 + 2\pi k \quad (\text{for any integer } k) For tangent and cotangent (period \pi), a single family already covers everything. A solution and its "other quadrant" partner are always exactly \pi apart. \theta = \theta_1 + \pi k \quad (\text{for any integer } k)

Show proof

This is periodicity, not a new fact: \sin(\theta + 2\pi) = \sin\theta for every \theta, since a full revolution returns the terminal side to the same point. So if \theta_1 solves \sin\theta = k, then \theta_1 + 2\pi, \theta_1 + 4\pi, \theta_1 - 2\pi, and so on all solve it too — and because 2\pi is sine's smallest period, no solutions are skipped by stepping in increments of anything less. The same argument with period \pi handles tangent, where the extra shortcut — \theta_1 and \theta_1 + \pi always landing in opposite, sign-matching quadrants — is exactly why one family, not two, exhausts every solution.

Applications of trigonometry

Theorem

Law of Sines

also known as: the sine rule

In any triangle with angles A, B, C and opposite sides a, b, c, \frac{a}{\sin A} = \frac{b}{\sin B} = \frac{c}{\sin C}.

Show proof

Take triangle ABC and drop the altitude from vertex C straight down to side AB, meeting it (or its extension) at point D, with length h. This slices the triangle into two right triangles, ACD and BCD, both sharing that same altitude h.

In right triangle ACD, angle A sits opposite the altitude, and the hypotenuse of that right triangle is side b (side AC, opposite vertex B). So \sin A = \frac{h}{b} \quad\Longrightarrow\quad h = b\sin A.

In right triangle BCD, angle B sits opposite the same altitude, and the hypotenuse of that right triangle is side a (side BC, opposite vertex A). So \sin B = \frac{h}{a} \quad\Longrightarrow\quad h = a\sin B.

Both expressions equal the same h, so b\sin A = a\sin B \quad\Longrightarrow\quad \frac{a}{\sin A} = \frac{b}{\sin B}.

Drop a second altitude — say from vertex A to side BC — and the identical argument relates the other pair: \frac{b}{\sin B} = \frac{c}{\sin C}.

Chaining the two gives \dfrac{a}{\sin A} = \dfrac{b}{\sin B} = \dfrac{c}{\sin C}. (If angle C happens to be obtuse, the altitude from C lands outside segment AB rather than on it — but the identity \sin(180° - \theta) = \sin\theta makes the same two equations hold regardless, so the result survives untouched.)

Formula

The Ambiguous Case (SSA) Test

also known as: the h-test

Given angle A, adjacent side b, opposite side a, compute h = b\sin A.

If A < 90°: a<h gives no triangle; a=h gives exactly one (a right triangle); h<a<b gives two triangles; a \ge b gives exactly one.

If A \ge 90°: a \le b gives no triangle; a>b gives exactly one.

Theorem

The Law of Cosines

For any triangle with sides a, b, c opposite angles A, B, C: c^2 = a^2 + b^2 - 2ab\cos C

Show proof

Place triangle ABC with angle C at vertex C, flanked by sides CA = b and CB = a; the side opposite C is AB = c. Drop an altitude from vertex B down to line CA, meeting it at point D, with height h = BD.

Triangle BDC is a right triangle with hypotenuse CB = a and angle C at vertex C, so CD = a\cos C, \qquad h = a\sin C. (If C is obtuse, \cos C is negative and D falls past C, outside segment CA — the signed length CD = a\cos C still comes out correct, so nothing below needs to change for that case.)

That leaves AD = CA - CD = b - a\cos C. Triangle ABD has its right angle at D and hypotenuse AB = c, so the Pythagorean theorem gives c^2 = AD^2 + h^2 = (b - a\cos C)^2 + (a\sin C)^2. Expand and group the a^2 terms together: c^2 = b^2 - 2ab\cos C + a^2\cos^2 C + a^2\sin^2 C = b^2 - 2ab\cos C + a^2\left(\cos^2 C + \sin^2 C\right). The Pythagorean identity collapses \cos^2 C + \sin^2 C to 1: c^2 = a^2 + b^2 - 2ab\cos C. Relabeling the same argument around the other two vertices gives the A- and B-rotations.

Sanity check: set C = 90°. Then \cos C = 0, the whole correction term vanishes, and what's left is c^2 = a^2 + b^2 — the Pythagorean theorem, exactly as it must be, since a right triangle is just the C = 90° special case of every triangle.

Formula

SAS Triangle Area Formula

also known as: the trig area formula

For a triangle with two sides a, b and the angle C between them, \text{Area} = \frac12 ab\sin C.

Show proof

Treat side a as the base. Drop the altitude from the vertex opposite a down to the line containing a; inside the right triangle it forms with side b and angle C, that altitude has length h = b\sin C. Substitute into the familiar \text{Area} = \frac12 \times \text{base} \times \text{height}: \text{Area} = \frac12 \cdot a \cdot (b\sin C) = \frac12 ab\sin C. When C=90°, \sin C = 1 and this collapses to the ordinary \text{Area} = \frac12 ab — because at a right angle, side b is the height, standing straight up from the base with nothing left to project.

Formula

Heron's Formula

also known as: triangle area from three sides

For a triangle with sides a, b, c, let s = \dfrac{a+b+c}{2} (the semi-perimeter, half the perimeter, not the whole thing). Then \text{Area} = \sqrt{s(s-a)(s-b)(s-c)}.

Show proof

A full derivation starts from the SAS area formula \text{Area}=\frac12 ab\sin C, converts \sin C to \cos C via the Pythagorean identity, then substitutes the Law of Cosines' expression for \cos C in terms of a, b, c — the same two tools from earlier in this chapter, combined. The algebra that follows is a long chain of factoring (it eventually needs the difference-of-squares pattern twice over), so rather than grinding through every line here, take away the important fact: Heron's formula isn't a new idea, it's the SAS area formula and the Law of Cosines fused into one side-only shortcut.

Formula

Vector Components, Magnitude, and Direction Angle

For a vector with magnitude |\mathbf{v}| and direction angle \theta, x = |\mathbf{v}|\cos\theta, \qquad y = |\mathbf{v}|\sin\theta. Conversely, for a vector with components \langle x, y\rangle, |\mathbf{v}| = \sqrt{x^2+y^2}, \qquad \theta = \tan^{-1}\!\left(\frac{y}{x}\right)\ \text{(adjusted for the quadrant of $\langle x,y\rangle$).}

Formula

Normalizing a Vector

For any nonzero vector \mathbf{v}, the unit vector pointing in the same direction is

\hat{\mathbf{v}} = \frac{\mathbf{v}}{|\mathbf{v}|} = \left\langle \frac{v_1}{|\mathbf{v}|},\ \frac{v_2}{|\mathbf{v}|}\right\rangle.
Show proof

Dividing a vector by the positive scalar |\mathbf{v}| is scalar multiplication by k = \frac{1}{|\mathbf{v}|} > 0, which — as established above — scales magnitude by |k| and leaves direction unchanged. So \hat{\mathbf{v}} points the same way as \mathbf{v}, and its magnitude is

|\hat{\mathbf{v}}| = |k|\,|\mathbf{v}| = \frac{1}{|\mathbf{v}|}\cdot|\mathbf{v}| = 1.

Theorem

Algebraic and Geometric Dot Product Agree

For vectors \mathbf{u}, \mathbf{v} with angle \theta between them,

\mathbf{u}\cdot\mathbf{v} = u_1v_1+u_2v_2 = |\mathbf{u}|\,|\mathbf{v}|\cos\theta.
Show proof

Draw \mathbf{u} and \mathbf{v} from a common starting point O, with tips at points U and V. The three points O, U, V form a triangle: two sides have lengths |\mathbf{u}| and |\mathbf{v}|, meeting at angle \theta; the third side, from U to V, has length |\mathbf{u}-\mathbf{v}|. The Law of Cosines applied to this triangle gives

|\mathbf{u}-\mathbf{v}|^2 = |\mathbf{u}|^2 + |\mathbf{v}|^2 - 2|\mathbf{u}|\,|\mathbf{v}|\cos\theta

Now expand the left side directly from components. Writing \mathbf{u}=\langle u_1,u_2\rangle and \mathbf{v}=\langle v_1,v_2\rangle, so \mathbf{u}-\mathbf{v} = \langle u_1-v_1,\ u_2-v_2\rangle:

|\mathbf{u}-\mathbf{v}|^2 = (u_1-v_1)^2 + (u_2-v_2)^2 = u_1^2+u_2^2+v_1^2+v_2^2 - 2(u_1v_1+u_2v_2)

The first four terms are exactly |\mathbf{u}|^2+|\mathbf{v}|^2, and the last piece is 2(\mathbf{u}\cdot\mathbf{v}) by the algebraic definition, so

|\mathbf{u}-\mathbf{v}|^2 = |\mathbf{u}|^2 + |\mathbf{v}|^2 - 2(\mathbf{u}\cdot\mathbf{v})

Both boxed expressions equal |\mathbf{u}-\mathbf{v}|^2, so set them equal to each other and cancel the shared |\mathbf{u}|^2+|\mathbf{v}|^2 from both sides:

-2(\mathbf{u}\cdot\mathbf{v}) = -2|\mathbf{u}|\,|\mathbf{v}|\cos\theta

Divide both sides by -2:

\mathbf{u}\cdot\mathbf{v} = |\mathbf{u}|\,|\mathbf{v}|\cos\theta

Formula

Angle Between Two Vectors

For nonzero vectors \mathbf{u}, \mathbf{v}, \theta = \cos^{-1}\!\left(\frac{\mathbf{u}\cdot\mathbf{v}}{|\mathbf{u}|\,|\mathbf{v}|}\right). In particular, \mathbf{u}\cdot\mathbf{v} = 0 if and only if \mathbf{u} and \mathbf{v} are orthogonal.

Formula

Vector Projection

also known as: the shadow one vector casts onto another

For vectors \mathbf{u} and \mathbf{v} with \mathbf{u} \neq \mathbf{0}, the projection of \mathbf{v} onto \mathbf{u} is

\text{proj}_{\mathbf{u}}\mathbf{v} = \left(\frac{\mathbf{v}\cdot\mathbf{u}}{|\mathbf{u}|^2}\right)\mathbf{u}.
Show proof

Drop a perpendicular from the tip of \mathbf{v} down onto the line through \mathbf{u}; this forms a right triangle with hypotenuse |\mathbf{v}| and angle \theta between \mathbf{u} and \mathbf{v}. Exactly as in Chapter 8, the leg lying along \mathbf{u}'s line — the scalar projection — has length |\mathbf{v}|\cos\theta (adjacent equals hypotenuse times cosine). From the theorem above, \cos\theta = \frac{\mathbf{u}\cdot\mathbf{v}}{|\mathbf{u}|\,|\mathbf{v}|}, so the scalar projection simplifies to

|\mathbf{v}|\cos\theta = |\mathbf{v}|\cdot\frac{\mathbf{u}\cdot\mathbf{v}}{|\mathbf{u}|\,|\mathbf{v}|} = \frac{\mathbf{u}\cdot\mathbf{v}}{|\mathbf{u}|}.

The vector projection points along \mathbf{u}'s own direction, so multiply this scalar length by the unit vector \frac{\mathbf{u}}{|\mathbf{u}|}:

\text{proj}_{\mathbf{u}}\mathbf{v} = \frac{\mathbf{u}\cdot\mathbf{v}}{|\mathbf{u}|}\cdot\frac{\mathbf{u}}{|\mathbf{u}|} = \frac{\mathbf{u}\cdot\mathbf{v}}{|\mathbf{u}|^2}\mathbf{u}.

Formula

Polar (Trigonometric) Form of a Complex Number

also known as: modulus-argument form, trigonometric form

Every nonzero complex number z = a + bi can be written as z = r(\cos\theta + i\sin\theta), where r = \sqrt{a^2+b^2} is the modulus and \theta is an argument of z. Because \cos\theta + i\sin\theta is written so often, it's commonly abbreviated \operatorname{cis}\theta = \cos\theta + i\sin\theta, \qquad\text{so}\qquad z = r\operatorname{cis}\theta.

Show proof

This is nothing but the polar-to-rectangular conversion from the polar coordinate system, relabeled. There, a point at distance r and angle \theta has coordinates x = r\cos\theta and y = r\sin\theta. Here, the real axis is standing in for x and the imaginary axis for y, so the same two equations read a = r\cos\theta, \qquad b = r\sin\theta. Substitute directly into z = a + bi: z = a + bi = r\cos\theta + i(r\sin\theta) = r(\cos\theta + i\sin\theta). No new geometry was needed — the polar coordinate system already proved the conversion; this is that exact result wearing an i.

Theorem

Product of Two Complex Numbers in Polar Form

For z_1 = r_1(\cos\alpha + i\sin\alpha) and z_2 = r_2(\cos\beta + i\sin\beta), z_1 z_2 = r_1 r_2\big[\cos(\alpha+\beta) + i\sin(\alpha+\beta)\big]. Multiplying complex numbers multiplies their moduli and adds their arguments.

Show proof

Multiply the two polar forms out like any product of binomials, treating \cos\alpha + i\sin\alpha and \cos\beta+i\sin\beta as the two factors: z_1z_2 = r_1r_2(\cos\alpha+i\sin\alpha)(\cos\beta+i\sin\beta) = r_1r_2\big[\cos\alpha\cos\beta + i\cos\alpha\sin\beta + i\sin\alpha\cos\beta + i^2\sin\alpha\sin\beta\big] +++ Apply i^2 = -1 to the last term, then separate the real terms from the i terms: = r_1r_2\Big[\underbrace{(\cos\alpha\cos\beta - \sin\alpha\sin\beta)}_{\text{real part}} + i\underbrace{(\sin\alpha\cos\beta+\cos\alpha\sin\beta)}_{\text{imaginary part}}\Big] +++ Both underbraced pieces are exactly the sum formulas proved in the identities chapters: \cos\alpha\cos\beta-\sin\alpha\sin\beta = \cos(\alpha+\beta), \qquad \sin\alpha\cos\beta+\cos\alpha\sin\beta = \sin(\alpha+\beta) +++ Substitute both in: z_1z_2 = r_1r_2\big[\cos(\alpha+\beta) + i\sin(\alpha+\beta)\big] \qquad \blacksquare

Formula

Quotient of Two Complex Numbers in Polar Form

For z_1 = r_1(\cos\alpha + i\sin\alpha) and z_2 = r_2(\cos\beta + i\sin\beta) \neq 0, \frac{z_1}{z_2} = \frac{r_1}{r_2}\big[\cos(\alpha-\beta) + i\sin(\alpha-\beta)\big]. Dividing complex numbers divides their moduli and subtracts their arguments.

For any positive integer n, \big[r(\cos\theta+i\sin\theta)\big]^n = r^n\big(\cos(n\theta)+i\sin(n\theta)\big).

Show proof

This is mathematical induction, a proof technique that gets a full treatment of its own in Chapter 14 — worth previewing here in full, rather than waiting, since it's the only way to certify a pattern for every positive integer n at once rather than checking cases one at a time. Applied to the statement P(n): "[r\operatorname{cis}\theta]^n = r^n\operatorname{cis}(n\theta)."

Base case (n=1): [r\operatorname{cis}\theta]^1 = r\operatorname{cis}\theta = r^1\operatorname{cis}(1\cdot\theta). True. +++ Inductive hypothesis: assume P(k) holds for some integer k \ge 1 — that is, assume [r\operatorname{cis}\theta]^k = r^k\operatorname{cis}(k\theta). +++ Inductive step: show P(k+1) follows. Split off one more factor of z = r\operatorname{cis}\theta: [r\operatorname{cis}\theta]^{k+1} = [r\operatorname{cis}\theta]^k \cdot [r\operatorname{cis}\theta] +++ Apply the inductive hypothesis to the first factor, then multiply the two polar numbers using the product rule just proved — moduli multiply, arguments add: = \big[r^k\operatorname{cis}(k\theta)\big]\cdot\big[r\operatorname{cis}\theta\big] = r^k \cdot r\;\operatorname{cis}\big(k\theta+\theta\big) = r^{k+1}\operatorname{cis}\big((k+1)\theta\big) This is exactly P(k+1). +++ Base case and inductive step both hold, so by the Principle of Mathematical Induction, [r\operatorname{cis}\theta]^n = r^n\operatorname{cis}(n\theta) for every integer n \ge 1. \blacksquare

Formula

The nth Roots of a Complex Number

For z = r(\cos\theta+i\sin\theta) \neq 0 and a positive integer n, the n distinct nth roots of z are w_k = r^{1/n}\left[\cos\!\left(\frac{\theta+2\pi k}{n}\right) + i\sin\!\left(\frac{\theta+2\pi k}{n}\right)\right], \qquad k = 0, 1, 2, \dots, n-1. Every root shares the same modulus r^{1/n}, so all n of them sit on one circle of radius r^{1/n} centered at the origin. They're spaced \frac{2\pi}{n} radians (\frac{360°}{n}) apart, evenly around the whole circle.

Analytic geometry

Formula

Standard Form of an Ellipse

Centered at the origin with a horizontal major axis, \frac{x^2}{a^2} + \frac{y^2}{b^2} = 1, \qquad a > b > 0, with vertices (\pm a, 0), co-vertices (0, \pm b), and foci (\pm c, 0) where c^2 = a^2 - b^2. If the larger denominator sits under y^2 instead, the major axis is vertical and the foci lie on the y-axis.

Centered at (h, k), \frac{(x-h)^2}{a^2} + \frac{(y-k)^2}{b^2} = 1.

The eccentricity is e = \dfrac{c}{a}, with 0 \le e < 1.

Formula

Standard Form of a Parabola

With vertex at the origin, x^2 = 4py \qquad \text{focus } (0, p), \ \text{directrix } y = -p, y^2 = 4px \qquad \text{focus } (p, 0), \ \text{directrix } x = -p.

With vertex at (h, k), (x-h)^2 = 4p(y-k) \qquad \text{focus } (h, k+p), \ \text{directrix } y = k-p, (y-k)^2 = 4p(x-h) \qquad \text{focus } (h+p, k), \ \text{directrix } x = h-p.

Formula

Standard Form of a Hyperbola

Centered at the origin, transverse axis horizontal, \frac{x^2}{a^2} - \frac{y^2}{b^2} = 1, with vertices (\pm a, 0), foci (\pm c, 0) where c^2 = a^2 + b^2, and asymptotes y = \pm \dfrac{b}{a}x.

Transverse axis vertical, \frac{y^2}{a^2} - \frac{x^2}{b^2} = 1, with vertices (0, \pm a), foci (0, \pm c), and asymptotes y = \pm \dfrac{a}{b}x.

Centered at (h, k), \frac{(x-h)^2}{a^2} - \frac{(y-k)^2}{b^2} = 1 \quad\text{or}\quad \frac{(y-k)^2}{a^2} - \frac{(x-h)^2}{b^2} = 1, with asymptotes passing through (h,k) instead of the origin.

Formula

Eccentricity of a Hyperbola

e = \frac{c}{a}, \qquad e > 1.

Because c^2 = a^2 + b^2 makes c always greater than a, every hyperbola's eccentricity exceeds 1. An ellipse's eccentricity, by contrast, always stays below 1.

Theorem

Classifying a Conic by Sign

also known as: the A/C sign test

Assume the second-degree equation has no xy term (B = 0): Ax^2 + Cy^2 + Dx + Ey + F = 0. Then, assuming the equation represents a genuine (non-degenerate) conic:

condition on A and C conic
A = C, same sign circle
A \neq C, same sign ellipse
A and C opposite signs hyperbola
exactly one of A, C is zero parabola
Show proof

Each row falls straight out of the standard forms from the last two sections — the general equation is exactly what you get if you multiply a standard form out and shove every term to one side.

Circle. The standard form is (x-h)^2+(y-k)^2=r^2. Expand it and the coefficients of x^2 and y^2 are both exactly 1 (or whatever common factor the whole equation gets multiplied by) — identical numbers, same sign, by construction. A=C is not a coincidence; it's the algebraic fingerprint of "the two directions are treated identically," which is precisely what makes a circle round instead of oval.

Ellipse. The standard form \frac{x^2}{a^2}+\frac{y^2}{b^2}=1 has different denominators whenever a \neq b. Multiplying through by a^2b^2 to clear denominators gives leading coefficients b^2 and a^2 — both positive (same sign), but unequal whenever a \neq b. An ellipse is a circle that got stretched unevenly, and the inequality A \neq C is the algebra recording that unevenness.

Hyperbola. The standard form \frac{x^2}{a^2}-\frac{y^2}{b^2}=1 has a minus sign built into the definition itself — clearing denominators gives leading coefficients b^2 and -a^2, opposite signs no matter what a and b are. That minus sign isn't a computational accident; it's the entire geometric difference between a closed loop (ellipse) and two runaway branches (hyperbola).

Parabola. The standard forms y^2=4px and x^2=4py each contain only ONE squared variable. There's no term to write for the other one, which is the same as writing its coefficient as 0. A parabola isn't a squashed circle or a lopsided ellipse — it's a fundamentally different shape, with only one distance rule (focus and directrix) instead of two foci, and the missing squared term is exactly where that difference shows up in the algebra.

Theorem

The Rotation Angle Formula

For the general second-degree equation Ax^2+Bxy+Cy^2+Dx+Ey+F=0 with B\neq0, substituting the rotation formulas and collecting the coefficient of x'y' gives (C-A)\sin2\theta + B\cos2\theta. Setting this to 0 and solving for \theta (restricted to 0<\theta<90°) gives \cot 2\theta = \frac{A-C}{B}.

Show proof

Substitute x=x'\cos\theta-y'\sin\theta and y=x'\sin\theta+y'\cos\theta into Ax^2+Bxy+Cy^2 and expand. Collecting only the x'y' terms from each piece: Ax^2 \to -2A\cos\theta\sin\theta\;x'y' + \cdots, \qquad Cy^2 \to 2C\sin\theta\cos\theta\;x'y' + \cdots Bxy \to B(\cos^2\theta-\sin^2\theta)\;x'y' + \cdots +++ Add the three x'y' coefficients together: \big[-2A\cos\theta\sin\theta + 2C\sin\theta\cos\theta + B(\cos^2\theta-\sin^2\theta)\big]x'y' Apply the double-angle identities 2\sin\theta\cos\theta=\sin2\theta and \cos^2\theta-\sin^2\theta=\cos2\theta from earlier in this course: = \big[(C-A)\sin2\theta + B\cos2\theta\big]x'y' +++ Set this bracket to 0 (the whole point: no x'y' term survives) and solve for \theta: (C-A)\sin2\theta = -B\cos2\theta \implies \frac{\cos2\theta}{\sin2\theta} = \frac{A-C}{B} \implies \cot2\theta = \frac{A-C}{B} \qquad\blacksquare

Formula

The Rotation-Invariant Discriminant

For Ax^2+Bxy+Cy^2+Dx+Ey+F=0, the quantity B^2-4AC is unchanged by any rotation of axes, and classifies the conic (non-degenerate cases):

  • B^2-4AC<0: an ellipse (a circle if additionally A=C and B=0)
  • B^2-4AC=0: a parabola
  • B^2-4AC>0: a hyperbola

Theorem

Equivalent Polar Representations

Every point (r, \theta) in the polar plane is also named by: (r,\ \theta + 2\pi k) \quad \text{for any integer } k, (-r,\ \theta + \pi). The two rules combine freely: adding a full-turn multiple of 2\pi never moves the point, and flipping the sign of r while adding \pi to \theta never moves it either. So a single point has infinitely many valid (r,\theta) names. The standard representation (r \ge 0, 0 \le \theta < 2\pi) is the one preferred convention among all of them.

Show proof

A polar pair (r, \theta) names a point by facing the direction \theta from the origin and walking a signed distance r along that ray — positive r forward, negative r backward along the same line.

Adding 2\pi k. Turning through a full extra 2\pi (or several) returns to facing exactly the same direction — \theta and \theta+2\pi k are coterminal angles, sharing one terminal ray. Walking the same signed distance r along the same ray lands on the same point.

Flipping the sign and adding \pi. Turning through an extra \pi reverses the facing direction to point exactly the opposite way. Walking distance -r backward along that reversed ray retraces the same path as walking distance r forward along the original ray — same point, reached from the opposite facing.

This last claim can be checked algebraically using the reduction formulas \cos(\theta+\pi) = -\cos\theta and \sin(\theta+\pi) = -\sin\theta: rectangular coordinates built from (-r, \theta+\pi) come out to (-r)\cos(\theta+\pi) = (-r)(-\cos\theta) = r\cos\theta, \qquad (-r)\sin(\theta+\pi) = (-r)(-\sin\theta) = r\sin\theta, exactly matching the coordinates built from (r, \theta) — confirming both name the same point.

Since either move alone leaves the point unchanged, applying both in any combination still leaves it unchanged, which is why the two rules combine freely.

Formula

Polar to Rectangular Conversion

For a point with polar coordinates (r, \theta), x = r\cos\theta, \qquad y = r\sin\theta.

Show proof

This is nothing but the unit-circle definitions of cosine and sine — \cos\theta and \sin\theta are the x- and y-coordinates on a circle of radius 1 — stretched from radius 1 out to radius r.

Formula

Rectangular to Polar Conversion

For a point with rectangular coordinates (x, y), not the pole, r = \sqrt{x^2 + y^2}, \qquad \tan\theta = \frac{y}{x}.

Show proof

r = \sqrt{x^2+y^2} is just the distance formula from the origin to (x,y). Dividing the two conversion equations above, \frac{y}{x} = \frac{r\sin\theta}{r\cos\theta} = \tan\theta, whenever x \neq 0.

Formula

Polar Form of Horizontal and Vertical Lines

x = k \quad\Longleftrightarrow\quad r = k\sec\thetay = k \quad\Longleftrightarrow\quad r = k\csc\theta

Both follow immediately from substituting x=r\cos\theta or y=r\sin\theta into the constant equation and solving for r.

Theorem

Petal Count of a Polar Rose

For r = a\cos(n\theta) or r = a\sin(n\theta) with a \neq 0 and n a positive integer: n \text{ odd} \Rightarrow n \text{ petals} n \text{ even} \Rightarrow 2n \text{ petals} Each petal has length |a|.

Show proof

Take r=a\cos(n\theta) (the sine version is the same curve rotated, so the petal count is identical). r is zero exactly when n\theta = \frac\pi2+k\pi, i.e. at \theta = \frac{\pi}{2n}+\frac{k\pi}{n} — consecutive zeros spaced \frac{\pi}{n} apart. Between any two consecutive zeros, r sweeps from 0 out to an extreme of \pm a and back to 0: one petal-shaped arch, of length |a|. A full revolution \theta\in[0,2\pi) contains 2\pi \div \frac{\pi}{n} = 2n such arches — the question is how many of those 2n arches are genuinely distinct petals versus retraces of one already drawn.

Compare the arch starting at \theta to the one starting at \theta+\pi: r(\theta+\pi) = a\cos(n\theta+n\pi) = a\cos(n\theta)\cos(n\pi) = (-1)^n\, r(\theta), since \sin(n\pi)=0 for every integer n.

  • n odd: (-1)^n=-1, so r(\theta+\pi) = -r(\theta). A point plotted with a negative radius at angle \theta+\pi lands at the exact same location as a positive radius at angle \theta — that's the standard (-r,\alpha)=(r,\alpha+\pi) equivalence, applied here to give (-r(\theta),\ \theta+\pi) = (r(\theta),\ \theta+2\pi) = (r(\theta),\ \theta). So the arch at \theta+\pi exactly retraces the arch at \theta, meaning the second half of the revolution (\theta\in[\pi,2\pi)) duplicates the first half — only n of the 2n arches are distinct.
  • n even: (-1)^n=1, so r(\theta+\pi) = r(\theta): the SAME radius at the OPPOSITE angle, which is a different point (unless r=0). No duplication occurs, so all 2n arches are distinct petals.

Theorem

Limaçon Shape Classification

For r = a + b\cos\theta or r = a + b\sin\theta with a, b > 0, the shape depends only on the ratio a/b:

a/b shape
< 1 inner loop
= 1 cardioid
1 to 2 dimpled
\ge 2 convex
Show proof

Take r = a+b\cos\theta (the sine version is the same curve rotated). The loop/cardioid/no-loop boundary is a question of whether r ever reaches 0: solving a+b\cos\theta=0 gives \cos\theta = -a/b, which has a real solution exactly when -1 \le -a/b \le 1, i.e. a/b \le 1 (using a,b>0).

  • a/b < 1: \cos\theta=-a/b has two solutions in [0,2\pi), so r crosses zero twice — once going negative, once coming back — tracing a small inner loop while r<0.
  • a/b = 1: \cos\theta = -1 has exactly one solution, \theta=\pi, where r touches 0 without crossing into negative values anywhere else — the loop degenerates to a single point, the cardioid's cusp.
  • a/b > 1: \cos\theta=-a/b has no real solution at all (the right side is outside [-1,1]), so r never reaches 0 and the curve has no loop and no cusp.

The finer dimpled-versus-convex split at a/b=2, among the no-loop curves, isn't a question of where r is zero — both shapes have r>0 everywhere. It turns on where the curve's boundary is locally concave instead of convex, which is a statement about curvature (built from first AND second derivatives of r with respect to \theta) rather than about r's value alone, so pinning down a/b=2 exactly needs more calculus than this course builds. It's taken on faith here.

Formula

Polar Equation of a Conic

also known as: the focus-directrix polar form

With the focus at the pole and d>0 the distance from the pole to the directrix, r = \frac{ed}{1 + e\cos\theta} \ (\text{directrix } x=d), \qquad r = \frac{ed}{1 - e\cos\theta} \ (\text{directrix } x=-d), r = \frac{ed}{1 + e\sin\theta} \ (\text{directrix } y=d), \qquad r = \frac{ed}{1 - e\sin\theta} \ (\text{directrix } y=-d). The eccentricity e alone classifies the curve: 0<e<1 an ellipse, e=1 a parabola, e>1 a hyperbola.

Formula

Parametric Equations of a Line Segment

For the segment from (x_1,y_1) to (x_2,y_2), x = x_1 + t(x_2-x_1), \qquad y = y_1 + t(y_2-y_1), \qquad 0 \le t \le 1. t measures fraction of the way along the segment: t=0 gives the start, t=1 gives the end.

Formula

Parametric Equations of an Ellipse

For an ellipse centered at the origin with semi-axes a (horizontal) and b (vertical), x = a\cos t, \qquad y = b\sin t, \qquad 0 \le t \le 2\pi. Setting a=b=r recovers the circle parametrization x=r\cos t, y=r\sin t.

Formula

Projectile Motion Position Equations

For an object launched with initial speed v_0 at angle \theta above horizontal, from launch height y_0, under constant gravitational acceleration g, x(t) = v_0\cos\theta \cdot t, \qquad y(t) = y_0 + v_0\sin\theta \cdot t - \frac12 g t^2. Setting y_0=0 recovers the ground-level launch model.

Formula

Projectile Range Formula

also known as: R = v_0^2\sin(2\theta)/g

For a launch and landing at the same height (y_0=0), with initial speed v_0, launch angle \theta, and gravitational acceleration g, the horizontal range is R = \frac{v_0^2 \sin(2\theta)}{g}.

Show proof

Start from the time of flight found by factoring y(t)=0: v_0\sin\theta \cdot t - \tfrac12 gt^2 = t\left(v_0\sin\theta - \tfrac12gt\right) = 0, so the nonzero root is T = \dfrac{2v_0\sin\theta}{g}. +++ Substitute T into x(t) = v_0\cos\theta \cdot t: R = x(T) = v_0\cos\theta \cdot \frac{2v_0\sin\theta}{g} = \frac{2v_0^2\sin\theta\cos\theta}{g}. +++ The double-angle identity \sin(2\theta) = 2\sin\theta\cos\theta collapses the numerator to a single term: R = \frac{v_0^2 \sin(2\theta)}{g}.

Systems, matrices & inequalities

Formula

2×2 Determinant

\det\begin{pmatrix} a & b \\ c & d \end{pmatrix} = ad - bc

Formula

3×3 Determinant (Cofactor Expansion)

\det\begin{pmatrix} a & b & c \\ d & e & f \\ g & h & i \end{pmatrix} = a \det\begin{pmatrix} e & f \\ h & i \end{pmatrix} - b \det\begin{pmatrix} d & f \\ g & i \end{pmatrix} + c \det\begin{pmatrix} d & e \\ g & h \end{pmatrix}

Formula

Sarrus' Rule (3×3 Determinants)

For a 3\times 3 matrix, append its first two columns to the right. Then sum the three down-right (↘) diagonal products and subtract the three down-left (↗) diagonal products. \det\begin{pmatrix} a & b & c \\ d & e & f \\ g & h & i \end{pmatrix} = (aei + bfg + cdh) - (ceg + afh + bdi). This works only for 3\times 3 matrices; there is no diagonal analog for 4\times 4 or larger.

Formula

Determinant of a Triangular Matrix

If every entry below the main diagonal of a matrix is 0 (upper triangular) or every entry above it is 0 (lower triangular), the determinant is the product of the diagonal entries: \det\begin{pmatrix} a & * & * \\ 0 & b & * \\ 0 & 0 & c \end{pmatrix} = abc.

Theorem

Determinant Row and Column Operations

For a 2\times2 or 3\times3 matrix:

  1. Swapping any two rows (or any two columns) negates the determinant.
  2. Scaling every entry in one row (or one column) by a number k scales the determinant by k. Equivalently, a common factor in one row or column can be pulled out in front of the determinant.
  3. A matrix with a zero row or column has determinant 0 (the k=0 case of property 2).
Show proof

2\times2 swap. \det\begin{pmatrix}a&b\\c&d\end{pmatrix}=ad-bc. Swapping the rows gives \det\begin{pmatrix}c&d\\a&b\end{pmatrix}=cb-da= -(ad-bc) — exactly the negative of the original.

2\times2 scaling. Scaling row 1 by k gives \det\begin{pmatrix}ka&kb\\c&d\end{pmatrix}=(ka)d-(kb)c=k(ad-bc) — exactly k times the original. Scaling row 2 (or either column) works identically, by the same factoring.

3\times3 scaling. Expanding along the scaled row, each cofactor term carries exactly one factor from that row, so scaling the row by k scales every term of the expansion — and therefore the whole sum — by k. This argument uses only that cofactor expansion is a sum of terms each linear in the entries of the expansion row, so it applies to any row (or, by the analogous column expansion, any column).

3\times3 swap. Swap rows 1 and 2, and expand the determinant along row 3 (the row NOT touched by the swap). Each cofactor in this expansion is the determinant of a 2\times2 minor formed by deleting row 3 and one column — and that minor's two remaining rows are exactly rows 1 and 2, which the swap exchanged. By the 2\times2 swap property just proved, each such minor negates. Row 3's entries (the expansion's coefficients) are untouched by the swap, so every term in the sum negates, and therefore the whole determinant negates. Swapping columns instead of rows follows the identical argument, expanding along a column instead of a row.

Zero row or column. Take k=0 in the scaling property: a row (or column) of all zeros scales the determinant by 0, so the determinant is 0 — regardless of what the matrix's other entries are.

Theorem

Triangle Area by Determinant

also known as: the shoelace determinant

For a triangle with vertices (x_1, y_1), (x_2, y_2), (x_3, y_3), \text{Area} = \frac12\left|\det\begin{pmatrix} x_2-x_1 & y_2-y_1 \\ x_3-x_1 & y_3-y_1 \end{pmatrix}\right|.

Corollary (collinearity test). The three points are collinear exactly when that same determinant equals 0.

Show proof

Let \vec u = (x_2-x_1,\ y_2-y_1) and \vec v = (x_3-x_1,\ y_3-y_1) be the two vectors from vertex 1 to the other two vertices — the triangle's two side vectors. The 2\times2 determinant of two vectors is the signed area of the parallelogram they span: \det(\vec u, \vec v) = (x_2-x_1)(y_3-y_1) - (x_3-x_1)(y_2-y_1). The diagonal from (x_1,y_1) to the parallelogram's far corner splits that parallelogram into two congruent triangles, and the triangle with vertices (x_1,y_1), (x_2,y_2), (x_3,y_3) is exactly one of them. Its area is therefore half the parallelogram's, and taking the absolute value discards the sign the determinant carries for orientation: \text{Area} = \frac12\,|\det(\vec u, \vec v)|.

For the corollary: \vec u and \vec v point along the same line through the origin exactly when one is a scalar multiple of the other — the proportional-rows condition under which a 2\times2 determinant is 0. Geometrically, a triangle whose area has collapsed to 0 has been flattened into a line segment, and a triangle flattens into a line segment exactly when its three vertices already lay on one line to begin with.

Formula

Cramer's Rule (2×2)

For ax+by=e,\; cx+dy=f with D=\det\begin{pmatrix}a&b\\c&d\end{pmatrix}\neq 0: x = \frac{D_x}{D}, \qquad y = \frac{D_y}{D}

Formula

Inverse of a 2×2 Matrix

For A = \begin{pmatrix} a & b \\ c & d \end{pmatrix} with \det A = ad-bc \neq 0: A^{-1} = \frac{1}{ad - bc}\begin{pmatrix} d & -b \\ -c & a \end{pmatrix}

Formula

Partial Fractions: Distinct Linear Factors

For q(x) = (x - r_1)(x - r_2)\cdots(x - r_n) with the r_i all distinct: \frac{p(x)}{q(x)} = \frac{A_1}{x - r_1} + \frac{A_2}{x - r_2} + \cdots + \frac{A_n}{x - r_n}

Theorem

Partial Fractions: Repeated Linear Factor

If (x-r)^k divides q(x) and no higher power of (x-r) does, its contribution to the decomposition of \frac{p(x)}{q(x)} is \frac{A_1}{x-r} + \frac{A_2}{(x-r)^2} + \cdots + \frac{A_k}{(x-r)^k}.

Show proof

Write q(x) = (x-r)^k m(x) with m(r) \neq 0 (every other factor of q). The cover-up value A_1 = \dfrac{p(r)}{m(r)} is well-defined since m(r)\neq0, and \frac{p(x)}{q(x)} - \frac{A_1}{(x-r)^k} = \frac{p(x) - A_1\,m(x)}{(x-r)^k m(x)}. The new numerator vanishes at x=r, since p(r) - A_1 m(r) = p(r) - p(r) = 0 by exactly how A_1 was chosen — so by the Factor Theorem, (x-r) divides it: p(x) - A_1 m(x) = (x-r)\,p_1(x) for some polynomial p_1. Substituting back, \frac{p(x)}{q(x)} - \frac{A_1}{(x-r)^k} = \frac{(x-r)\,p_1(x)}{(x-r)^k m(x)} = \frac{p_1(x)}{(x-r)^{k-1}m(x)}, a rational function with the SAME shape as the one just started with, except the power of (x-r) in the denominator dropped from k to k-1. Repeat the identical step on \frac{p_1(x)}{(x-r)^{k-1}m(x)} to peel off A_2 and drop to k-2, and so on. After k repetitions every power of (x-r) has been stripped out, leaving exactly \frac{A_1}{x-r}+\cdots+\frac{A_k}{(x-r)^k} pulled out and a remaining proper fraction over m(x) — the other factors of q(x), handled the same way by the rest of the Partial Fraction Decomposition Recipe.

Formula

Partial Fractions: Irreducible Quadratic Factor

For a distinct irreducible quadratic factor ax^2+bx+c (with b^2-4ac<0): \frac{Ax+B}{ax^2+bx+c}

Formula

Partial Fractions: Repeated Irreducible Quadratic Factor

If the irreducible quadratic (ax^2+bx+c) repeats k times in q(x): \frac{A_1x+B_1}{ax^2+bx+c} + \frac{A_2x+B_2}{(ax^2+bx+c)^2} + \cdots + \frac{A_kx+B_k}{(ax^2+bx+c)^k}

Theorem

Partial Fraction Decomposition Recipe

also known as: setting up a decomposition from a factored denominator

Let \frac{p(x)}{q(x)} be proper (\deg p < \deg q), and factor q(x) completely over the reals into linear and irreducible quadratic factors. For each distinct factor of q(x), include the corresponding term(s) in the decomposition, then add every term together:

  1. Each distinct linear factor (x-r) contributes one term \dfrac{A}{x-r}.
  2. Each linear factor repeated k times, (x-r)^k, contributes k terms, \dfrac{A_1}{x-r} + \dfrac{A_2}{(x-r)^2} + \cdots + \dfrac{A_k}{(x-r)^k}.
  3. Each distinct irreducible quadratic factor (ax^2+bx+c) contributes one term \dfrac{Ax+B}{ax^2+bx+c}.
  4. Each irreducible quadratic factor repeated k times contributes k terms, \dfrac{A_1x+B_1}{ax^2+bx+c} + \cdots + \dfrac{A_kx+B_k}{(ax^2+bx+c)^k}.

If \frac{p(x)}{q(x)} is improper, divide first and apply this recipe to the proper remainder term only. Once every term is written down with unknown constants, clear denominators and solve for the constants by coefficient matching, cover-up (wherever a real root is available), or a mix of both.

Show proof

Clearing every denominator turns the claimed decomposition into a single polynomial identity: p(x) on one side, and a polynomial built from the unknown constants on the other. Both sides have degree less than \deg q(x) = n, and two such polynomials are equal exactly when all n of their coefficients match — so the identity is really a system of n linear equations. It has exactly n unknown constants too: a linear factor (x-r)^k contributes k of them (matching its degree-k contribution to q), an irreducible quadratic factor repeated k times contributes 2k of them (matching ITS degree-2k contribution), and these degrees sum to n by construction. A system with as many equations as unknowns has a unique solution whenever its coefficient matrix is invertible; that this particular system's matrix always is, for any proper p(x)/q(x), needs more linear algebra than this course builds, so that part is taken on faith here.

What can be verified in full is the piece that does the real explanatory work — how a repeated linear factor's own k terms are actually produced, one at a time. See the Partial Fractions: Repeated Linear Factor card for that argument, proved directly from the Factor Theorem with no linear algebra at all; every other case in this recipe (distinct factors, irreducible quadratics) follows the identical peeling idea.

Theorem

Corner-Point Theorem

also known as: the fundamental theorem of linear programming

If a linear objective function z=ax+by has a maximum or minimum value over a feasible region defined by linear constraints, that optimal value occurs at one of the region's vertices. It never occurs at an interior point.

Show proof

Assume (a,b)\neq(0,0) (otherwise z is the same constant everywhere and every point, vertices included, is trivially optimal). Suppose z attains its maximum at some feasible point P.

P can't be an interior point. If P is interior, every point close enough to P in every direction is still feasible. Moving a tiny step from P in the direction (a,b) changes z by a positive amount (that's what (a,b)\neq(0,0) buys), producing a nearby feasible point with a strictly larger z — contradicting that P was already maximal.

So P sits on the boundary — either at a vertex (done), or in the interior of an edge joining two vertices V_1 and V_2. Along that edge, every point is (1-t)V_1+tV_2 for some t\in[0,1], and because z is linear, z\big((1-t)V_1+tV_2\big) = (1-t)\,z(V_1) + t\,z(V_2), an affine function of t alone. An affine function on [0,1] reaches its largest value at t=0 or t=1 — the two endpoints — unless it's constant on the whole interval, in which case z(V_1)=z(V_2)=z(P) too. Either way, some vertex achieves a value at least as large as z(P)'s, and since P was already maximal, that vertex ties or matches it.

The minimum case is identical with every inequality reversed.

Sequences, series & probability

Formula

The nth-Term Formula for an Arithmetic Sequence

also known as: the explicit formula for an arithmetic sequence

For an arithmetic sequence with first term a_1 and common difference d, a_n = a_1 + (n-1)d.

Formula

The nth-Term Formula for a Geometric Sequence

also known as: the explicit formula for a geometric sequence

For a geometric sequence with first term a_1 and common ratio r \neq 0, a_n = a_1 \, r^{\,n-1}.

Formula

Inserting Means Between Two Numbers

also known as: arithmetic and geometric means

To insert k arithmetic means between a and b, find numbers m_1,\dots,m_k making a,\,m_1,\,\dots,\,m_k,\,b an arithmetic sequence. Use common difference d = \frac{b-a}{k+1}.

To insert k geometric means between a and b (same sign, both nonzero), find numbers making a,\,m_1,\,\dots,\,m_k,\,b a geometric sequence. Use common ratio r = \sqrt[k+1]{\frac{b}{a}}.

The single-mean case (k=1) reduces to the familiar averages: the arithmetic mean \dfrac{a+b}{2}, and the geometric mean \sqrt{ab}.

Show proof

Inserting k means between a and b builds a sequence of k+2 terms total: a itself, the k inserted means, and b — so b sits k+1 steps after a.

Arithmetic case. By the nth-term formula, the term k+2 steps into the sequence (i.e. b, which is term number k+2 counting a as term 1) satisfies b = a + (k+1)d. Solving for d gives d=\dfrac{b-a}{k+1}. For k=1, d=\dfrac{b-a}{2}, and the single inserted mean is a+d = a+\dfrac{b-a}{2} = \dfrac{a+b}{2}, the ordinary average.

Geometric case. By the nth-term formula for a geometric sequence, b = a\cdot r^{k+1}. Solving for r gives r=\sqrt[k+1]{b/a} (the sign condition on a,b keeps b/a positive, so the root is a real number). For k=1, r=\sqrt{b/a}, and the single inserted mean is a\cdot r = a\sqrt{b/a} = \sqrt{a^2\cdot(b/a)} = \sqrt{ab}, the geometric mean.

Formula

Sum of a Finite Arithmetic Series

also known as: the Gauss pairing formula

For an arithmetic sequence with first term a_1, common difference d, and nth term a_n, S_n = \frac{n}{2}\left(a_1 + a_n\right) = \frac{n}{2}\bigl(2a_1 + (n-1)d\bigr).

Formula

Sum of a Finite Geometric Series

also known as: the finite geometric series formula

For a geometric sequence with first term a_1 and common ratio r \neq 1, S_n = \sum_{k=1}^{n} a_1 r^{\,k-1} = a_1\,\frac{1 - r^{\,n}}{1 - r}.

Formula

Sum of an Infinite Geometric Series

also known as: the convergence formula S = a_1/(1-r)

For |r| < 1, S = \sum_{k=1}^{\infty} a_1 r^{\,k-1} = \frac{a_1}{1 - r}. The series diverges (has no finite sum) when |r| \ge 1.

Theorem

The Binomial Theorem

For any positive integer n, (a+b)^n = \sum_{k=0}^{n} \binom{n}{k}\, a^{\,n-k}\, b^{\,k}.

Show proof

Row 1 of Pascal's triangle already matches the claim: (a+b)^1 = a+b = \binom{1}{0}a + \binom{1}{1}b.

Suppose the formula holds for some row n: (a+b)^n = \sum_{k=0}^n \binom{n}{k}a^{n-k}b^k. Multiply both sides by (a+b): (a+b)^{n+1} = \sum_{k=0}^n \binom{n}{k}a^{n+1-k}b^k \ + \ \sum_{k=0}^n \binom{n}{k}a^{n-k}b^{k+1}. Reindex the second sum by k \to k-1 and combine it with the first: the coefficient of a^{n+1-k}b^k in the total is \binom{n}{k}+\binom{n}{k-1}, which is exactly \binom{n+1}{k} by the same row-building identity that produces Pascal's triangle. So (a+b)^{n+1} = \sum_{k=0}^{n+1}\binom{n+1}{k}a^{n+1-k}b^k, the identical formula one row later. That row-to-row step is precisely how each row of Pascal's triangle is generated from the one above it, so the formula holds for every row, starting from row 1.

Formula

Building a Pascal Row by Multiplication

Row n of Pascal's triangle can be built directly: start with 1, and get each next entry from the current one by \text{entry}_{k+1} = \text{entry}_k \cdot \frac{n-k}{k+1}, \qquad k = 0, 1, 2, \dots Stop at the middle and mirror the rest, using \binom{n}{k} = \binom{n}{n-k}.

Theorem

The Fundamental Counting Principle

If one choice can be made in m ways, and a second, independent choice can be made in n ways, then the two choices together can be made in m \times n ways. More generally, for a sequence of k independent choices with n_1, n_2, \ldots, n_k options respectively, the total number of outcomes is n_1 \times n_2 \times \cdots \times n_k.

Show proof

This isn't really a theorem to prove so much as a fact to see. Lay the first choice's m options down the rows of a grid and the second choice's n options across the columns. Every cell of that grid is exactly one valid pairing — one option from the first choice matched with one option from the second — and every valid pairing lands in exactly one cell. A grid with m rows and n columns has m \times n cells. Counting the pairings and counting the cells are the same question, so they have the same answer. Chaining a third independent choice onto the pair just replaces each cell of that grid with a fresh n_3-row stack, and multiplication absorbs each new stage the same way.

Formula

Permutations of n items taken r at a time

also known as: P(n,r) or nPr

The number of ways to arrange r items chosen from n distinct items, where order matters, is P(n,r) = \frac{n!}{(n-r)!}.

Show proof

This is just the counting principle, run r times in a row. The first position in the arrangement can be filled by any of the n items. The second position can be filled by any of the n - 1 items that remain (one has been used). The third by any of the n-2 remaining, and so on, down to the rth position, which has n - (r-1) = n - r + 1 choices left. Multiply across all r positions: P(n,r) = n \cdot (n-1) \cdot (n-2) \cdots (n - r + 1). That product has exactly r factors, starting at n and counting down. To see it equals \frac{n!}{(n-r)!}, write n! in full and notice the tail end cancels: n! = \bigl[n(n-1)\cdots(n-r+1)\bigr] \cdot (n-r)!, so dividing both sides by (n-r)! leaves exactly the product above.

Formula

Combinations of n items taken r at a time

also known as: C(n,r), nCr, or n choose r

The number of ways to choose r items from n distinct items, where order does not matter, is C(n,r) = \binom{n}{r} = \frac{n!}{r!\,(n-r)!}.

Show proof

Start from P(n,r), which counts every arrangement of r chosen items. Each unordered group of r items corresponds to many of those arrangements — specifically, every one of the r! ways to reorder that same group is a different permutation but the exact same combination. So P(n,r) overcounts each combination by a factor of r!, and dividing it out gives the true count: C(n,r) = \frac{P(n,r)}{r!} = \frac{n!/(n-r)!}{r!} = \frac{n!}{r!\,(n-r)!}.

Formula

Basic probability formula

also known as: P(event) = favorable / total

For a sample space in which every outcome is equally likely, P(\text{event}) = \frac{\text{number of favorable outcomes}}{\text{number of total outcomes}}. Both counts are found with the Fundamental Counting Principle, permutations, or combinations, whichever fits how the outcomes are structured.

Formula

Permutations with repeated objects

The number of distinct arrangements of n objects, where one kind of object repeats n_1 times, another kind repeats n_2 times, and so on through n_k groups of indistinguishable objects (with n_1 + n_2 + \cdots + n_k = n), is \frac{n!}{n_1!\, n_2! \cdots n_k!}.

Show proof

Start from n!, the count if every one of the n objects were secretly distinct (as if each carried its own invisible label). Within that count, every group of n_1 identical objects can be relabeled among themselves in n_1! ways without changing the arrangement anyone can actually see — so n! overcounts the first repeated group by a factor of n_1!. The same overcounting happens independently for the second group (factor n_2!), the third, and so on. Dividing n! by n_1!\, n_2! \cdots n_k! removes every one of those redundant relabelings at once, since the groups' internal shufflings are independent of each other.

Formula

Expected value of a discrete outcome

also known as: E(X), the mean of a random variable

If a quantity X can take values x_1, x_2, \ldots, x_n with respective probabilities p_1, p_2, \ldots, p_n (with p_1 + p_2 + \cdots + p_n = 1), its expected value is E(X) = \sum_{i=1}^{n} x_i \cdot p_i = x_1 p_1 + x_2 p_2 + \cdots + x_n p_n.

Show proof

This is a weighted average, and the weighting is what makes it meaningful over the long run. Imagine repeating the underlying random process N times, for very large N: outcome x_i will occur approximately N p_i times (that's what "probability p_i" means in the long run). The total payout across all N trials is then approximately \sum_i x_i \cdot (N p_i), and dividing by N trials to get the average payout per trial leaves exactly \sum_i x_i p_i — the probabilities' role as relative frequencies is what turns a plain average into a probability-weighted one.

Formula

Conditional Probability

also known as: P(A given B)

P(A \mid B) = \frac{P(A \text{ and } B)}{P(B)}, \qquad P(B) \neq 0.

Theorem

The Principle of Mathematical Induction

Let P(n) be a statement about the integer n, and let n_0 be a fixed starting integer. Suppose both of the following hold:

  1. Base case. P(n_0) is true.
  2. Inductive step. For every integer k \ge n_0: if P(k) is true (the inductive hypothesis) then P(k+1) is also true.

Then P(n) is true for every integer n \ge n_0.

Show proof

This principle isn't derived from something more basic in this course — it's taken as one of the foundational properties of the integers themselves (equivalent to the well-ordering principle: every nonempty set of integers bounded below has a least element, a fact from set theory this course doesn't build). The domino-chain intuition is a genuine guide to why it's believable — P(n_0) is true, and the inductive step means each true case knocks over the next one — but making that intuition airtight for infinitely many dominoes is exactly what the well-ordering principle supplies, and that belongs to a foundations-of-mathematics course, not this one. It's used freely here because every course that reaches integers uses it freely.

Theorem

The Principle of Strong Induction

Let P(n) be a statement about the integer n, and let n_0 be a fixed starting integer. Suppose both of the following hold:

  1. Base case(s). P(n_0) is true (sometimes several consecutive base cases P(n_0), P(n_0+1), \ldots must be checked directly).
  2. Strong inductive step. For every integer k \ge n_0: if P(n_0), P(n_0+1), \ldots, P(k) are all true, then P(k+1) is also true.

Then P(n) is true for every integer n \ge n_0.

Show proof

Rather than taking this as a second, separate axiom alongside the Principle of Mathematical Induction, it can be built from that ordinary principle directly — the only genuinely new idea is what statement to induct on.

Given P(n) satisfying strong induction's two hypotheses, define a new statement Q(n): "P(n_0), P(n_0+1), \ldots, P(n) are all true." Q(n_0) holds because that's exactly the base case. And if Q(k) holds — every one of P(n_0) through P(k) is true — then the strong inductive step says P(k+1) is true too, so Q(k+1) (everything through P(k+1)) holds as well. That's the base case and inductive step of the ordinary Principle of Mathematical Induction, applied to Q instead of P — so Q(n) is true for every n \ge n_0. Since Q(n) includes P(n) as one of its conjuncts, P(n) is true for every n \ge n_0 too.

For events A and B with P(B) \neq 0, P(A \mid B) = \frac{P(B \mid A)\,P(A)}{P(B)}.

Show proof

The Conditional Probability formula, applied to P(A\mid B) and to P(B\mid A) separately, gives two ways to write the same joint probability: P(A\text{ and }B) = P(A\mid B)\,P(B), \qquad P(A\text{ and }B) = P(B\mid A)\,P(A). Both right-hand sides equal the same quantity, so they equal each other: P(A\mid B)\,P(B) = P(B\mid A)\,P(A). Dividing both sides by P(B) (nonzero by hypothesis) isolates P(A\mid B): P(A\mid B) = \frac{P(B\mid A)\,P(A)}{P(B)}.

Formula

Binomial Probability

also known as: probability of exactly k successes

For n independent trials, each succeeding with probability p, the probability of exactly k successes is P(k \text{ successes}) = \binom{n}{k}\, p^k (1-p)^{n-k}.

Show proof

Fix one particular arrangement of k successes and n-k failures — say, successes on the first k trials and failures on the rest. Independence lets the trials' probabilities multiply straight through: \underbrace{p \cdot p \cdots p}_{k}\; \cdot\; \underbrace{(1-p)\cdot(1-p)\cdots(1-p)}_{n-k} = p^k(1-p)^{n-k}. Every OTHER arrangement of k successes among the n trials — successes scattered in different positions — multiplies the exact same k factors of p and n-k factors of 1-p, just in a different order, so it has this same probability p^k(1-p)^{n-k} too. The number of such arrangements is exactly the number of ways to choose which k of the n trials are the successes: \binom{n}{k}. These arrangements are mutually exclusive (a specific sequence of results can't match two different success-position patterns at once), so their probabilities add: P(k\text{ successes}) = \binom{n}{k}\,p^k(1-p)^{n-k}.

Formula

Annuity Future and Present Value

also known as: the annuity value formulas

For an ordinary annuity of n equal payments PMT at the end of each period, earning interest rate i per period: FV = PMT\cdot\frac{(1+i)^{n}-1}{i}, \qquad PV = PMT\cdot\frac{1-(1+i)^{-n}}{i}. Solving the present-value equation for PMT gives the amortization payment PMT = \frac{PV\cdot i}{1-(1+i)^{-n}}.

Show proof

The deposit made at the end of period k (for k=1,\dots,n) sits in the account for n-k remaining periods and grows to PMT(1+i)^{n-k}. Summing over every deposit, FV = \sum_{k=1}^{n} PMT(1+i)^{n-k} = PMT\sum_{j=0}^{n-1}(1+i)^{j}, reindexing with j=n-k. The remaining sum is a finite geometric series with first term 1, common ratio (1+i), and n terms, so the geometric partial-sum formula gives \sum_{j=0}^{n-1}(1+i)^{j} = \frac{(1+i)^{n}-1}{(1+i)-1} = \frac{(1+i)^{n}-1}{i}, which produces the boxed FV formula.

Present value is defined as the lump sum today that grows to the same FV after n periods at rate i, i.e. PV(1+i)^n=FV. Solving for PV and substituting the FV formula: PV = \frac{FV}{(1+i)^n} = \frac{PMT\big[(1+i)^n-1\big]}{i(1+i)^n} = PMT\cdot\frac{1-(1+i)^{-n}}{i}, splitting the fraction and simplifying \frac{(1+i)^n}{i(1+i)^n}=\frac1i and \frac{1}{i(1+i)^n}=\frac{(1+i)^{-n}}{i}.

The amortization payment follows immediately by solving the PV equation for PMT: multiply both sides by i and divide by 1-(1+i)^{-n}.

Graph settings

Calculator