01 / 21

Problem-Solving
Strategies

Explore how algorithms and heuristics shape the way we solve problems: their trade-offs between accuracy and efficiency.

AP Psychology

What Is Problem Solving?

Problem solving is the cognitive process of moving from an initial state (where you are now) to a goal state (where you want to be). It involves identifying obstacles, generating possible solutions, and selecting the best path forward.

Two Core Strategies

Algorithm
A step-by-step procedure that guarantees a correct solution if followed properly. Methodical but can be slow.
Heuristic
A mental shortcut or "rule of thumb" that allows faster decisions but does not guarantee accuracy.

The Strategy Spectrum

Algorithm Slow 100% Accurate Heuristic Fast May Be Wrong ACCURACY vs. SPEED TRADE-OFF Following a recipe step by step Cooking by instinct with shortcuts

Most real-world problem solving falls somewhere along this spectrum. The best strategy depends on the situation.

Algorithms: Guaranteed Solutions

An algorithm is a logical, step-by-step procedure. If every step is followed correctly, the solution is guaranteed. Algorithms are systematic and exhaustive.

1
Define the problem: Identify what needs to be solved clearly.
2
List all possibilities: Systematically consider every option.
3
Test each option: Evaluate against the goal state.
4
Arrive at solution: The correct answer is found with certainty.

Heuristics: Mental Shortcuts

A heuristic is a cognitive shortcut that simplifies decision-making. It trades guaranteed accuracy for speed and efficiency. Psychologists have identified several common types:

Availability
Judging likelihood based on how easily examples come to mind.
Representativeness
Judging something by how closely it matches a prototype or stereotype.
Working Backward
Starting from the goal state and reasoning back to the start.

Algorithms vs. Heuristics

Feature Algorithm Heuristic
Speed Slow Fast
Accuracy Guaranteed Not Guaranteed
Effort Required High (exhaustive) Low (shortcut)
Risk of Error None (if followed correctly) Moderate to high
Best Used When Accuracy is critical Speed matters more

Choosing the Right Strategy

Face a Problem Is accuracy critical? YES NO Use an Algorithm Use a Heuristic Slow but certain Fast but risky

How to Apply This Knowledge

1
Identify the problem type: Is it well-defined (clear start and goal) or ill-defined (ambiguous)?
2
Assess the stakes: How important is getting the correct answer vs. getting any answer quickly?
3
Choose your strategy: Use an algorithm for high-stakes accuracy; use a heuristic when speed matters.
4
Evaluate the outcome: Did the strategy work? If using a heuristic, check for bias or error.

Example 1: Finding a Word

Scenario: You need to unscramble the letters O-C-T-A to form a word.

Algorithmic Approach
Try every possible arrangement: OCTA, OTCA, OCAT, OTAC, TACO, TOAC... until you find a real word. Guaranteed to work, but there are 24 possible arrangements.
Heuristic Approach
Recognize familiar letter clusters: "TA" often appears in words. Try TACO: that's a word. Solved in seconds, but you might miss less obvious words like COAT.

Example 2: Navigating a City

Algorithm: Try All Routes S E Tests every route Heuristic: Head Toward Goal S E Picks one good-enough route

Example 3: Medical Diagnosis

Scenario: A doctor must diagnose a patient with a sore throat, fever, and fatigue.

Algorithmic
Run every possible test (blood panel, throat culture, imaging, allergy tests). Expensive and slow, but rules out all possibilities.
Heuristic
Use the representativeness heuristic: these symptoms "look like" strep throat. Prescribe antibiotics. Fast, but could miss a rarer condition.

Common Heuristic Types

1
Availability Heuristic: Estimating probability based on how easily examples come to mind. After seeing news about plane crashes, you overestimate flying dangers.
2
Representativeness Heuristic: Judging likelihood by how much something resembles a typical case. "She loves books, so she must be a librarian."
3
Anchoring and Adjustment: Relying too heavily on the first piece of information you encounter. A high initial price makes a discount seem bigger.
4
Working Backward: Starting from the desired outcome and tracing steps back to the current state. Useful in puzzles and planning.

When Shortcuts Go Wrong

Heuristics are efficient, but they can produce systematic errors called cognitive biases. These biases occur because shortcuts ignore important information.

Heuristic Thinking Confirmation Bias Seeking info that supports your belief Overconfidence Overestimating your judgment accuracy Base Rate Neglect Ignoring statistical probabilities Heuristics trade accuracy for speed: the cost is potential bias.

Common Mistakes

✕ Confusing the Two
Calling a heuristic an "algorithm" because it usually works. If it doesn't guarantee a solution, it's a heuristic.
✕ One Is Always Better
Thinking algorithms are always superior. In many real-world situations, heuristics are more practical and effective.
✕ Heuristics = Guessing
Heuristics are informed mental shortcuts based on experience and patterns, not random guessing.

Summary Comparison

Dimension Algorithm Heuristic
Definition Step-by-step procedure Mental shortcut
Guarantee Yes No
Speed Slow Fast
Cognitive Load High Low
Bias Risk Low High
Example Math formula Rule of thumb
Best For Critical decisions Quick judgments

Question 1 of 5

A student tries every possible letter combination to unscramble a word. Which problem-solving strategy is being used?

Question 2 of 5

After watching several news reports about shark attacks, Maria decides that swimming in the ocean is extremely dangerous. Which heuristic is Maria using?

Question 3 of 5

What is the main trade-off between using an algorithm and a heuristic?

Question 4 of 5

Tom meets someone who is quiet, wears glasses, and loves books. He immediately assumes this person is a librarian. Which heuristic is Tom using?

Question 5 of 5

A chef follows a precise recipe with exact measurements to bake a cake. An experienced baker estimates ingredients based on past experience. Which statement is most accurate?