Functions and Graph Reading
function, graph, domain, range, composition
1 Role
This page is the second step of the algebra-repair module.
It repairs one of the most common hidden weaknesses in later math:
- treating a function like only a formula
- forgetting domain and range
- reading a graph as a picture instead of as structured information
- getting lost when composition or inverse language appears
2 First-Pass Promise
Read this page after Expressions and Equations.
If you stop here, you should still understand:
- what a function is
- how domain and range differ
- how to read a graph as input-output information
- what composition means
- what inverse intuition is trying to reverse
3 Why It Matters
A large amount of later math assumes function language is automatic.
That shows up in:
- calculus when we ask how outputs change with inputs
- probability when densities or CDFs are treated as functions
- optimization when an objective is a map from parameters to loss
- machine learning when models are compositions of transformations
So if function language is shaky, later modules feel much more abstract than they actually are.
4 Prerequisite Recall
- Expressions and Equations already separated mathematical objects from claims about them
- a formula alone is not the whole function if the allowed inputs are not clear
- graph reading starts from coordinates, not from visual guessing
5 Intuition
A function is a rule that assigns each allowed input exactly one output.
That means a function is not just “something with an x in it.”
It includes:
- the allowed inputs
- the output rule
- the outputs that actually occur
The graph of a function is then a picture of all pairs
\[ (x, f(x)). \]
So a graph is not decoration. It is a geometric view of the same input-output structure.
This is why graph reading matters:
- increasing means outputs go up as inputs increase
- intercepts tell where special values occur
- domain restrictions tell where the graph even exists
- shape can suggest but not replace algebraic reasoning
6 Formal Core
Definition 1 (Definition: Function) A function from a set of inputs to outputs assigns each allowed input exactly one output.
We often write
\[ f(x) \]
for the output of the function at input \(x\).
The key point is:
one allowed input cannot have two different outputs
Definition 2 (Definition: Domain and Range) The domain of a function is the set of inputs where the rule is allowed.
The range is the set of outputs that actually occur.
These are different ideas:
- domain asks
what may go in? - range asks
what can come out?
Definition 3 (Definition: Composition) If the output of \(g\) is allowed as an input to \(f\), then the composition
\[ (f \circ g)(x) = f(g(x)) \]
means:
- apply \(g\) first
- feed that output into \(f\)
Composition is the function-language version of multi-step transformation.
Definition 4 (Definition: Inverse Intuition) If a function can be reversed, its inverse \(f^{-1}\) undoes the original mapping:
\[ f^{-1}(f(x)) = x. \]
Not every function has an inverse on its whole domain.
The central intuition is still useful:
an inverse tries to recover the input from the output
Theorem 1 (Theorem Idea: Vertical Line Test) A graph in the \(xy\)-plane represents a function of \(x\) exactly when no vertical line hits the graph more than once.
Why?
Because one input value \(x\) would otherwise produce two different outputs.
7 Worked Example
Let
\[ f(x) = \sqrt{x+1} \]
and
\[ g(x) = 2x - 3. \]
7.1 Step 1: Find the domain of \(f\)
Since the square root requires
\[ x+1 \ge 0, \]
the domain is
\[ x \ge -1. \]
7.2 Step 2: Describe the range of \(f\)
Because square roots are nonnegative,
\[ f(x) \ge 0. \]
So the range is
\[ [0,\infty). \]
7.3 Step 3: Compute a composition
Apply \(g\) after \(f\):
\[ (g \circ f)(x) = g(f(x)) = 2\sqrt{x+1} - 3. \]
The domain stays
\[ x \ge -1, \]
because that is what makes \(f(x)\) defined in the first place.
7.4 Step 4: Read the graph behavior qualitatively
From the formula alone we already know:
- the graph starts at \(x=-1\)
- the first output is \(f(-1)=0\)
- the curve stays on or above the \(x\)-axis
- the outputs increase as \(x\) increases
This is the right habit:
use formulas and graph language together, not as separate topics.
8 Computation Lens
For first-pass function work, the main habits are:
- write the domain before doing anything complicated
- treat the graph as a set of input-output points
- for composition, work inside-out
- for inverse intuition, ask whether outputs determine inputs uniquely
- when reading a graph, check intercepts, increasing/decreasing behavior, and where the graph is defined
This is one of the most useful repair pages because later modules often assume these habits silently.
9 Application Lens
Function and graph reading support almost every later mathematical page.
They show up in:
- calculus graphs and rate-of-change intuition
- probability density and distribution functions
- loss curves in optimization
- activation, transformation, and composition language in ML
- dynamical systems where state updates are maps
Once this page feels natural, later formulas look much less like symbol walls.
10 Stop Here For First Pass
If you can now explain:
- what makes a rule a function
- how domain and range differ
- what a graph of a function represents
- how composition works
- why inverse language depends on reversibility
then this page has done its job.
11 Go Deeper
The next page in this module is:
The strongest adjacent bridges are:
12 Optional Deeper Reading After First Pass
- OpenStax College Algebra 2e - open official text for function language, graphs, and composition. Checked
2026-04-25. - OpenStax Precalculus 2e - strong open official bridge from algebra repair into graph and function reasoning. Checked
2026-04-25. - Paul’s Notes Function intro - stable worked-example page for function notation, graphs, and basic interpretation. Checked
2026-04-25.
13 Sources and Further Reading
- OpenStax College Algebra 2e -
First pass- open official text for function notation, graphs, and domain/range basics. Checked2026-04-25. - OpenStax Precalculus 2e -
Second pass- open official bridge from algebra repair into fuller function and graph language. Checked2026-04-25. - Khan Academy Algebra basics -
First pass- official skill-based reinforcement for graph and function fluency. Checked2026-04-25. - Khan Academy Algebra 1 -
Second pass- broader official practice hub for graph reading and input-output thinking. Checked2026-04-25. - Paul’s Notes Algebra -
Second pass- stable reference for the surrounding algebra patterns needed by function work. Checked2026-04-25. - Paul’s Notes Function intro -
First pass- stable worked-example page on function notation and graph interpretation. Checked2026-04-25.
Sources checked online on 2026-04-25:
- OpenStax College Algebra 2e
- OpenStax Precalculus 2e
- Khan Academy Algebra basics
- Khan Academy Algebra 1
- Paul’s Notes Algebra
- Paul’s Notes Function intro