ai assessment

Using AI to Generate Math Problem Sets with Worked Solutions

EduGenius Team··13 min read

The Power of Worked Solutions

Worked solutions (step-by-step explanations of how to solve problems) are one of the highest-impact learning tools in mathematics.

Research shows:

  • Worked examples boost learning by 0.37 SD (medium-to-large effect)
  • Example problems improve transfer by 31% (students apply learning to novel problems)
  • Scaffolding effect: Novices learn faster from examples; experts need practice problems
  • Cognitive load: Examples reduce working-memory overload; students see the path before they walk it alone

The problem: Creating quality worked solutions is extremely time-consuming.

What a good worked solution includes:

  1. Problem statement (clear, no ambiguity)
  2. Identification of strategy ("This is a quadratic equation; use factoring or quadratic formula")
  3. Setup with all work shown (not skipping steps)
  4. Explanation of each step (why this operation, not just what)
  5. Common mistakes/pitfalls ("Here's where students often go wrong...")
  6. Answer with units/context

Creating this for 50 problems × 3-4 grade levels = 150-200 worked solutions. That's dozens of hours of work.

AI Solution: Generate the problem + worked solution + common mistakes in minutes.

Types of Worked Solutions

Type 1: Fully-Worked Solution (Tutorial)

Purpose: First exposure to a problem type; student watches/reads before attempting similar problems

Structure:

  • Problem statement
  • Strategy identification
  • Step-by-step solution with explanations
  • Common mistakes highlighted
  • Reflection question ("Why did we use this strategy?")

Example: Grade 7 Fractions—Adding Unlike Denominators

**Worked Solution: 1/3 + 1/4**

PROBLEM: Add 1/3 + 1/4. Express as a fraction in simplest form.

STRATEGY: To add fractions with unlike denominators, we need a common denominator.

STEP 1: Find the least common denominator (LCD) of 3 and 4
- Multiples of 3: 3, 6, 9, 12...
- Multiples of 4: 4, 8, 12...
- LCD = 12 (first number in both lists)
✓ Why? We can't add fractions with different denominators; they're different-sized pieces. We need same-sized pieces.

STEP 2: Convert each fraction to have denominator 12
- 1/3 = ?/12  →  1/3 × 4/4 = 4/12  (multiply by 4/4 because 3×4=12)
- 1/4 = ?/12  →  1/4 × 3/3 = 3/12  (multiply by 3/3 because 4×3=12)
✓ Why? Multiplying by equivalent forms (4/4, 3/3) doesn't change the fraction's value.

STEP 3: Add the numerators; keep denominator same
- 4/12 + 3/12 = (4+3)/12 = 7/12
✓ Why? We're now adding same-sized pieces (twelfths).

ANSWER: 7/12

CHECK: Is there a simpler form? No factors common to 7 and 12, so 7/12 is in simplest form.

COMMON MISTAKES:
❌ Mistake 1: "1/3 + 1/4 = 2/7" (adding numerators AND denominators)
✓ Why this is wrong: You can't add unlike denominators directly. It's like adding 1 apple + 1 orange; you can't just say 2 fruits unless they're the same unit.

❌ Mistake 2: "1/3 + 1/4 = 1/12" (multiplying instead of converting)
✓ Why this is wrong: The LCD is a common denominator, not the product. Multiply to get equivalent fractions, not to get the new denominator.

REFLECTION: Why did we convert to 12ths instead of some other number?
(Because 12 is the LEAST common multiple—the smallest number that works—so fractions stay manageable.)

Type 2: Partial Solution (Scaffolded)

Purpose: Student practices completing the solution; teacher/AI provides structure

Structure:

  • Problem statement
  • Strategy identification
  • PARTIAL steps with blanks to fill
  • Completed answer key for checking

Example: Grade 8 Algebra—Solving Linear Equations

**Scaffolded Solution: 3x + 5 = 20**

PROBLEM: Solve for x: 3x + 5 = 20

STRATEGY: Isolate the variable using inverse operations (if adding, subtract; if multiplying, divide).

STEP 1: What's the first operation to undo?
Answer: ________  (Hint: Is the 5 being added or subtracted to 3x?)

STEP 2: Subtract 5 from both sides:
3x + 5 - 5 = 20 - 5
3x = ________

STEP 3: Now x is being ________ by 3. What's the inverse operation?
Answer: ________  (divide)

STEP 4: Divide both sides by 3:
3x / 3 = 15 / 3
x = ________

STEP 5: Check your answer by substituting back:
3(____) + 5 = 20
____ + 5 = 20
✓ Correct!

ANSWER KEY:
Step 1: addition (the 5 is being added)
Step 2: 15
Step 3: multiplied
Step 4: 5
Step 5: 5; then 15

Type 3: Error Analysis (Learning from Mistakes)

Purpose: Student sees incorrect solution and identifies errors

Structure:

  • Problem statement
  • INCORRECT worked solution (common student mistake)
  • "Find the error" task
  • Explanation of why it's wrong
  • CORRECT solution

Example: Grade 6 Order of Operations

**Error Analysis: 2 + 3 × 4**

PROBLEM: Evaluate: 2 + 3 × 4

STUDENT'S (INCORRECT) SOLUTION:
Step 1: 2 + 3 = 5
Step 2: 5 × 4 = 20
ANSWER: 20

❌ THIS IS WRONG. Can you spot the error?

THE ERROR: The student added BEFORE multiplying. But the order of operations (PEMDAS) says multiply and divide BEFORE adding and subtracting.

CORRECT SOLUTION:
Step 1: Multiply first: 3 × 4 = 12
Step 2: Then add: 2 + 12 = 14
ANSWER: 14

WHY THIS MATTERS: Order of operations ensures everyone solves the problem the same way. Without it, the same problem could have multiple "correct" answers—chaos!

MEMORY AID: PEMDAS = Parentheses, Exponents, Multiply/Divide (left to right), Add/Subtract (left to right)

AI Workflow: Generating Problem Sets + Worked Solutions

Phase 1: Specify Problem Type & Scope (5 min)

Prompt Template: Math Problem Set with Worked Solutions

Generate a math problem set with detailed worked solutions for [GRADE, SKILL].

Problem Specifications:
- Skill/Topic: [PASTE standard or skill]
- Difficulty: [Foundational / Developing / Proficient / Advanced]
- Number of problems: [5-10 typical]
- Problem types: [All similar | Mixed types]
- Numbers/values: [Range: small numbers, realistic larger numbers, etc.]

Solution Details:
- Include all steps (no skipped steps, ever)
- Explain WHY each step (not just WHAT)
- Identify the strategy used
- Include 2-3 common student mistakes for each problem
- Provide check/verification step

Special Requests: [Any context: "students struggle with sign errors" or "include real-world context"]

Generate:
1. 5 problems with full worked solutions
2. Answer key for quick reference
3. Common pitfalls section

Example Input: Grade 9 Quadratic Equations (Solving by Factoring)

Generate 5 quadratic equation problems with full worked solutions.

Skill: Solving quadratic equations by factoring (CCSS.HSA.SSE.3a)
Difficulty: Developing → Proficient (starting easy, getting harder)
Numbers: Mix of simple factors (like 12 = 3×4) and trickier factors (like 12 = 2×6)

Each solution should:
- Identify: "This is a quadratic ax² + bx + c = 0"
- Strategy: "We'll factor the left side and use zero-product property"
- Steps: Show factoring, setting each factor to zero, solving each equation
- Mistakes: Include common factoring errors (wrong signs, wrong factors) with corrections
- Check: Verify answer by substituting back

Generate 5 problems + solutions.

Output (AI-Generated Problem Set):

**Quadratic Equations: Solving by Factoring**
*Grade 9 | 5 Problems with Worked Solutions*

---

**PROBLEM 1: x² + 5x + 6 = 0**

WORKED SOLUTION:

Step 1: Identify the equation type
This is a quadratic equation in standard form: ax² + bx + c = 0 (where a=1, b=5, c=6)

Step 2: Factor the left side
We need two numbers that:
- Multiply to get c = 6
- Add to get b = 5

Factors of 6: (1,6) and (2,3)
Check: 2 + 3 = 5 ✓ and 2 × 3 = 6 ✓

So: x² + 5x + 6 = (x + 2)(x + 3)

Step 3: Write the factored equation
(x + 2)(x + 3) = 0

Step 4: Apply zero-product property
If a product equals zero, at least one factor must equal zero.
So: x + 2 = 0  OR  x + 3 = 0

Step 5: Solve each equation
x + 2 = 0  →  x = -2
x + 3 = 0  →  x = -3

ANSWER: x = -2 or x = -3

VERIFICATION: Substitute x = -2 back into original:
(-2)² + 5(-2) + 6 = 4 - 10 + 6 = 0 ✓ Correct!

COMMON MISTAKES:
❌ Mistake 1: "Factors are (1,6) so answer is x=1 or x=6"
✓ Why wrong: You need factors that ADD to 5, not just multiply to 6. 1+6=7, not 5.

❌ Mistake 2: "x + 2 = 0 means x = 2"
✓ Why wrong: x + 2 = 0 means x = -2 (solve by subtracting 2 from both sides).

---

**PROBLEM 2: x² - 7x + 12 = 0**

[Similar detailed solution...]

**[PROBLEMS 3-5 continue...]**

---

**ANSWER KEY (Quick Reference)**:
1. x = -2, x = -3
2. x = 3, x = 4
3. x = 5, x = 2
4. x = -3, x = -2
5. x = 6, x = 1

**COMMON PITFALL SUMMARY**:
- Sign errors: Remember (x + 2) = 0 means x = -2, not +2
- Factoring errors: Check that factors multiply AND add correctly
- Forgotten solutions: Remember there are usually 2 solutions to a quadratic

Phase 2: Create Practice Set Without Solutions (5 min)

After students have seen 3-4 worked examples, they're ready to practice independently. Create the SAME types of problems, but WITHOUT solutions.

Prompt:

Create 5 NEW problems of the same type and difficulty as the worked examples above.

Use new numbers/values (not the same as worked examples).
Pair with an EMPTY answer key (blanks for students to fill).

Output:
1. 5 new practice problems
2. Empty answer blanks on a separate line
3. (Teacher gets a separate key with correct answers)

Output:

**PRACTICE PROBLEMS: Solve These (Use worked examples for guidance)**

1. x² + 8x + 15 = 0
   x = ________  or  x = ________

2. x² - 9x + 20 = 0
   x = ________  or  x = ________

3. x² + 2x - 8 = 0
   x = ________  or  x = ________

4. x² - 6x + 5 = 0
   x = ________  or  x = ________

5. x² + 7x + 12 = 0
   x = ________  or  x = ________

**ANSWER KEY (Check your work!):**
1. x = -3, x = -5
2. x = 4, x = 5
3. x = 2, x = -4
4. x = 1, x = 5
5. x = -3, x = -4

Phase 3: Optional—Error Analysis Problems (5 min)

Prompt:

Create 3 error-analysis problems based on [SKILL].

For each, show an INCORRECT student solution (common mistake).
Ask: "Find the error. Explain why it's wrong. What's the correct solution?"

This helps students learn from common mistakes without making them personally.

Real Example: Grade 5 Decimal Addition (Complete Sequence)

Step 1: Worked Solutions (Students read/watch)

**WORKED EXAMPLE 1: 2.5 + 1.3**

PROBLEM: Add 2.5 + 1.3

STRATEGY: Line up decimal points; add like regular addition

STEP 1: Write in vertical form, lining up decimals
  2.5
+ 1.3
-----

STEP 2: Add tenths: 5 + 3 = 8
STEP 3: Add ones: 2 + 1 = 3

  2.5
+ 1.3
-----
  3.8

ANSWER: 3.8

WHY THIS WORKS: The decimal point marks the boundary between ones and tenths. By lining up decimals, we're lining up the place values, so we're adding the right digits together.

COMMON MISTAKES:
❌ "2.5 + 1.3 = 3.8, but I'll write 38 (ignoring decimal)"
✓ Why wrong: The decimal point matters! 38 ≠ 3.8

❌ "2.5 + 1.3 = 3.18" (adding 5+3=8, writing as 18)
✓ Why wrong: 5 tenths + 3 tenths = 8 tenths, not 18 tenths.

Step 2: Scaffolded Practice (During lesson)

**TRY THIS (with blanks): 3.2 + 2.4**

STEP 1: Write in vertical form, lining up decimals:
  3.2
+ 2.____
-------

STEP 2: Add tenths: ____ + 4 = ____

STEP 3: Add ones: 3 + ____ = ____

ANSWER: ____

Step 3: Independent Practice (Homework)

**SOLVE THESE:**

1. 4.1 + 2.3 = ____
2. 1.6 + 3.2 = ____
3. 5.4 + 2.7 = ____
4. 2.8 + 3.5 = ____
5. 1.9 + 4.3 = ____

Step 4: Error Analysis (Extension/Review)

**ERROR ANALYSIS: 4.5 + 2.3 = 67**

This student got 67. Find the mistake!

STUDENT'S WORK:
"4.5 + 2.3 = 45 + 23 = 68... wait no. 46 + 21 = 67"

❌ THE ERROR: The student ignored the decimal point and treated 4.5 as 45 and 2.3 as 23.

CORRECT SOLUTION:
  4.5
+ 2.3
-----
  6.8

The decimal point matters!

Addressing Worked Solution Challenges

Challenge 1: "AI-generated solutions have errors; they skip steps"

  • Solution: Review all AI solutions for accuracy before deploying to students
  • Verification: Solve each problem independently; compare with AI output
  • Edit as needed: Fix any computational errors or skipped steps

Challenge 2: "Students copy solutions without understanding"

  • Solution: Use solutions for scaffolding, then remove them for independent practice
  • Differentiate: Some students need 5 worked examples; others need 1-2
  • Accountability: Quiz students on problems similar to worked examples (shows if understanding transferred)

Challenge 3: "Creating worked solutions for 200 problems takes forever, even with AI"

  • Solution: Batch creation. Ask AI to generate 20 problems + solutions at once (not 1-by-1)
  • Time: 20 problems + full solutions = 10-15 minutes of AI work + 5 min review by teacher

Platforms for Worked Solutions

Google Docs / Classroom:

  • Paste worked solutions as handouts or lesson materials
  • Students access anytime
  • Cost: Free

Khan Academy:

  • Platform includes worked solutions for thousands of problems
  • Integrates with classroom
  • Cost: Free or Premium ($15/month)

IXL / Mathway:

  • Step-by-step solutions built-in when student asks for help
  • Keeps students from just copying; encourages understanding
  • Cost: ~$20/month

Desmos / GeoGebra (for graphing):

  • Visual worked solutions for graphing problems
  • Animated step-by-step
  • Cost: Free

Summary: Worked Solutions as Learning Leverage

Worked solutions are one of the highest-impact teaching tools in math. They reduce cognitive overload, model problem-solving strategies, and help students learn from examples before practicing independently.

AI makes generating hundreds of worked solutions feasible—turning what might be 50 hours of manual effort into a few hours of AI generation + teacher review. The result: a comprehensive library of scaffolded, explained, error-analyzed examples that teach students how to think mathematically, not just what the answer is.

Using AI to Generate Math Problem Sets with Worked Solutions

<!-- CONTENT PLACEHOLDER - Run 'node scripts/blog/generate-article.js --id=86' to generate -->

Strengthen your understanding of AI Quiz & Assessment Creation with these connected guides:

#teachers#assessment#ai-tools#math#quiz#solutions