Objective

Since late 2022, large language models (LLMs, chatbots such as ChatGPT that write answers to typed questions) have become part of how many students study. In university mathematics, teachers worry that students will lean on AI-written solutions. Others hope the tools can act as a tutor that explains ideas at any hour.

Earlier research has mostly tested what LLMs can do on math problems, or has asked students by survey and interview how they use them. Controlled experiments exist, but the authors say there is little data from real courses where students decide for themselves whether to use AI and where test scores are actually measured. This study tries to fill that gap. It does not try to show cause and effect.

The researchers asked three questions:

  • Is reported LLM use during test preparation linked to higher test scores?
  • Is that link different between the first and the second midterm test?
  • Are students who used an LLM more likely to sit the second test?

The authors also explain that students who choose to use AI may already be better at planning and checking their own learning (called self-regulated learning). That idea matters for how the results should be read.

Methods

This was an observational study. The researchers did not change anything in the course. They collected test scores and one survey question during normal teaching, so the study can show links between things but cannot show that one thing caused the other.

The study took place in the winter semester of 2025/2026 at Jan Evangelista Purkyně University in Ústí nad Labem, Czech Republic. The setting was a first-semester course on discrete mathematics and mathematical logic. It runs under two titles, one for mathematics majors and one for computer science majors, but both groups share lectures, materials and tests. In total 351 students were enrolled at the start. Of these, 197 sat the first midterm test and form the sample. The other 154 did not take the first test, and the authors suggest they had left the course.

Each midterm had four problems worth 25 points each, for a total of 100 points. The problems were proof-based or conceptual, not simple calculations. The first test covered mathematical logic and the second, about two months later, covered discrete mathematics. Of the 197 students, 112 also sat the second test.

At the end of each test, students answered a printed question: whether they had prepared using AI models, yes or no, and which ones. They were told this meant chatbot-style tools. Tools named included ChatGPT, Gemini, Grok, Claude, Perplexity and Kimi K2.

The main analysis used a linear mixed-effects model, a method that handles the same students appearing in both tests. Extra checks looked at who dropped out before the second test. The university's rules did not require ethics approval.

Key Findings

Students who said they used an LLM to prepare scored higher on both tests, but the study cannot say the chatbot was the reason.

Test scores

  • On the first test, the 124 students who reported LLM use averaged 35.59 points and the 73 who did not averaged 23.70, a gap of about 12 points.
  • On the second test, the 82 LLM users averaged 34.91 and the 30 non-users averaged 27.19, a gap of about 8 points.
  • The mixed-effects model, which accounts for the same students appearing twice, estimated that reported LLM use went along with a score about 11 points higher (11.47, with a likely range of 3.82 to 19.12). That is a statistically meaningful difference.
  • The gap was not meaningfully different between the two tests, so the pattern looked similar even though the tests covered different content.
  • Scores overall were low. The pass mark was 50 points and the average was below it for both groups.

Who stayed in the course

Fewer than six in ten students took the second test, so this part matters for reading the results.

  • Of the 197 students, 112 (57.1%) sat the second test and 85 (43.1%) did not.
  • Students who sat the second test had scored much higher on the first one than those who did not. The authors call this difference large (an effect size of 0.97), and it was statistically meaningful.
  • Among those who sat the second test, 72.3% had reported LLM use for the first test, compared with 50.6% of those who did not sit it. This difference was statistically meaningful.
  • After taking first-test score into account, LLM use no longer clearly predicted who stayed (the result was just short of the usual cutoff, p = .052). Each extra point on the first test went along with about a 4% rise in the odds of sitting the second test.

The authors say this fits a known pattern in first-year math, where students who struggle early are likely to leave. In short, how well students did on the first test was the strongest sign of who continued, and LLM use added little once that was counted.

Implications

The authors stress that the data do not show that LLM use causes better scores. Their advice follows from that.

What the authors suggest

  • Teachers and departments: blanket bans on LLM use in university math may not be justified without evidence that bans improve learning. At the same time, unrestricted use is not supported either. Keep designing assessments and activities that make students show their own mathematical reasoning.
  • Researchers: collect performance data together with reports of AI use in real courses, and look at how students use these tools, not only whether they do.

Our reading (not the authors' recommendation):

  • Instructors could ask students how they use chatbots when preparing, for example to get explanations or to check their own proofs, instead of treating all use as cheating or all use as help.
  • Students who are struggling early may need support from the course itself. The first test was a strong sign of who would leave, so an early check-in after the first test may matter more than a rule about AI.
  • Students could be told that using a chatbot did not guarantee a higher score in this course, since the link may come from who chooses to use it.
  • The result should not be used to tell students that chatbots will raise their scores.

The paper notes that the course was proof-based and that chatbots handle routine tasks better than deep proofs, so the results may look different in courses built around calculations.

Limitations

The authors list several limits that matter for how far these results can be trusted.

  • No cause and effect. Students chose whether to use an LLM. The link may reflect real learning help, or it may reflect that students who already study well are the ones who try these tools. The study cannot tell the two apart.
  • One yes or no question. LLM use was self-reported right after each test. It says nothing about how often, how long or in what way students used it. A student who asked about one definition counts the same as one who studied with a chatbot for hours. Memory and a wish to give a good answer can also affect replies.
  • No controls. The analysis did not account for earlier math achievement, study time, attendance or background, so those could explain part of the gap.
  • Students dropped out. The second test was taken by a higher-scoring group, so results for that test do not represent the whole class.
  • One course, one university. The findings may not hold for other subjects or schools.
  • Many zero scores. A cluster of zeros made the scores uneven in shape, so the exact numbers should be read with care.

The paper does not mention, but the second-test comparison rests on only 30 students who did not use an LLM, which makes that estimate less steady than the first-test one.

Future Directions

The authors say the key next step is to separate whether chatbots help learning or whether stronger, more self-directed students are the ones who adopt them. They suggest:

  • experiments or quasi-experiments (studies that compare groups, ideally with random assignment) and long-term studies that follow students over time;
  • measures of self-regulated learning, so researchers can see whether study habits explain the score gap;
  • more detailed ways to record AI use, such as how often, for what purpose and how, instead of one yes or no item;
  • analysis methods that handle test data with many zero scores, such as Tobit regression;
  • studies in other kinds of math courses, especially calculation-based ones where chatbots can give direct answers and the risk of skipping the learning is higher.

The authors also say that if the small, borderline link between LLM use and staying in the course appears again in larger samples, it would deserve a closer look.

The bottom line: In one Czech university math course, students who said they used an AI chatbot to prepare scored about 11 points higher on a 100-point test, and the gap showed up on two different tests. The evidence is weak for any claim about benefit, because students chose for themselves, nothing about their earlier ability was measured, and use was reported with a single yes or no question. Prior performance was the clearest predictor of who stayed in the course. Treat this as a pattern worth testing properly, not as proof that chatbots raise scores.