Mathematics reference data

Core mathematical concepts, theorems, and notation.

  • 9 datasets
  • JSON · YAML · TOON
  • CC0 — public domain

Topic guide

What Mathematics covers

Mathematics reference data collects the facts that are looked up rather than derived: counting rules, constants, geometric formulas, set notation, descriptive statistics, trigonometric identities and the primes. These are exact by definition, which makes them the cleanest kind of reference data for an agent: a lookup either matches a known value or it does not. The usual trouble is not accuracy but context, such as which formula applies to which shape, what a symbol means in a given convention, and how many digits of a constant are meaningful.

Key ideas

Exact vs approximate
Constants such as pi and e are irrational: any decimal value is a rounded approximation. Keep symbolic form where exactness matters.
Permutation vs combination
A permutation counts ordered selections, a combination unordered ones. Choosing seats is a permutation; choosing a committee is a combination.
Set operation
Union, intersection, difference and complement combine sets by membership. De Morgan's laws relate them.
Descriptive statistic
A number that summarizes a dataset, such as the mean, median or standard deviation. Different summaries respond differently to outliers.
Identity
An equation true for every value of its variables, such as sin squared plus cos squared equals 1, as opposed to an equation true only for some values.
Prime number
An integer greater than 1 whose only positive divisors are 1 and itself. The prime factorization of any integer is unique.
Radian
The angle measure in which a full turn is 2 pi, used by calculus and most programming-language trig functions.

Common pitfalls

  • Using degrees where a library expects radians, or the reverse.
  • Quoting a decimal expansion of an irrational constant as exact; floating-point arithmetic keeps only about 15 to 17 significant digits.
  • Mixing population and sample formulas for variance and standard deviation (dividing by n versus n minus 1).
  • Reading 1 as prime. By the usual definition it is not, which keeps unique factorization true.

Using it from an agent

  • Show the formula and the meaning of each variable before substituting numbers, so the user can check the setup.
  • For computed results, state the unit and whether angles are in degrees or radians.
  • Prefer a tool or code execution for arithmetic with many steps instead of mental arithmetic, and use these datasets for definitions and constants.

Start with: Common Mathematical Constants · Statistics Basics

Datasets in Mathematics

Fetch this category

One request returns the category with all of its dataset summaries. Append ?format=yaml or ?format=toon for the other encodings.

GET https://yjtoon.yunusemrevurgun.com/api/category/mathematics?format=json

Search the library

Search by a topic, title, or keyword.

Start with a collection

Browse all 205 datasets