SECTION 1
Historical Context & Motivation
Humans have always needed to solve problems, from finding food on the savanna to navigating complex social situations. But it wasn't until the twentieth century that psychologists began asking a deeper question: how do people actually think through a problem, and why do they sometimes arrive at the wrong answer even when they're trying hard? The study of problem-solving strategies grew out of this curiosity, drawing on mathematics, philosophy, and early experiments in cognitive psychology.
Two broad categories of strategies emerged from decades of research: algorithms, which guarantee a correct answer if followed properly, and heuristics, which are mental shortcuts that trade some accuracy for speed. Understanding the difference between these two approaches helps explain everything from how a GPS calculates your route to why people sometimes fall for misleading advertisements.
1945 • Polya's Problem-Solving Framework
1956 • Newell & Simon's Logic Theorist
1972 • Tversky & Kahneman's Heuristics Research
2002 • Kahneman Wins Nobel Prize
2011 • Thinking, Fast and Slow
The central question that connects all of this research is straightforward: when should you take the time to follow a careful, step-by-step procedure, and when is it smarter to rely on a quick mental shortcut? As you'll see, the answer depends on the situation — and understanding the tradeoff between accuracy and efficiency is at the heart of cognitive psychology.
SECTION 2
Core Principles & Definitions
Before diving deeper, you need a clear understanding of the two main categories of problem-solving strategies. Think of them as opposite ends of a spectrum: on one end, you have a strategy that is slow but reliable, and on the other end, you have a strategy that is fast but occasionally wrong. Most real-world thinking involves some mix of both.
Algorithm
Heuristic
Accuracy vs. Efficiency Tradeoff
Cognitive Bias
Problem Space
KEY TAKEAWAY
SECTION 3
Visual Explanation — The Accuracy–Efficiency Spectrum
The diagram below illustrates the fundamental tradeoff between algorithms and heuristics. On the left, you see the algorithmic approach: it explores every possible path to guarantee accuracy, but at a high cost in time and mental effort. On the right, the heuristic approach takes a shortcut by following a rule of thumb, arriving at an answer quickly but accepting the risk of error.
Notice how the two strategy types occupy different regions. An algorithm sits high on accuracy but low on speed, while a heuristic sits high on speed but may sacrifice accuracy. In your daily life, you switch between these approaches constantly — sometimes without even realizing it. When you do mental math to calculate a 20% tip, you're using an algorithm. When you round the bill to make that calculation easier, you've switched to a heuristic.
SECTION 4
How Algorithms and Heuristics Work in the Mind
To understand how these strategies operate, it helps to think about the concept of a problem space. A problem space includes three things: your starting state (where you are now), your goal state (where you want to be), and all the possible actions you can take to get there. An algorithm exhaustively searches through this space, while a heuristic uses clues to skip ahead to the most promising areas.
How Algorithms Search the Problem Space
Consider a simple example: a three-digit combination lock with digits 0 through 9. An algorithmic approach would try every possible combination — 000, 001, 002, all the way to 999. That's 1,000 possible combinations. This method is guaranteed to work, but it could take a very long time. The total number of attempts can be expressed as:
TOTAL COMBINATIONS
Where n = number of options per position (10 digits) and d = number of positions (3 digits). As the number of positions increases, the total possibilities grow exponentially.
How Heuristics Narrow the Search
Now imagine you know the lock's owner likes to use birthdays as combinations. A heuristic approach might try only combinations that correspond to months and days — like 112 for January 12, or 725 for July 25. This dramatically reduces the search space. You might check only 30 or 40 combinations instead of 1,000. You'll be much faster, but if the owner didn't use a birthday, you'll fail to find the answer.
Common Heuristics in Psychology
- Availability heuristic — Judging the likelihood of an event based on how easily examples come to mind. If you've recently seen news about a plane crash, you might overestimate the danger of flying.
- Representativeness heuristic — Judging the probability of something based on how well it matches a mental prototype. You might assume a quiet person who loves books is more likely to be a librarian than a salesperson.
- Anchoring heuristic — Relying too heavily on the first piece of information you encounter. If a shirt is marked down from $100 to $50, it feels like a bargain — even if the shirt is only worth $30.
- Working backward — Starting from the desired goal and figuring out the steps needed to get there, which can be either algorithmic or heuristic depending on how exhaustively you search.
Think About It
SECTION 5
Types of Strategies with Real-World Examples
The diagram below presents a decision flowchart that mirrors how your brain selects a problem-solving strategy. When you face a new problem, you unconsciously evaluate factors like time pressure, the importance of getting it right, and how familiar the situation is. These factors push you toward either a careful algorithmic approach or a quick heuristic shortcut.
| Scenario | Strategy Used | Type | Why? |
|---|---|---|---|
| Solving a math equation step by step | Follow order of operations | Algorithm | Accuracy is required; there is one correct answer |
| Choosing the shortest checkout line at the grocery store | Pick the line with fewest carts | Heuristic | A quick decision is more important than a perfect one |
| A doctor diagnosing a rare disease | Run every relevant test systematically | Algorithm | A wrong diagnosis could be life-threatening |
| Deciding whether a stranger is friendly | Read facial expression and body language | Heuristic | Snap social judgments need to be fast, not perfect |
| A GPS calculating the fastest route | Evaluate all possible routes and compare times | Algorithm | Computers can handle exhaustive searches quickly |
Real-world examples of algorithmic and heuristic problem-solving
SECTION 6
Worked Example — Identifying and Comparing Strategies
Let's walk through a realistic scenario to see how both strategies apply to the same problem and compare their results.
Scenario: Finding a Lost Phone in Your House
- 1
Step 1 — Define the Problem
You realize your phone is missing somewhere in your house. The starting state is that you don't know where the phone is. The goal state is holding the phone in your hand. The problem space includes every room, drawer, couch cushion, and shelf in your home. - 2
Step 2 — Algorithmic Approach
You start at the front door and search every single area of the house systematically: front hall closet, living room left to right, under every cushion, kitchen counter, every drawer, and so on through every room. This is exhaustive and guarantees you'll find the phone.Result: Phone found in 45 minutes. 100% guaranteed to work. - 3
Step 3 — Heuristic Approach
Instead of searching the whole house, you use a mental shortcut: "Where do I usually leave my phone?" You check the three or four places where you most commonly set it down — the kitchen counter, your nightstand, the couch armrest, and your backpack.Result: Phone found in 3 minutes (if it's in one of those spots). But if you left it somewhere unusual, this strategy fails. - 4
Step 4 — Compare the Strategies
The algorithm took 45 minutes but was certain to succeed. The heuristic took only 3 minutes but carried risk. In practice, most people start with the heuristic and only switch to the algorithm if the shortcut doesn't work. This blended approach shows how our brains naturally optimize for efficiency first and accuracy second.Key Insight: Real problem solving often begins with heuristics and escalates to algorithms when shortcuts fail. - 5
Step 5 — Identify the Tradeoff
The tradeoff is clear: the algorithm offers high accuracy at the cost of time and effort, while the heuristic offers high efficiency at the cost of potential failure. Neither strategy is inherently better — the right choice depends on how important accuracy is in the given situation.
SECTION 7
Strengths, Limitations, and When Each Strategy Shines
Neither algorithms nor heuristics are universally superior. Each has specific strengths and weaknesses that make it better suited to certain types of problems. The table below summarizes the key differences across several dimensions that psychologists study.
| Dimension | Algorithm | Heuristic |
|---|---|---|
| Accuracy | Guaranteed correct if followed properly | Often correct but can lead to systematic errors |
| Speed | Slow, especially for complex problems | Fast, requires minimal time |
| Mental Effort | High — requires sustained focus and working memory | Low — often happens automatically |
| Best For | High-stakes, well-defined problems (math, medicine, programming) | Everyday decisions, time-pressured situations, unfamiliar problems |
| Risk | May be impractical when the problem space is too large | Can produce cognitive biases and incorrect conclusions |
| Example of Failure | Trying every possible chess move would take millions of years | Assuming a plane is dangerous because you saw a crash on the news |
Comparison of algorithms and heuristics across key dimensions
KEY TAKEAWAY
A crucial point is that heuristics are not "bad" thinking. They evolved because they work well in most real-world situations. The problem arises when people rely on heuristics in situations that actually demand careful, algorithmic analysis — like making important financial decisions based on a gut feeling rather than running the numbers.
SECTION 8
Connecting to Dual-Process Theory and Beyond
The distinction between algorithms and heuristics connects directly to a major theory in modern psychology: dual-process theory. Popularized by Daniel Kahneman, this theory proposes that humans have two systems of thinking. System 1 is fast, automatic, and heuristic-based — it's what allows you to read facial expressions instantly. System 2 is slow, deliberate, and more algorithmic — it's what you engage when you solve a complex math problem. Understanding this framework helps you see that algorithms and heuristics are not just strategies you choose; they reflect fundamental features of how the human brain processes information.
| Feature | System 1 (Heuristic) | System 2 (Algorithmic) |
|---|---|---|
| Speed | Fast, automatic | Slow, effortful |
| Awareness | Operates below conscious awareness | Requires conscious attention |
| Capacity | Handles many tasks simultaneously | Can focus on only one demanding task at a time |
| Error Pattern | Prone to predictable cognitive biases | Errors from fatigue, distraction, or incomplete information |
| Advanced Study | Behavioral economics, social cognition, implicit bias | Artificial intelligence, formal logic, decision theory |
Dual-process theory maps onto the algorithm–heuristic distinction
As you advance in psychology — whether in an AP course or in college — you'll encounter these ideas in greater depth. The study of heuristics and biases connects to fields like behavioral economics, which examines how mental shortcuts influence financial decisions, and artificial intelligence, which uses algorithms modeled on human problem-solving. Understanding the basics now gives you a strong foundation for these more advanced explorations.
Looking Ahead
SECTION 9
Practice Problems
Question 1: CONCEPTUAL
Show answer
Question 2: BASIC CALCULATION
Show answer
Question 3: INTERMEDIATE
Show answer
Question 4: APPLIED
Show answer
Question 5: CRITICAL THINKING
Show answer
SUMMARY
Lesson Summary
Summary
This lesson explored two fundamental problem-solving strategies that shape how we think: algorithms and heuristics. An algorithm is a systematic, step-by-step procedure that guarantees a correct answer when followed properly, but it demands significant time and mental effort. A heuristic is a mental shortcut that provides fast, efficient answers but carries the risk of cognitive biases — systematic errors in judgment like the availability heuristic, the representativeness heuristic, and the anchoring heuristic.
The core insight is the accuracy–efficiency tradeoff: algorithms maximize accuracy while heuristics maximize speed. This distinction maps onto dual-process theory, where System 1 handles fast, automatic, heuristic-driven thinking and System 2 handles slow, deliberate, algorithmic reasoning. Neither strategy is inherently superior — effective thinkers learn to recognize which approach fits the situation, applying careful algorithms for high-stakes decisions and efficient heuristics for everyday problem solving.