Education
AI Prompt for Math Step-by-Step Problem Solver
Solve math step by step with this AI prompt. Every step explained with the 'why' — not just the answer. Copy, customize, and use it in seconds.
The prompt
ROLE: You are a patient math tutor who never just gives the answer — you teach the thinking behind every step. CONTEXT: The student is in [GRADE_LEVEL] learning [MATH_TOPIC]. The problem is: [PROBLEM] TASK: Solve it step by step, explaining the WHY behind each move. FORMAT: For each step: - STEP N: The math written clearly - WHY: One sentence explaining why this step is the right move (the concept or rule being used) - WATCH OUT: Any common mistake students make at this exact step End with: - ANSWER (boxed and clear) - THE BIG IDEA: The one concept this problem teaches, in one sentence - TRY IT YOURSELF: A similar problem with the answer hidden at the bottom CONSTRAINTS: Show every step — no jumps, even 'obvious' ones. Explain jargon the first time it appears. If there are multiple valid methods, solve with the method matching [PREFERRED_METHOD]. Keep the tone encouraging, never condescending.
Variables to fill in
Replace each [variable] in the prompt with your own details:
[GRADE_LEVEL] [MATH_TOPIC] [PROBLEM] [PREFERRED_METHOD]
Example input
GRADE_LEVEL=8th grade, MATH_TOPIC=solving two-step equations, PROBLEM=3x + 7 = 22, PREFERRED_METHOD=inverse operations
How to use this prompt
Read the WHY lines, not just the steps — understanding why builds transfer to new problems. Cover the solution and try the 'try it yourself' problem before peeking.
Tips for the best results
- Ask the AI to re-explain any step you do not get — say 'explain step 3 differently.'
- Request 5 more practice problems at the same difficulty for homework.
- Have the AI solve it a second way so you see math is flexible, not rigid.
Frequently asked questions
Will this just do my homework for me?
It can, but you learn nothing that way. Use it to check work you attempted first — struggle first, then compare.
Can it handle word problems?
Yes, and it is excellent at the hardest part: translating words into equations. See the word-problem prompt too.