An AI hallucination is when an AI tool produces information that is false, invented, or unsupported — and presents it with the same confidence as the truth. The classic school example: you ask for sources on a topic and the AI returns three perfectly-formatted citations, complete with authors, journals, and page numbers, none of which exist.
Why it happens
A large language model doesn’t look facts up in a database. It generates text by predicting the most likely next words based on patterns in its training data. Usually those patterns line up with reality — but when they don’t, the model doesn’t know it has crossed from fact into fiction. It’s not lying, which implies intent; it’s producing plausible-sounding text that happens to be wrong. That’s why hallucinations are so convincing: they’re built from the same machinery as the correct answers.
Why it matters for homework
This is the concept that gets honest students in trouble, and it’s the reason for one hard rule: never submit a fact, quote, statistic, or citation from an AI without verifying it against the real source. A hallucinated reference in a bibliography looks exactly like a real one until a teacher tries to find it — and then it looks like something worse than a mistake.
Hallucination is also why the “explain, don’t produce” approach to AI homework help is safer: an explanation you then check and rewrite forces verification, while a copied answer smuggles the error straight into your work. It’s especially common with anything specific — dates, numbers, names, page references — and in math, where a fluent, confident, wrong answer is the standard failure.
In one sentence
If an AI gives you a fact you’re going to hand in, treat it as a claim to verify, never as a source to trust — because the tool cannot tell you which of its answers are the invented ones.
Related: academic integrity · AI detector