Step-by-Step Reasoning and Checking Maths
Learn to ask for visible steps, use thinking time wisely, and check a worked solution line by line with exact fractions, including how one early slip spoils the answer.
In this lesson you will
- Ask for visible, one-
calculation- per- line steps - Check each step instead of the last line
- Estimate to catch wild errors
- Use extended thinking sensibly
About 22 minutes
The discount that did not add up
Priya is helping run the bake sale stall. A customer has a voucher: 15 per cent off, then another 10 per cent off, then 8 per cent tax. The price is 80 pounds. Priya asks Claude to work it out. The answer arrives in neat steps, ending with 65.88. Priya writes it on the receipt. The customer’s own phone says 66.10. Who is right? This lesson is about reasoning problems, the kind with steps, and the habit that protects you: check each step, not just the last line.
Why steps matter
When Claude has room to work through a problem step by step, it usually does better than when it leaps to an answer. Asking for the steps also helps you, because you can see where it went wrong. Anthropic’s guidance suggests asking Claude to explain its reasoning step by step before it gives a final answer, because that can reveal faulty logic or assumptions. Some versions also offer a mode called extended thinking, where Claude spends more time breaking down a problem and planning before it replies, and you may be able to view its thought process. Anthropic’s help describes it as helping with complex problems. It is not magic: it costs more time and, depending on your plan, more of your usage, and Claude can still make mistakes. Use it for hard problems, and not for simple ones.
Work out the final price step by step. Start at 80 pounds. Take 15 per cent off, then take 10 per cent off the new price, then add 8 per cent tax. Show each calculation on its own line, with the result after each step. Then give the final price, rounded to the nearest penny.
Check each step
The program below checks a worked solution the way a careful teacher would. It stores each step as a label and the value that the solution claims, and it recalculates the step from the one before using exact fractions, so there are no rounding surprises. The solution is the kind of slip a fluent writer can make: the first step is right and the second is not, and the third then builds on the second’s mistake.
from fractions import Fraction as F
price = F(80)
steps = [ # (what the worked solution says, the value it claims)
("15% off 80", F(68)),
("then 10% off", F(61, 1)),
("add 8% tax", F(6588, 100)),
]
value = price
checks = []
for label, claimed in steps:
if "15%" in label:
value = value * F(85, 100)
elif "10%" in label:
value = value * F(90, 100)
elif "tax" in label:
value = value * F(108, 100)
checks.append((label, claimed, value))
for label, claimed, true in checks:
state = "ok" if claimed == true else "SLIP"
print(f"{label}: says {float(claimed):.2f}, true {float(true):.2f} {state}")
final = checks[-1][2]
print()
print(f"final price: {float(final):.2f}")
print("one discount of 25% would give:", float(price * F(75, 100)))
print("15% then 10% saves less than 25%:", final / F(108, 100) > price * F(75, 100))
15% off 80: says 68.00, true 68.00 ok
then 10% off: says 61.00, true 61.20 SLIP
add 8% tax: says 65.88, true 66.10 SLIP
final price: 66.10
one discount of 25% would give: 60.0
15% then 10% saves less than 25%: True
The first step passes: 15 per cent off 80 is 68. The second step claims 61.00, but the true value is 61.20. Ten per cent off 68 is 6.80 pounds off, which leaves 61.20, not 61.00. The third step then adds tax to the wrong number: it claims 65.88, but the correct final figure is 66.10. So Priya’s customer’s phone was right, and the receipt was wrong by 22 pence. Notice the pattern: one early slip spoils everything after it, and the final answer looks perfectly sensible. If you had only checked the last line, you would have needed to redo the whole thing. Checking each step shows where it went wrong.
The last two lines of the output make a point worth knowing. Taking 15 per cent and then 10 per cent off is not the same as taking 25 per cent off: it saves less, because the second discount applies to a smaller price. Mistakes like that, about how percentages combine, are common, which is one more reason to check.
Habits for reasoning problems
- Ask for the steps, with one calculation per line. That makes errors visible.
- Check the first step and the biggest step. Errors cluster at the start and at complicated parts.
- Estimate first. Roughly, 80 less a bit more than a quarter is about 60 plus tax, so about 65 to 67. An estimate catches wild errors.
- Use a calculator for the arithmetic. Let Claude explain the method, then compute.
- Ask for a second method. ‘Now check it a different way.’ If the answers differ, find out why.
- Put the stakes in proportion. For a receipt, a quick check is enough. For money, medicine or safety, verify with an expert source.
Using thinking time well
If your version has an extended thinking option, try it on a problem like this one, with several steps and some traps, and compare the answer with a normal reply. Keep your prompt specific, because a vague question wastes thinking. And treat the thought process as a clue, not a proof: a long, confident chain of reasoning can still contain a wrong step. The checking habits in this lesson apply either way.
Reading the steps for sense instead of for arithmetic. A solution can read beautifully and still contain a wrong sum. Do not skim: recompute each line, or use a tool to do it.
Claude is generally good at explaining why a method works and at spotting a flaw when you point at a particular step. If you find a slip, tell it exactly which line is wrong and ask it to redo from there.
Practice for this lesson
Check what you learned
Five quick questions. Pick an answer and you will see straight away whether it is right and why.
Why ask for step-by-step working?
- It makes the answer secret
- Errors become visible
- It saves time
- It avoids numbers
Visible steps let you spot where reasoning or arithmetic went wrong.
What went wrong in the discount solution?
- The first step was wrong
- The tax was missing
- The price was wrong
- The second step was wrong and the third built on it
Ten per cent off 68 is 61.20, but the solution said 61.00, and the error carried forward.
Is 15 per cent off then 10 per cent off the same as 25 per cent off?
- Yes, always
- No, it saves less
- It saves more
- Only for tax
The second discount applies to a smaller price, so the total saving is less than 25 per cent.
What does a quick estimate help catch?
- Typing mistakes only
- Colour problems
- Slow replies
- Wild errors in the answer
A rough estimate shows when an answer is far from what it should be.
What does extended thinking give Claude?
- More time to break down and plan a problem
- Perfect accuracy
- A calculator guarantee
- Free usage
It gives more time to plan, but Claude can still make mistakes, so check.
Summary
- Step-by-step working makes errors visible.
- One early slip spoils everything after it, so check each step.
- Estimate first, and let a calculator do the arithmetic.
- Thinking time helps with hard problems but does not guarantee correctness.
Questions
What is extended thinking?
In some versions, a mode where Claude spends more time breaking down and planning a problem before it answers, and you may be able to see its reasoning. It is not available everywhere and does not guarantee correct answers.
Should I always ask for steps?
For multi-step problems, yes. For simple questions, a direct answer is fine.
How do I know the final answer is right?
Check each step, estimate roughly, and try a second method. For important matters, use an expert source.
