Functions
A function is a mathematical relationship that assigns exactly one output value to each input value. Functions are typically written in the form f(x) = expression, where x represents the input and the expression shows how to calculate the output. For example, f(x) = 2x + 3 means multiply the input by 2 and add 3.
Why it matters
Functions model countless real-world relationships where one quantity depends on another. Temperature conversion formulas like F = 95C + 32 are functions that convert Celsius to Fahrenheit. Business profit models use functions to relate revenue to the number of items sold — if each item generates $15 profit, then P(x) = 15x represents total profit from x items. Population growth, medication dosage calculations, and compound interest formulas all rely on functions. In advanced mathematics, functions become the foundation for calculus, where students analyze rates of change and area under curves. The CCSS Grade 8 standards (CCSS.8.F) introduce function evaluation and comparison, preparing students for Algebra I function notation and eventually pre-calculus analysis of polynomial, rational, exponential, and logarithmic functions.
How to solve functions
Functions — Slope & Intercepts
- A function assigns exactly one output to each input.
- Slope = (y₂ − y₁) / (x₂ − x₁) for any two points.
- x-intercept: set y = 0 and solve for x.
- y-intercept: set x = 0 and solve for y.
Example: Line through (1, 3) and (3, 7): slope = (7−3)/(3−1) = 2.
Worked examples
If f(x) = x + 5, find f(3)
Answer: 8
- Substitute x = 3 → f(3) = 3 + 5 = 8 — Replace x with 3 in the expression.
If f(x) = 5x - 5, find f(3)
Answer: 10
- Substitute x = 3 → f(3) = 5 x 3 - 5 = 15 - 5 = 10 — Multiply first, then add or subtract.
If f(x) = x² + 5, find f(6)
Answer: 41
- Calculate x² → 6² = 36 — 6 times 6 equals 36.
- Add 5 → 36 + 5 = 41 — f(6) = 36 + 5 = 41.
Common mistakes
- Writing f(3) = x + 5 instead of f(3) = 3 + 5 = 8 when evaluating f(x) = x + 5, failing to substitute the input value for x.
- Computing f(4) = 2 × 4 + 3 = 8 + 3 = 11 as f(4) = 2 × 4 + 3 = 6 + 3 = 9, forgetting order of operations by adding before multiplying.
- Confusing function composition f(g(2)) by calculating f(2) and g(2) separately instead of first finding g(2) = 7, then computing f(7).