This is a working reference for the formulas that come up again and again in school and early university mathematics: algebra, exponents and logarithms, geometry, coordinate geometry, trigonometry, sequences, calculus, probability and statistics, and vectors and matrices.
Each of the 100 entries gives the formula, what every symbol means, when to reach for it, and a short worked example. Use the sections as a checklist. If you cannot say when a formula applies, or you cannot redo its example without looking, that is the one to practise. Each formula was checked against the open textbooks and reference pages listed under References, and every worked example was recomputed numerically.
Arithmetic and algebra
These are the algebra results that save the most time when solving equations and simplifying expressions (OpenStax Algebra and Trigonometry 2e, sections 1.4, 1.5, 2.5 and 5.1; Prealgebra 2e, sections 6.2 and 6.4).
1. Quadratic formula
Symbols: , and are the coefficients of , with .
Use it when: a quadratic does not factor easily. It works for every quadratic equation in standard form.
Example: For , , so or .
2. Discriminant
Symbols: is the expression under the square root in the quadratic formula.
Use it when: you need to know what kind of roots a quadratic has without solving it. gives two real roots, one repeated real root, and two complex roots.
Example: For , , so there are no real solutions.
3. Square of a sum or difference
Symbols: and are any real numbers or expressions.
Use it when: you expand a squared binomial, complete the square, or do mental arithmetic.
Example: .
4. Difference of squares
Symbols: and are any real numbers or expressions.
Use it when: you factor an expression made of two perfect squares separated by a minus sign, or multiply two numbers placed evenly around a round number.
Example: .
5. Sum and difference of cubes
Symbols: and are any real numbers or expressions.
Use it when: you factor a sum or difference of two cubes. The quadratic factor does not factor further over the real numbers.
Example: . Check at : and .
6. Binomial theorem
Symbols: is a non-negative integer and is a binomial coefficient.
Use it when: you expand a power of a binomial, or need one specific term without expanding everything.
Example: , using the coefficients .
7. Vertex of a parabola
Symbols: ; is the vertex.
Use it when: you need the maximum or minimum value of a quadratic, or want to rewrite it in vertex form.
Example: For , and , so the minimum is at and .
8. Simple interest
Symbols: is the interest, the principal, the annual rate as a decimal, and the time in years.
Use it when: interest is paid only on the original principal, not on earlier interest.
Example: $2,000 at 5% for 3 years earns , so $300.
9. Percent change
Symbols: "original" is the starting value and "new" is the value after the change. A negative result is a decrease.
Use it when: you compare a value before and after a change, such as prices, scores or populations.
Example: A price rising from 80 to 92 changes by .
Exponents and logarithms
The exponent rules come from Algebra and Trigonometry 2e, sections 1.2 and 1.3; the logarithm rules from sections 6.3 and 6.5; and the growth formulas from section 6.1. The NIST Digital Library of Mathematical Functions, §4.8 states the same identities for real and complex arguments.
10. Product and quotient of powers
Symbols: is the base ( for the quotient); and are exponents.
Use it when: you multiply or divide powers with the same base.
Example: and .
11. Power of a power
Symbols: is the base; and are exponents.
Use it when: a power is itself raised to a power.
Example: .
12. Zero and negative exponents
Symbols: is a nonzero base and is a positive exponent. is left undefined in this context.
Use it when: you simplify expressions or rewrite fractions as powers before differentiating or integrating.
Example: and .
13. Rational exponents
Symbols: is the root, is the power. For even , take .
Use it when: you convert between radicals and exponents, which makes the exponent rules and the power rule for derivatives usable on roots.
Example: .
14. Definition of a logarithm
Symbols: is the base (, ) and is the argument.
Use it when: you switch between exponential and logarithmic form to solve for an exponent.
Example: because .
15. Product rule for logarithms
Symbols: ; is a valid base.
Use it when: you expand a log of a product or combine a sum of logs.
Example: .
16. Quotient rule for logarithms
Symbols: ; is a valid base.
Use it when: you expand a log of a fraction or combine a difference of logs.
Example: .
17. Power rule for logarithms
Symbols: ; is a real number.
Use it when: you need to bring an unknown exponent down so you can solve for it.
Example: .
18. Change of base
Symbols: is any convenient valid base, usually or .
Use it when: your calculator only has and keys.
Example: .
19. Compound interest
Symbols: is the account value, the principal, the annual rate as a decimal, the number of compounding periods per year, and the time in years.
Use it when: interest is added to the balance at regular intervals and then earns interest itself.
Example: $1,000 at 6% compounded monthly for 5 years: , so about $1,348.85.
20. Continuous growth and decay
Symbols: is the initial amount, the continuous rate (negative for decay), the time, and .
Use it when: growth or decay happens continuously, as in continuously compounded interest, population models or radioactive decay.
Example: .
Geometry: 2D shapes
Perimeter and area formulas follow OpenStax Prealgebra 2e, sections 9.3 to 9.5; Heron's formula is in Algebra and Trigonometry 2e, section 10.2; and arc length and sector area are in section 7.1.
21. Pythagorean theorem
Symbols: and are the legs of a right triangle and is the hypotenuse.
Use it when: you know two sides of a right triangle and need the third.
Example: Legs 5 and 12 give .
22. Rectangle area and perimeter
Symbols: is the length and the width.
Use it when: you measure floors, screens, plots of land or any rectangular region.
Example: An 8 by 3 rectangle has and .
23. Triangle area
Symbols: is a base and the perpendicular height to that base.
Use it when: you know a base and its height.
Example: and give .
24. Heron's formula
Symbols: , and are the side lengths and is the semi-perimeter.
Use it when: you know all three sides but no height or angle.
Example: For sides 13, 14 and 15, and .
25. Trapezoid area
Symbols: and are the two parallel sides and is the distance between them.
Use it when: a shape has exactly one pair of parallel sides, or when you estimate an area under a curve with trapezoids.
Example: , and give .
26. Circumference of a circle
Symbols: is the radius and the diameter.
Use it when: you need the distance around a circle, such as a wheel's travel per turn.
Example: gives .
27. Area of a circle
Symbols: is the radius.
Use it when: you need the region enclosed by a circle.
Example: gives .
28. Arc length
Symbols: is the arc length, the radius, and the central angle in radians.
Use it when: you need the length of part of a circle.
Example: and give .
29. Area of a sector
Symbols: is the radius and the central angle in radians.
Use it when: you need the area of a "pizza slice" of a circle.
Example: and give .
Geometry: 3D solids
Volume and surface-area formulas follow OpenStax Prealgebra 2e, section 9.6.
30. Volume of a rectangular solid
Symbols: , and are length, width and height; is the edge of a cube.
Use it when: you need the capacity of a box, room or tank.
Example: A 4 by 3 by 2 box has ; a cube with has .
31. Surface area of a rectangular solid
Symbols: As in item 30.
Use it when: you need the material to cover or wrap a box.
Example: For the 4 by 3 by 2 box, ; for a cube with , .
32. Volume of a cylinder
Symbols: is the radius of the base and the height.
Use it when: you need the capacity of a can, pipe or tank.
Example: and give .
33. Surface area of a cylinder
Symbols: is the two circular ends and is the curved side.
Use it when: you need the material for a closed can.
Example: and give .
34. Volume of a cone
Symbols: is the radius of the base and the perpendicular height.
Use it when: you need the volume of a cone, funnel or conical pile. It is one third of the cylinder with the same base and height.
Example: and give .
35. Volume of a sphere
Symbols: is the radius.
Use it when: you need the volume of a ball, bubble or planet model.
Example: gives .
36. Surface area of a sphere
Symbols: is the radius.
Use it when: you need the area of a sphere's surface, for example to coat or paint it.
Example: gives .
Coordinate geometry
Distance, midpoint and circle formulas follow OpenStax Intermediate Algebra 2e, section 11.1; line formulas follow Algebra and Trigonometry 2e, section 4.1.
37. Distance formula
Symbols: and are the two points.
Use it when: you need the straight-line distance between two points. It is the Pythagorean theorem on a grid.
Example: From to : .
38. Midpoint formula
Symbols: and are the endpoints of a segment.
Use it when: you need the point halfway between two points, such as the center of a circle given a diameter.
Example: The midpoint of and is .
39. Slope of a line
Symbols: is the slope (rise over run) and .
Use it when: you need the rate of change between two points.
Example: Through and , .
40. Slope-intercept form
Symbols: is the slope and the -intercept (the value of when ).
Use it when: you want to graph a line quickly or read off its rate and starting value.
Example: crosses the -axis at , and at gives .
41. Point-slope form
Symbols: is a known point on the line and the slope.
Use it when: you know one point and the slope and need the line's equation.
Example: Through with slope : , which simplifies to .
42. Parallel and perpendicular slopes
Symbols: and are the slopes of two non-vertical lines.
Use it when: you need a line parallel or perpendicular to a given one.
Example: For , any parallel line has slope and any perpendicular line has slope .
43. Equation of a circle
Symbols: is the center and the radius.
Use it when: you write or read the equation of a circle, or test whether a point lies on it.
Example: Center and radius 3 give . The point lies on it because .
Trigonometry
Definitions, identities and the triangle laws follow OpenStax Algebra and Trigonometry 2e, sections 7.1, 7.2, 9.1 to 9.3, 10.1 and 10.2. The identities also appear in NIST DLMF §4.14 and §4.21.
44. Right-triangle ratios (SOH CAH TOA)
Symbols: is an acute angle of a right triangle; the sides are named relative to .
Use it when: you know a side and an angle of a right triangle, or two sides, and need the rest.
Example: In a 3-4-5 triangle, for the angle opposite the side of length 3: , , .
45. Reciprocal and quotient identities
Symbols: Each identity holds wherever the denominator is nonzero.
Use it when: you rewrite an expression in terms of sine and cosine to simplify it.
Example: With and : , , .
46. Degree and radian conversion
Symbols: radians, so radians.
Use it when: a formula needs radians, which includes arc length, sector area, and every calculus formula for trigonometric functions.
Example: , and .
47. Pythagorean identity
Symbols: is any angle.
Use it when: you know one of sine or cosine and need the other, or need to simplify an expression.
Example: If and is in the first quadrant, .
48. Tangent and secant identity
Symbols: Valid wherever . The companion identity is .
Use it when: an expression mixes and , which is common in integration.
Example: If , then and , with the sign set by the quadrant.
49. Sine of a sum or difference
Symbols: and are any angles; the signs match on both sides.
Use it when: you need exact values of angles built from , and , or need to expand .
Example: .
50. Cosine of a sum or difference
Symbols: and are any angles. Note the sign flips: a sum on the left gives a minus on the right.
Use it when: as for item 49, but for cosine.
Example: .
51. Double-angle formula for sine
Symbols: is any angle.
Use it when: you simplify products of sine and cosine, or solve equations containing .
Example: With and : .
52. Double-angle formulas for cosine
Symbols: is any angle. Pick the form that matches what you know.
Use it when: you need to lower the power of or , for example before integrating.
Example: With the same angle, .
53. Half-angle formulas
Symbols: The sign depends on the quadrant where lies.
Use it when: you need exact values for half of a known angle, such as or .
Example: (positive, since is in the first quadrant).
54. Law of sines
Symbols: , and are sides; , and are the angles opposite them.
Use it when: in any triangle, you know two angles and a side, or two sides and an angle opposite one of them.
Example: With , and : .
55. Law of cosines
Symbols: is the angle between sides and , and is the side opposite .
Use it when: you know two sides and the angle between them, or all three sides. With it reduces to the Pythagorean theorem.
Example: , , : , so .
56. Triangle area from two sides and the included angle
Symbols: and are two sides and is the angle between them.
Use it when: you know two sides and the angle between them but not the height.
Example: , , : .
Sequences and series
These follow OpenStax Algebra and Trigonometry 2e, sections 13.2 to 13.4.
57. nth term of an arithmetic sequence
Symbols: is the first term, the common difference, and the term number.
Use it when: each term goes up or down by the same amount.
Example: , : .
58. Sum of an arithmetic series
Symbols: is the sum of the first terms; and are the first and last of them.
Use it when: you add many terms of an arithmetic sequence.
Example: For the sequence in item 57, .
59. Sum of the first n positive integers
Symbols: is a positive integer. This is item 58 with and .
Use it when: counting handshakes, pairs, or totals that grow by one each step.
Example: .
60. nth term of a geometric sequence
Symbols: is the first term and the common ratio.
Use it when: each term is multiplied by the same factor.
Example: , : .
61. Sum of a finite geometric series
Symbols: is the sum of the first terms.
Use it when: you total a fixed number of terms that grow or shrink by a constant factor, such as regular savings deposits.
Example: , , : .
62. Sum of an infinite geometric series
Symbols: is the sum of all the terms; it exists only when .
Use it when: terms shrink by a constant factor forever, as in repeating decimals.
Example: .
Limits and derivatives
These follow OpenStax Calculus Volume 1, chapters 2 to 4, including its table of derivatives. All trigonometric derivatives assume radians.
63. The fundamental trigonometric limit
Symbols: is measured in radians.
Use it when: a limit contains of something small divided by that same small quantity. It is also why .
Example: .
64. Limit definition of the derivative
Symbols: is a small change in ; the derivative exists where this limit exists.
Use it when: you are asked to differentiate "from first principles", or you need to understand what a derivative measures: the instantaneous rate of change.
Example: For at : , so .
65. Power rule
Symbols: is a real constant.
Use it when: you differentiate powers of , including roots and reciprocals once they are written as exponents.
Example: .
66. Sum and constant multiple rules
Symbols: is a constant; and are differentiable functions.
Use it when: you differentiate a polynomial or any sum of terms, one term at a time.
Example: .
67. Product rule
Symbols: and are differentiable functions.
Use it when: you differentiate two functions multiplied together.
Example: .
68. Quotient rule
Symbols: and are differentiable and . The order in the numerator matters.
Use it when: you differentiate one function divided by another.
Example: .
69. Chain rule
Symbols: is the inner function and the outer function.
Use it when: you differentiate a function of a function. Differentiate the outside, keep the inside, then multiply by the derivative of the inside.
Example: .
70. Derivatives of sine, cosine and tangent
Symbols: is in radians.
Use it when: you differentiate periodic models such as waves, oscillations and rotations.
Example: at is .
71. Derivatives of exponential functions
Symbols: is a constant base.
Use it when: you need the rate of change of an exponential growth or decay model.
Example: at is .
72. Derivatives of logarithms
Symbols: (more generally, for ).
Use it when: you differentiate logarithms, or use logarithmic differentiation on products and powers.
Example: By the chain rule, , which equals 1 at .
73. L'Hôpital's rule
Symbols: Valid when and (or both tend to ), and are differentiable near , and the limit on the right exists or is infinite.
Use it when: direct substitution gives or . Do not use it on any other form.
Example: is , so it equals .
Integrals
Basic antiderivatives follow the table of integrals in OpenStax Calculus Volume 1; the fundamental theorem, substitution and area are in sections 5.3, 5.5 and 6.1; integration by parts is in Calculus Volume 2, section 3.1.
74. Power rule for integrals
Symbols: is the constant of integration.
Use it when: you integrate powers of , including roots written as exponents.
Example: .
75. Integral of 1/x
Symbols: . This covers the one case, , that item 74 excludes.
Use it when: the integrand is a reciprocal, or a fraction whose numerator is the derivative of its denominator.
Example: .
76. Integrals of exponential functions
Symbols: , .
Use it when: you integrate exponential growth or decay.
Example: .
77. Integrals of sine and cosine
Symbols: is in radians.
Use it when: you integrate periodic functions. Watch the minus sign on the sine integral.
Example: .
78. Fundamental theorem of calculus, part 1
Symbols: is continuous on an interval containing and ; is a dummy variable.
Use it when: you differentiate a function defined as an integral with a variable upper limit.
Example: , which is 3 at .
79. Fundamental theorem of calculus, part 2
Symbols: is any antiderivative of the continuous function on .
Use it when: you evaluate any definite integral whose antiderivative you can find.
Example: .
80. Integration by substitution
Symbols: is the inner function; .
Use it when: the integrand contains a function and (a constant multiple of) its derivative. It is the chain rule in reverse.
Example: With : .
81. Integration by parts
Symbols: and are differentiable functions of ; you choose so that is simpler.
Use it when: you integrate a product such as a polynomial times an exponential, sine or logarithm. It is the product rule in reverse.
Example: With and : .
82. Area between two curves
Symbols: on ; is the upper curve and the lower one.
Use it when: you need the area of a region trapped between two graphs.
Example: Between and on : .
Probability and statistics
Probability rules and counting follow OpenStax Algebra and Trigonometry 2e, sections 13.5 and 13.7; conditional probability, independence and the statistics formulas follow OpenStax Introductory Statistics 2e, chapters 2 to 4.
83. Probability of an event (equally likely outcomes)
Symbols: is the number of outcomes in event and the number in the sample space; every outcome must be equally likely.
Use it when: outcomes are equally likely, as with fair dice, coins and well-shuffled cards.
Example: Rolling an even number on a fair die: .
84. Complement rule
Symbols: is "not ".
Use it when: the opposite event is easier to count, especially "at least one" questions.
Example: Getting at least one six in two rolls: .
85. Addition rule
Symbols: is " or "; is " and ". For mutually exclusive events .
Use it when: you need the probability that at least one of two events happens.
Example: Drawing a heart or a face card: .
86. Conditional probability
Symbols: is the probability of given that has happened.
Use it when: new information shrinks the sample space.
Example: Given that a drawn card is a face card, the chance it is a king is .
87. Multiplication rule for independent events
Symbols: and are independent: knowing one happened does not change the probability of the other.
Use it when: you combine separate experiments, such as a coin flip and a die roll.
Example: Heads and a six: .
88. Permutations
Symbols: distinct objects, of them chosen, order matters; .
Use it when: you count arrangements, rankings or codes.
Example: Gold, silver and bronze among 10 runners: .
89. Combinations
Symbols: distinct objects, chosen, order does not matter.
Use it when: you count committees, hands of cards or subsets.
Example: Choosing 3 of 10 people for a committee: .
90. Mean
Symbols: are the data values and is how many there are. For a whole population the mean is written .
Use it when: you summarize the center of numerical data.
Example: For 4, 8, 6, 5, 7: .
91. Standard deviation
Symbols: is the sample standard deviation (divide by ); is the population standard deviation (divide by the population size ).
Use it when: you measure how spread out the data are around the mean.
Example: For 4, 8, 6, 5, 7 the squared deviations from 6 sum to . As a sample, ; as a whole population, .
92. z-score
Symbols: is a value, the mean and the standard deviation (use and for a sample).
Use it when: you compare values from different scales, or count how many standard deviations a value lies from the mean.
Example: A score of 85 on a test with and has .
93. Binomial probability
Symbols: independent trials, each a success with probability ; ; counts the successes.
Use it when: you count successes in a fixed number of independent yes/no trials with the same probability.
Example: Exactly 3 heads in 5 fair flips: . Here and .
Vectors and matrices
Vector formulas follow OpenStax Calculus Volume 3, sections 2.2 to 2.4; matrix formulas follow Algebra and Trigonometry 2e, sections 11.7 and 11.8.
94. Magnitude of a vector
Symbols: . The unit vector in the same direction is for .
Use it when: you need the length of a vector, such as a speed from a velocity vector.
Example: , so the unit vector is .
95. Dot product
Symbols: and are vectors; the result is a scalar.
Use it when: you test perpendicularity (dot product zero), compute work, or find projections.
Example: .
96. Angle between two vectors
Symbols: is the angle between nonzero vectors and , with .
Use it when: you need the angle between two directions, or a similarity measure between vectors.
Example: For and : , so .
97. Cross product
Symbols: and are 3D vectors; the result is perpendicular to both, and its length is the area of the parallelogram they span.
Use it when: you need a normal vector to a plane, a torque, or the area of a parallelogram or triangle in 3D.
Example: , so the parallelogram has area .
98. Determinant of a 2×2 matrix
Symbols: , , and are the matrix entries.
Use it when: you check whether a matrix is invertible (nonzero determinant), solve systems with Cramer's rule, or find an area scale factor.
Example: .
99. Inverse of a 2×2 matrix
Symbols: . Swap and , negate and , and divide by the determinant.
Use it when: you solve as , or undo a linear transformation.
Example: For , and .
100. Cramer's rule for a 2×2 system
Symbols: The system is and . replaces the -column of with ; replaces the -column.
Use it when: you solve a small linear system and the determinant is nonzero.
Example: For and : , , , so and .
Common mistakes
These are the slips that most often turn a correct formula into a wrong answer. Each one can be caught by checking the conditions listed with the formula above.
- Squaring a sum term by term. ; the term is missing. With and , but . Similarly, .
- Inventing log rules. does not split into . The product rule is about .
- Using degrees where radians are required. Arc length, sector area, and every trigonometric derivative and integral assume radians. In degrees the same limit is , not 1.
- Dropping the inner derivative. In the chain rule, , not .
- Reversing the quotient rule numerator. It is ; swapping the order flips the sign of the answer.
- Forgetting the constant of integration. Every indefinite integral needs .
- Summing an infinite geometric series that diverges. only applies when . For it would give , which is meaningless.
- Multiplying probabilities of dependent events. only holds for independent events; otherwise use .
- Mixing up permutations and combinations. If swapping two chosen items gives a new outcome, order matters and you need permutations.
- Choosing the wrong standard deviation. Divide by for a sample and by for a full population.
- Taking only the negative of a slope for a perpendicular line. The perpendicular slope is the negative reciprocal: becomes , not .
- Ignoring the sign in half-angle formulas. Choose or from the quadrant of , not of .
Next steps
A list of formulas is only useful once you can pick the right one quickly. To build that skill:
- Practise faster mental shortcuts in math tricks to solve problems faster.
- Apply items 1 to 9 to full problems in algebra problems with solutions for beginners.
- See items 83 to 93 used on real data in probability and statistics real-world examples.
- Take items 94 to 100 further in linear algebra concepts for machine learning.
- Browse more articles and blogs in the mathematics category.
References
- Algebra and Trigonometry 2e, Jay Abramson, OpenStax (2021). https://openstax.org/books/algebra-and-trigonometry-2e/pages/2-5-quadratic-equations
- Prealgebra 2e, Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, OpenStax (2020). https://openstax.org/books/prealgebra-2e/pages/9-6-solve-geometry-applications-volume-and-surface-area
- Intermediate Algebra 2e, Lynn Marecek and Andrea Honeycutt Mathis, OpenStax (2020). https://openstax.org/books/intermediate-algebra-2e/pages/11-1-distance-and-midpoint-formulas-circles
- Calculus Volume 1, Gilbert Strang and Edwin "Jed" Herman, OpenStax (2016). https://openstax.org/books/calculus-volume-1/pages/3-3-differentiation-rules
- Calculus Volume 2, Gilbert Strang and Edwin "Jed" Herman, OpenStax (2016). https://openstax.org/books/calculus-volume-2/pages/3-1-integration-by-parts
- Calculus Volume 3, Gilbert Strang and Edwin "Jed" Herman, OpenStax (2016). https://openstax.org/books/calculus-volume-3/pages/2-3-the-dot-product
- Introductory Statistics 2e, Barbara Illowsky and Susan Dean, OpenStax (2023). https://openstax.org/books/introductory-statistics-2e/pages/2-7-measures-of-the-spread-of-the-data
- NIST Digital Library of Mathematical Functions, Chapter 4 (Elementary Functions), §4.8 Identities, National Institute of Standards and Technology. https://dlmf.nist.gov/4.8
- NIST Digital Library of Mathematical Functions, §4.14 Definitions and Periodicity and §4.21 Identities, National Institute of Standards and Technology. https://dlmf.nist.gov/4.21