The 5 Whys Methodology

The 5 Whys is a root cause analysis technique developed by Sakichi Toyoda, founder of Toyota. D5WAI enhances this classic method with Artificial Intelligence.

What Is It?

The technique is simple but powerful: when facing a problem, ask "Why?" repeatedly (typically 5 times) until you reach the root cause you can act upon.

Practical Example

Problem: The web server stopped responding.

LevelQuestionAnswer
1Why did it stop responding?The process ran out of memory
2Why did it run out of memory?A DB query consumed all memory
3Why did the query consume so much memory?It returned millions of records without pagination
4Why didn't it have pagination?It wasn't in the development requirements
5Why wasn't it in the requirements?No performance review was done during design

Root Cause: Lack of performance review process in the design phase.

Corrective Action: Implement a performance review checklist before development.

Why Exactly 5?

The number 5 is a guideline, not a strict rule:

  • Sometimes the root cause appears at the 3rd why.
  • Other times you need 7 or more levels.
  • What matters is reaching something actionable and systemic.

Signs of a Good Root Cause

✅ It's actionable: You can implement a concrete change. ✅ It's systemic: It prevents future occurrences. ✅ It doesn't blame people: It focuses on processes and systems. ✅ It's under your control: You can influence it.

Common Mistakes

1. Stopping too early

  • Bad: "The server crashed because the disk was full" (symptom)
  • Better: "There was no disk space monitoring" (systemic cause)

2. Branching too early

  • Explore the most probable branch first before diversifying.
  • Using too many branches can scatter the analysis.

3. Looking for culprits

  • Bad: "John didn't restart the server"
  • Better: "There's no documented restart procedure"

4. Vague answers

  • Bad: "Lack of communication"
  • Better: "No weekly sync meeting exists between teams"

When to Use 5 Whys

SituationAppropriateAlternatives
One-time incidents✅ Yes-
Recurring problems✅ Yes-
Security failures⚠️ PartialThreat analysis
Very complex problems⚠️ PartialIshikawa, FTA
Multi-cause problems⚠️ CombineIshikawa + 5 Whys

5 Whys in D5WAI

D5WAI facilitates this process:

  1. Root Node: Define the initial problem with the "+" button on the floating toolbar.
  2. Magic Wand: Use the ✨ icon on any node to have the AI suggest probable causes.
  3. Chatbot: Ask the AI for additional suggestions or validation (Plus or Pro plan).
  4. Action Plan: Add corrective action, responsible person, deadline, and status to cause nodes.

Additional Resources

The 5 Whys methodology is part of the Toyota Production System (TPS) and relates to:

D5WAI helps you combine these techniques in a visual and intelligent workflow.