How to Graph Functions

How to Graph Functions
Algebra 1

How to Graph Functions

Graphing a function means turning a rule into a picture: feed in \(x\)-values, get \(y\)-values, plot the points, and connect them. Once you know the shape each family makes, a line, a parabola, a V, you can sketch fast. We’ll build that instinct with verified graphs, a worksheet maker, and flashcards a tap away.

Tutor-style math help

Graph Functions: what to notice and how to work it

Functions skill
A function is a rule that gives each input exactly one output. Function notation, tables, graphs, and equations are different ways to show the same input-output relationship.

What to notice first

Ask what kind of input you are given. Sometimes you substitute a number, sometimes you read a graph, and sometimes you combine two rules.

Common student mistake

Do not read \(f(4)\) as multiplication. It means the output of f when the input is 4.

Key formulas and cues

\(f(a)\text{ means replace }x\text{ with }a\)
\((f\circ g)(x)=f(g(x))\)
\(f^{-1}(x)\text{ reverses }f(x)\)
inputsoutputs-102137

A reliable path

  1. Identify the inputFind the x-value, expression, or inner function being used.
  2. Apply the ruleSubstitute with parentheses so signs and powers stay clear.
  3. Interpret the outputState the value, point, interval, domain, range, or inverse relationship.

Worked examples

Evaluate a function

Example: \(f(x)=4x-3\), find \(f(2)\)
  1. Replace x with 2.
  2. Compute 4(2) – 3.
  3. Simplify.
Answer: \(5\)

Compose functions

Example: \(f(x)=x+1\), \(g(x)=2x\), find \(f(g(3))\)
  1. Find g(3) = 6.
  2. Use that as the input for f.
  3. f(6) = 7.
Answer: \(7\)
Try one before moving on
Try: If \(h(x)=2x^2\), find \(h(-3)\).
Answer: \(18\). Use parentheses: \(2(-3)^2=18\).
Next step: do the matching worksheet or quiz while the method is still fresh, then come back and explain the first step in your own words.
Illustration of students learning How to Graph Functions

To graph a function, you turn its rule into a picture: choose some \(x\)-values, run them through the function to get \(y\)-values, plot those points, and connect them. The payoff is recognizing that each family of functions makes a predictable shape, a line, a parabola, a V, so before long you’ll sketch them without plotting a single point. Let’s build that eye.

The big idea

What Is the Graph of a Function?

The graph of a function is the set of all points \((x, y)\) where \(y = f(x)\). In plain terms: every input and its matching output, plotted together. A handy table of inputs and outputs is the bridge from the rule to the picture.

How to graph a function (3 steps):

  1. Make a table: pick a few \(x\)-values and compute \(y = f(x)\).
  2. Plot the \((x, y)\) points.
  3. Connect them with the shape that fits the family.

Know the Shape Each Family Makes

Degree 1

Linear → a line

\(f(x)=mx+b\). Straight, constant slope.

\(f(x)=2x+1\): a line through \((0,1)\).
Degree 2

Quadratic → a parabola

\(f(x)=ax^2+\dots\). A U-shaped curve.

\(f(x)=x^2-4\): a U with vertex \((0,-4)\).
Absolute value

\(|x|\) → a V

\(f(x)=|x|+\dots\). Two rays meeting at a point.

\(f(x)=|x|-2\): a V with its corner at \((0,-2)\). A shift inside the bars, like \(|x+1|\), moves the corner left to \((-1,0)\).
Tutor tip: The highest power tells you the shape: power 1 is a line, power 2 is a parabola. An absolute value bends into a V. Spot the family first, then you only need a few points to place it.
From a table to a line

Graphing \(f(x) = 2x + 1\)

Build a quick table: \(f(0)=1\), \(f(1)=3\), \(f(2)=5\). Plot \((0,1)\), \((1,3)\), \((2,5)\) and connect, a straight line, because it’s linear. Every input lands exactly on the line.

Get a graphing worksheet
f(x) = 2x + 1(0, 1)
A curved family

Graphing \(f(x) = x^2 – 4\)

Squaring bends the graph into a parabola. The lowest point (vertex) is \((0,-4)\), and it crosses the \(x\)-axis at \(-2\) and \(2\). Tabulating \(x=-2,-1,0,1,2\) gives \(y=0,-3,-4,-3,0\), notice the mirror symmetry around the vertex, your shortcut for plotting any parabola. (A negative leading coefficient would flip it to open downward.)

Review function forms
vertex (0, -4)
Find the vertex fast: for \(f(x)=ax^2+bx+c\), the axis of symmetry is \(x=-\tfrac{b}{2a}\); plug that \(x\) back in for the vertex’s \(y\). For \(f(x)=x^2-4\) there’s no \(x\)-term, so the axis is \(x=0\) and the vertex sits at \((0,-4)\).

Worked Examples

Spot the family, then place it, each function’s shape is graphed below.

Example A, Evaluate a linear function

For \(f(x)=2x+1\), find \(f(3)\).

  1. Substitute: \(f(3) = 2(3) + 1\).
  2. Simplify: \(7\).
  3. That’s the point \((3,7)\) on the line.

Answer: \(f(3)=7\) (line)

f(x) = 2x + 1(3, 7)

Example B, Evaluate a quadratic

For \(f(x)=x^2-4\), find \(f(-3)\).

  1. Substitute in parentheses: \((-3)^2 – 4\).
  2. Squaring a negative is positive: \(9 – 4\).
  3. \(5\), the point \((-3,5)\) on the parabola.

Answer: \(f(-3)=5\) (parabola)

vertex (0, -4)

Example C, Absolute value

For \(f(x)=|x|-2\), find \(f(-5)\) and \(f(0)\).

  1. \(f(-5) = |-5| – 2 = 5 – 2 = 3\).
  2. \(f(0) = 0 – 2 = -2\), the corner of the V.
  3. The graph is a V with vertex \((0,-2)\).

Answer: 3 and −2 (V-shape)

vertex (0, -2)

Example D, Read the family

What shape does \(f(x)=x^2+1\) make?

  1. The highest power is 2.
  2. Power 2 means a parabola, a U opening up.
  3. The \(+1\) lifts the vertex to \((0,1)\).

Answer: parabola, vertex \((0,1)\)

vertex (0, 1)

Graphs in the Wild

Function graphs are how we see behavior. A linear graph shows steady change, like distance on a steady drive. A parabola shows something that rises then falls, like a ball’s height or a profit that peaks. A V-shaped absolute-value graph shows distance from a target, zero at the target, growing either way. Recognizing the shape tells you the story at a glance, before you compute anything.

Slip-Ups That Cost Easy Points

  • Mishandling negatives in \(f(x)\). \((-3)^2 = 9\), not \(-9\). Substitute carefully and use parentheses.
  • Connecting a parabola with straight segments. A quadratic curves smoothly, plot enough points near the vertex to show the bend.
  • Too few points. Two points define a line, but a parabola or V needs several (including the turning point) to graph honestly.
  • Forgetting the family’s shape. Identify the highest power first; it tells you whether to expect a line, a parabola, or something else before you plot.

Your Turn: Evaluate, Then Picture It

Evaluate each function, and name the shape its graph makes. Reveal to check.

  1. \(f(x)=3x-2\); find \(f(4)\)
  2. \(f(x)=x^2+1\); find \(f(-2)\)
  3. \(f(x)=|x+1|\); find \(f(-4)\)
  4. \(f(x)=-2x+5\); find \(f(3)\)
Show answers
  1. \(\color{blue}{f(4)=10 \text{ (line)}}\)
  2. \(\color{blue}{f(-2)=5 \text{ (parabola)}}\)
  3. \(\color{blue}{f(-4)=3 \text{ (V-shape)}}\)
  4. \(\color{blue}{f(3)=-1 \text{ (line)}}\)
Keep practicing

Make Your Own Function-Graphing Worksheet

Generate fresh functions to evaluate and graph, with a full answer key, print or save as a PDF.

New problems every click, never the same sheet twice
Step-by-step answer key so you can self-check

Frequently Asked Questions

How do you graph functions step by step?

Choose a few x-values, find the matching y-values with the rule, plot each (x, y) point, and connect them with the shape that fits the function. For f(x) = 2x + 1, the points (0, 1), (1, 3) and (2, 5) lie on a straight line. Include a negative x-value as well so you see the whole picture.

How do you graph functions written as f(x)?

Treat f(x) as the y-value. Pick an input, substitute it for x using parentheses, and the output is the height of the point. If f(x) = x² − 1, then f(−2) = 3, f(0) = −1 and f(2) = 3, so plot (−2, 3), (0, −1) and (2, 3). Remember f(4) is not f times 4; it is the output when x = 4.

What is graphing linear functions?

Graphing a linear function means drawing the straight line for a rule like y = mx + b. Start at the y-intercept b on the y-axis, then use the slope m as rise over run to find more points. For y = −3x + 4, start at (0, 4) and go down 3 and right 1 to reach (1, 1).

What is graphing quadratic functions?

Graphing a quadratic function means drawing the U-shaped curve called a parabola for a rule with x². For y = x², the vertex is (0, 0), and the points (1, 1), (−1, 1), (2, 4) and (−2, 4) are mirror images across the y-axis. If the x² term is negative, the parabola opens downward.

How do you graph functions with absolute value?

An absolute value function makes a V shape. Find the vertex first, then plot points on each side. For y = |x − 2| + 1, the vertex is at (2, 1). Moving 1 unit left or right raises the graph 1 unit, giving (1, 2) and (3, 2). A negative sign in front, such as y = −|x|, flips the V upside down.

How do you graph functions with transformations?

Start with the graph of the parent function and move it. Adding k outside, as in f(x) + k, shifts the graph up k units. Replacing x with x − h shifts it right h units. Putting a negative sign in front, −f(x), reflects it over the x-axis. So y = (x − 3)² is the parabola y = x² moved 3 units right.

Related Topics

Continue Your Study

Ready for the next step? Pick up right where this lesson leaves off:

Related to This Article

What people say about "How to Graph Functions"?

No one replied yet.

Leave a Reply