Functions & Graphs
From the MATH curriculum
TL;DR
Functions are like rules that take an input and give a single output, helping us model relationships between quantities. Graphs are visual maps of these relationships, showing us how a function behaves over different inputs. Together, they give us a powerful way to understand patterns and make predictions.
1. The Mental Model
Think of a function as a well-behaved machine: you put something in (the input), and it consistently gives you one specific thing out (the output). A graph is simply drawing a picture of all the possible input-output pairs this machine can produce.
2. The Core Material
At its heart, a function is a special kind of relationship where every input has exactly one output. We often use $f(x)$ notation, where 'f' is the function's name and 'x' is the input variable. For example, if $f(x) = x^2$, then an input of 3 gives an output of $3^2 = 9$.
What Makes a Relation a Function?
Not every relationship is a function. The key rule is the "one input, one output" principle. If you put 3 into a machine, it can't sometimes give you 9 and sometimes give you 10. For graphs, this means passing the Vertical Line Test: if any vertical line crosses the graph more than once, it's NOT a function.
graph TD
A["Input (x)"] --> B{"Function f(x)"}
B --> C["Output (y or f(x))"]
subgraph Function Rules
D{"Every 'x' has ONLY ONE 'y'"}
end
A --> D
Domain and Range
- Domain: This is the set of all possible inputs (x-values) that a function can accept. For most polynomial functions, the domain is all real numbers. But for things like fractions (can't divide by zero) or square roots (can't take the square root of a negative number in real numbers), the domain is restricted.
- Range: This is the set of all possible outputs (y-values) that a function can produce. The range often depends on the function's behavior and its domain.
Graphing Functions
A graph is a visual representation of a function on a coordinate plane. Each point $(x, y)$ on the graph corresponds to an input $x$ and its corresponding output $y = f(x)$.
Key Features to Look For on a Graph:
- Intercepts:
- x-intercepts: Where the graph crosses the x-axis (where $y=0$). These are the roots or zeros of the function.
- y-intercepts: Where the graph crosses the y-axis (where $x=0$). There can only be one y-intercept for a function.
- Increasing/Decreasing: Where the graph goes up (from left to right) or down.
- Local Maxima/Minima: Peaks and valleys on the graph.
- Asymptotes: Lines that the graph approaches but never quite touches, often seen with rational functions.
Types of Functions (and their common graphs)
- Linear Functions: $f(x) = mx + b$. Their graphs are straight lines. 'm' is the slope, 'b' is the y-intercept.
- Quadratic Functions: $f(x) = ax^2 + bx + c$. Their graphs are parabolas (U-shaped curves).
- Polynomial Functions: $f(x) = a_n x^n + ... + a_0$. More complex curves, but smooth and continuous.
- Rational Functions: $f(x) = \frac{P(x)}{Q(x)}$ (a fraction of two polynomials). Can have vertical and horizontal asymptotes.
- Exponential Functions: $f(x) = a^x$. Grow or decay very quickly.
3. Worked Example
Let's analyze the function $f(x) = x^2 - 4$.
- Is it a function? Yes, for every $x$ you put in, you'll get one specific $y$ out. (It passes the Vertical Line Test if you sketch it.)
- Domain: Since it's a polynomial, you can put any real number into it. Domain: All real numbers, or $(-\infty, \infty)$.
- Find the y-intercept: Set $x=0$.
$f(0) = (0)^2 - 4 = -4$.
So, the y-intercept is $(0, -4)$. - Find the x-intercepts (roots/zeros): Set $f(x)=0$.
$x^2 - 4 = 0$
$x^2 = 4$
$x = \pm\sqrt{4}$
$x = 2$ or $x = -2$.
So, the x-intercepts are $(2, 0)$ and $(-2, 0)$. - Graphing points:
Let's pick a few x-values and find their corresponding y-values:- If $x = -3$, $f(-3) = (-3)^2 - 4 = 9 - 4 = 5$. Point: $(-3, 5)$
- If $x = -1$, $f(-1) = (-1)^2 - 4 = 1 - 4 = -3$. Point: $(-1, -3)$
- If $x = 1$, $f(1) = (1)^2 - 4 = 1 - 4 = -3$. Point: $(1, -3)$
- If $x = 3$, $f(3) = (3)^2 - 4 = 9 - 4 = 5$. Point: $(3, 5)$
Plotting these points along with the intercepts, you'd see a parabola opening upwards, with its vertex (lowest point) at $(0, -4)$.
4. Key Takeaways
- A function gives exactly one output for every input.
- The Vertical Line Test helps visually identify functions from their graphs.
- Domain is all possible input values; range is all possible output values.
- Graphs are visual maps of function behavior, showing intercepts, increasing/decreasing intervals, and shape.
- Understanding basic function types (linear, quadratic) helps predict their general graph shape.
- Finding x-intercepts means finding where $f(x)=0$; finding the y-intercept means finding $f(0)$.
Common Mistakes to Avoid:
- Confusing "relation" with "function" – remember the one output rule!
- Assuming the domain is always all real numbers; check for division by zero or square roots of negatives.
- Mixing up x and y coordinates when plotting points or finding intercepts.
- Thinking "increasing" means the graph is getting steeper; it just means it's going up from left to right.
5. Now Try It
Consider the function $g(x) = -2x + 6$.
1. Is it a function? Why or why not?
2. What is its domain?
3. Find its y-intercept.
4. Find its x-intercept.
5. Sketch a simple graph of this function using just the intercepts.
Success looks like: You should be able to answer "yes" to question 1 with a brief reason, state the domain, correctly identify the coordinates of both intercepts, and draw a straight line passing through those two points.
Frequently asked about Functions & Graphs
Study this next
Get the full MATH curriculum
Clone the complete plan to your dashboard for unlimited AI-generated notes, practice quizzes, and a personalised revision schedule.
Save this course free