PSYCHOLOGY • LEARNING, COGNITION & MEMORY

Problem-Solving Strategies — I can explain how problem-solving strategies (algorithms vs heuristics) affect accuracy and efficiency at an introductory level.

Discover why your brain sometimes takes shortcuts and how those shortcuts shape the quality of your decisions.

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
Mathematician George Polya published How to Solve It, outlining systematic steps for tackling mathematical problems. His work laid the groundwork for formal thinking about algorithmic approaches.
1956
Newell & Simon's Logic Theorist
Allen Newell and Herbert Simon created one of the first artificial intelligence programs, demonstrating that problem solving could be modeled as a search through a space of possible solutions using rules and heuristics.
1972
Tversky & Kahneman's Heuristics Research
Amos Tversky and Daniel Kahneman published groundbreaking research showing that people rely on cognitive shortcuts — heuristics — that can lead to systematic errors called cognitive biases.
2002
Kahneman Wins Nobel Prize
Daniel Kahneman received the Nobel Prize in Economics for demonstrating how heuristic-based thinking influences real-world decision-making, bringing psychology into mainstream economic theory.
2011
Thinking, Fast and Slow
Kahneman published his influential book describing two systems of thought: System 1 (fast, heuristic-based) and System 2 (slow, deliberate, algorithmic), popularizing these ideas worldwide.

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.

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.

1

Algorithm

A step-by-step procedure that, if followed correctly, guarantees a correct solution. Examples include long division, following a recipe exactly, or trying every possible combination on a lock.
2

Heuristic

A mental shortcut or "rule of thumb" that allows you to solve problems quickly but does not guarantee accuracy. Examples include judging a book by its cover or estimating a tip by rounding.
3

Accuracy vs. Efficiency Tradeoff

Algorithms maximize accuracy at the cost of time and mental effort. Heuristics maximize efficiency but risk errors. Your brain constantly balances these two demands depending on the stakes involved.
4

Cognitive Bias

A systematic pattern of deviation from rational judgment that often results from relying on heuristics. Biases are not random mistakes — they are predictable errors that affect most people in similar ways.
5

Problem Space

The set of all possible states between the initial situation and the goal. Algorithms search through the entire problem space, while heuristics narrow the search to the most promising paths.
KEY TAKEAWAY
Think of algorithms and heuristics like two ways to find a friend in a crowded mall. The algorithm is walking through every single store in order until you find them — it's slow, but you're guaranteed to succeed. The heuristic is heading straight to their favorite store first — it's fast, but you might guess wrong. Your brain picks the strategy that best fits the situation: high-stakes medical diagnosis? Algorithm. Choosing where to eat lunch? Heuristic.

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.

The blue box on the left represents the algorithmic approach — slow but reliable. The violet box on the right shows the heuristic approach — fast but imperfect. The pink dashed curve between them represents the tradeoff every thinker navigates.

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.

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
Total = n^d = 10³ = 1,000
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
When you study for a test, do you reread every page of the textbook (algorithm) or focus on the sections you find hardest (heuristic)? Most students instinctively use a heuristic, which is why targeted review often beats rereading everything — but it can backfire if you misjudge which material will be tested.

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.

This flowchart shows how the brain selects a strategy. When accuracy is critical (medical decisions, math proofs), algorithmic thinking dominates. When speed matters more (everyday choices, social judgments), heuristics take over. Notice that most real thinking blends both approaches.
Real-world examples of algorithmic and heuristic problem-solving
ScenarioStrategy UsedTypeWhy?
Solving a math equation step by stepFollow order of operationsAlgorithmAccuracy is required; there is one correct answer
Choosing the shortest checkout line at the grocery storePick the line with fewest cartsHeuristicA quick decision is more important than a perfect one
A doctor diagnosing a rare diseaseRun every relevant test systematicallyAlgorithmA wrong diagnosis could be life-threatening
Deciding whether a stranger is friendlyRead facial expression and body languageHeuristicSnap social judgments need to be fast, not perfect
A GPS calculating the fastest routeEvaluate all possible routes and compare timesAlgorithmComputers can handle exhaustive searches quickly

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 ProblemYou 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 ApproachYou 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 ApproachInstead 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 StrategiesThe 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 TradeoffThe 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.

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.

Comparison of algorithms and heuristics across key dimensions
DimensionAlgorithmHeuristic
AccuracyGuaranteed correct if followed properlyOften correct but can lead to systematic errors
SpeedSlow, especially for complex problemsFast, requires minimal time
Mental EffortHigh — requires sustained focus and working memoryLow — often happens automatically
Best ForHigh-stakes, well-defined problems (math, medicine, programming)Everyday decisions, time-pressured situations, unfamiliar problems
RiskMay be impractical when the problem space is too largeCan produce cognitive biases and incorrect conclusions
Example of FailureTrying every possible chess move would take millions of yearsAssuming a plane is dangerous because you saw a crash on the news
KEY TAKEAWAY
Think of algorithms as a GPS that calculates every possible route before telling you the best one — it's accurate but takes processing power. Heuristics are like a local who says, "Just avoid the highway at rush hour" — it's usually good advice, but sometimes the highway is actually clear. The best thinkers know when to trust the GPS and when to trust the local.

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.

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.

Dual-process theory maps onto the algorithm–heuristic distinction
FeatureSystem 1 (Heuristic)System 2 (Algorithmic)
SpeedFast, automaticSlow, effortful
AwarenessOperates below conscious awarenessRequires conscious attention
CapacityHandles many tasks simultaneouslyCan focus on only one demanding task at a time
Error PatternProne to predictable cognitive biasesErrors from fatigue, distraction, or incomplete information
Advanced StudyBehavioral economics, social cognition, implicit biasArtificial intelligence, formal logic, decision theory

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
In AP Psychology, you'll study specific cognitive biases in more detail — like the confirmation bias, the framing effect, and the sunk-cost fallacy. Each of these is a predictable error that arises from heuristic thinking. Recognizing these biases in yourself is one of the most practical skills psychology can teach you.

Practice Problems

PROBLEM 1CONCEPTUAL
In your own words, explain the key difference between an algorithm and a heuristic. Why might your brain prefer one over the other in a given situation?
PROBLEM 2BASIC CALCULATION
A combination lock has 4 digits, each ranging from 0 to 9. How many total combinations exist? If you can try one combination every 5 seconds, approximately how long would the algorithmic approach (trying every combination) take?
PROBLEM 3INTERMEDIATE
Maria sees a news report about a shark attack at a beach and decides to cancel her family's beach vacation, even though the statistical probability of a shark attack is about 1 in 11.5 million. Which heuristic is Maria likely using, and how does it lead her to an inaccurate assessment of risk?
PROBLEM 4APPLIED
A high school student is studying for finals in five subjects. She has two days to prepare. Describe both an algorithmic and a heuristic approach to studying, and explain which would likely be more effective given her time constraint. Justify your answer using the accuracy–efficiency tradeoff.
PROBLEM 5CRITICAL THINKING
Some researchers argue that heuristics are not flaws in human reasoning but rather adaptive tools that evolution shaped because they work well in natural environments. Others argue that heuristics are a source of dangerous errors, especially in modern society. Evaluate both positions and develop your own argument about when heuristics are helpful and when they are harmful.

Lesson 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.

Varsity Tutors • Psychology • Problem-Solving Strategies