3.2 A test on ChatGPT 3.5 with improved prompt, correct solutions
We improved the prompt as follows in the ChatGPT 3.5, and tested it on June
5, 2024.
Solve the ODE y’’(x)-8*y’(x)+16*y(x)=x*exp^{4x}, where y is a
function of variable x. Find a particular solution of the form
y(x)=K*(x^3)*exp^{4x}.
It generates the correct solutions. The full response is available at [8]. The
improved prompt provides the exact information needed for the correct guess
form for the particular solution of the ODE, which can be derived through
human mathematical logic as shown in
(1.6)
. We do not know if the current
general AI can solve this ODE directly without this additional information.
4 co nc lu si on .
This ODE example highlights the rigor and beauty of mathematics, demon-
strates the power of SageMath, and reveals the current limitations of general
artificial intelligence in solving complex mathematical problems. The quality
of ChatGPT responses is entirely dependent on the prompts that provided.
re fe re nc es
[1] ‘Mathematics Syllabus in the Swedish upper secondary school’. https:
//www.skolverket.se/download/18.4fc05a3f164131a74181063/
1535372298267/Mathematics-swedish-school.pdf.
[2] Attila Szabo, Niclas Larson, Daniel Dufåker, and Roger Fermsjö,
Matematik Origo 5. Sanoma Utbildning, 3 ed.
[3] Robert Adams and Christopher Essex, Calculus - a complete course.
Pearson, 10 ed.
[4] ‘SageMath Mathematical Software System - Sage’.
https://www.sagemath.org/.
[5] The Sage Development Team, ‘Solving ordinary differential equations -
Symbolic Calculus’.
https://doc.sagemath.org/html/en/reference/calculus/sage/
calculus/desolvers.html#sage.calculus.desolvers.desolve.
[6] ‘ChatGPT 3.5 gives the incorrect solutions of an ODE on 20240516’.
https:
//chatgpt.com/share/dfe5d47f-2f40-49ab-b9ee-958ddff1073b.
[7] ‘ChatGPT 3.5 gives the incorrect solutions of an ODE on 20240605’.
https:
//chatgpt.com/share/4ea556d0-07f4-4fa2-9146-a5679ee4dfb5.
[8]
‘ChatGPT 3.5 gives the correct solutions of an ODE on 20240605’.
https:
//chatgpt.com/share/89355d26-017f-4008-997d-32c56a8fbd8c.
5