Mathematics
Comprehensive math reference with formulas and explanations
Sum of the first $n$ natural numbers
Variables:
- \(n is a positive integer.\)
Description/Usage:
Gives the sum of all natural numbers from \(1\) up to \(n\). Often illustrated by pairing terms (e.g. \(1+n\), \(2+(n-1)\), etc.) to simplify the addition.
Fermat's Little Theorem
Variables:
- \(p is a prime number, a is an integer not divisible by p.\)
Description/Usage:
In modular arithmetic, this theorem states that if \(p\) is prime, then \(a^{p-1}\) leaves a remainder of \(1\) upon division by \(p\). It's fundamental for simplifying exponents mod \(p\).
Quadratic Formula
Variables:
Description/Usage:
Gives the solutions for a quadratic equation of any form. It is typically illustrated by the parabola of \(y = ax^2+bx+c\) intersecting the \(x\)-axis at \(x\) values given by this formula (the roots).
Pythagorean Theorem
Variables:
- \(a and b are the lengths of the legs (perpendicular sides) of a right triangle, and c is the length of the hypotenuse (side opposite the right angle).\)
Description/Usage:
Relates the side lengths of a right-angled triangle. It is used to find the third side given the other two.
Trigonometric Ratios (right triangle definitions)
Variables:
Description/Usage:
Defines sine, cosine, and tangent as ratios of sides in a right-angled triangle.
Distance Between Two Points (2D)
Variables:
- \((x_1, y_1) and (x_2, y_2) are the coordinates of the two points.\)
Description/Usage:
Calculates the straight-line distance between two points in the plane, derived from the Pythagorean theorem.