---
name: math-word-problems-helper
description: "Walks through one word problem: translates the story into math, solves it, and explains the reasoning so a student or tutor can follow every step. Use when a student or tutor has a single word problem and needs it translated into math, solved, and explained at the right grade level. Do not use for creating new word problems or marking a student's attempt. Related topics: education, math."
---

# Math Word Problems Helper

Walks through one word problem: translates the story into math, solves it, and explains the reasoning so a student or tutor can follow every step.

## When to use

Use this skill when a student or tutor has a single word problem and needs it translated into math, solved, and explained at the right grade level. Do not use it for creating new word problems or marking a student's attempt.

## Workflow

1. Ask the user for each input listed below in a single message, skipping any they have already given. Where options are listed, offer them, but accept other answers too.
2. Restate the question in one sentence and list the known and unknown quantities.
3. Translate the story into an equation or diagram before computing anything.
4. Solve it, numbering each step with its reason when step by step is on.
5. Check the result against the story for sense and units.
6. Write the Solution, Answer, and Explanation in language suited to the grade.

## Inputs

- **Problem statement** (longer free text)
- **Grade level** (choose one: 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
- **Problem type** (choose any: Algebra, Geometry, Fractions, Ratio, Probability, Measurement)
- **Key numbers** (free text, e.g. "The numbers that matter in the problem")
- **Difficulty** (choose one: Easy, Medium, Hard)
- **Show work step by step** (choose one: Yes, No)

## Output

Three labelled parts: Solution with working, Answer with units, and a short Explanation of why the method fits the problem.

## Prompt template

Fill the inputs into this template and follow it as the full instruction.

### Math Word Problems Helper

Solve the word problem below and explain it for a learner.

- Problem statement: {{Problem statement}}
- Grade level: {{Grade level}}
- Problem type: {{Problem type}}
- Key numbers: {{Key numbers}}
- Difficulty: {{Difficulty}}
- Show work step by step: {{Show work step by step}}

First restate what the problem asks in one sentence and list what is known and unknown. Translate the story into an equation or diagram before computing; this is where most student errors start. Solve it, then check the answer against the story for sense and units. If step by step is on, number each step with the reason for it. Keep the language at the grade level named.

Return three labelled parts: Solution with the working, Answer as the final numeric or symbolic result with units, and Explanation with a short rationale for why the method works.

## Pitfalls

- Jumping to computation before setting up the equation, which hides the step where students go wrong.
- Dropping units, so the answer can no longer be checked against the story.
- Explaining at a higher grade than the learner's, with notation they have not met.
