Advanced Reasoning Strategies / Reasoning Decomposition

Plan-and-Solve Prompting

Advanced [4/5]
PS prompting Planning-first reasoning

Definition

Plan-and-Solve prompting explicitly instructs the model to first devise a plan before solving a problem. This two-phase approach—planning then execution—helps the model organize its reasoning and reduces errors in complex multi-step tasks.

The technique improves upon basic chain-of-thought by adding explicit planning structure.

Key Concepts

  • Explicit planning: Model first outlines steps before solving
  • Two-phase structure: Separate planning and execution phases
  • Reduced errors: Planning helps catch logical mistakes early
  • Better organization: Clearer structure than free-form CoT

Examples

Basic Format
PS Prompt Template
Let's first understand the problem and devise a plan to solve it. Then, let's carry out the plan and solve the problem step by step. Problem: A store has 150 apples. They sell 40% on Monday, then receive a shipment of 30 apples on Tuesday. How many apples do they have now? Plan: 1. Calculate apples sold on Monday (40% of 150) 2. Subtract sold apples from initial amount 3. Add Tuesday's shipment 4. State final count Execution: Step 1: 40% of 150 = 60 apples sold Step 2: 150 - 60 = 90 apples remaining Step 3: 90 + 30 = 120 apples Step 4: The store has 120 apples.
Enhanced Version
PS+ with Variable Extraction
Let's first understand the problem, extract relevant variables and their values, and devise a plan. Then solve step by step. Problem: "Train A leaves at 9am going 60mph. Train B leaves the same station at 10am going 80mph in the same direction. When does Train B catch up?" Variables: - Train A: speed = 60mph, start = 9am - Train B: speed = 80mph, start = 10am - Head start: 1 hour = 60 miles Plan: 1. Calculate Train A's head start distance 2. Find relative speed (B gaining on A) 3. Calculate time for B to close the gap 4. Add to B's start time for answer Execution: Step 1: Train A travels 60 miles before B starts Step 2: Relative speed = 80 - 60 = 20 mph Step 3: Time to close gap = 60 / 20 = 3 hours Step 4: 10am + 3 hours = 1pm Train B catches up at 1pm.

Interactive Exercise

Create a Plan

Write a plan for solving this problem:

Problem: "A rectangular garden is 3 times as long as it is wide. If the perimeter is 64 meters, what is the area?"

Pro Tips
  • Always extract variables before planning
  • Keep plan steps atomic and verifiable
  • Use PS+ variant for math problems (adds variable extraction)
  • Review plan before execution to catch errors early

Related Terms