HARDMath2: 210 graduate-level applied-mathematics problems (asymptotic series, boundary layers, integrals, nonlinear ODEs/PDEs, WKB) built by students. Per-(model, problem, sample) correctness from a SymPy-based equivalence checker across GPT and Gemini model families.
Each row is an AI model and each column an item, ordered so the strongest models and easiest items gather toward one corner. 9 subjects × 210 items, 96% of cells evaluated.
Fit to width. Hover for subject & item; click a cell for details.
Correct (1)Incorrect (0)Unobserved
Scale:1 = correct · 0 = incorrect
Sample items
What the questions look like — and how subjects answer.
A spread of items across the difficulty range, each shown with a few subjects' actual answers.
Item 1·0% solve rate
Find the WKB approximation up to the second leading order for the specific differential equation as x→0x6y′′′+y=0 with initial conditions at y(1)=1,y′(1)=0,y′′(1)=0 as x→0. Give ONE final answer in terms of y and x and numbers in a latex environment.
How subjects answered
GPT-4o incorrect
y(x)=a(1−161x8)
GPT-4.1 incorrect
y(x)≈31exp(3x22)+32cos(3x22)
GPT-o1 incorrect
A convenient way to see why the solution is exponentially small as x → 0 is to make the change of variables t = 1/x so that y(x) = Y(t) with t → ∞. One finds that, to leading orders in 1/t, the differential equation forces Y(t) to behave like
-Y‴(t) + Y(t) = 0
which has characteristic equation λ³ = 1. The three roots are
λ = 1 (which gives a solution that blows up like e^(t) as t → ∞),
λ = -1/2 ± i(√3)/2 (which give solutions that decay like e^(-t/2) times oscillations).
Discarding the exponentially growing root (since we want y(x) finite as x → 0 ⇔ t → ∞) and allowing for the small additional 1/t-terms in the full ODE shows that the overall amplitude must behave like 1/t² for large t. Translating back to x = 1/t then gives, up to the first two “WKB orders” as x → 0,
y(x) ≈ x² e^(-1/(2x)) [ A cos( (√3)/(2x) ) + B sin( (√3)/(2x) ) ].
A single-expression real solution with amplitude and phase can also be written as
y(x) ≈ C x² e^(-1/(2x)) cos( (√3)/(2x) - δ ).
Either form is the standard “second-order” WKB approximation (the leading exponential factor together with the x² prefactor) for this third-order problem.
Accordingly, a succinct final answer (with arbitrary real constants A, B) is:
y(x)≈x2e−2x1[Acos(2x3)+Bsin(2x3)].
Item 2·0% solve rate
Find a uniformly valid approximation to the solution of ϵy′′−2tan(x)y′+y=0 with boundary conditions y(−1)=0,y(1)=1 in the limit ϵ=0. Use only the variables and constants given in the problem; do not define additional constants. Place your final solution in a LaTeX environment.
The given differential equation is ϵy′′−2tan(x)y′+y=0 with boundary conditions y(−1)=0 and y(1)=1. This is a singular perturbation problem as ϵ→0.
Let y0(x) be the outer solution, obtained by setting ϵ=0:
−2tan(x)y0′+y0=0.
This is a first-order ODE. For x=0, we can write y0y0′=2tanx1=2sinxcosx.
Integrating gives ln∣y0∣=21ln∣sinx∣+C0, so y0(x)=C∣sinx∣.
The coefficient a(x)=−2tanx is 0 at x=0.
For x∈[−1,0), tanx<0, so a(x)>0. Boundary layers are typically at the left end of such an interval.
For x∈(0,1], tanx>0, so a(x)<0. Boundary layers are typically at the right end of such an interval.
We analyze the problem by considering two approaches for the outer solution:
The outer solution y0(x)=0.
In this case, y0(−1)=0 satisfies the left boundary condition.
The right boundary condition y(1)=1 is not satisfied by y0(1)=0. So, a boundary layer is needed at x=1.
The stretched coordinate at x=1 is X=(1−x)/ϵ. The original equation becomes, approximately, Y′′(X)−2tan(1)(−1/ϵ)Y′(X)≈0, which simplifies to Y′′(X)+(2tan1)Y′(X)≈0.
The solution that decays as X→∞ (i.e. away from x=1) is Y(X)=C1e−2tan(1)X+C2.
Matching with the outer solution y0(1)=0: limX→∞Y(X)=0⟹C2=0.
Applying the boundary condition y(1)=1, which is Y(0)=1: C1=1.
So the boundary layer solution at x=1 is YR(X)=e−2tan(1)X.
The composite solution is y(x)≈y0(x)+YR((1−x)/ϵ)−limX→∞YR(X)=0+e−2tan(1)(1−x)/ϵ−0.
So, y(x)≈e−2tan(1)(1−x)/ϵ.
This solution satisfies y(1)=1. At x=−1, y(−1)≈e−4tan(1)/ϵ. Since tan(1)>0, this is exponentially small, so y(−1)≈0 is satisfied.
This solution is uniformly valid if the true solution is indeed exponentially small for x not close to 1. The vanishing of a(x) at x=0 can sometimes lead to more complex behavior, but this exponential form is a common type of leading-order uniform approximation.
Piecewise outer solution based on characteristics.
The characteristics of the outer equation point from the boundaries x=±1 towards x=0 (since a(x)/x=−2tanx/x<0 near x=0).
So y0(x) for x<0 is determined by y(−1)=0: CL−sin(−1)=CLsin1=0⟹CL=0. So y0(x)=0 for x∈[−1,0].
And y0(x) for x>0 is determined by y(1)=1: CRsin1=1⟹CR=1/sin1. So y0(x)=sinx/sin1 for x∈(0,1].
This combined outer solution y_0(x) = $$\begin{cases} 0 & x \in [-1,0] \\ \sqrt{\frac{\sin x}{\sin 1}} & x \in (0,1] \end{cases}$$$ is continuous and satisfies both boundary conditions.
However, y_0'(0^+) = \lim_{x\to 0^+} \frac{\cos x}{2\sqrt{\sin 1 \sin x}} …
Item 3·22% solve rate
Find a localized travelling wave solution (soliton) for the nonlinear partial differential equation utt−uxx−6(u2)xx−uxxxx=0 subject to the condition that the maximum value is u(0,0)=21.
How subjects answered
Gemini 2.5 Flash Thinking correct
We are looking for a travelling wave solution of the form u(x,t)=f(ξ), where ξ=x−ct.
Substituting this into the PDE utt−uxx−6(u2)xx−uxxxx=0:
c2f′′(ξ)−f′′(ξ)−6(f(ξ)2)′′−f′′′′(ξ)=0(c2−1)f′′−6(f2)′′−f′′′′=0.
We seek a localized solution, so we assume f(ξ) and its derivatives vanish as ∣ξ∣→∞.
Integrating with respect to ξ:
(c2−1)f′−6(f2)′−f′′′=K1.
Since f,f′,f′′′,(f2)′=2ff′ all go to zero as ∣ξ∣→∞, the integration constant K1=0.
So, (c2−1)f′−12ff′−f′′′=0.
Integrating again with respect to ξ:
∫((c2−1)−12f)f′dξ−f′′=K2.
This gives (c2−1)f−6f2−f′′=K2.
Again, since f,f′′→0 as ∣ξ∣→∞, the integration constant K2=0.
Thus, we obtain the ordinary differential equation:
f′′=(c2−1)f−6f2.
We look for a solution of the form f(ξ)=A0sech2(kξ).
The derivatives are:
f′(ξ)=−2kA0sech2(kξ)tanh(kξ).
f′′(ξ)=−2kA0[−2ksech2(kξ)tanh2(kξ)+ksech4(kξ)]f′′(ξ)=4k2A0sech2(kξ)tanh2(kξ)−2k2A0sech4(kξ).
Using tanh2(z)=1−sech2(z):
f′′(ξ)=4k2A0sech2(kξ)(1−sech2(kξ))−2k2A0sech4(kξ)f′′(ξ)=4k2A0sech2(kξ)−4k2A0sech4(kξ)−2k2A0sech4(kξ)f′′(ξ)=4k2A0sech2(kξ)−6k2A0sech4(kξ).
Substitute this into the ODE f′′=(c2−1)f−6f2:
4k2A0sech2(kξ)−6k2A0sech4(kξ)=(c2−1)A0sech2(kξ)−6A02sech4(kξ).
Comparing the coefficients of sech2(kξ) and sech4(kξ):
4k2A0=(c2−1)A0⟹4k2=c2−1 (assuming A0=0).
−6k2A0=−6A02⟹k2=A0 (assuming A0=0).
We are given the condition u(0,0)=21.
For f(ξ)=A0sech2(kξ), the maximum value is A0 at ξ=0.
The condition u(0,0)=21 implies f(0)=A0=21.
Using A0=k2, we get k2=21. We can choose k=21 (the sign of k can be absorbed in ξ, as sech2(−z)=sech2(z)).
Using 4k2=c2−1, we get 4(21)=c2−1⟹2=c2−1⟹c2=3.
So c=±3.
Thus, the travelling wave solutions are u(x,t)=21sech2(2x∓3t).
We can write these two solutions using sech(z)=1/cosh(z).
21sech2(2x−3t);21sech2(2x+3t)
Gemini 2.5 Pro Preview correct
Let the given partial differential equation be
utt−uxx−6(u2)xx−uxxxx=0
We seek a travelling wave solution of the form u(x,t)=f(ξ), where ξ=x−ct for some wave speed c.
The partial derivatives are:
ut=−cf′(ξ)utt=c2f′′(ξ)ux=f′(ξ)uxx=f′′(ξ)uxxxx=f′′′′(ξ)
Also, (u2)xx=(f2)′′.
Substituting these into the PDE yields an ODE for f(ξ):
c2f′′−f′′−6(f2)′′−f′′′′=0(c2−1)f′′−6(f2)′′−f′′′′=0
For a localized solution (soliton), we assume that f and its derivatives vanish as ∣ξ∣→∞. Integrating the equation twice with respect to ξ and using these boundary conditions (so the integration constants are zero), we get:
(c2−1)f−6f2−f′′=0
Rearranging, we have:
f′′=(c2−1)f−6f2
Let A=c2−1 and B=6. The equation is f′′=Af−Bf2.
To solve this, we multiply by f′:
f′f′′=Aff′−Bf2f′
Integrating with respect to ξ:
21(f′)2=2Af2−3Bf3+E
Using the boundary conditions f→0 and f′→0 as ∣ξ∣→∞, we find E=0.
So, (f′)2=Af2−32Bf3=f2(A−32Bf).
We are given that u(0,0)=1/2 is the maximum value. For u(x,t)=f(x−ct), this means f(0)=1/2 is the maximum value.
At a maximum, f′(0)=0. Since f(0)=1/2=0, we must have:
A−32Bf(0)=0
Substitute f(0)=1/2, A=c2−1, and B=6:
(c2−1)−32(6)(21)=0(c2−1)−4(21)=0(c2−1)−2=0
So, c2−1=2, which implies c2=3, and c=±3.
The ODE for f is now f′′=2f−6f2.
The standard solution for f′′=Af−Bf2 that is localized is f(ξ)=Psech2(Qξ).
The maximum value is P=f(0). So P=1/2.
Let's substitute f(ξ)=Psech2(Qξ) into f′′=Af−Bf2:
f′(ξ)=−2PQsech2(Qξ)tanh(Qξ).
f′′(ξ)=−2PQ[−2Qsech2(Qξ)tanh2(Qξ)+Qsech4(Qξ)].
Using tanh2(Qξ)=1−sech2(Qξ):
f′′(ξ)=−2PQ2[−2sech2(Qξ)(1−sech2(Qξ))+sech4(Qξ)]=−2PQ2[−2sech2(Qξ)+3sech4(Qξ)].
f′′(ξ)=4PQ2sech2(Qξ)−6PQ2sech4(Qξ).
Comparing this with Af−Bf2=APsech2(Qξ)−BP2sech4(Qξ):
Equating coefficients of sech2(Qξ): 4PQ2=AP⟹4Q2=A.
Equating coefficients of sech4(Qξ): 6PQ2=BP2⟹6Q2=BP.
We have A=c2−1=2, B=6, and P=1/2.
From 4Q2=A: 4Q2=2⟹Q2=1/2⟹Q=1/2=2/2.
(The other equation 6Q2=BP gives 6(1/2)=6(1/2)⟹3=3, which is consistent.)
So the solution for f(ξ) is:
f(ξ)=21sech2(2ξ)
Since ξ=x−ct and c=±3, the travelling wave solutions are:
Find a uniformly valid approximation to the solution of ϵy′′+(1+x2)y′−y=0 with boundary conditions y(0)=1,y(1)=2 in the limit ϵ=0 from the positive direction. Use only the variables and constants given in the problem; do not define additional constants. Place your final solution in a LaTeX environment.
Find the leading order WKB approximation for the specific differential equation: ϵ2y′′=ycosh2x with initial conditions at y(0)=0;y′(0)=1 where ϵ is a small positive parameter (0<ϵ≪1). Give your final answer in a \boxed latex environment.
Find the leading order WKB approximation for the specific differential equation: ϵy′′+y=0 with initial conditions at y(0)=0,y(1)=1 where ϵ is a small positive parameter (0<ϵ≪1). Give your final answer in a \boxed latex environment.
How subjects answered
GPT-4o correct
\boxed{sin (\frac{x}{√(ε)} ) / sin (\frac{1}{√(ε)} )}
GPT-4.1 correct
y(x)≈sin(ϵ1)sin(ϵx)
GPT-o1 correct
sin(ϵ1)sin(ϵx)
Subjects
The models, agents, and reward models evaluated.
9 subjects, ranked by mean response (accuracy) across this benchmark's items.