Sub topic 3
Why Rewarded Behavior Tends to Repeat
This chapter assumes you know the habit loop from the earlier chapter (cue, response, reward) and that you have tried to start or keep a routine such as exercise, reading, or study. It explains the mechanism behind the "reward" step: why a behavior followed by a good outcome becomes more likely to happen again, and where that rule stops working.
The core idea: reinforcement
Reinforcement is a process in which a consequence that follows a behavior changes how likely that behavior is to occur again in the same situation. If the consequence makes the behavior more likely, the consequence is called a reinforcer. If a behavior is followed by nothing useful, or by something unpleasant, it tends to occur less often.
This idea comes from the study of learning in psychology, often called operant conditioning. The central observation is simple. Behavior is shaped by what happens right after it. You do not need to decide to repeat a rewarded action. The link between the situation, the action, and the outcome does much of the work on its own.
For habit building, this gives you a practical lever. You cannot easily force yourself to want to stretch every morning. But you can arrange for the stretch to be followed by something that feels good, and the pairing will do some of the persuading for you.
Positive and negative reinforcement
Reinforcement comes in two forms. Both make a behavior more likely. They differ in how.
| Type | What happens after the behavior | Example |
|---|---|---|
| Positive reinforcement | Something pleasant is added | You finish a 10-minute walk and enjoy a small fist pump and a good song |
| Negative reinforcement | Something unpleasant is removed | You tidy your desk and the nagging feeling of clutter goes away |
"Negative" here does not mean "bad". It means something is taken away. Do not confuse negative reinforcement with punishment. Punishment is a consequence that makes a behavior less likely. A habit built only on avoiding bad feelings tends to feel like a chore, so this tutorial focuses on positive reinforcement through celebration.
How the loop fits together
In the habit loop, the reward is what teaches the brain that the loop was worth running. Each time the cue, response, and reward occur together, the connection between cue and response gets a little stronger.
Notice that the strengthening happens to the link between the cue and the response. The reward is the teacher, not the goal. After many repetitions the link can be strong enough that you act with little effort, and the reward matters less. That state is what people usually mean when they say a habit "stuck".
What makes a consequence reinforcing
Not every pleasant thing works as a reinforcer. A consequence reinforces a behavior when it has these properties.
- It is actually rewarding to you. A reinforcer is defined by its effect, not by what it looks like. Praise that feels hollow, or a treat you do not care about, reinforces nothing.
- It follows the behavior closely. The next chapter covers timing in detail. For now, remember that a reward that arrives long after the action is hard for your brain to connect to it.
- It depends on the behavior. The reward should happen because you did the habit, not whether or not you did it.
- It is noticeable. You need to register it. A good feeling that you do not pay attention to is a weak reinforcer.
The role of prediction
Modern accounts of learning describe reinforcement partly in terms of prediction. Your brain keeps a running estimate of how good an outcome will be. When the actual outcome is better than expected, you get a learning signal that strengthens the behavior that led to it. When it matches expectations, the signal is small. When it is worse, the behavior weakens.
This has a practical consequence. A reward that is always identical can become expected, and an expected reward teaches less. It also explains why a small, surprising bit of delight can be more effective than a large, predictable prize. You do not need to build a complicated system around this. It is enough to know that a celebration that still feels good is doing more than one you perform on autopilot.
Reward schedules: continuous and intermittent
A reward schedule describes how often a behavior is followed by a reward.
- Continuous reinforcement means every occurrence is rewarded. It is the fastest way to establish a new behavior, because the connection is clear and consistent.
- Intermittent reinforcement means only some occurrences are rewarded, either on a fixed pattern or unpredictably. Behavior learned this way tends to resist fading, which is why slot machines and social media feeds are so hard to put down.
For a new habit, continuous reinforcement is the better starting point. Because your celebration is a small feeling you generate yourself, you can deliver it every single time at no cost. Later, once the habit is steady, you can let the celebration become lighter or less frequent without losing the behavior. We return to this in the chapter on reviewing and adjusting.
A worked example
Suppose you want to start a habit of writing one sentence in a journal after you pour your evening tea.
- Cue: you pour your evening tea.
- Response: you write one sentence in the journal.
- Reward: you close the journal, say "done" aloud, and take a slow, satisfied sip of tea.
On day one, the tea was already pleasant. The new element is the deliberate pairing: the good feeling now comes directly after the sentence. Over the next two weeks, the sequence repeats about 14 times. Each repetition reinforces the link between "pouring tea" and "reaching for the journal".
Compare two versions of what could follow the sentence.
| Version | What follows the sentence | Likely effect |
|---|---|---|
| A | You close the journal and immediately check your phone for unread messages | The journal is followed by something else, so the habit gets little reinforcement of its own |
| B | You close the journal, say "done", and enjoy the tea | The good feeling is tied to the act of writing |
Version B makes the habit itself the source of the reward. This is the point of celebrating: you are not waiting for a distant benefit like "I will be a better writer in a year". You are creating a nearby benefit that your brain can link to the action today.
Modeling reinforcement in code
You can see the effect of consistent reinforcement with a small simulation. This code models the strength of a cue-response link as a number between 0 and 1. Each time the habit is done and rewarded, the link moves a fraction of the way toward 1. Each day it is not done, it decays slightly.
def update_strength(strength: float, did_habit: bool, rewarded: bool,
learn_rate: float = 0.15, decay: float = 0.03) -> float:
"""Return the new link strength after one day."""
if did_habit and rewarded:
# Move a fraction of the remaining distance toward 1.0
strength += learn_rate * (1.0 - strength)
elif not did_habit:
# Unused links fade a little
strength -= decay * strength
return round(strength, 4)
def simulate(days: int, rewarded: bool) -> float:
strength = 0.1
for _ in range(days):
strength = update_strength(strength, did_habit=True, rewarded=rewarded)
return strength
print("With a reward: ", simulate(14, rewarded=True))
print("Without a reward:", simulate(14, rewarded=False))Running this prints a strength of about 0.8 with a reward after 14 days, and 0.1 without one. The model is deliberately crude. Real learning is noisier, and a person who does a habit without any reward can still build a link through repetition alone. But the shape of the curve is useful: early repetitions add the most, and gains slow as the link gets strong. This matches the experience that the first couple of weeks of a habit feel like the biggest change.
Edge cases and common errors
Reinforcement is a reliable principle, but it has limits. These are the errors that most often cause it to fail in practice.
Reinforcing the wrong thing
Your brain links the reward to whatever happened just before it. If you finish a workout, then scroll your phone, then feel good about the scrolling, the scrolling is what gets reinforced. Check what actually sits immediately before the good feeling.
Rewards that cancel the behavior
A reward can undo the point of the habit. Eating a large dessert after every run works against a fitness goal and may teach you that running exists to earn dessert. Choose a reward that is compatible with the habit's purpose. The chapter on when rewards backfire covers this in depth.
Rewarding the outcome instead of the action
Many people reward themselves only when a result arrives, such as a lost kilogram or a finished manuscript. Results are slow and partly outside your control, so the reinforcement is rare and delayed. Reward the action you control, such as "I did the 10 minutes", and you can reinforce it every time.
Expecting reinforcement to work without attention
If you perform the celebration while thinking about something else, the feeling is weak. A two-second pause where you notice that you did the thing is enough, but the pause has to happen.
Treating reinforcement as the only factor
Reinforcement explains why behavior repeats, but habits also depend on a clear cue, a task small enough to do on a bad day, and a setting that makes the action easy. A strong reward cannot rescue a habit whose cue is vague or whose action is too large. Treat reinforcement as one part of the design, working with the other parts covered in this tutorial.
Putting it to use
You can apply this chapter's model with a short checklist before you start a habit.
- Name the exact action you control, not the result you want.
- Name the cue that comes right before it.
- Decide what good feeling will follow the action, and make sure nothing else sits between the action and that feeling.
- Plan to deliver it every time at first.
- After two weeks, ask whether the behavior is becoming easier to start. If it is not, adjust the reward before blaming your willpower.
The next chapter looks at the second property in that list, timing, and shows why a few seconds can matter more than the size of the reward.
Exercise
You want to build a habit of doing five minutes of stretching after you brush your teeth at night. After stretching, you usually start a TV episode and enjoy it. After a few weeks, you notice you reach for the remote more eagerly but not for the stretching. Using the idea of reinforcement, explain what is likely happening and describe one change that would reinforce the stretching itself.
Show answer
The good feeling is arriving with the TV episode, so the link being strengthened is between the evening routine and watching TV, not stretching. The stretching sits as a delay before the real reward. To reinforce the stretching, put a short reward directly after it, before the TV starts. For example, finish the last stretch, say "done", take one slow breath, and notice the good feeling for a couple of seconds. Then start the episode. This ties a positive feeling to the action you want to repeat, delivered every time, while the TV remains a separate activity.
Exercise
In the simulation code, what does the line strength += learn_rate * (1.0 - strength) imply about how much each reinforced repetition adds as the habit gets stronger, and how does that compare with real habit building?
Show answer
Each repetition adds a fixed fraction of the remaining distance to 1.0, so the gain shrinks as strength rises. Early repetitions add the most and later ones add less. This matches the common experience that a new habit changes quickly at first and then levels off. The model is a simplification, since real learning varies from day to day and is affected by many other factors.