Asking for step-by-step reasoning
Course contents (19 lessons)
- Understanding the tool
- What a language model is, in plain words
- How ChatGPT works from a user's point of view
- Building a good prompt
- The anatomy of a good prompt
- Being specific: how to remove guesswork
- Showing examples: few-shot prompting
- Asking for step-by-step reasoning
- Controlling and improving answers
- Controlling length, tone and format
- Iterating: how to improve an answer with follow-ups
- Custom instructions and memory
- Working with files and images
- ChatGPT for real tasks
- Using ChatGPT for writing: emails, reports and rewrites
- Using ChatGPT for studying and learning
- Using ChatGPT for coding and technical work
- Using ChatGPT for data, spreadsheets and business tasks
- Prompt templates
- A library of reusable prompt templates
- Reliable and safe use
- Avoiding hallucinations and checking facts
- Privacy and safe use
- Workflows and final project
- Building repeatable workflows and custom assistants
- Final project: build your own prompt toolkit
Why steps help
A language model writes one piece of text at a time, and each piece builds on what came before. If the answer to a hard question has to appear in the first few words, the model has had no room to work. If it can write out the steps first, each step gives it something solid to build on. This is why "show your steps" often turns a wrong answer into a right one, especially for maths, logic puzzles, schedules and anything with several parts.
The same is true for people. Ask someone to give you a total of a restaurant bill in one second and they may be off. Let them write it down and they get it right.
The simplest form
A shop sells pens at 45 rupees each. I buy 14 pens and pay with a
1,000 rupee note. There is a 5% discount on the total.
How much change do I get? Work through it step by step before
giving the final answer.
Add one sentence at the end and you have used the technique. A good reply works out the total, applies the discount, subtracts from 1,000, and gives a number you can check by looking at each step. 14 times 45 is 630. Five percent of 630 is 31.5. The price after discount is 598.5, and the change is 401.5. Because every step is on the page, you can spot a wrong step instead of trusting a bare number.
Separate thinking from the answer
Often you want the reasoning for checking but a clean answer for use. Ask for both, in a fixed layout:
Decide whether I should rent or buy a used car for 18 months of work
commuting. My facts: I drive about 600 km a month, I can pay 15,000
upfront, I have no mechanic I trust.
Respond in this layout:
1. Assumptions you are making
2. Reasoning, step by step
3. Recommendation in two sentences
4. What would change your mind
The layout does three useful things. "Assumptions" shows you where the model filled gaps, so you can correct them. "Reasoning" is the working. "What would change your mind" is a good test of whether the advice is fragile. Once the assumptions look wrong, you can reply "Assumption 2 is wrong, the car costs more" and get a better answer.
Plan first, then do
For a big task, ask for a plan before the work. This catches a bad direction early, when it is cheap to fix.
I need to write a 1,500-word guide called "How to start running after 40".
First, give me an outline with section titles and one line on what each
section will say. Do not write the guide yet. I will approve or change
the outline first.
Compare that with asking for the whole guide in one go. If the structure is off, you wasted a long reply and now have to explain what to change. With an outline you edit six lines. Then you say, "Good, now write section 2 only", and keep control.
Ask it to check its own work
A second pass often finds mistakes that the first pass missed. The model can review text with a fresh look, particularly if you tell it what to look for.
Check your previous answer. Recalculate every number from scratch,
list any step where you are not sure, and tell me if the final
answer changes.
This does not guarantee correctness. The model can repeat the same wrong idea with confidence. But for arithmetic slips, missed conditions and inconsistent details, it catches a good share. For numbers that matter, always verify with a calculator or spreadsheet yourself too.
Compare options with a criteria table
For decisions, step-by-step often means "list the criteria first". Models do better when the way of judging is written down before the verdict.
I am choosing between three project management tools for a team of 6
freelancers. First list 5 criteria that matter for a small remote team.
Then, for each criterion, say what to look for when I test a tool.
Do not name specific products; I will do the testing myself.
This version asks for a method and not a verdict. It is useful when the model cannot know current product facts. You get a checklist you can apply with real trials, which is more reliable than a made-up ranking.
Which models and when
Some versions of ChatGPT are designed to think longer before replying and may do much of this reasoning without being asked. If your version does that, you may not need "think step by step" every time. It still helps to ask for the layout, assumptions and a check, because those are about what you want to see, not about whether the model reasons. Since this changes from version to version, test with one of your own problems and see how the reply looks.
The common mistake
Treating a neat chain of steps as proof. A reasoning chain that looks tidy can still contain a wrong step, and the model can write a convincing justification for a wrong answer. The steps are there for you to inspect. Read at least the ones that carry the numbers or the key decision. A second mistake is asking for a long reasoning when you only need the result, then having to scroll. Ask for "the answer first, then the working in a short list".
Try it yourself
- Give ChatGPT a small word problem about money or time. Ask once without steps and once with. Compare, and check both with a calculator.
- Use the four-part layout (assumptions, reasoning, recommendation, what would change your mind) for a real decision you are facing.
- For your next long writing task, ask for an outline first and edit it before asking for the text.
A shop sells pens at 45 rupees each. I buy 14 pens and pay with a
1,000 rupee note. There is a 5% discount on the total.
How much change do I get? Work through it step by step before
giving the final answer.
This course is free to read. Create a free account to enrol, save your progress and pick up where you left off.
Sign up free I already have an account