AI vs AI: disagreements on the 100-problem benchmark

Each of the 100 problems was submitted to all six AI systems, asking only for the final mathematical answer. Below are the 79 problems where at least one of the six AIs disagreed with the rest. Each analysis is written by an AI and audited by the ExaktAI team.

Summary
21%
All 6 equivalent
27%
5 of 6 equivalent
38%
4 of 6 equivalent
12%
3 of 6 equivalent
2%
2 of 6 equivalent
0%
All 6 different
5 of 6 equivalent

Problem 1

Evaluate \(\underset{n \rightarrow \infty}{\mathrm{lim}}\frac{\overset{n}{\underset{k =1}{\sum}}\sqrt{1+\frac{k}{n}}}{n}\).

Codex
\(\frac{4 \sqrt{2}}{3}-\frac{2}{3}\)
DeepSeek
\( 0.884488434\)
Claude
\(\frac{4 \sqrt{2}}{3}-\frac{2}{3}\)
Gemini
\(\frac{4 \sqrt{2}}{3}-\frac{2}{3}\)
Mistral
\(\frac{4 \sqrt{2}}{3}-\frac{2}{3}\)
Grok
\(\frac{4 \sqrt{2}}{3}-\frac{2}{3}\)

Analysis: deepseek's \(0.884488434\) is numerically about \(0.884\), while codex's \((4\sqrt{2}-2)/3\) is approximately \(1.219\).

5 of 6 equivalent

Problem 2

Evaluate \(\underset{x \rightarrow 0}{\mathrm{lim}}\frac{\sin \! \left(x \right)-x +\frac{x^{3}}{6}}{x^{5}}\).

Codex
\({\frac{1}{120}}\)
DeepSeek
\(0\)
Claude
\({\frac{1}{120}}\)
Gemini
\({\frac{1}{120}}\)
Mistral
\({\frac{1}{120}}\)
Grok
\({\frac{1}{120}}\)

Analysis: deepseek gives \(0\) while codex gives \(\frac{1}{120}\), which are distinct numerical values.

4 of 6 equivalent

Problem 4

Find the inflection points, as ordered pairs, and intervals of concavity of \(f \! \left(x \right) = x^{4}-8 x^{2}+3\).

Codex
\(\left(\left[\left[-\frac{2}{\sqrt{3}}, -\frac{53}{9}\right], \left[\frac{2}{\sqrt{3}}, -\frac{53}{9}\right]\right], \left[-\infty \cup -\frac{2}{\sqrt{3}}\cup \frac{2}{\sqrt{3}}\cup \infty \right], \left[-\frac{2}{\sqrt{3}}, \frac{2}{\sqrt{3}}\right]\right)\)
DeepSeek
\((0,3),\left(-\frac{2}{\sqrt{3}},-\frac{13}{9}\right),\left(\frac{2}{\sqrt{3}},-\frac{13}{9}\right);\ (-\infty,-\frac{2}{\sqrt{3}})\cup(0,\frac{2}{\sqrt{3}})\ \text{concave down},\ \left(-\frac{2}{\sqrt{3}},0\right)\cup\left(\frac{2}{\sqrt{3}},\infty\right)\ \text{concave up}\)
Claude
\(\text{Inflection points: }\left(-\frac{2\sqrt{3}}{3},-\frac{53}{9}\right),\left(\frac{2\sqrt{3}}{3},-\frac{53}{9}\right);\ \text{concave up on }\left(-\infty,-\frac{2\sqrt{3}}{3}\right)\cup\left(\frac{2\sqrt{3}}{3},\infty\right);\ \text{concave down on }\left(-\frac{2\sqrt{3}}{3},\frac{2\sqrt{3}}{3}\right)\)
Gemini
\(\left[\left[\left(-\frac{2\sqrt{3}}{3},-\frac{53}{9}\right),\left(\frac{2\sqrt{3}}{3},-\frac{53}{9}\right)\right],\left[\left(\operatorname{interval}\left(-\infty,-\frac{2\sqrt{3}}{3}\right),\operatorname{interval}\left(\frac{2\sqrt{3}}{3},\infty\right)\right),\left(\operatorname{interval}\left(-\frac{2\sqrt{3}}{3},\frac{2\sqrt{3}}{3}\right)\right)\right]\right]\)
Mistral
\(\left[\left(-\frac{2}{3}\sqrt{6},-\frac{163}{9}\right),(0,3),\left(\frac{2}{3}\sqrt{6},-\frac{163}{9}\right)\right],\ \left[\left(-\infty,-\frac{2}{3}\sqrt{6}\right)=\text{concave up},\ \left(-\frac{2}{3}\sqrt{6},0\right)=\text{concave down},\ \left(0,\frac{2}{3}\sqrt{6}\right)=\text{concave up},\ \left(\frac{2}{3}\sqrt{6},\infty\right)=\text{concave down}\right]\)
Grok
\(\left(\left[\left[-\frac{2 \sqrt{3}}{3}, -\frac{53}{9}\right], \left[\frac{2 \sqrt{3}}{3}, -\frac{53}{9}\right]\right], \mathit{Interval} \! \left(-\infty , -\frac{2 \sqrt{3}}{3}\right)\cup \mathit{Interval} \! \left(\frac{2 \sqrt{3}}{3}, \infty \right), \mathit{Interval} \! \left(-\frac{2 \sqrt{3}}{3}, \frac{2 \sqrt{3}}{3}\right)\right)\)

Analysis: The first group gives inflection points \((\pm 2/\sqrt{3}, -53/9)\) with concave up on \((-\infty,-2/\sqrt{3})\cup(2/\sqrt{3},\infty)\) and concave down on \((-2/\sqrt{3},2/\sqrt{3})\); deepseek lists three points including \((0,3)\) with \(y=-13/9\) and the opposite concavity assignment; mistral uses \(\pm(2/3)\sqrt{6}\) with \(y=-163/9\) plus \((0,3)\) and an alternating four-interval concavity pattern.

4 of 6 equivalent

Problem 5

Apply 3 iterations of Gauss-Seidel to the system \(10 x_{1}-x_{2}+2 x_{3} = 6\), \(-x_{1}+11 x_{2}-x_{3} = 25\), \(2 x_{1}-x_{2}+10 x_{3} = -11\), starting from \([x_{1}, x_{2}, x_{3}] = [0, 0, 0]\). Give \([x_{1}, x_{2}, x_{3}]\) after iteration 3, each to 6 decimal places.

Codex
\([ 1.043338, 2.269542, - 1.081713]\)
DeepSeek
\(\left[0.524286,\ 2.426667,\ -1.184524\right]\)
Claude
\([ 1.043338, 2.269542, - 1.081713]\)
Gemini
\([ 1.043338, 2.269542, - 1.081713]\)
Mistral
\(\left[0.601652,\ 2.327052,\ -0.988682\right]\)
Grok
\([ 1.043338, 2.269542, - 1.081713]\)

Analysis: The deepseek answer gives \([0.524286, 2.426667, -1.184524]\), mistral gives \([0.601652, 2.327052, -0.988682]\), and codex gives \([1.043338, 2.269542, -1.081713]\), three distinct numerical triples.

4 of 6 equivalent

Problem 6

Assuming \(0<a\), compute the curvature \(\kappa \! \left(t \right)\) and torsion \(\tau \! \left(t \right)\) of the helix \(r \! \left(t \right) = \langle a \cos \! \left(t \right), a \sin \! \left(t \right), b t \rangle\).

Codex
\(\left(\frac{a}{a^{2}+b^{2}}, \frac{b}{a^{2}+b^{2}}\right)\)
DeepSeek
\(\tau \coloneqq \frac{b}{a^{2}+b^{2}}\)
Claude
\(\left(\frac{a}{a^{2}+b^{2}}, \frac{b}{a^{2}+b^{2}}\right)\)
Gemini
\(\left[\frac{a}{a^{2}+b^{2}}, \frac{b}{a^{2}+b^{2}}\right]\)
Mistral
\(\kappa=\frac{b^2}{a(a^2+b^2)},\ \tau=\frac{b}{a^2+b^2}\)
Grok
\(\left(\kappa \! \left(t \right)=\frac{a}{a^{2}+b^{2}}, \tau \! \left(t \right)=\frac{b}{a^{2}+b^{2}}\right)\)

Analysis: deepseek gives only \(\tau=b/(a^2+b^2)\) with no curvature; mistral gives \(\kappa=b^2/(a(a^2+b^2))\) with \(\tau=b/(a^2+b^2)\); codex gives \(\kappa=a/(a^2+b^2)\) with \(\tau=b/(a^2+b^2)\).

4 of 6 equivalent

Problem 7

For \(f \! \left(x \right) = {\mathrm e}^{x}\) and Taylor expansion centered at 0, find the smallest \(n\) such that the Lagrange remainder satisfies \({| \textit{R\_n} \! \left(x \right)|}< 1.0\times 10^{-6}\) for all \(x\) in \([0, 0.5]\).

Codex
\(7\)
DeepSeek
\(0.000000\)
Claude
\(7\)
Gemini
\(7\)
Mistral
\(9\)
Grok
\(7\)

Analysis: The deepseek answer is \(0\), the mistral answer is \(9\), and the codex answer is \(7\).

5 of 6 equivalent

Problem 9

Find the closed form of the infinite sum \(\overset{\infty}{\underset{n =1}{\sum}}\frac{H_{n}}{n^{2}}\), where \(H_{n} = \overset{n}{\underset{k =1}{\sum}}\frac{1}{k}\) is the n-th harmonic number. Express the result in terms of the Riemann zeta function.

Codex
\(2 \zeta \! \left(3\right)\)
DeepSeek
\(2 \zeta \! \left(3\right)\)
Claude
\(2 \zeta \! \left(3\right)\)
Gemini
\(2 \zeta \! \left(3\right)\)
Mistral
\(\frac{2\zeta(3)+\pi^2\ln(2)/6}{2}\)
Grok
\(2 \zeta \! \left(3\right)\)

Analysis: deepseek and codex give \(2\zeta(3)\), while mistral gives \(\zeta(3) + \frac{\pi^2 \ln 2}{12}\).

4 of 6 equivalent

Problem 10

Evaluate \(\int_{0}^{1}\ln \! \left(x \right) \ln \! \left(1-x \right)d x\) in closed form.

Codex
\(2-\frac{\pi^{2}}{6}\)
DeepSeek
\(-2+\frac{\pi^{2}}{6}\)
Claude
\(2-\frac{\pi^{2}}{6}\)
Gemini
\(2-\frac{\pi^2}{6}\)
Mistral
\(2 \zeta \! \left(3\right)-2\)
Grok
\(2-\frac{\pi^{2}}{6}\)

Analysis: Deepseek gives \(-2 + \pi^2/6\), codex gives \(2 - \pi^2/6\) (the negative of deepseek), and mistral gives \(2\zeta(3) - 2\), which involves \(\zeta(3)\) rather than \(\pi^2\).

5 of 6 equivalent

Problem 11

Find the closed form of the infinite sum \(\overset{\infty}{\underset{n =1}{\sum}}\frac{\cos \! \left(n \right)}{n^{2}}\) (the argument is in radians, not degrees).

Codex
\(\frac{1}{6} \pi^{2}-\frac{1}{2} \pi +\frac{1}{4}\)
DeepSeek
\(\frac{\mathrm{Li}_{2}\! \left({\mathrm e}^{\mathrm{I}}\right)}{2}+\frac{\mathrm{Li}_{2}\! \left({\mathrm e}^{\mathrm{-I}}\right)}{2}\)
Claude
\(\frac{1}{6} \pi^{2}-\frac{1}{2} \pi +\frac{1}{4}\)
Gemini
\(\frac{1}{6} \pi^{2}-\frac{1}{2} \pi +\frac{1}{4}\)
Mistral
\(\frac{1}{2}\pi-\frac{1}{4}-\frac{1}{2}\pi\,\operatorname{csgn}(i\exp(i))+\frac{1}{4}\pi^2\operatorname{csgn}(i\exp(i))^2-\frac{1}{4}\pi^2\operatorname{csgn}(i\exp(i))\)
Grok
\(\frac{1}{6} \pi^{2}-\frac{1}{2} \pi +\frac{1}{4}\)

Analysis: Mistral's expression evaluates (with \(\operatorname{csgn}(i e^{i}) = -1\)) to \(\pi^2/2 + \pi - 1/4\), whereas codex's expression is \(\pi^2/6 - \pi/2 + 1/4\).

4 of 6 equivalent

Problem 12

Decompose into partial fractions and evaluate \(\int \frac{3 x^{2}+2 x +1}{\left(x -1\right) \left(x +2\right)^{2}}d x\).

Codex
\(\frac{2 \ln \! \left({| x -1|}\right)}{3}+\frac{7 \ln \! \left({| x +2|}\right)}{3}+\frac{3}{x +2}+\textit{\_C1}\)
DeepSeek
\(-2\ln|x-1|+\ln|x+2|+\frac{3}{x+2}+\text{constant}\)
Claude
\(\frac{2 \ln \! \left(x -1\right)}{3}+\frac{7 \ln \! \left(x +2\right)}{3}+\frac{3}{x +2}\)
Gemini
\(\frac{2 \ln \! \left(x -1\right)}{3}+\frac{7 \ln \! \left(x +2\right)}{3}+\frac{3}{x +2}\)
Mistral
\(\frac{3}{9}\ln(x-1)-\frac{11}{9}\ln(x+2)-\frac{11}{3(x+2)}+\frac{1}{3}\frac{-3x-4}{(x+2)^2}\)
Grok
\(\frac{2 \ln \! \left({| x -1|}\right)}{3}+\frac{7 \ln \! \left({| x +2|}\right)}{3}+\frac{3}{x +2}\)

Analysis: The codex/claude/grok group gives \(\frac{2}{3}\ln|x-1| + \frac{7}{3}\ln|x+2| + \frac{3}{x+2}\); deepseek gives \(-2\ln|x-1| + \ln|x+2| + \frac{3}{x+2}\); mistral gives \(\frac{1}{3}\ln(x-1) - \frac{11}{9}\ln(x+2) - \frac{11}{3(x+2)} + \frac{-3x-4}{3(x+2)^2}\).

5 of 6 equivalent

Problem 13

Evaluate \(\int_{0}^{1}\frac{\arctan \! \left(x \right)}{x}d x\) in closed form.

Codex
\(\mathit{Catalan}\)
DeepSeek
\(\arctan\!\left(\frac{1}{2}\pi\ln(2)+\frac{1}{4}\mathrm{i}\pi^2-\frac{1}{2}\mathrm{i}\ln(2)^2+\frac{1}{2}\mathrm{i}\,\operatorname{dilog}\!\left(\frac{1}{2}+\frac{1}{2}\mathrm{i}\right)-\frac{1}{2}\mathrm{i}\,\operatorname{dilog}\!\left(\frac{1}{2}-\frac{1}{2}\mathrm{i}\right)-\frac{1}{2}\mathrm{i}\,\operatorname{dilog}(1+\mathrm{i})+\frac{1}{2}\mathrm{i}\,\operatorname{dilog}(1-\mathrm{i})+\frac{1}{2}\mathrm{i}\ln(1+\mathrm{i})\ln(2)-\frac{1}{2}\mathrm{i}\ln(1-\mathrm{i})\ln(2)+\frac{1}{2}\mathrm{i}\ln(1+\mathrm{i})^2-\frac{1}{2}\mathrm{i}\ln(1-\mathrm{i})^2\right)\)
Claude
\(\mathit{Catalan}\)
Gemini
\(\mathit{Catalan}\)
Mistral
\(\mathit{Catalan}\)
Grok
\(\mathit{CatalanG}\)

Analysis: Codex and grok give Catalan's constant \(G\), while deepseek gives an arctan of a complex dilogarithmic expression.

4 of 6 equivalent

Problem 14

Find the total area enclosed by both loops of the lemniscate \(r^{2} = 4 \cos \! \left(2 \theta \right)\).

Codex
\(4\)
DeepSeek
\(4\)
Claude
\(8\)
Gemini
\(4\)
Mistral
\(4 \sqrt{2}\)
Grok
\(4\)

Analysis: claude gives \(8\), mistral gives \(4\sqrt{2}\), and codex gives \(4\), three distinct numerical values.

5 of 6 equivalent

Problem 15

Evaluate \(\int_{0}^{1}\frac{\ln \! \left(x^{2}+1\right)}{x^{2}+1}d x\) in closed form. Express the result using \(\pi\), \(\ln \! \left(2\right)\), and Catalan's constant \(G\).

Codex
\(\frac{\pi \ln \! \left(2\right)}{2}-\mathit{Catalan}\)
DeepSeek
\(\frac{\mathit{π} \ln \! \left(2\right)}{4}-\frac{G}{2}\)
Claude
\(\frac{\pi \ln \! \left(2\right)}{2}-\mathit{Catalan}\)
Gemini
\(\frac{\pi \ln \! \left(2\right)}{2}-\mathit{Catalan}\)
Mistral
\(\frac{\pi \ln \! \left(2\right)}{2}-G\)
Grok
\(\frac{\pi \ln \! \left(2\right)}{2}-G\)

Analysis: The codex and grok answers give \(\frac{\pi \ln 2}{2} - G\), while the deepseek answer gives \(\frac{\pi \ln 2}{4} - \frac{G}{2}\), which is exactly half of the other group's value.

5 of 6 equivalent

Problem 17

Find the critical points of \(f \! \left(x , y\right) = x^{3}+y^{2}-3 x\) and classify them.

Codex
\([[1, 0, \textit{local\_minimum}], [-1, 0, \textit{saddle\_point}]]\)
DeepSeek
\((1,0,\text{local min}),(-1,0,\text{saddle})\)
Claude
\(\left[[x=-1,y=0,\text{saddle point},f=2],[x=1,y=0,\text{local minimum},f=-2]\right]\)
Gemini
\(\left[[1,0,\mathrm{MIN}],[-1,0,\mathrm{SADDLE}]\right]\)
Mistral
\(\left[[[x=1,y=0],\text{local minimum}],[[x=-1,y=0],\text{saddle point}]\right]\)
Grok
\([[x = -1, y = 0], [x = 1, y = 0]]\)

Analysis: The grok answer lists only the critical points \((1,0)\) and \((-1,0)\) without classifying them, while the others identify \((1,0)\) as a local minimum and \((-1,0)\) as a saddle point.

5 of 6 equivalent

Problem 18

Locate and classify the critical points of the surface defined by \(f \! \left(x , y\right) = x^{3}+y^{3}-3 x y\).

Codex
\([[0, 0, \mathit{saddle}], [1, 1, \textit{local\_minimum}]]\)
DeepSeek
\((0,0,\text{saddle}),\ (1,1,\text{local min})\)
Claude
\(\left[[x=0,y=0,\text{saddle point}],[x=1,y=1,\text{local minimum}]\right]\)
Gemini
\(\left\{\{x=0,y=0\},\{x=1,y=1\}\right\}\)
Mistral
\(\left[[[0,0],\text{saddle}],[[1,1],\text{local\_minimum}]\right]\)
Grok
\(\left[[[0,0],\text{saddle point}],[[1,1],\text{local minimum}]\right]\)

Analysis: Gemini's answer omits the classification of each critical point as saddle or local minimum, while the others identify both \((0,0)\) as a saddle and \((1,1)\) as a local minimum.

3 of 6 equivalent

Problem 19

Find the maximum rate of change of \(f \! \left(x , y\right) = x^{2} {\mathrm e}^{-y}\) at \([2, 0]\) and the direction in which it occurs.

Codex
\(\left[4 \sqrt{2}, \left[\frac{1}{\sqrt{2}}, -\frac{1}{\sqrt{2}}\right]\right]\)
DeepSeek
\(\sqrt{17}\)
Claude
\(\left(4 \sqrt{2}, \left[\frac{1}{\sqrt{2}}, -\frac{1}{\sqrt{2}}\right]\right)\)
Gemini
\(4 \sqrt{2}\)
Mistral
\([4 \sqrt{5}, \left[\begin{array}{cc} 4 & -4 \end{array}\right]]\)
Grok
\(\left(4 \sqrt{2}, \langle \frac{1}{\sqrt{2}}, -\frac{1}{\sqrt{2}}\rangle \right)\)

Analysis: deepseek gives only the scalar \(\sqrt{17}\); gemini gives only the scalar \(4\sqrt{2}\); mistral gives \(4\sqrt{5}\) paired with direction \([4,-4]\); codex gives \(4\sqrt{2}\) paired with unit direction \([1/\sqrt{2},-1/\sqrt{2}]\).

3 of 6 equivalent

Problem 20

Find the extreme values of \(f \! \left(x , y\right) = x^{2}+2 y^{2}\) subject to the constraint \(x +y = 3\).

Codex
\(\left(6, \infty \right)\)
DeepSeek
\(\left(-6, 12\right)\)
Claude
\(6\)
Gemini
\(6\)
Mistral
\([3, 18]\)
Grok
\(6\)

Analysis: codex gives the minimum \(6\) and an unbounded maximum \(\infty\); deepseek gives \(-6\) and \(12\); mistral gives the interval \([3, 18]\); claude gives only \(6\).

3 of 6 equivalent

Problem 22

Transform to cylindrical coordinates and compute \({\textcolor{gray}{\int}}_{\!\!\!0}^{2 \pi}{\textcolor{gray}{\int}}_{\!\!\!0}^{3}{\textcolor{gray}{\int}}_{\!\!\!0}^{4}r \textcolor{gray}{d}z \textcolor{gray}{d}r \textcolor{gray}{d}\theta\), where \(E\) is the solid bounded by \(z = 0\), \(z = 4\), and \(r = 3\).

Codex
\(72 \pi\)
DeepSeek
\(4\cdot 3^2\cdot \pi\)
Claude
\(108\pi\)
Gemini
\(72 \pi\)
Mistral
\(\frac{81 \pi}{2}\)
Grok
\(72 \pi\)

Analysis: The answers are \(36\pi\), \(108\pi\), \(\frac{81}{2}\pi\), and \(72\pi\) respectively, all numerically distinct.

5 of 6 equivalent

Problem 24

Find the volume of the solid bounded above by \(z = -x^{2}-y^{2}+4\) and below by \(z = x^{2}+y^{2}\).

Codex
\(4 \pi\)
DeepSeek
\(4\pi\)
Claude
\(4 \pi\)
Gemini
\(4 \pi\)
Mistral
\(\pi\)
Grok
\(4 \pi\)

Analysis: The deepseek, codex, and grok answers give \(4\pi\), while the mistral answer gives \(\pi\).

3 of 6 equivalent

Problem 25

Find the determinant of the 4x4 matrix \(A = \left[\begin{array}{cccc} 2 & 1 & 0 & 1 \\ 1 & 3 & 1 & 0 \\ 0 & 1 & 2 & 1 \\ 1 & 0 & 1 & 3 \end{array}\right]\).

Codex
\(12\)
DeepSeek
\(20\)
Claude
\(21\)
Gemini
\(12\)
Mistral
\(10\)
Grok
\(12\)

Analysis: The answers give four distinct numerical values for the determinant: deepseek says \(20\), claude says \(21\), mistral says \(10\), and codex says \(12\).

4 of 6 equivalent

Problem 26

Find the reduced row echelon form of \(A = \left[\begin{array}{cccc} 1 & 2 & -1 & 3 \\ 2 & 4 & 1 & -1 \\ 3 & 7 & 0 & 2 \end{array}\right]\).

Codex
\(\left[\left[1, 0, 0, {\frac{2}{3}}\right], [0, 1, 0, 0], \left[0, 0, 1, -{\frac{7}{3}}\right]\right]\)
DeepSeek
\(\left[\left[1,0,0,13\right],\left[0,1,0,-7\right],\left[0,0,1,4\right]\right]\)
Claude
\(\left[\begin{array}{cccc} 1 & 0 & 0 & \frac{2}{3} \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 1 & -\frac{7}{3} \end{array}\right]\)
Gemini
\(\left[\left[1, 0, 0, {\frac{2}{3}}\right], [0, 1, 0, 0], \left[0, 0, 1, -{\frac{7}{3}}\right]\right]\)
Mistral
\(\left[\left[1, 0, 0, {\frac{13}{3}}\right], \left[0, 1, 0, -{\frac{7}{3}}\right], [0, 0, 1, -1]\right]\)
Grok
\(\left[\begin{array}{cccc} 1 & 0 & 0 & \frac{2}{3} \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 1 & -\frac{7}{3} \end{array}\right]\)

Analysis: Codex, claude, gemini and grok all give \(\begin{pmatrix}1&0&0&2/3\\0&1&0&0\\0&0&1&-7/3\end{pmatrix}\); deepseek gives \(\begin{pmatrix}1&0&0&13\\0&1&0&-7\\0&0&1&4\end{pmatrix}\); mistral gives \(\begin{pmatrix}1&0&0&13/3\\0&1&0&-7/3\\0&0&1&-1\end{pmatrix}\).

5 of 6 equivalent

Problem 27

Find the characteristic polynomial and eigenvalues of the companion matrix \(A = \left[\begin{array}{ccc} 0 & 0 & 2 \\ 1 & 0 & -1 \\ 0 & 1 & 2 \end{array}\right]\).

Codex
\(\left(\lambda^{3}-2 \lambda^{2}+\lambda -2, \left\{2, -i, i\right\}\right)\)
DeepSeek
\(\det \! \left(\mathrm{I} \mathit{λ}-A \right) = \mathit{λ}^{3}-2 \mathit{λ}^{2}+\mathit{λ}-2\)
Claude
\(\left(\lambda^{3}-2 \lambda^{2}+\lambda -2, \left\{2, -i, i\right\}\right)\)
Gemini
\(-\lambda^3+2\lambda^2-\lambda+2,\ \left[2,i,-i\right]\)
Mistral
\(\mathit{CharacteristicPolynomial} \! \left(A , \lambda \right) = \lambda^{3}-2 \lambda^{2}+\lambda -2\)
Grok
\(\left(\lambda^{3}-2 \lambda^{2}+\lambda -2, \left[2, i, -i\right]\right)\)

Analysis: The gemini answer gives the negative of the characteristic polynomial \(-\lambda^3+2\lambda^2-\lambda+2\) (using the \(\det(A-\lambda I)\) convention), while the others give the monic form \(\lambda^3-2\lambda^2+\lambda-2\); eigenvalues agree across all answers.

5 of 6 equivalent

Problem 28

Find one valid QR decomposition of the matrix \(\left[\begin{array}{cc} 1 & 1 \\ 1 & 0 \\ 0 & 1 \end{array}\right]\).

Codex
\(\left[\left[\begin{array}{cc} \frac{1}{\sqrt{2}} & \frac{1}{\sqrt{6}} \\ \frac{1}{\sqrt{2}} & -\frac{1}{\sqrt{6}} \\ 0 & \frac{2}{\sqrt{6}} \end{array}\right], \left[\begin{array}{cc} \sqrt{2} & \frac{1}{\sqrt{2}} \\ 0 & \sqrt{\frac{3}{2}} \end{array}\right]\right]\)
DeepSeek
\(\operatorname{Matrix}\!\left(\left[\left[\frac{1}{2}\sqrt{2},\frac{1}{6}\sqrt{6}\right],\left[\frac{1}{2}\sqrt{2},-\frac{1}{6}\sqrt{6}\right],\left[0,\frac{1}{3}\sqrt{6}\right]\right]\right),\ \operatorname{Matrix}\!\left(\left[\left[\sqrt{2},\frac{1}{2}\sqrt{2}\right],\left[0,\frac{1}{2}\sqrt{6}\right]\right]\right)\)
Claude
\(\operatorname{Matrix}\!\left(\left[\left[\left(\frac{1}{2}\right)\sqrt{2},\left(\frac{1}{6}\right)\sqrt{6}\right],\left[\left(\frac{1}{2}\right)\sqrt{2},-\left(\frac{1}{6}\right)\sqrt{6}\right],\left[0,\left(\frac{1}{3}\right)\sqrt{6}\right]\right]\right),\ \operatorname{Matrix}\!\left(\left[\left[\sqrt{2},\left(\frac{1}{2}\right)\sqrt{2}\right],\left[0,\left(\frac{1}{2}\right)\sqrt{6}\right]\right]\right)\)
Gemini
\(\operatorname{Matrix}\!\left(\left[\left[-0.7071067811865472,\ 0.40824829046386296,\ -0.5773502691896258\right],\left[-0.7071067811865475,\ -0.408248290463863,\ 0.5773502691896258\right],\left[-0.0,\ 0.8164965809277261,\ 0.5773502691896257\right]\right]\right),\ \operatorname{Matrix}\!\left(\left[\left[-1.4142135623730951,\ -0.7071067811865472\right],\left[0.0,\ 1.224744871391589\right],\left[0.0,\ 0.0\right]\right]\right)\)
Mistral
\(\left[0, \frac{\sqrt{15}\, \sqrt{5}}{3}\right]\)
Grok
\(\left[\left[\begin{array}{cc} \frac{\sqrt{2}}{2} & \frac{\sqrt{6}}{6} \\ \frac{\sqrt{2}}{2} & -\frac{\sqrt{6}}{6} \\ 0 & \frac{\sqrt{6}}{3} \end{array}\right], \left[\begin{array}{cc} \sqrt{2} & \frac{\sqrt{2}}{2} \\ 0 & \frac{\sqrt{6}}{2} \end{array}\right]\right]\)

Analysis: Mistral's answer is a pair of scalars while codex's answer is a pair of matrices \(Q\) and \(R\) forming a QR decomposition of \(\begin{pmatrix}1&1\\1&0\\0&1\end{pmatrix}\).

4 of 6 equivalent

Problem 29

Find one valid singular value decomposition of the matrix \(\left[\begin{array}{cc} 1 & 2 \\ 3 & 4 \\ 5 & 6 \end{array}\right]\).

Codex
\([\left[\begin{array}{cc} - 0.229847696400071 & 0.883461017698525 \\ - 0.524744818760293 & 0.240782492132547 \\ - 0.819641941120515 & - 0.401896033433431 \end{array}\right], \left[\begin{array}{cc} 9.52551809156511 & 0.0 \\ 0.0 & 0.514300580658644 \end{array}\right], \left[\begin{array}{cc} - 0.61962948382934 & - 0.784894453267052 \\ - 0.784894453267052 & 0.61962948382934 \end{array}\right]]\)
DeepSeek
\(\left[\begin{array}{ccc} -0.229847696400071 & 0.883461017698523 & 0.408248290463863 \\ -0.524744818760291 & 0.240782492091674 & -0.816496580927726 \\ -0.819641941120511 & -0.401896033515175 & 0.408248290463863 \end{array}\right],\ \left[\begin{array}{cc} 9.52551809156511 & 0 \\ 0 & 0.514300580658644 \\ 0 & 0 \end{array}\right],\ \left[\begin{array}{cc} -0.61962948382934 & -0.784894453267052 \\ -0.784894453267052 & 0.61962948382934 \end{array}\right]\)
Claude
\(\left[\left[\begin{array}{ccc} -0.2298476964 & 0.8834610176 & 0.4082482905 \\ -0.5247448074 & 0.2407824921 & -0.8164965809 \\ -0.8196419184 & -0.4018960334 & 0.4082482905 \end{array}\right],\ \left[\begin{array}{cc} 9.525518091 & 0 \\ 0 & 0.5143005806 \\ 0 & 0 \end{array}\right],\ \left[\begin{array}{cc} -0.6196294838 & -0.7848944533 \\ -0.7848944533 & 0.6196294838 \end{array}\right]\right]\)
Gemini
\(\left[\left[\begin{array}{ccc} -0.22984769640007147 & 0.8834610176985251 & 0.4082482904638626 \\ -0.5247448187602937 & 0.24078249213254632 & -0.816496580927726 \\ -0.8196419411205158 & -0.4018960334334318 & 0.4082482904638632 \end{array}\right],\ \left[\begin{array}{cc} 9.52551809156511 & 0.0 \\ 0.0 & 0.5143005806586448 \\ 0.0 & 0.0 \end{array}\right],\ \left[\begin{array}{cc} -0.6196294838293404 & -0.7848944532670524 \\ -0.7848944532670524 & 0.6196294838293404 \end{array}\right]\right]\)
Mistral
\(\left[\left[-0.2298476964,\ 0.8834610175\right],\left[-0.5247448188,\ 0.2407824920\right],\left[-0.8196419412,\ -0.4018960335\right]\right],\ \operatorname{DiagonalMatrix}\!\left(\left[9.5255180916,\ 0.5142999290\right]\right),\ \left[\left[-0.6196294838,\ -0.7848944533\right],\left[-0.7848944533,\ 0.6196294838\right]\right]\)
Grok
\(\left[\begin{array}{ccc} \frac{\sqrt{\sqrt{8185}-21}+2\sqrt{\sqrt{8185}+21}}{\sqrt{\sqrt{8185}(91+\sqrt{8185})}} & \frac{\sqrt{\sqrt{8185}+21}-2\sqrt{\sqrt{8185}-21}}{\sqrt{\sqrt{8185}(91-\sqrt{8185})}} & \frac{1}{\sqrt{6}} \\ \frac{3\sqrt{\sqrt{8185}-21}+4\sqrt{\sqrt{8185}+21}}{\sqrt{2\sqrt{8185}(91+\sqrt{8185})}} & \frac{3\sqrt{\sqrt{8185}+21}-4\sqrt{\sqrt{8185}-21}}{\sqrt{2\sqrt{8185}(91-\sqrt{8185})}} & -\sqrt{\frac{2}{3}} \\ \frac{2\sqrt{\sqrt{8185}-21}-\sqrt{\sqrt{8185}+21}}{\sqrt{\sqrt{8185}(91+\sqrt{8185})}} & \frac{2\sqrt{\sqrt{8185}+21}+\sqrt{\sqrt{8185}-21}}{\sqrt{\sqrt{8185}(91-\sqrt{8185})}} & \frac{1}{\sqrt{6}} \end{array}\right], \left[\begin{array}{cc} \frac{1}{2}\sqrt{42+2\sqrt{8185}} & 0 \\ 0 & \frac{1}{2}\sqrt{42-2\sqrt{8185}} \\ 0 & 0 \end{array}\right], \left[\begin{array}{cc} -\frac{1}{2}\sqrt{1+\frac{21}{\sqrt{8185}}} & -\frac{1}{2}\sqrt{1-\frac{21}{\sqrt{8185}}} \\ -\frac{1}{2}\sqrt{1-\frac{21}{\sqrt{8185}}} & \frac{1}{2}\sqrt{1+\frac{21}{\sqrt{8185}}} \end{array}\right]\)

Analysis: The first group gives the thin/reduced SVD with \(U\in\mathbb{R}^{3\times 2}\) and \(\Sigma\in\mathbb{R}^{2\times 2}\), while the second gives the full SVD with \(U\in\mathbb{R}^{3\times 3}\) and \(\Sigma\in\mathbb{R}^{3\times 2}\) (including the extra orthonormal column \([1,-2,1]/\sqrt{6}\) in \(U\) and an extra zero row in \(\Sigma\)).

5 of 6 equivalent

Problem 30

Diagonalize \(A = \left[\begin{array}{cc} 4 & 1 \\ 2 & 3 \end{array}\right]\) as \(A = D\), giving \(P\) and \(D\) explicitly.

Codex
\([\left[\begin{array}{cc} 1 & 1 \\ 1 & -2 \end{array}\right], \left[\begin{array}{cc} 5 & 0 \\ 0 & 2 \end{array}\right]]\)
DeepSeek
\(\left(\left[\begin{array}{cc} 1 & -\frac{1}{2} \\ 1 & 1 \end{array}\right], \left[\begin{array}{cc} 5 & 0 \\ 0 & 2 \end{array}\right]\right)\)
Claude
\(P=\left[\begin{array}{cc} 1 & 1 \\ 1 & -2 \end{array}\right],\ D=\left[\begin{array}{cc} 5 & 0 \\ 0 & 2 \end{array}\right]\)
Gemini
\(\left(\left[\begin{array}{cc} 1 & 1 \\ 1 & -2 \end{array}\right], \left[\begin{array}{cc} 5 & 0 \\ 0 & 2 \end{array}\right]\right)\)
Mistral
\(\left[\left[4,1\right],\left[2,3\right]\right]=\left[\left[1,1\right],\left[1,2\right]\right]\cdot\left[\left[5,0\right],\left[0,2\right]\right]\cdot\left(\frac{1}{\left[\left[1,1\right],\left[1,2\right]\right]}\right);\ P=\left[\left[1,1\right],\left[1,2\right]\right];\ D=\left[\left[5,0\right],\left[0,2\right]\right]\)
Grok
\(\left(\left[\left[1, 1\right], \left[1, -2\right]\right], \left[\left[5, 0\right], \left[0, 2\right]\right]\right)\)

Analysis: Codex, deepseek, claude, gemini and grok give \(D = \operatorname{diag}(5, 2)\) with \(P\) columns spanning the same eigenspaces (second column \([1,-2]\) or its scalar multiple \([-1/2, 1]\)); mistral's \(P\) uses \([1, 2]\) as the second column, which lies in a different direction from the \([1,-2]\) eigenvector.

4 of 6 equivalent

Problem 31

Find the minimum-norm least squares solution to \(A x = b\) for \(A = \left[\begin{array}{ccc} 1 & 2 & 3 \\ 4 & 5 & 6 \end{array}\right]\) and \(b = \left[\begin{array}{c} 1 \\ 1 \end{array}\right]\).

Codex
\(\left[-{\frac{1}{2}}, 0, {\frac{1}{2}}\right]\)
DeepSeek
\(\left[-\frac{1}{3},-\frac{1}{6},0\right]\)
Claude
\(\left[\begin{array}{c} -\frac{1}{2} \\ 0 \\ \frac{1}{2} \end{array}\right]\)
Gemini
\(\langle -\frac{1}{2}, 0, \frac{1}{2}\rangle\)
Mistral
\(\left[-\frac{1}{3},0,\frac{1}{3}\right]\)
Grok
\(\left[-{\frac{1}{2}}, 0, {\frac{1}{2}}\right]\)

Analysis: Claude, gemini, and codex give \((-1/2, 0, 1/2)\); deepseek gives \((-1/3, -1/6, 0)\); mistral gives \((-1/3, 0, 1/3)\).

4 of 6 equivalent

Problem 33

Solve the Riccati equation \(\frac{d}{d x}y \! \left(x \right) = 1+x^{2}-2 x y \! \left(x \right)+y \! \left(x \right)^{2}\).

Codex
\(x -\frac{1}{x +\textit{\_C1}}\)
DeepSeek
\(y \! \left(x \right) = x +\frac{1}{x +\textit{\_C1}}\)
Claude
\(x+\frac{1}{-x+\_C1}\)
Gemini
\(x+\frac{1}{-x+\_C1}\)
Mistral
\(y(x)=x+\frac{\frac{1}{2}\left(-K_0(x)\,\_C1+I_0(x)\right)}{K_1(x)\,\_C1+I_1(x)}\)
Grok
\(y \! \left(x \right) = x +\frac{1}{-x +\textit{\_C1}}\)

Analysis: codex and claude both give \(x - 1/(x+C)\), equivalent to \(x + 1/(C-x)\); deepseek has the opposite sign \(x + 1/(x+C)\), a different one-parameter family; mistral expresses the answer through Bessel \(I\) and \(K\) functions, a non-elementary form distinct from the rational ones.

4 of 6 equivalent

Problem 34

Solve the Riccati equation \(\frac{d}{d x}y \! \left(x \right) = y \! \left(x \right)^{2}+x^{2}\) in closed form.

Codex
\(-\frac{x \left(J_{-\frac{3}{4}}\! \left(\frac{x^{2}}{2}\right) \textit{\_C1} +Y_{-\frac{3}{4}}\! \left(\frac{x^{2}}{2}\right)\right)}{\textit{\_C1} J_{\frac{1}{4}}\! \left(\frac{x^{2}}{2}\right)+Y_{\frac{1}{4}}\! \left(\frac{x^{2}}{2}\right)}\)
DeepSeek
\(\sqrt{2}xJ_{3/4}(x^2/2)-\sqrt{2}xY_{3/4}(x^2/2)+J_{-1/4}(x^2/2)\,\_C1-\frac{Y_{-1/4}(x^2/2)}{\sqrt{2}J_{-1/4}(x^2/2)\,\_C1-\sqrt{2}Y_{-1/4}(x^2/2)}\)
Claude
\(y(x)=-x\frac{J_{-3/4}(x^2/2)\,\_C1+Y_{-3/4}(x^2/2)}{J_{1/4}(x^2/2)\,\_C1+Y_{1/4}(x^2/2)}\)
Gemini
\(x\frac{J_{3/4}(x^2/2)-\_C1\,J_{-3/4}(x^2/2)}{\_C1\,J_{1/4}(x^2/2)+J_{-1/4}(x^2/2)}\)
Mistral
\(y(x)=-x\frac{Y_{3/4}(x^2/2)}{J_{3/4}(x^2/2)}-x\)
Grok
\(y \! \left(x \right) = -\frac{\frac{\partial}{\partial x}\left(\sqrt{x}\, \left(\textit{\_C1} J_{\frac{1}{4}}\! \left(\frac{x^{2}}{2}\right)+J_{-\frac{1}{4}}\! \left(\frac{x^{2}}{2}\right)\right)\right)}{\sqrt{x}\, \left(\textit{\_C1} J_{\frac{1}{4}}\! \left(\frac{x^{2}}{2}\right)+J_{-\frac{1}{4}}\! \left(\frac{x^{2}}{2}\right)\right)}\)

Analysis: The codex, gemini, and grok answers are the same general solution written as \(-u'/u\) with \(u=\sqrt{x}\,(C_1 J_{1/4}(x^2/2)+\text{second solution})\), expressed in equivalent Bessel bases; the deepseek answer is not a single ratio (operator precedence leaves it as a sum plus a fraction) so it does not represent that solution; the mistral answer drops the arbitrary constant and adds an extra \(-x\) term, giving a different expression.

4 of 6 equivalent

Problem 35

Solve \(\frac{d}{d x}y \! \left(x \right) = \frac{x \left(x^{2}-x -1-2 x^{2} y \! \left(x \right)+2 x^{4}\right)}{\left(x^{2}-y \! \left(x \right)\right) \left(x +1\right)}\), expressing the implicit general solution.

Codex
\(-2 x^{2}-2 y -\ln \! \left({| 2 x^{2}-2 y +1|}\right)+\frac{4 x^{3}}{3}+4 x -4 \ln \! \left({| x +1|}\right) = \textit{\_C1}\)
DeepSeek
\(\frac{1}{2}x^2-\frac{1}{2}y^2+xy-\frac{1}{3}x^3+\frac{1}{2}x^2y-\frac{1}{2}x^4+\ln(x+1)+\ln(x^2-y)=\_C1\)
Claude
\(2(x^2-y)+\frac{4x^3}{3}-4x^2+4x-\ln((2x^2-2y+1)(x+1)^4)=\_C1\)
Gemini
\(2y+\ln(abs((2x^2-2y+1)(x+1)^4))=\frac{4}{3}x^3-2x^2+4x+C\)
Mistral
\(-\frac{1}{2}\ln((x^2-y)^2(x+1)^2)-x^2+\ln(x)+\_C1=0\)
Grok
\(\frac{4 x^{3}}{3}-2 x^{2}+4 x +1-2 y -\ln \! \left({| \left(2 x^{2}-2 y +1\right) \left(x +1\right)^{4}|}\right) = \textit{\_C1}\)

Analysis: The codex/claude/gemini/grok group gives \(-2y + \frac{4}{3}x^3 - 2x^2 + 4x - \ln|(2x^2-2y+1)(x+1)^4| = C\); deepseek gives a polynomial form with \(y^2\), \(xy\), \(x^2 y\) terms plus \(\ln(x+1) + \ln(x^2-y)\); mistral gives \(-\ln|(x^2-y)(x+1)| - x^2 + \ln(x) = C\), missing the \(2x^2-2y+1\) and cubic terms.

5 of 6 equivalent

Problem 37

Solve Bessel's equation \(x^{2} \left(\frac{d^{2}}{d x^{2}}y \! \left(x \right)\right)+x \left(\frac{d}{d x}y \! \left(x \right)\right)+\left(x^{2}-1\right) y \! \left(x \right) = 0\).

Codex
\(J_{1}\! \left(x \right) \textit{\_C1} +Y_{1}\! \left(x \right) \textit{\_C2}\)
DeepSeek
\(J_1(x)\,\_C1+Y_1(x)\,\_C2\)
Claude
\(J_{1}\! \left(x \right) \textit{\_C1} +Y_{1}\! \left(x \right) \textit{\_C2}\)
Gemini
\(J_{1}\! \left(x \right) \textit{\_C1} +Y_{1}\! \left(x \right) \textit{\_C2}\)
Mistral
\(J_1(x)+\_C1\,Y_1(x)\)
Grok
\(y \! \left(x \right) = J_{1}\! \left(x \right) \textit{\_C1} +Y_{1}\! \left(x \right) \textit{\_C2}\)

Analysis: deepseek and codex give the general solution with two arbitrary constants \(C_1 J_1(x) + C_2 Y_1(x)\), while mistral has only one arbitrary constant, leaving the \(J_1(x)\) term without a free coefficient.

2 of 6 equivalent

Problem 38

Solve \(\frac{d^{2}}{d x^{2}}y \! \left(x \right) = \frac{x^{2} \left(\frac{d}{d x}y \! \left(x \right)\right)^{2}-2 x y \! \left(x \right) \left(\frac{d}{d x}y \! \left(x \right)\right)+y \! \left(x \right)^{2}}{x^{2}}\).

Codex
\(x \left(\textit{\_C2} -{\mathrm e}^{-\textit{\_C1}} \mathrm{Ei}\! \left(\textit{\_C1} -\ln \! \left(x \right)\right)\right)\)
DeepSeek
\(y(x)=\_C1\,x\,\exp(\_C2/x)\)
Claude
\(y(x)=x\,\tan(\ln(x)\,c\_\_1+c\_\_2)\)
Gemini
\(x^2(\_C1-\ln(abs(x)))+\_C2\,x\)
Mistral
\(y \! \left(x \right) = \textit{\_C1} x \sin \! \left(\ln \! \left(x \right)\right)+\textit{\_C2} x \cos \! \left(\ln \! \left(x \right)\right)\)
Grok
\(y(x)=x\left(c[1]-\exp(-c[2])\,Ei(c[2]-\log(x))\right)\)

Analysis: The codex/grok pair expresses \(y\) using the exponential integral \(\operatorname{Ei}\) of \(\ln x\), deepseek uses \(x\exp(C/x)\), claude uses \(\tan(c_1\ln x+c_2)\), gemini uses \(x^2(C_1-\ln|x|)+C_2 x\), and mistral uses \(\sin(\ln x)\) and \(\cos(\ln x)\) — five algebraically distinct closed forms.

4 of 6 equivalent

Problem 39

Determine the series solution for \(\frac{d^{2}}{d x^{2}}y \! \left(x \right)+x y \! \left(x \right) = 0\) (Airy's equation) around \(x = 0\) up to order 5.

Codex
\(\mathit{C1} +\mathit{C2} x -\frac{\mathit{C1} \,x^{3}}{6}-\frac{\mathit{C2} \,x^{4}}{12}+O\! \left(x^{6}\right)\)
DeepSeek
\(y \! \left(x \right) = 1-\frac{1}{6} x^{3}+\frac{1}{180} x^{6}\)
Claude
\(\left(1-\frac{x^{3}}{6}\right) \textit{\_C1} +\left(x -\frac{1}{12} x^{4}\right) \textit{\_C2}\)
Gemini
\(C1+C2x-\frac{1}{6}C1x^3-\frac{1}{12}C2x^4\)
Mistral
\(y \! \left(x \right) = \textit{\_C1} \left(1-\frac{1}{6} x^{3}+\frac{1}{180} x^{6}\right)+\textit{\_C2} \left(x -\frac{1}{12} x^{4}+\frac{1}{504} x^{7}\right)\)
Grok
\(y \! \left(x \right) = \left(1-\frac{x^{3}}{6}\right) \textit{\_C1} +\left(x -\frac{1}{12} x^{4}\right) \textit{\_C2} +O\! \left(x^{6}\right)\)

Analysis: The gemini/claude group gives both independent solutions truncated through \(x^4\); deepseek gives only one branch and extends it to \(x^6\); mistral gives both branches but extends them to \(x^6\) and \(x^7\).

3 of 6 equivalent

Problem 40

For the Fourier-Bessel expansion \(f \! \left(r \right) = -r^{2}+1 = \overset{\infty}{\underset{n =1}{\sum}}c_{n} J_{0}\! \left(\alpha_{n} r \right)\) on \([0, 1]\), where \(\alpha_{n}\) is the n-th positive zero of \(J_{0}\! \left(x \right)\), give the closed form for \(c_{n}\) and the numeric values of \(c_{1}\), \(c_{2}\), \(c_{3}\) to 4 decimal places.

Codex
\(\left[\frac{8}{\alpha_n^{3}J_1(\alpha_n)},\ 1.1080,\ -0.1398,\ 0.0455\right]\)
DeepSeek
\(\frac{2}{\alpha_n^2J_1(\alpha_n)},\ 0.2161,\ -0.0648,\ 0.0332\)
Claude
\(c_n=\frac{8}{\alpha_n^3J_1(\alpha_n)},\ c_1=1.1080,\ c_2=-0.1398,\ c_3=0.0455\)
Gemini
\(\left[\frac{8}{\alpha_n^3J_1(\alpha_n)},\ 1.1061,\ -0.1396,\ 0.0455\right]\)
Mistral
\(c_n=\frac{8}{\alpha_n^3J_1(\alpha_n)},\ \left[4.2359,\ -1.0409,\ 0.4575\right]\)
Grok
\(c_n=\frac{8}{\alpha_n^3J_1(\alpha_n)},\ c_1=1.1080,\ c_2=0.1400,\ c_3=0.0455\)

Analysis: claude and codex give \(c_n = 8/(\alpha_n^3 J_1(\alpha_n))\) with values \(1.1080, -0.1398, 0.0455\); gemini has the same closed form but \(c_1 = 1.1061\) and \(c_2 = -0.1396\); mistral has the same closed form but numerics \(4.2359, -1.0409, 0.4575\); deepseek has a different closed form \(2/(\alpha_n^2 J_1(\alpha_n))\) with values \(0.2161, -0.0648, 0.0332\).

5 of 6 equivalent

Problem 41

Find the harmonic conjugate of \(u \! \left(x , y\right) = x^{2}-y^{2}\).

Codex
\(2 x y\)
DeepSeek
\(x^2-y^2+2xy\)
Claude
\(2 x y\)
Gemini
\(2 x y\)
Mistral
\(2 x y\)
Grok
\(2 x y\)

Analysis: deepseek's answer \(x^2 + 2xy - y^2\) contains the additional term \(x^2 - y^2\) that codex's answer \(2xy\) does not.

3 of 6 equivalent

Problem 42

Find all 6th roots of \(-64\) in polar form and identify which roots lie in the upper half-plane.

Codex
\(\left(\left[2e^{i\pi/6}, 2e^{i\pi/2}, 2e^{i5\pi/6}, 2e^{i7\pi/6}, 2e^{i3\pi/2}, 2e^{i11\pi/6}\right], \left[2e^{i\pi/6}, 2e^{i\pi/2}, 2e^{i5\pi/6}\right]\right)\)
DeepSeek
\((2e^{i\pi/6},\ 2e^{i\pi/2},\ 2e^{i5\pi/6})\)
Claude
\(\left[\left\{2\exp(i\pi/6),\ 2\exp(i\pi/2),\ 2\exp(5i\pi/6),\ 2\exp(7i\pi/6),\ 2\exp(3i\pi/2),\ 2\exp(11i\pi/6)\right\},\ \left\{2\exp(i\pi/6),\ 2\exp(i\pi/2),\ 2\exp(5i\pi/6)\right\}\right]\)
Gemini
\(\left\{\operatorname{polar}(2,\Pi/6),\ \operatorname{polar}(2,\Pi/2),\ \operatorname{polar}(2,5\Pi/6)\right\}\)
Mistral
\(\left(\left[\left(-1+i\sqrt{3}\right)2^{{1}/{3}}, \left(1+i\sqrt{3}\right)2^{{1}/{3}}, -2\,2^{{1}/{3}}, \left(-1-i\sqrt{3}\right)2^{{1}/{3}}, \left(1-i\sqrt{3}\right)2^{{1}/{3}}, 2\,2^{{1}/{3}}\right], \left[\left(-1+i\sqrt{3}\right)2^{{1}/{3}}, \left(1+i\sqrt{3}\right)2^{{1}/{3}}, 2\,2^{{1}/{3}}\right]\right)\)
Grok
\(\left(\left[2e^{i\pi/6}, 2e^{i\pi/2}, 2e^{i5\pi/6}, 2e^{i7\pi/6}, 2e^{i3\pi/2}, 2e^{i11\pi/6}\right], \left[2e^{i\pi/6}, 2e^{i\pi/2}, 2e^{i5\pi/6}\right]\right)\)

Analysis: The first group lists all six roots and identifies the three in the upper half-plane; the second group lists only the three upper-half-plane roots without the full set of six; the third group gives values with modulus \(2^{4/3}\) instead of \(2\).

4 of 6 equivalent

Problem 43

Evaluate \(\int \frac{{\mathrm e}^{z}}{\left(z -1\right)^{3}}d z\) over the contour \({| z |} = 3\).

Codex
\(i\pi e\)
DeepSeek
\(-2i\pi e\)
Claude
\(i\pi e\)
Gemini
\(i\pi e\)
Mistral
\(\frac{i}{2}\pi e\)
Grok
\(i\pi e\)

Analysis: The codex/grok group gives \(\pi i e\), mistral gives half of that \(\frac{1}{2}\pi i e\), and deepseek gives \(-2\pi i e\).

5 of 6 equivalent

Problem 44

Find the Laurent series expansion of \(f \! \left(z \right) = \frac{1}{z \left(z -2\right)}\) about \(z = 0\) for \(0<{| z |}<2\).

Codex
\(-\frac{1}{2 z}-\left(\overset{\infty}{\underset{n =0}{\sum}}\frac{z^{n}}{2^{n +2}}\right)\)
DeepSeek
\(-\frac{1}{2 z}-\frac{1}{4}-\frac{z}{8}-\frac{z^{2}}{16}-\frac{z^{3}}{32}-\frac{z^{4}}{64}-\frac{z^{5}}{128}\)
Claude
\(-\frac{1}{2 z}-\left(\overset{\infty}{\underset{n =0}{\textcolor{gray}{\sum}}}\! \frac{z^{n}}{2^{n +2}}\right)\)
Gemini
\(-\frac{1}{2z}-\frac{1}{4}-\frac{1}{8}z-\frac{1}{16}z^2-\frac{1}{32}z^3+O(z^4)\)
Mistral
\(\frac{1}{2z}-\frac{1}{4}+\frac{1}{8}z-\frac{1}{16}z^2+\frac{1}{32}z^3-\frac{1}{64}z^4+\frac{1}{128}z^5+O(z^6)\)
Grok
\(\overset{\infty}{\underset{n =-1}{\sum}}\left(-\frac{z^{n}}{2^{n +2}}\right)\)

Analysis: The first group gives \(-\frac{1}{2z} - \sum_{n=0}^{\infty} \frac{z^n}{2^{n+2}}\), while mistral has \(+\frac{1}{2z}\) and alternating signs in the power-series part.

5 of 6 equivalent

Problem 45

Find the residue of \(f \! \left(z \right) = \frac{\sin \! \left(z \right)}{z^{4}}\) at \(z = 0\).

Codex
\(-{\frac{1}{6}}\)
DeepSeek
\(0\)
Claude
\(-{\frac{1}{6}}\)
Gemini
\(-{\frac{1}{6}}\)
Mistral
\(-{\frac{1}{6}}\)
Grok
\(-{\frac{1}{6}}\)

Analysis: deepseek gives \(0\) while codex gives \(-\frac{1}{6}\), which are distinct numerical values.

4 of 6 equivalent

Problem 46

Find the Laurent series of \(f \! \left(z \right) = \frac{1}{z^{2} \left(z -1\right)}\) around \(z = 0\) in both regions: (a) \(0<{| z |}<1\) and (b) \(1<{| z |}\), each with 5 non-zero terms.

Codex
\(\left[-\frac{1}{z^{2}}-\frac{1}{z}-1-z -z^{2}, \frac{1}{z^{3}}+\frac{1}{z^{4}}+\frac{1}{z^{5}}+\frac{1}{z^{6}}+\frac{1}{z^{7}}\right]\)
DeepSeek
\((b)\ \frac{1}{z^3}+\frac{1}{z^4}+\frac{1}{z^5}+\frac{1}{z^6}+\frac{1}{z^7}\)
Claude
\(\left[-\frac{1}{z^2}-\frac{1}{z}-1-z-z^2,\ z^{-3}+z^{-4}+z^{-5}+z^{-6}+z^{-7}\right]\)
Gemini
\(-\frac{1}{z^2}-\frac{1}{z}-1-z-z^2;\ \frac{1}{z^3}+\frac{1}{z^4}+\frac{1}{z^5}+\frac{1}{z^6}+\frac{1}{z^7}\)
Mistral
\((b)\ \frac{1}{z^3}+\frac{1}{z^4}+\frac{1}{z^5}+\frac{1}{z^6}+\frac{1}{z^7}\)
Grok
\((a)\ -\frac{1}{z^2}-\frac{1}{z}-1-z-z^2+O(z^3),\ (b)\ \frac{1}{z^3}+\frac{1}{z^4}+\frac{1}{z^5}+\frac{1}{z^6}+\frac{1}{z^7}+O(1/z^8)\)

Analysis: Group one provides both Laurent series for regions (a) \(0<|z|<1\) and (b) \(|z|>1\), while group two provides only the series for region (b).

4 of 6 equivalent

Problem 47

Find the residue of \(f \! \left(z \right) = \frac{{\mathrm e}^{z}}{\left(z -i \pi \right)^{2}}\) at \(z = i \pi\).

Codex
\(-1\)
DeepSeek
\(0\)
Claude
\(-1\)
Gemini
\(-1\)
Mistral
\(\frac{e^{i\pi}}{2}\)
Grok
\(-1\)

Analysis: codex gives \(-1\), mistral gives \(\frac{1}{2}e^{i\pi} = -\frac{1}{2}\), and deepseek gives \(0\).

5 of 6 equivalent

Problem 48

Evaluate \(\int_{0}^{2 \pi}\frac{1}{2+\cos \! \left(\theta \right)}d \theta\).

Codex
\(\frac{2 \pi}{\sqrt{3}}\)
DeepSeek
\( 0.5773502691896257\)
Claude
\(\frac{2 \pi}{\sqrt{3}}\)
Gemini
\(\frac{2 \pi \sqrt{3}}{3}\)
Mistral
\(\frac{2 \pi}{\sqrt{3}}\)
Grok
\(\frac{2 \pi}{\sqrt{3}}\)

Analysis: The deepseek answer \(0.5773502691896257 \approx 1/\sqrt{3}\) differs from the codex answer \(2\pi/\sqrt{3} \approx 3.6276\) by a factor of \(2\pi\).

4 of 6 equivalent

Problem 49

Find the resultant of \(p = x^{3}-2\) and \(q = x^{2}-2\) with respect to \(x\).

Codex
\(-4\)
DeepSeek
\(-4\)
Claude
\(-4\)
Gemini
\(4\)
Mistral
\(x^{5}-2 x^{3}-2 x^{2}+4\)
Grok
\(-4\)

Analysis: Gemini gives the scalar \(4\), codex gives \(-4\) (opposite sign), and mistral gives the polynomial \(x^5 - 2x^3 - 2x^2 + 4\) rather than a scalar resultant.

5 of 6 equivalent

Problem 50

Solve the polynomial equation \(x^{4}-2 x^{3}-3 x^{2}+4 x +4 = 0\) over the reals, finding all roots.

Codex
\(\{-1, 2\}\)
DeepSeek
\(\left[-1,2\right]\)
Claude
\(\left(-1, -1, 2, 2\right)\)
Gemini
\(\{-1, 2\}\)
Mistral
\([\mathit{RootOf}\! \left(\textit{\_Z}^{4}-2 \textit{\_Z}^{3}-3 \textit{\_Z}^{2}+4 \textit{\_Z} +4, \mathit{index} =1\right), \mathit{RootOf}\! \left(\textit{\_Z}^{4}-2 \textit{\_Z}^{3}-3 \textit{\_Z}^{2}+4 \textit{\_Z} +4, \mathit{index} =2\right), \mathit{RootOf}\! \left(\textit{\_Z}^{4}-2 \textit{\_Z}^{3}-3 \textit{\_Z}^{2}+4 \textit{\_Z} +4, \mathit{index} =3\right), \mathit{RootOf}\! \left(\textit{\_Z}^{4}-2 \textit{\_Z}^{3}-3 \textit{\_Z}^{2}+4 \textit{\_Z} +4, \mathit{index} =4\right)]\)
Grok
\([-1, -1, 2, 2]\)

Analysis: The mistral answer lists four RootOf placeholders for all roots (including complex ones) of \(x^4-2x^3-3x^2+4x+4=0\), while codex gives only the two values \(\{-1, 2\}\), so they denote different root sets.

5 of 6 equivalent

Problem 51

Solve the nonlinear system \(x^{3}+y^{3} = 35\), \(x +y = 5\) over the reals.

Codex
\(\left(\left\{x =2, y =3\right\}, \left\{x =3, y =2\right\}\right)\)
DeepSeek
\([5, 0]\)
Claude
\(\left(\left\{x =2, y =3\right\}, \left\{x =3, y =2\right\}\right)\)
Gemini
\(\{\{x = 2, y = 3\}, \{x = 3, y = 2\}\}\)
Mistral
\([[x = 2, y = 3], [x = 3, y = 2]]\)
Grok
\([[x = 2, y = 3], [x = 3, y = 2]]\)

Analysis: The deepseek answer gives a single pair \([5, 0]\) which does not satisfy \(x^3 + y^3 = 35\), while gemini and grok both give the two solutions \((x, y) = (2, 3)\) and \((3, 2)\).

3 of 6 equivalent

Problem 53

Compute a lexicographic Gröbner basis (with \(y <x\)) of the ideal \(\langle x^{2}+y^{2}-4, x y -1\rangle\) and use it to find all complex solutions of the system.

Codex
\(\left(\left[y^{3}+x -4 y , y^{4}-4 y^{2}+1\right], \left\{\left[\frac{1}{\sqrt{2-\sqrt{3}}}, \sqrt{2-\sqrt{3}}\right], \left[\frac{1}{\sqrt{2+\sqrt{3}}}, \sqrt{2+\sqrt{3}}\right], \left[-\frac{1}{\sqrt{2-\sqrt{3}}}, -\sqrt{2-\sqrt{3}}\right], \left[-\frac{1}{\sqrt{2+\sqrt{3}}}, -\sqrt{2+\sqrt{3}}\right]\right\}\right)\)
DeepSeek
\(\left[\sqrt{3},\sqrt{3}\right],\ \left[\sqrt{3},-\sqrt{3}\right],\ \left[-\sqrt{3},\sqrt{3}\right],\ \left[-\sqrt{3},-\sqrt{3}\right]\)
Claude
\(\{\{x = -\sqrt{2-\sqrt{3}}, y = -\sqrt{2+\sqrt{3}}\}, \{x = -\sqrt{2+\sqrt{3}}, y = -\sqrt{2-\sqrt{3}}\}, \{x = \sqrt{2-\sqrt{3}}, y = \sqrt{2+\sqrt{3}}\}, \{x = \sqrt{2+\sqrt{3}}, y = \sqrt{2-\sqrt{3}}\}\}\)
Gemini
\(\left\{\left\{x = -\frac{\sqrt{6}}{2}-\frac{\sqrt{2}}{2}, y = -\frac{\sqrt{6}}{2}+\frac{\sqrt{2}}{2}\right\}, \left\{x = -\frac{\sqrt{6}}{2}+\frac{\sqrt{2}}{2}, y = -\frac{\sqrt{6}}{2}-\frac{\sqrt{2}}{2}\right\}, \left\{x = \frac{\sqrt{6}}{2}-\frac{\sqrt{2}}{2}, y = \frac{\sqrt{6}}{2}+\frac{\sqrt{2}}{2}\right\}, \left\{x = \frac{\sqrt{6}}{2}+\frac{\sqrt{2}}{2}, y = \frac{\sqrt{6}}{2}-\frac{\sqrt{2}}{2}\right\}\right\}\)
Mistral
\([\mathit{xy} -1, y^{3}-4 y +1, y^{3}+x -4 y]\)
Grok
\([-y^{3}+x +4 y, y^{4}-4 y^{2}+1]\)

Analysis: The codex/claude/gemini group gives the four solution pairs \((\pm\sqrt{2\pm\sqrt{3}},\,\pm\sqrt{2\mp\sqrt{3}})\) (and codex's basis \([x+y^3-4y,\,y^4-4y^2+1]\) matches); deepseek gives \((\pm\sqrt{3},\,\pm\sqrt{3})\); mistral's basis contains the cubic \(y^3-4y+1\) instead of a quartic in \(y\); grok's basis has \(x-y^3+4y\), opposite in sign to codex's \(x+y^3-4y\).

4 of 6 equivalent

Problem 54

Determine the Galois group of \(x^{4}-2\) over \(Q\).

Codex
\(\mathit{D4}\)
DeepSeek
\(\mathit{C4}\)
Claude
\(\mathit{DihedralGroup} \! \left(4\right)\)
Gemini
\(\mathit{DihedralGroup} \! \left(4\right)\)
Mistral
\(\operatorname{Group}\!\left(\left[\left[2,3,4\right],\left[1,2\right]\right]\right)\)
Grok
\([[2, 3, 4, 1], [1, 4, 3, 2]]\)

Analysis: codex, claude, and grok give the dihedral group of order 8 (\(D_4\)); deepseek gives the cyclic group \(C_4\); mistral gives the group generated by \((2,3,4)\) and \((1,2)\), which is \(S_4\).

4 of 6 equivalent

Problem 55

Find the discriminant of \(f \! \left(x \right) = x^{3}+p x +q\) in terms of \(p\) and \(q\), and state the condition on \([p, q]\) for \(f\) to have a repeated root.

Codex
\([-4 p^{3}-27 q^{2}, -4 p^{3}-27 q^{2} = 0]\)
DeepSeek
\(\left(-4 p^{3}-27 q^{2}, 0\right)\)
Claude
\(-4 p^{3}-27 q^{2} = 0\)
Gemini
\(-4 p^{3}-27 q^{2} = 0\)
Mistral
\(-4 p^{3}-27 q^{2}\)
Grok
\(-4 p^{3}-27 q^{2}\)

Analysis: deepseek and grok give the discriminant \(-4p^3 - 27q^2\) (with deepseek additionally stating the repeated-root condition as \(=0\)), while claude states only the condition \(-4p^3 - 27q^2 = 0\) without separately giving the discriminant expression.

5 of 6 equivalent

Problem 58

Evaluate \(\int_{0}^{\frac{\pi}{2}}\ln \! \left(\sin \! \left(x \right)\right)^{2}d x\) in closed form.

Codex
\(\frac{\pi^{3}}{24}+\frac{\pi \ln \! \left(2\right)^{2}}{2}\)
DeepSeek
\(-\frac{\pi^3}{24}+\frac{\pi\ln(2)^2}{2}\)
Claude
\(\frac{\Pi^3}{24}+\frac{\Pi\ln(2)^2}{2}\)
Gemini
\(\frac{1}{2}\Pi\left(\ln(2)^2+\frac{\Pi^2}{12}\right)\)
Mistral
\(\frac{1}{24}\Pi^3+\frac{1}{2}\Pi\ln(2)^2\)
Grok
\(\frac{\pi^{3}}{24}+\frac{\pi \ln \! \left(2\right)^{2}}{2}\)

Analysis: deepseek's answer has a negative sign on the \(\pi^3/24\) term, while codex and grok give \(\pi^3/24 + (\pi/2)\ln(2)^2\).

4 of 6 equivalent

Problem 60

Express \(4 \sin \! \left(x \right) \sin \! \left(2 x \right) \sin \! \left(4 x \right)\) as a sum of cosines.

Codex
\(\cos \! \left(3 x -\frac{\pi}{2}\right)-\cos \! \left(x -\frac{\pi}{2}\right)-\cos \! \left(7 x -\frac{\pi}{2}\right)+\cos \! \left(5 x -\frac{\pi}{2}\right)\)
DeepSeek
\(4\cos(x)-4\cos(3x)-4\cos(5x)+4\cos(7x)\)
Claude
\(-\sin \! \left(x \right)+\sin \! \left(3 x \right)+\sin \! \left(5 x \right)-\sin \! \left(7 x \right)\)
Gemini
\(-\sin(7x)+\sin(5x)+\sin(3x)-\sin(x)\)
Mistral
\(\frac{\cos \! \left(x \right)}{4}-\frac{\cos \! \left(3 x \right)}{4}-\frac{\cos \! \left(5 x \right)}{4}+\frac{\cos \! \left(7 x \right)}{4}\)
Grok
\(\cos \! \left(3 x -\frac{\pi}{2}\right)-\cos \! \left(x -\frac{\pi}{2}\right)-\cos \! \left(7 x -\frac{\pi}{2}\right)+\cos \! \left(5 x -\frac{\pi}{2}\right)\)

Analysis: The two cosine expressions differ by a factor of \(16\) in their coefficients, while the third is a sum of sines \(-\sin(7x)+\sin(5x)+\sin(3x)-\sin(x)\) which is numerically distinct from both cosine forms.

5 of 6 equivalent

Problem 63

Find the Fourier series expansion (first four nonzero terms) of the square wave \(f \! \left(x \right) = \mathrm{signum}\! \left(\sin \! \left(x \right)\right)\) on \([-\pi, \pi]\).

Codex
\(\frac{4 \sin \! \left(x \right)+\frac{4 \sin \left(3 x \right)}{3}+\frac{4 \sin \left(5 x \right)}{5}+\frac{4 \sin \left(7 x \right)}{7}}{\pi}\)
DeepSeek
\(0,\ \frac{4}{\pi},\ 0,\ \frac{4}{3\pi},\ 0,\ \frac{4}{5\pi},\ 0,\ \frac{4}{7\pi}\)
Claude
\(\frac{4 \sin \! \left(x \right)}{\pi}+\frac{4 \sin \! \left(3 x \right)}{3 \pi}+\frac{4 \sin \! \left(5 x \right)}{5 \pi}+\frac{4 \sin \! \left(7 x \right)}{7 \pi}\)
Gemini
\(\frac{4 \sin \! \left(x \right)}{\pi}+\frac{4 \sin \! \left(3 x \right)}{3 \pi}+\frac{4 \sin \! \left(5 x \right)}{5 \pi}+\frac{4 \sin \! \left(7 x \right)}{7 \pi}\)
Mistral
\(\frac{4 \sin \! \left(x \right)+\frac{4 \sin \left(3 x \right)}{3}+\frac{4 \sin \left(5 x \right)}{5}+\frac{4 \sin \left(7 x \right)}{7}}{\pi}\)
Grok
\(\frac{4 \sin \! \left(x \right)}{\pi}+\frac{4 \sin \! \left(3 x \right)}{3 \pi}+\frac{4 \sin \! \left(5 x \right)}{5 \pi}+\frac{4 \sin \! \left(7 x \right)}{7 \pi}\)

Analysis: The deepseek answer lists only the Fourier coefficients \(0, 4/\pi, 0, 4/(3\pi), \ldots\) without the \(\sin(nx)\) basis functions, while the others give the full series \(\frac{4}{\pi}\sum \frac{\sin((2k-1)x)}{2k-1}\).

4 of 6 equivalent

Problem 66

Find the Stirling number of the second kind \(S \! \left(6, 3\right)\).

Codex
\(90\)
DeepSeek
\(20\)
Claude
\(90\)
Gemini
\(90\)
Mistral
\(25\)
Grok
\(90\)

Analysis: The deepseek answer is \(20\), the mistral answer is \(25\), and the codex answer is \(90\), three distinct numerical values.

4 of 6 equivalent

Problem 67

Find the number of binary strings of length 8 with no consecutive 1's.

Codex
\(55\)
DeepSeek
\(34\)
Claude
\(55\)
Gemini
\(55\)
Mistral
\(34\)
Grok
\(55\)

Analysis: deepseek's answer is \(34\) while codex's answer is \(55\), which are distinct integers.

5 of 6 equivalent

Problem 68

Find the number of ways to partition the set \(\{1, 2, 3, 4\}\) into non-empty subsets.

Codex
\(15\)
DeepSeek
\(5\)
Claude
\(15\)
Gemini
\(15\)
Mistral
\(15\)
Grok
\(15\)

Analysis: The number of set partitions of {1,2,3,4} is the Bell number \(B_4 = 15\), while deepseek's \(5\) corresponds to \(B_3\) or the Stirling number \(S(4,2)\), so the two values are not equivalent.

5 of 6 equivalent

Problem 69

Find the number of labeled trees on 6 vertices.

Codex
\(1296\)
DeepSeek
\(720\)
Claude
\(1296\)
Gemini
\(1296\)
Mistral
\(1296\)
Grok
\(1296\)

Analysis: Deepseek's 720 equals \(6!\) while codex's 1296 equals \(6^4\), which is the value given by Cayley's formula \(n^{n-2}\) for labeled trees on 6 vertices.

5 of 6 equivalent

Problem 70

Find the number of spanning trees in the complete bipartite graph \(K_{2,3}\).

Codex
\(12\)
DeepSeek
\(10\)
Claude
\(12\)
Gemini
\(12\)
Mistral
\(12\)
Grok
\(12\)

Analysis: deepseek gives 10 while codex gives 12 as the count of spanning trees in \(K_{2,3}\).

5 of 6 equivalent

Problem 72

Find the number of ways to partition a 6-element set into 3 unordered subsets of size 2.

Codex
\(15\)
DeepSeek
\(10\)
Claude
\(15\)
Gemini
\(15\)
Mistral
\(15\)
Grok
\(15\)

Analysis: deepseek gives 10 while codex gives 15 for the count of partitions of a 6-element set into 3 unordered subsets of size 2.

2 of 6 equivalent

Problem 73

For data \(X = [1, 2, 3, 4, 5]\) and \(Y = [ 2.1, 3.9, 4.8, 6.2, 7.0]\), fit a least squares regression line \(y = b x +a\) and compute the residual sum of squares.

Codex
\([ 1.17, 1.21, 0.259]\)
DeepSeek
\(0.02800000000000002\)
Claude
\({\frac{259}{1000}}\)
Gemini
\(\left[1.17,\ 1.21,\ 0.259\right]\)
Mistral
\(\left[a=0.66,\ b=1.28,\ rss=0.308\right]\)
Grok
\({\frac{259}{1000}}\)

Analysis: Codex and gemini give the full triple \([1.17, 1.21, 0.259]\) (slope, intercept, residual sum of squares); claude and grok give only the residual sum of squares \(259/1000 = 0.259\); mistral gives \([a = 0.66,\ b = 1.28,\ \mathit{rss} = 0.308]\); deepseek gives \(0.028\).

4 of 6 equivalent

Problem 74

Find the range and interquartile range of \([5, 12, 18, 23, 28, 35, 41]\) using Tukey's hinges, with the median excluded from the lower and upper halves.

Codex
\([36, 23]\)
DeepSeek
\(\left(5, 12, 18, 23, 28, 35, 41\right)\)
Claude
\(\left(36, 23\right)\)
Gemini
\((36,\ 23)\)
Mistral
\([29, 18]\)
Grok
\(\left(36, 23\right)\)

Analysis: deepseek listed the original data instead of giving range and IQR; gemini and claude give range \(36\) and IQR \(23\); mistral gives \(29\) and \(18\).

4 of 6 equivalent

Problem 75

For data \(\{1, 2, 3, 4, 5\}\), compute the least squares regression line \(y = b x +a\) and the coefficient of determination \(R^{2}\).

Codex
\(\left(\frac{11}{5}+\frac{3 x}{5}, \frac{3}{5}\right)\)
DeepSeek
\(0.2000000000000000,\ 0.9000000000000000,\ 0.4500000000000000\)
Claude
\(\left[\frac{11}{5}+\frac{3 x}{5}, {\frac{3}{5}}\right]\)
Gemini
\(\left( 2.2+ 0.6 x , 0.6\right)\)
Mistral
\(\frac{[5/5-(15/5)(20/5)]}{([5/5-(15/5)^2],1.1+0.7x,0.7)}\)
Grok
\(y=\frac{11}{5}+\frac{3}{5}x,\ R^2=\frac{3}{5}\)

Analysis: The first group gives slope \(3/5\), intercept \(11/5\), and \(R^2 = 3/5\); deepseek reports \(0.2,\ 0.9,\ 0.45\); mistral reports slope \(0.7\), intercept \(1.1\), and \(R^2 = 0.7\).

3 of 6 equivalent

Problem 77

Perform a two-tailed one-sample t-test at \(\alpha = 0.05\) for \(\mathit{H0}\) using the sample \([9, 10, 11, 12, 13]\) (assume normal population with unknown variance).

Codex
\( 0.2301996411\)
DeepSeek
\(\mathit{NaN}\)
Claude
\(\sqrt{2}\)
Gemini
\(0.2301901416\)
Mistral
\(t=-0.7071067812,\ p_{value}=0.5189868044\)
Grok
\(1-\frac{4 \sqrt{3}}{9}\)

Analysis: Codex, gemini and grok give a p-value \(\approx 0.2302\) (grok's symbolic form \(1 - 4\sqrt{3}/9\) evaluates to the same value); claude gives the t-statistic \(\sqrt{2} \approx 1.414\); mistral reports \(t = -0.7071\) with \(p \approx 0.519\); deepseek returns \(\mathrm{NaN}\).

4 of 6 equivalent

Problem 78

For \(\mathit{X\,~\,Beta(\alpha=2,\,\beta=3)\,}\), find \(E_{X}\), \(\mathit{Var}_{X}\), and the mode.

Codex
\(\left[{\frac{2}{5}}, {\frac{1}{25}}, {\frac{1}{3}}\right]\)
DeepSeek
\(\left( 0.400000000000000, 0.0400000000000000, 0.250000000000000\right)\)
Claude
\(\left(\frac{2}{5}, \frac{1}{25}, \frac{1}{3}\right)\)
Gemini
\(0.4,\ 0.04,\ 0.3333333333333333\)
Mistral
\(\frac{8}{5},\ \frac{4}{125},\ \frac{1}{3}\)
Grok
\(\left(\frac{2}{5}, \frac{1}{25}, \frac{1}{3}\right)\)

Analysis: Codex gives \(E[X]=2/5\), \(\text{Var}[X]=1/25\), mode \(=1/3\); deepseek gives \(E[X]=2/5\), \(\text{Var}[X]=1/25\), but mode \(=1/4\); mistral gives \(E[X]=8/5\), \(\text{Var}[X]=4/125\), mode \(=1/3\).

4 of 6 equivalent

Problem 79

Find median and sample standard deviation (denominator \(n -1\)) of \([3, 7, 8, 12, 15]\).

Codex
\(\left[8, \sqrt{\frac{43}{2}}\right]\)
DeepSeek
\(9,\ 4.743416490252569\)
Claude
\(\left(8, \sqrt{\frac{43}{2}}\right)\)
Gemini
\(\left(8, \sqrt{ 21.5}\right)\)
Mistral
\(\text{Median}=8,\ \text{StandardDeviation}=\frac{1}{2}5^{1/2}13^{1/2}\)
Grok
\(\left[8, \sqrt{\frac{43}{2}}\right]\)

Analysis: The answers differ in both the median and the standard deviation: mistral gives median \(8\) with SD \(\frac{\sqrt{65}}{2}\), claude gives median \(8\) with SD \(\sqrt{43/2}\), and deepseek gives median \(9\) with SD \(\approx 4.7434\).

4 of 6 equivalent

Problem 80

Find the linear regression equation \(y = a x +b\) that best fits the points \([1, 2]\), \([2, 4]\), \([3, 5]\).

Codex
\(y = \frac{3 x}{2}+\frac{2}{3}\)
DeepSeek
\(\left( 0.9999999999999998, 1.3333333333333335\right)\)
Claude
\(y = \frac{3 x}{2}+\frac{2}{3}\)
Gemini
\(y=1.5x+0.6666666666666666\)
Mistral
\(y = \frac{3 x}{2}+\frac{5}{6}\)
Grok
\(y = \frac{3 x}{2}+\frac{2}{3}\)

Analysis: The answers differ in slope and intercept: claude gives \(a=3/2, b=2/3\); mistral gives \(a=3/2, b=5/6\); deepseek gives \(a=1, b=4/3\).

4 of 6 equivalent

Problem 81

Evaluate \(\int_{0}^{1}\frac{\ln \! \left(x \right)^{2}}{x^{2}+1}d x\) in closed form.

Codex
\(\frac{\pi^{3}}{16}\)
DeepSeek
\(-\frac{\mathit{π}^{3}}{16}\)
Claude
\(\frac{\pi^{3}}{16}\)
Gemini
\(\frac{\pi^{3}}{16}\)
Mistral
\(\frac{Catalan\cdot I}{2}+\frac{\Pi^3}{16}-\frac{\Pi(\ln(2))^2}{8}\)
Grok
\(\frac{\pi^{3}}{16}\)

Analysis: deepseek gives \(-\pi^3/16\), mistral gives \(\pi^3/16 - \pi(\ln 2)^2/8 + i\,\text{Catalan}/2\), and codex gives \(\pi^3/16\).

4 of 6 equivalent

Problem 82

Find the equation of the osculating circle to the curve \(y = x^{2}\) at the point \([1, 1]\).

Codex
\(\left(x +4\right)^{2}+\left(y -\frac{7}{2}\right)^{2} = {\frac{125}{4}}\)
DeepSeek
\(x^{2}+\left(y -\frac{5}{2}\right)^{2} = {\frac{5}{4}}\)
Claude
\(\left(x +4\right)^{2}+\left(y -\frac{7}{2}\right)^{2} = {\frac{125}{4}}\)
Gemini
\(\left(x +4\right)^{2}+\left(y -\frac{7}{2}\right)^{2} = {\frac{125}{4}}\)
Mistral
\(\left[(x-(-1/2))^2+(y-(5/4))^2=(1/2)^2+(3/4)^2\right]\)
Grok
\(\left(x +4\right)^{2}+\left(y -\frac{7}{2}\right)^{2} = {\frac{125}{4}}\)

Analysis: The answers give three different circles: codex's has center \((-4, 7/2)\) and radius² \(125/4\), deepseek's has center \((0, 5/2)\) and radius² \(5/4\), and mistral's has center \((-1/2, 5/4)\) and radius² \(13/16\).

5 of 6 equivalent

Problem 83

Evaluate \(\int_{0}^{1}\frac{\ln \! \left(1-x \right)^{2}}{x}d x\) in closed form. Express the result using \(\zeta \! \left(3\right)\).

Codex
\(2 \zeta \! \left(3\right)\)
DeepSeek
\(-2\zeta(3)\)
Claude
\(2 \zeta \! \left(3\right)\)
Gemini
\(2 \zeta \! \left(3\right)\)
Mistral
\(2 \zeta \! \left(3\right)\)
Grok
\(2 \zeta \! \left(3\right)\)

Analysis: The claude and codex answers give \(2\zeta(3)\), while deepseek gives \(-2\zeta(3)\), differing in sign.

4 of 6 equivalent

Problem 85

Evaluate \(\int_{0}^{\infty}\frac{\ln \! \left(x \right)}{\left(x^{2}+1\right)^{2}}d x\) in closed form.

Codex
\(-\frac{\pi}{4}\)
DeepSeek
\(0\)
Claude
\(-\frac{\pi}{4}\)
Gemini
\(-\frac{\pi}{4}\)
Mistral
\(-\frac{\pi^{2}}{16}\)
Grok
\(-\frac{\pi}{4}\)

Analysis: deepseek gives \(0\), mistral gives \(-\pi^2/16\), and codex gives \(-\pi/4\), three distinct numerical values.

4 of 6 equivalent

Problem 86

Find the Jacobian determinant of the transformation \(u = x^{2}-y^{2}\), \(v = 2 x y\).

Codex
\(4 x^{2}+4 y^{2}\)
DeepSeek
\(-4 x^{2}-4 y^{2}\)
Claude
\(4 x^{2}+4 y^{2}\)
Gemini
\(4 x^{2}+4 y^{2}\)
Mistral
\(-4 x^{2}-4 y^{2}\)
Grok
\(4 x^{2}+4 y^{2}\)

Analysis: The deepseek answer is \(-4(x^2+y^2)\) while the codex answer is \(4x^2+4y^2\); they differ by a sign.

5 of 6 equivalent

Problem 87

Evaluate \(\int F d C\) where \(F = \langle z , x , y\rangle\) and \(C\) is the circle \(x^{2}+y^{2} = 1\), \(z = 1\), oriented counterclockwise when viewed from above.

Codex
\(\pi\)
DeepSeek
\(0\)
Claude
\(\pi\)
Gemini
\(\pi\)
Mistral
\(\pi\)
Grok
\(\pi\)

Analysis: Deepseek's answer is \(0\) while codex's answer is \(\pi\), which are distinct numerical values.

4 of 6 equivalent

Problem 89

Project the vector \(\langle 2, 3, 4\rangle\) onto the subspace of \(R^{3}\) spanned by \(\langle 1, 1, 1\rangle\) and \(\langle 1, 0, 0\rangle\).

Codex
\(\left[2, {\frac{7}{2}}, {\frac{7}{2}}\right]\)
DeepSeek
\(\left[2,\ 2,\ 2\right]\)
Claude
\(\left[\begin{array}{c} 2 \\ \frac{7}{2} \\ \frac{7}{2} \end{array}\right]\)
Gemini
\(\langle 2, \frac{7}{2}, \frac{7}{2}\rangle\)
Mistral
\(\left[\frac{14}{3},\ \frac{7}{3},\ \frac{7}{3}\right]\)
Grok
\(\left[2, {\frac{7}{2}}, {\frac{7}{2}}\right]\)

Analysis: The deepseek answer \([2,2,2]\) and the mistral answer \([14/3, 7/3, 7/3]\) each differ from the claude/gemini/codex result \([2, 7/2, 7/2]\) by different projection vectors.

4 of 6 equivalent

Problem 91

Solve the Riccati equation \(\frac{d}{d x}y \! \left(x \right) = y \! \left(x \right)^{2}+2 x y \! \left(x \right)+x^{2}-1\).

Codex
\(-x -\frac{1}{x +\textit{\_C1}}\)
DeepSeek
\(y \! \left(x \right) = -x +\frac{1}{x +\mathit{C1}}\)
Claude
\(y \! \left(x \right) = -x -\frac{1}{x +\textit{\_C1}}\)
Gemini
\(\frac{-C1\,x-x^{2}-1}{C1+x}\)
Mistral
\(y = -x +\tan \! \left(x +\textit{\_C1} \right)\)
Grok
\(y \! \left(x \right) = -x -\frac{1}{x +\textit{c\_1}}\)

Analysis: The 2,3,5 group gives \(y = -x - \frac{1}{x+C}\); deepseek gives \(y = -x + \frac{1}{x+C}\) (opposite sign on the reciprocal term); mistral gives \(y = -x + \tan(x+C)\) (a tangent rather than a rational form).

4 of 6 equivalent

Problem 92

Solve Laplace's equation \(\Delta u \! \left(r , \theta \right) = 0\) on the annulus \(1<r <2\) in polar coordinates, with boundary conditions \(u \! \left(1, \theta \right) = \cos \! \left(2 \theta \right)\) and \(u \! \left(2, \theta \right) = 0\). Give the explicit harmonic solution \(u \! \left(r , \theta \right)\).

Codex
\(\frac{\left(\frac{16}{r^{2}}-r^{2}\right) \cos \! \left(2 \theta \right)}{15}\)
DeepSeek
\(\left(\frac{4}{3}-\frac{4}{3 r^{2}}\right) \cos \! \left(2 \theta \right)\)
Claude
\(\frac{\left(\frac{16}{r^{2}}-r^{2}\right) \cos \! \left(2 \theta \right)}{15}\)
Gemini
\(\left(-\frac{r^{2}}{15}+\frac{16}{15 r^{2}}\right) \cos \! \left(2 \theta \right)\)
Mistral
\(u \! \left(r , \theta \right) = \frac{4 \left(r^{2}-\frac{4}{r^{2}}\right) \cos \! \left(2 \theta \right)}{15}\)
Grok
\(\frac{\left(-r^{4}+16\right) \cos \! \left(2 \theta \right)}{15 r^{2}}\)

Analysis: The three expressions evaluate to different functions of \(r\): deepseek gives \(\frac{4}{3}(1-r^{-2})\cos 2\theta\), mistral gives \(\frac{4}{15}(r^{2}-4r^{-2})\cos 2\theta\), and codex gives \(\frac{1}{15}(16r^{-2}-r^{2})\cos 2\theta\), which are pairwise inequivalent.

4 of 6 equivalent

Problem 94

Find the residue of \(f \! \left(z \right) = {\mathrm e}^{\frac{1}{z}}\) at \(z = 0\).

Codex
\(1\)
DeepSeek
\(0\)
Claude
\(1\)
Gemini
\(1\)
Mistral
\(\textit{undefined}\)
Grok
\(1\)

Analysis: codex gives the residue as \(1\), deepseek gives \(0\), and mistral states the residue is undefined.

3 of 6 equivalent

Problem 95

Evaluate \(\int_{0}^{2 \pi}\frac{\cos \! \left(\theta \right)}{5+4 \cos \! \left(\theta \right)}d \theta\).

Codex
\(-\frac{\pi}{3}\)
DeepSeek
\(0\)
Claude
\(\frac{2 \pi}{3}\)
Gemini
\(-\frac{\pi}{3}\)
Mistral
\(\frac{\pi}{2}-\frac{3 \pi \sqrt{5}}{4}\)
Grok
\(-\frac{\pi}{3}\)

Analysis: The four answers are four distinct numerical values: \(0\), \(2\pi/3\), \(\pi/2 - 3\pi\sqrt{5}/4\), and \(-\pi/3\).

5 of 6 equivalent

Problem 96

Factor the polynomial \(x^{8}+x^{4}+1\) completely over the complex numbers.

Codex
\(\left(x -{\mathrm e}^{\frac{\mathrm{i}}{6} \pi}\right) \left(x -{\mathrm e}^{\frac{\mathrm{i}}{3} \pi}\right) \left(x -{\mathrm e}^{\frac{2 \,\mathrm{i}}{3} \pi}\right) \left(x -{\mathrm e}^{\frac{5 \,\mathrm{i}}{6} \pi}\right) \left(x -{\mathrm e}^{\frac{7 \,\mathrm{i}}{6} \pi}\right) \left(x -{\mathrm e}^{\frac{4 \,\mathrm{i}}{3} \pi}\right) \left(x -{\mathrm e}^{\frac{5 \,\mathrm{i}}{3} \pi}\right) \left(x -{\mathrm e}^{\frac{11 \,\mathrm{i}}{6} \pi}\right)\)
DeepSeek
\(\left(x^{2}+\frac{\mathrm{i} \sqrt{3}}{2}+\frac{1}{2}\right) \left(x^{2}-\frac{\mathrm{i} \sqrt{3}}{2}+\frac{1}{2}\right) \left(x^{2}+\frac{\mathrm{i} \sqrt{3}}{2}-\frac{1}{2}\right) \left(x^{2}-\frac{\mathrm{i} \sqrt{3}}{2}-\frac{1}{2}\right)\)
Claude
\(\left(x-\frac{\sqrt{3}}{2}-\frac{\mathrm{i}}{2}\right)\left(x-\frac{\sqrt{3}}{2}+\frac{\mathrm{i}}{2}\right)\left(x+\frac{\sqrt{3}}{2}-\frac{\mathrm{i}}{2}\right)\left(x+\frac{\sqrt{3}}{2}+\frac{\mathrm{i}}{2}\right)\left(x-\frac{1}{2}-\frac{\mathrm{i}\sqrt{3}}{2}\right)\left(x-\frac{1}{2}+\frac{\mathrm{i}\sqrt{3}}{2}\right)\left(x+\frac{1}{2}-\frac{\mathrm{i}\sqrt{3}}{2}\right)\left(x+\frac{1}{2}+\frac{\mathrm{i}\sqrt{3}}{2}\right)\)
Gemini
\(\left(x-\left(\frac{\mathrm{i}}{2}+\frac{\sqrt{3}}{2}\right)\right)\left(x+\left(\frac{\mathrm{i}}{2}+\frac{\sqrt{3}}{2}\right)\right)\left(x-\left(-\frac{\mathrm{i}}{2}+\frac{\sqrt{3}}{2}\right)\right)\left(x+\left(-\frac{\mathrm{i}}{2}+\frac{\sqrt{3}}{2}\right)\right)\left(x-\left(\frac{1}{2}+\frac{\sqrt{3}}{2}\mathrm{i}\right)\right)\left(x+\left(\frac{1}{2}+\frac{\sqrt{3}}{2}\mathrm{i}\right)\right)\left(x-\left(\frac{1}{2}-\frac{\sqrt{3}}{2}\mathrm{i}\right)\right)\left(x+\left(\frac{1}{2}-\frac{\sqrt{3}}{2}\mathrm{i}\right)\right)\)
Mistral
\(\left(x^{2}-x+1\right)\left(x^{2}+x+1\right)\left(x^{2}-x\sqrt{3}+1\right)\left(x^{2}+x\sqrt{3}+1\right)\left(x^{2}+\frac{x\sqrt{3}}{3}-x+1\right)\left(x^{2}-\frac{x\sqrt{3}}{3}-x+1\right)\left(x^{2}+\frac{x\sqrt{3}}{3}+x+1\right)\left(x^{2}-\frac{x\sqrt{3}}{3}+x+1\right)\)
Grok
\(\left(x^{2}-\sqrt{3}\, x +1\right)\! \left(x^{2}+\sqrt{3}\, x +1\right)\! \left(x^{2}-x +1\right)\! \left(x^{2}+x +1\right)\)

Analysis: The first group's factorizations all multiply to \(x^8 + x^4 + 1\), while mistral's product contains four extra quadratic factors yielding a polynomial of degree 16 rather than 8.

3 of 6 equivalent

Problem 97

Find the number of distinct necklaces with 6 beads using 3 colors, where rotations are considered identical.

Codex
\(130\)
DeepSeek
\(92\)
Claude
\(92\)
Gemini
\(130\)
Mistral
\(92\)
Grok
\(130\)

Analysis: The deepseek answer \(92\) and codex answer \(130\) are distinct integer values.

4 of 6 equivalent

Problem 98

Find the closed form of the infinite sum \(\overset{\infty}{\underset{n =1}{\sum}}\frac{H_{n}}{n^{3}}\), where \(H_{n} = \overset{n}{\underset{k =1}{\sum}}\frac{1}{k}\) is the n-th harmonic number.

Codex
\(\frac{\pi^{4}}{72}\)
DeepSeek
\(\frac{\pi^{2} \zeta \! \left(3\right)}{4}-\frac{\zeta \! \left(5\right)}{2}\)
Claude
\(\frac{\pi^{4}}{72}\)
Gemini
\(\frac{\pi^{4}}{72}\)
Mistral
\(\frac{17}{36}\pi^{4}-2\zeta(3)\ln(2)-\frac{1}{2}\pi^{2}\left(\ln(2)\right)^{2}+\frac{1}{6}\left(\ln(2)\right)^{4}+4\operatorname{Li}_{4}\!\left(\frac{1}{2}\right)\)
Grok
\(\frac{\pi^{4}}{72}\)

Analysis: The deepseek answer is \(\frac{1}{4}\pi^2\zeta(3)-\frac{1}{2}\zeta(5)\), the mistral answer involves \(\operatorname{Li}_4(1/2)\) and \(\ln(2)\) terms, and the codex answer is \(\pi^4/72\) — three numerically distinct values.

4 of 6 equivalent

Problem 99

Derive the minimal polynomial of \(\cos \! \left(\frac{2 \pi}{9}\right)\) over \(Q\) and give its numerical value to 6 decimal places.

Codex
\([8 x^{3}-6 x +1, 0.766044]\)
DeepSeek
\(- 0.173648\)
Claude
\(8\cos\!\left(\frac{2\pi}{9}\right)^{3}-6\cos\!\left(\frac{2\pi}{9}\right)+1=0,\ \cos\!\left(\frac{2\pi}{9}\right)=0.766044\)
Gemini
\(\left(8 x^{3}-6 x +1, 0.766044\right)\)
Mistral
\(\left(8 x^{3}-6 x +1, 0.766044\right)\)
Grok
\( 0.766044\)

Analysis: Codex, claude, gemini and mistral give both the minimal polynomial \(8x^3 - 6x + 1\) and the numerical value \(0.766044\); grok gives only the numerical value \(0.766044\) without the polynomial; deepseek gives only \(-0.173648\) (a different root of the same polynomial).

3 of 6 equivalent

Problem 100

Solve the wave equation \(\frac{\partial^{2}}{\partial t^{2}}u \! \left(x , t\right) = c^{2} \left(\frac{\partial^{2}}{\partial x^{2}}u \! \left(x , t\right)\right)\) on \(0<x <\pi\) with \(0<c\), with boundary conditions \(u \! \left(0, t\right) = u \! \left(\pi , t\right) = 0\), initial displacement \(u \! \left(x , 0\right) = x \left(\pi -x \right)\), and initial velocity \(\left(\frac{\partial}{\partial t}u \! \left(x , t\right)\right)\! \left(x , 0\right) = 0\). Express the solution \(u \! \left(x , t\right)\) as a Fourier sine series with the coefficients given in closed form.

Codex
\(\overset{\infty}{\underset{n =1}{\sum}}\frac{4 \left(1-\left(-1\right)^{n}\right) \cos \! \left(c n t \right) \sin \! \left(n x \right)}{\pi \,n^{3}}\)
DeepSeek
\(u \! \left(x , t\right) = \overset{\infty}{\underset{n =1}{\textcolor{gray}{\sum}}}\! \frac{4 \left(1-\left(-1\right)^{n}\right) \cos \! \left(c n t \right) \sin \! \left(n x \right)}{\pi \,n^{3}}\)
Claude
\(\sum_{n=1}^{\infty}\frac{4\left(1-\left(-1\right)^{n}\right)}{\pi n^{3}}\cos\!\left(nct\right)\sin\!\left(nx\right)\)
Gemini
\(\overset{\infty}{\underset{k =1}{\sum}}\frac{8 \sin \! \left(\left(2 k -1\right) x \right) \cos \! \left(\left(2 k -1\right) c t \right)}{\pi \left(2 k -1\right)^{3}}\)
Mistral
\(u \! \left(x , t\right) = \overset{\infty}{\underset{n =1}{\sum}}\frac{8 \left(-1+\left(-1\right)^{n}\right) \sin \! \left(n x \right) \cos \! \left(c n t \right)}{\pi \,n^{3}}\)
Grok
\(\overset{\infty}{\underset{k =1}{\sum}}\frac{8 \sin \! \left(\left(2 k -1\right) x \right) \cos \! \left(\left(2 k -1\right) c t \right)}{\pi \left(2 k -1\right)^{3}}\)

Analysis: The mistral answer has nonzero coefficients \(-16/(\pi n^3)\) for odd \(n\), while codex and grok both give \(+8/(\pi n^3)\) for odd \(n\) (zero for even \(n\)).