AI Datasets
Esc

    ↑↓ move↵ open/ search from any page

    Catalog / LLMs

    MATH (2021)

    12,500 competition problems (AMC, AIME and others) in 7 subjects and 5 difficulty levels.

    Why it matters

    GSM8K tests arithmetic word problems; MATH tests the kind of problem solving needed in high-school competitions. At release, large models solved only a few percent, and the authors doubted that scale alone would close the gap. Minerva reached 50% in 2022, and reasoning models trained with reinforcement learning now solve almost all of it. The 500-problem MATH-500 subset is the version most reports use.

    Get the data

    # pip install -U huggingface_hub
    hf download EleutherAI/hendrycks_math --repo-type dataset \
      --local-dir math
    Year
    2021
    Creators
    Dan Hendrycks, Collin Burns, Saurav Kadavath, Akul Arora, Steven Basart, Eric Tang, Dawn Song, Jacob Steinhardt
    Task
    Competition mathematics with worked solutions
    Size
    12,500 problems
    Splits
    train 7,500 · test 5,000
    Input
    A problem written in LaTeX
    Labels
    A step-by-step solution with the final answer in \boxed{}
    License
    MIT
    Paper
    Measuring Mathematical Problem Solving With the MATH Dataset

    Samples

    Showing 3 of 21 sampled rows(from 5,000 in 7 tasks)

    AlgebraLevel 5

    What is the minimum value of the expression x2+y2+2x−4y+8x^2+y^2+2x-4y+8 for real xx and yy?

    Show solution

    Rearranging the expression, we have x2+2x+y2−4y+8x^2+2x+y^2-4y+8Completing the square in xx, we need to add and subtract (2/2)2=1(2/2)^2=1. Completing the square in yy, we need to add and subtract (4/2)2=4(4/2)^2=4. Thus, we have (x2+2x+1)−1+(y2−4y+4)−4+8⇒(x+1)2+(y−2)2+3(x^2+2x+1)-1+(y^2-4y+4)-4+8 \Rightarrow (x+1)^2+(y-2)^2+3Since the minimum value of (x+1)2(x+1)^2 and (y−2)2(y-2)^2 is 00 (perfect squares can never be negative), the minimum value of the entire expression is 3\boxed{3}, and is achieved when x=−1x=-1 and y=2y=2.

    Counting & ProbabilityLevel 5

    How many ways are there to put 4 balls in 3 boxes if two balls are indistinguishably green, two are indistinguishably red, and the boxes are distinguishable?

    Show solution

    We will consider this as a composite of two problems with two indistinguishable balls and 3 distinguishable boxes. For two indistinguishable green balls, we can place the balls in a box together or in separate boxes. There are 33 options to arrange them together (in box 1, 2, or 3) and 33 options for placing them separately (nothing in box 1, 2, or 3). So there are 6 ways to arrange the indistinguishable green balls. By the same reasoning, there are 6 ways to arrange the indistinguishable red balls, for a total of 6×6=366 \times 6 = \boxed{36} arrangements of the 4 balls.

    GeometryLevel 3

    Theo has one sphere with radius 5; Akshaj has two spheres with radius 2. What is the ratio of the surface area of Theo's sphere to the total surface area of Akshaj's spheres?

    Show solution

    The surface area of a sphere with radius rr is 4πr24\pi r^2. Thus, Theo's sphere has surface area 4π(52)=100π4\pi(5^2)=100\pi and each of Akshaj's spheres have surface area 4π(22)=16π4\pi(2^2)=16\pi, so Akshaj's spheres together have surface area 16π⋅2=32π16\pi\cdot 2 = 32\pi. The desired ratio is hence 100π32π=258\frac{100\pi}{32\pi} = \boxed{\frac{25}{8}}.

    What one record actually looks like (raw JSON, row 603)
    {
      "level": "Level 5",
      "problem": "What is the minimum value of the expression $x^2+y^2+2x-4y+8$ for real $x$ and $y$?",
      "solution": "Rearranging the expression, we have  \\[x^2+2x+y^2-4y+8\\]Completing the square in $x$, we need to add and subtract $(2/2)^2=1$. Completing the square in $y$, we need to add and subtract $(4/2)^2=4$. Thus, we have \\[(x^2+2x+1)-1+(y^2-4y+4)-4+8 \\Rightarrow (x+1)^2+(y-2)^2+3\\]Since the minimum value of $(x+1)^2$ and $(y-2)^2$ is $0$ (perfect squares can never be negative), the minimum value of the entire expression is $\\boxed{3}$, and is achieved when $x=-1$ and $y=2$.",
      "type": "Algebra"
    }

    Media fields point at a local copy; on Hugging Face they are bytes in a Parquet file.

    Sampled 2026-11-07 from EleutherAI/hendrycks_math at revision 21a5633

    Worth knowing

    Related datasets

    Landmark papers