Math Word Problem Reasoning
Explicit numbered steps force the model to decompose the problem rather than guessing. The verification step catches arithmetic errors before the final answer.
Solve the following math problem. Show your reasoning step by step before giving the final answer.
Problem: {{math_problem}}
Work through this step by step:
1. Identify the known quantities
2. Determine what we need to find
3. Set up the equations or calculations
4. Solve each step, showing your work
5. Verify the answer makes sense
Step-by-step solution:Variables to customize
Why this prompt works
Explicit numbered steps force the model to decompose the problem rather than guessing. The verification step catches arithmetic errors before the final answer.
Save this prompt to your library
Organize, version, and access your best prompts across ChatGPT, Claude, and Cursor.
Related prompts
Requesting confidence and key phrases forces the model to justify its classification rather than guessing. The structured output format works zero-shot because sentiment analysis is well-understood by LLMs.
Key Information ExtractionListing the exact fields to extract removes guesswork. The 'Not specified' instruction prevents hallucination when information is missing -- a common failure mode without this guardrail.
Question Answering with SourceGrounding the answer in source material and instructing the model to refuse when information is missing dramatically reduces hallucination -- the biggest risk in zero-shot Q&A.
Logic Puzzle SolverLogic puzzles require constraint tracking. Asking the model to list constraints first, then apply elimination, mirrors how humans solve these problems reliably.