SECTION 1
Where Did Function Rules Come From?
People have been noticing patterns in numbers for thousands of years. Ancient farmers tracked how many seeds they planted and how much food they harvested. Merchants figured out the cost of buying many items at the same price. These everyday problems all follow a hidden pattern — a function rule that connects an input to an output.
Over time, mathematicians created a shorthand way to write these patterns. Instead of describing every step in words, they used letters and symbols. This made it faster to communicate rules and solve problems.
~2000 BCE • Babylonian Tables
~300 BCE • Greek Relationships
1637 • Descartes Uses Variables
1748 • Euler Defines Functions
So here's the big question: how do you take a pattern you notice — like "every hour I earn $8 more" — and write it as a neat equation? That's exactly what this lesson is about.
SECTION 2
Core Principles of Function Rules
A function is a rule that takes each input and gives exactly one output. Think of it like a machine: you put a number in, the machine does something to it, and one number comes out. A function rule is the set of instructions that tells the machine what to do.
Input (x)
Rule (Operation)
Output (y)
Words vs. Equation
KEY TAKEAWAY
SECTION 3
The Function Machine
The diagram below shows a function machine. You drop an input number in at the top. The machine applies the rule. The output pops out at the bottom. Notice how the rule is written in both words and as an equation inside the machine.
Notice that the same rule is written two ways inside the machine. The word version says "multiply by 3, then add 2." The equation version says y = 3x + 2. They mean the exact same thing. The equation is just quicker to write.
SECTION 4
Writing Function Rules as Equations
When you write a function rule as an equation, you use letters to stand for numbers. The letter x represents the input and y represents the output. The equation tells you what to do to x to get y.
BASIC FUNCTION RULE
x = input value, y = output value. Multiply x by 2, then add 5.
Let's break down how to read this. The "2x" means "2 times x" (the multiplication sign is hidden — that's normal in algebra). The "+ 5" means you add 5 after multiplying. So if x = 4, you calculate 2 × 4 + 5 = 13. That means y = 13.
SUBTRACTION RULE
In words: "Subtract 7 from the input." If x = 10, then y = 10 − 7 = 3.
DIVISION RULE
In words: "Divide the input by 4." If x = 20, then y = 20 ÷ 4 = 5.
Tip: Words → Equation
SECTION 5
Finding Function Rules from Tables
Sometimes you're given a function table (a list of input-output pairs) and you need to figure out the rule. The trick is to look at what happens between each input and its output. Ask yourself: "What do I do to x to get y?"
| x (Input) | y (Output) | What happened? |
|---|---|---|
| 1 | 5 | 1 × 3 + 2 = 5 ✓ |
| 2 | 8 | 2 × 3 + 2 = 8 ✓ |
| 3 | 11 | 3 × 3 + 2 = 11 ✓ |
| 4 | 14 | 4 × 3 + 2 = 14 ✓ |
Function table for y = 3x + 2
Notice the output goes up by 3 each time the input goes up by 1. That tells us the rule involves multiplying by 3. But 3 × 1 = 3, not 5. We need to add 2 to get 5. So the rule is y = 3x + 2.
SECTION 6
Worked Example: From Table to Rule
Let's walk through a full example together. Suppose you babysit and earn money based on the number of hours you work. Here is your pay table:
| Hours (x) | Pay in $ (y) |
|---|---|
| 1 | 12 |
| 2 | 19 |
| 3 | 26 |
| 4 | 33 |
Babysitting pay table
Find the function rule in words and as an equation
- 1
Step 1 — Find the change in y
Look at how the output (pay) changes each time the input (hours) goes up by 1. From 12 to 19 is +7. From 19 to 26 is +7. From 26 to 33 is +7. The output increases by 7 each time.Constant change = 7 - 2
Step 2 — Identify the multiplier
Since y goes up by 7 for every 1 that x goes up, the multiplier is 7. So the rule starts with 7x.Multiplier = 7 - 3
Step 3 — Find the added or subtracted number
Test with x = 1: 7 × 1 = 7. But the table says y = 12 when x = 1. So we need to add something. 12 − 7 = 5. We add 5.Added amount = 5 - 4
Step 4 — Write the rule in words
In words: "Multiply the number of hours by 7 and add 5."Word rule: Multiply by 7 and add 5 - 5
Step 5 — Write the rule as an equation
Replace the words with symbols. "Multiply by 7" becomes 7x. "Add 5" becomes + 5. "The output" becomes y.y = 7x + 5 - 6
Step 6 — Check with another pair
Let's verify with x = 3: y = 7 × 3 + 5 = 21 + 5 = 26. The table says 26 when x = 3. ✓ It works!Confirmed: y = 7x + 5 ✓
SECTION 7
Comparing Words and Equations
Both word rules and equation rules describe the same thing. So when should you use each one? Let's compare.
| Feature | Word Rule | Equation Rule |
|---|---|---|
| Example | "Multiply the input by 4 and subtract 1" | y = 4x − 1 |
| Easy to understand? | Yes — great for explaining to someone new | Takes practice to read |
| Quick to write? | No — can be long | Yes — very short |
| Easy to calculate with? | Harder — you have to interpret words | Easier — just substitute the number |
| Used in higher math? | Rarely | Always |
KEY TAKEAWAY
SECTION 8
Connection to Algebra and Beyond
The function rules you are learning now are the building blocks for algebra. In Algebra 1, you will see these same rules written as f(x) instead of y. For example, y = 3x + 2 becomes f(x) = 3x + 2. It means exactly the same thing.
| What you learn now | What it becomes in Algebra |
|---|---|
| y = 2x + 3 | f(x) = 2x + 3 (linear function) |
| Input-output table | Ordered pairs and graphing on a coordinate plane |
| "Multiply by 2 and add 3" | Slope = 2, y-intercept = 3 |
| Finding the rule from a table | Finding the equation of a line from two points |
You'll also learn about rules that aren't straight-line patterns, like y = x² (a parabola). But every function — no matter how fancy — still follows the same idea: one input goes in, one output comes out.
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
A function rule is a set of instructions that takes an input (x) and produces exactly one output (y). You can write rules in words (like "multiply by 3 and add 2") or as an equation (like y = 3x + 2). Both forms describe the same pattern.
To find a rule from a function table, look at how the output changes when the input goes up by 1. That constant change is your multiplier. Then figure out what number is added or subtracted to match the table. Always check your rule by plugging in at least one pair to make sure it works.