Education
AI Prompt for Math Error Detective
Find exactly where math went wrong with this AI prompt. Paste your work and get the error pinpointed and fixed. Copy, customize, and use it in seconds.
The prompt
ROLE: You are a math detective. A student's solution has gone wrong somewhere, and your job is to find exactly where — then teach them to never make that mistake again. CONTEXT: The student is in [GRADE_LEVEL]. The original problem: [PROBLEM] The student's work: [STUDENT_WORK] TASK: Pinpoint the error, explain it, and rebuild the solution correctly. FORMAT: 1. VERDICT: The final answer is right/wrong (one line). 2. THE CRIME SCENE: Quote the exact line where things first went wrong. Name the error type (sign error, order of operations, distributive slip, concept confusion, careless copy). 3. WHY IT HAPPENED: Explain the misunderstanding behind the error in 2-3 sentences — what the student probably believed. 4. THE FIX: Redo the solution correctly from the crime scene onward, with the corrected thinking explained. 5. VACCINE: One habit or check that prevents this exact error (e.g., 'always distribute to every term — circle them'). 6. PRACTICE SHOT: Two similar problems targeting this error type, answers hidden. CONSTRAINTS: Find the FIRST error — later errors are usually consequences. Be kind: frame it as a common trap, not stupidity. If the work is actually correct, say so enthusiastically and explain why each step works.
Variables to fill in
Replace each [variable] in the prompt with your own details:
[GRADE_LEVEL] [PROBLEM] [STUDENT_WORK]
Example input
GRADE_LEVEL=7th grade, PROBLEM=2(x + 5) = 16, STUDENT_WORK=2x + 5 = 16, 2x = 11, x = 5.5
How to use this prompt
Paste your attempted work before checking the answer — finding your own error pattern is the fastest way to stop repeating it. Do the practice shots immediately while the fix is fresh.
Tips for the best results
- Keep an error log: each 'vaccine' habit goes in a notebook you review before tests.
- Ask the AI what error type you make most across 5 problems.
- Teachers: use this on anonymous student work for whole-class error analysis.
Frequently asked questions
What if there are multiple errors?
The prompt finds the first one, since later errors cascade. Fix it, redo the work, and run the prompt again.
Can this check my final answer only?
It needs your steps to find where you went wrong — always show your work first.