Isolating the Fault: Half-Splitting and One Change at a Time
Find faults faster by splitting the problem in half, changing one variable at a time, swapping known-good parts and reading the clues in logs.
Welcome back!
Step 1 of 11Learn
Twenty questions for computers
In the game Twenty Questions, a smart player never asks "Is it a toaster?" first. They ask "Is it alive?" because the answer cuts the possibilities in half. Troubleshooting works the same way.
Imagine a user can't reach a website. The path from their keyboard to the web server has many links: their browser, the computer's network settings, the cable or Wi-Fi, the office switch, the router, the internet connection, DNS, and the website itself. You could check each one in order. Or you could ask one question in the middle: "Can the user reach any other website?"
If yes, the computer, the local network and the internet connection are fine; the problem is near the far end (that site, or its name lookup). If no, the problem is closer to the user. One test just removed half of the possibilities.
This technique is called half-splitting or divide and conquer. Each test should split the remaining suspects roughly in half. With eight possible causes, at most three well-chosen tests find the culprit (8 → 4 → 2 → 1).
Step 2 of 11Try the calculator
How many tests does half-splitting need?
Each well-chosen test halves the suspects, so the worst case is the number of halvings needed to get to one: log₂(n), rounded up. Compare it with checking suspects one by one.
- Worst-case tests with half-splitting
- 4 tests
- Worst-case checks one by one
- 15 checks
Step 3 of 11Practice · Work it out
A chain of 32 network devices connects a branch office to headquarters, and one of them is failing. Using half-splitting, what is the maximum number of tests needed to find it?
Step 4 of 11Practice · Chart
Worst-case tests: one by one vs half-splitting
Tap the point where half-splitting needs only 8 tests.
Tap the point that answers the question, then press Check.
| Number of suspects | One by one | Half-splitting |
|---|---|---|
| 8 | 8 | 3 |
| 16 | 16 | 4 |
| 32 | 32 | 5 |
| 64 | 64 | 6 |
| 128 | 128 | 7 |
| 256 | 256 | 8 |
Step 5 of 11Learn
Change one thing at a time
The second rule of isolation: change one variable, then test. If you replace the network cable, update the driver and restart the router all at once, and the problem disappears, you've learned nothing. You don't know which change fixed it, so you can't document the cause, and you may have introduced risk with changes that weren't needed.
A related rule: undo changes that didn't help. If swapping a setting made no difference, put it back before trying the next idea. Otherwise you end up with a machine in an unknown state, and a new problem caused by your own experiments.
A third tool is the known-good swap. Replace a suspect part with one you know works: a different cable, a different power adapter, a spare keyboard, a different user profile. If the problem moves with the part, the part is bad. If the problem stays, look elsewhere. You can also move the suspect part to a working machine: if a USB drive fails on three computers, the drive is the problem.
These habits feel slower than changing everything at once. In practice they're faster, because you never have to guess what you did.
Step 6 of 11Practice · Choose one
A user's headset crackles. You replace the headset, update the audio driver and plug into a different USB port all at once, and the crackling stops. What is the main problem with this approach?
Step 7 of 11Learn
Clues the computer leaves behind
Users are one source of evidence. The system itself is another.
- Error messages and codes. Copy them exactly and search your knowledge base and the vendor's documentation. A code like 0x80070005 or "Error 403" tells you the category of failure.
- Event logs. Windows Event Viewer records application, system and security events with timestamps. macOS has the Console app; Linux keeps logs through journalctl and files under /var/log. Look for errors near the time the problem started.
- Recent changes. Update history, newly installed software, policy changes, a password change. Matching the timeline of a change to the timeline of a problem is one of the strongest clues you'll get.
- Resource monitors. Task Manager (Ctrl+Shift+Esc) on Windows or Activity Monitor on macOS shows which program is using the CPU, memory, disk or network.
A useful mental habit: correlation first, then test. If a problem started the morning after an update, the update is a strong suspect. But it's still a theory. Test it, for example by checking whether the problem affects machines that didn't get the update.
Step 8 of 11Tap to reveal
Isolation techniques at a glance
Is it just you?
Check whether other users, devices or locations have the same symptom. One user points to their device or account; many users point to shared infrastructure.
Different user, same device
Log in as a test user. If the problem disappears, it lives in the user profile or account settings, not the hardware.
Same user, different device
Have the user sign in on another machine or through a web version. If the problem follows them, look at the account, permissions or cloud service.
Safe mode or clean boot
Start the system with minimal drivers and startup programs. If the issue vanishes, a driver or startup app is the likely cause.
Known-good swap
Replace one component with one you know works. If the symptom moves with the component, you've found it.
Step 9 of 11Practice · Match the pairs
Match each observation to the area it points to.
Tap an answer, then tap the place where it belongs (or drag it there).
- Problem appears for every user on one laptop, but not on others
- Problem follows the user to any computer they sign in on
- Problem disappears in safe mode
- Everyone in the building loses internet at once
Step 10 of 11Note
Step 11 of 11Practice · What would you do?
What would you do?
A user reports that Excel crashes when opening one specific workbook. Other workbooks open fine, and a colleague can open the same file without problems on their computer. What does this tell you?
Lesson complete!