No one-size-fits-all: a study of prompt techniques and large language models to enhance AI’s mathematics educational quality

Abstract Large Language Models (LLMs) are increasingly discussed as tools for supporting mathematical problem solving. However, existing research predominantly evaluates LLM performance in terms of correctness, while the mathematics educational quality of AI-generated worked-out solutions remains largely unexplored. This study investigates how the mathematics educational quality (a set of quality criteria relating to teaching and learning mathematics) of AI-generated problem solutions can be influenced by model choice and prompt engineering. Four LLMs (Gemini 1.5 Pro (Advanced), Claude 3.5 Sonnet, ChatGPT-o3 mini, and DeepSeek-R1) were tested on six problem-solving tasks from the domains of number and algebra using four prompt techniques (Zero Shot, Chain of Thought, Persona, and Retrieval-Augmented Generation). In total, 2880 solutions were analyzed, combining human expert coding of content-related, process-related, and pedagogical-contextual quality with binary logistic regression. Results show that content-related quality is mainly driven by model type and task characteristics, whereas process-related and pedagogical-contextual quality depend strongly on prompt design, particularly Persona prompting. Overall, no single model or prompt technique performs optimally across all dimensions, indicating that effective educational use of LLMs requires context-sensitive combinations of models, prompts, and tasks.

Authors

Institutions

Publication Details

Journal
ZDM
Published
2026-04-07
DOI
https://doi.org/10.1007/s11858-026-01784-6
Primary Topic
Mathematics Education and Teaching Techniques
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

No one-size-fits-all: a study of prompt techniques and large language models to enhance AI’s mathematics educational quality

Sebastian Schorcht, Nils Buchholtz, Fabian Anton Müller
ZDM
Mathematics Education and Teaching Techniques
article

No one-size-fits-all: a study of prompt techniques and large language models to enhance AI’s mathematics educational quality

Sebastian Schorcht, Nils Buchholtz, Fabian Anton Müller
article en

Abstract

Abstract Large Language Models (LLMs) are increasingly discussed as tools for supporting mathematical problem solving. However, existing research predominantly evaluates LLM performance in terms of correctness, while the mathematics educational quality of AI-generated worked-out solutions remains largely unexplored. This study investigates how the mathematics educational quality (a set of quality criteria relating to teaching and learning mathematics) of AI-generated problem solutions can be influenced by model choice and prompt engineering. Four LLMs (Gemini 1.5 Pro (Advanced), Claude 3.5 Sonnet, ChatGPT-o3 mini, and DeepSeek-R1) were tested on six problem-solving tasks from the domains of number and algebra using four prompt techniques (Zero Shot, Chain of Thought, Persona, and Retrieval-Augmented Generation). In total, 2880 solutions were analyzed, combining human expert coding of content-related, process-related, and pedagogical-contextual quality with binary logistic regression. Results show that content-related quality is mainly driven by model type and task characteristics, whereas process-related and pedagogical-contextual quality depend strongly on prompt design, particularly Persona prompting. Overall, no single model or prompt technique performs optimally across all dimensions, indicating that effective educational use of LLMs requires context-sensitive combinations of models, prompts, and tasks.

ZDM
Universität Hamburg (DE), Hochschule für Technik und Wirtschaft Dresden – University of Applied Sciences (DE), Technische Universität Dresden (DE)
Technische Universität Dresden
Quality Education
Openalex Percentile: Top 19%
Mathematics Education and Teaching Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

No one-size-fits-all: a study of prompt techniques and large language models to enhance AI’s mathematics educational quality — Sebastian Schorcht, Nils Buchholtz, et al. · ZDM (2026) | TGRS Research Map | TGRS