PRE-ALGEBRA • FUNCTIONS

Function Rules — I can interpret and write function rules in words and in equation form at my level.

Learn how to describe patterns as rules in words and as equations so you can predict any output.

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
Ancient Babylonians carved number tables into clay tablets. They listed inputs and outputs side by side, like early function tables.
~300 BCE
Greek Relationships
Greek mathematicians like Euclid studied how one quantity depends on another, especially in geometry.
1637
Descartes Uses Variables
René Descartes introduced the idea of using letters like x and y to stand for numbers, making equations possible.
1748
Euler Defines Functions
Leonhard Euler created the notation f(x) that we still use today. He made functions a core part of math.

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.

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.

1

Input (x)

The number you start with. It is the value you choose or are given. We often call it x.
2

Rule (Operation)

The operation or set of steps you perform on the input. Examples: multiply by 3, add 5, or both.
3

Output (y)

The result you get after applying the rule. We often call it y or f(x).
4

Words vs. Equation

You can describe a rule in words ("multiply the input by 2 and add 1") or as an equation (y = 2x + 1). Both say the same thing.
KEY TAKEAWAY
Think of a function rule like a recipe. If the recipe says "double the number of eggs and add one," then 3 eggs becomes 7 (3 × 2 + 1 = 7). The recipe is the rule, the eggs are the input, and the result is the output. An equation is just a shorter way to write the recipe.

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.

The input (5) enters at the top. The machine applies the rule y = 3x + 2, performing 3 × 5 + 2, and the output (17) comes out at the bottom.

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.

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
y = 2x + 5
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
y = x − 7
In words: "Subtract 7 from the input." If x = 10, then y = 10 − 7 = 3.
DIVISION RULE
y = x ÷ 4
In words: "Divide the input by 4." If x = 20, then y = 20 ÷ 4 = 5.
💡 Tip: Words → Equation
To turn words into an equation, look for clue words. "Times" or "multiply" means ×. "Plus" or "more than" means +. "Minus" or "less than" means −. "Divided by" means ÷. Replace "the input" with x and "the output" with y.

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?"

Function table for y = 3x + 2
x (Input)y (Output)What happened?
151 × 3 + 2 = 5 ✓
282 × 3 + 2 = 8 ✓
3113 × 3 + 2 = 11 ✓
4144 × 3 + 2 = 14 ✓

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.

Follow the three steps: find the constant change in y, use it as the multiplier, then figure out what to add or subtract. The rule for this table is y = 5x + 1.

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:

Babysitting pay table
Hours (x)Pay in $ (y)
112
219
326
433
Find the function rule in words and as an equation
1
Step 1 — Find the change in yLook 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 multiplierSince 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 numberTest 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 wordsIn 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 equationReplace 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 pairLet'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 ✓

Comparing Words and Equations

Both word rules and equation rules describe the same thing. So when should you use each one? Let's compare.

FeatureWord RuleEquation Rule
Example"Multiply the input by 4 and subtract 1"y = 4x − 1
Easy to understand?Yes — great for explaining to someone newTakes practice to read
Quick to write?No — can be longYes — very short
Easy to calculate with?Harder — you have to interpret wordsEasier — just substitute the number
Used in higher math?RarelyAlways
KEY TAKEAWAY
Word rules and equation rules are like giving directions in two ways. You could say "go two blocks north and turn right" (word rule) or you could show a map with arrows (equation rule). Both get you to the same place. Equations are like the map — compact and precise.

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 nowWhat it becomes in Algebra
y = 2x + 3f(x) = 2x + 3 (linear function)
Input-output tableOrdered pairs and graphing on a coordinate plane
"Multiply by 2 and add 3"Slope = 2, y-intercept = 3
Finding the rule from a tableFinding 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.

Practice Problems

PROBLEM 1CONCEPTUAL
A function rule says "add 9 to the input." What is the output when the input is 4? Write the rule as an equation.
PROBLEM 2BASIC CALCULATION
Given the equation y = 4x − 3, find the output when x = 6.
PROBLEM 3INTERMEDIATE
Look at this table: x = 2, y = 9; x = 3, y = 13; x = 4, y = 17; x = 5, y = 21. Write the function rule in words and as an equation.
PROBLEM 4APPLIED
A pizza shop charges a $5 delivery fee plus $8 for each pizza. Write the function rule in words and as an equation. How much would 7 pizzas cost with delivery?
PROBLEM 5CRITICAL THINKING
Two function rules are y = 3x + 10 and y = 5x + 2. For what input value do both rules give the same output? Show your reasoning.

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

Varsity Tutors • Pre-Algebra • Function Rules