01 / 19

Constructing Functions
from Context

Learn to translate real-world situations into mathematical functions: identify variables, determine relationships, and write equations that model the world around you.

Math 1

What Is a Function?

A function is a rule that assigns exactly one output to each input. We write it as \( f(x) = \text{expression} \), where \( x \) is the independent variable (input) and \( f(x) \) is the dependent variable (output).

Why Build Functions from Context?

Predict
Functions let us forecast future values: how much money you will have, how far you will travel, or how a population grows.
Interpret
Equations reveal the rate of change and starting value hidden in a word problem, making patterns visible.
Communicate
A function is a universal language: scientists, engineers, and economists all use them to share precise relationships.

Key Vocabulary

1
Independent variable \( x \): The quantity you control or that changes on its own (time, number of items, distance).
2
Dependent variable \( y \) or \( f(x) \): The quantity that depends on \( x \) (cost, height, population).
3
Rate of change: How fast \( y \) changes per unit of \( x \). In a linear function this is the slope \( m \).
4
Initial value: The output when \( x = 0 \). In \( y = mx + b \), this is the \( y \)-intercept \( b \).

The Core Framework

IDENTIFY Variables DETERMINE Relationship Type EXTRACT Key Values WRITE The Function EXAMPLE: "A taxi charges $3 base fare plus $2.50 per mile."
\( x = \text{miles} \)
\( f(x) = \text{cost} \)
Linear (constant rate)
\( m = 2.50 \)
\( b = 3 \)
\( f(x) = 2.5x + 3 \)

Linear Functions: \( f(x) = mx + b \)

A relationship is linear when the quantity changes by a constant amount for every unit increase in \( x \). Look for phrases like "per," "each," "every," "constant rate."

x (miles) f(x) (cost $) 0 5 10 15 20 2 4 6 8
\( b=3 \)
+2 miles +$5
\( f(x) = 2.5x + 3 \)

Exponential Functions: \( f(x) = a \cdot b^x \)

A relationship is exponential when the quantity is multiplied by a constant factor for every unit increase. Look for phrases like "doubles," "triples," "percent increase/decrease," "growth factor."

\( a \) : Initial Value
The output when \( x = 0 \). This is the starting amount before any growth or decay.
\( b \) : Growth Factor
If \( b > 1 \), the function grows. If \( 0 < b < 1 \), it decays. A 15% increase means \( b = 1.15 \).

Linear vs. Exponential

Linear Exponential
General form \( f(x) = mx + b \) \( f(x) = a \cdot b^x \)
Change pattern Constant addition Constant multiplication
Key phrase "per," "each," "every" "doubles," "% increase"
Graph shape Straight line Curve (steepens or flattens)
Rate of change Constant slope \( m \) Changes: faster over time

Step-by-Step Method

1
Read carefully. Underline the two quantities. Ask: which depends on which?
2
Define variables. Let \( x \) = the independent quantity and \( f(x) \) = the dependent quantity. Include units.
3
Classify the relationship. Is the change constant (linear) or multiplicative (exponential)?
4
Extract values. For linear: find slope \( m \) and intercept \( b \). For exponential: find initial value \( a \) and growth factor \( b \).
5
Write and verify. Plug in a known data point to confirm your function produces the correct output.

Example 1: Phone Plan

1
Variables: \( t \) = number of texts, \( C(t) \) = monthly cost in dollars.
2
Relationship: "per text" signals a constant rate: linear.
3
Values: Slope \( m = 0.10 \) (cost per text). Intercept \( b = 25 \) (base fee).
4
Function: \( C(t) = 0.10t + 25 \).

Example 2: Bacteria Growth

1
Variables: \( h \) = hours, \( B(h) \) = number of bacteria.
2
Relationship: "triples" signals multiplication: exponential.
3
Values: Initial value \( a = 500 \). Growth factor \( b = 3 \).
4
Function: \( B(h) = 500 \cdot 3^h \).

Example 3: Car Depreciation

1
Variables: \( t \) = years, \( V(t) \) = car value in dollars.
2
Relationship: "loses 12%" = multiplied by a factor each year: exponential decay.
3
Values: Initial value \( a = 20{,}000 \). Decay factor \( b = 1 - 0.12 = 0.88 \).
4
Function: \( V(t) = 20{,}000 \cdot 0.88^t \).

Visualizing Growth vs. Decay

x (time) f(x) (value)
\(f(x)=8x+20\)
\(f(x)=20 \cdot (1.08)^x\)
\(f(x)=180 \cdot (0.9)^x\)

Common Mistakes

✕ Swapped Variables
Making time the dependent variable: "Let \( f(t) \) = years." Always ask: what depends on what?
✕ Wrong Decay Factor
Using the percent directly: "loses 20%" does NOT mean \( b = 0.20 \). It means \( b = 1 - 0.20 = \) 0.80.
✕ Linear for Multiplicative
Writing \( f(x) = 500 + 3x \) when the problem says "triples." Tripling is \( \times 3 \), not \( +3 \).

Summary Cheat Sheet

Feature Linear Exp. Growth Exp. Decay
Form \( mx + b \) \( a \cdot b^x \), \( b > 1 \) \( a \cdot b^x \), \( 0 < b < 1 \)
Signal words "per," "each" "doubles," "+%" "halves," "-%"
Change type Additive Multiplicative Multiplicative
Graph Straight line Curve up Curve down
Example \( $5 \) per mile Doubles yearly Loses \( 10\% \)/yr

Question 1 of 4

A gym charges a $40 enrollment fee and $30 per month. Which function models the total cost \( C \) after \( m \) months?

Question 2 of 4

A population of 200 rabbits doubles every year. Which function models the population \( P \) after \( t \) years?

Question 3 of 4

A laptop worth $1,200 depreciates by 15% per year. What is the decay factor \( b \)?

Question 4 of 4

A plumber charges $75 for a house call plus $50 per hour of labor. After working \( h \) hours, the bill is $275. How many hours did the plumber work?