01 / 20

Functions
Linear & Quadratic

Learn to interpret and evaluate functions like \( f(x) = 2x + 3 \) and \( f(x) = x^2 - 4 \).

GED Math

What Is a Function?

A function is a rule that takes an input and gives exactly one output. We write functions using notation like \( f(x) \), read as "f of x."

\( \text{Input } x \)
RULE
\( f(x) \)
\( \text{Output } y \)

Reading Function Notation

In the function \( f(x) = 2x + 3 \), the letter \( x \) is the input variable. To evaluate, we replace \( x \) with a number.

1
The name: \( f \) is the function's name (could also be \( g \) or \( h \)).
2
The input: \( x \) inside the parentheses is what you put in.
3
The rule: \( 2x + 3 \) tells you what to do with the input.

Why Functions Matter

Real Life
Cost, distance, and time all depend on an input — functions model these relationships.
Prediction
Plug in a value to predict an output, like total pay for hours worked.
Patterns
Functions reveal patterns in tables, graphs, and equations.

Linear Functions

A linear function has the form \( f(x) = mx + b \). Its graph is a straight line. Here \( m \) is the slope and \( b \) is the y-intercept.

\( x \)
\( y \)
\( b = 3 \)
\( f(x) = 2x + 3 \)

Quadratic Functions

A quadratic function has the form \( f(x) = ax^2 + bx + c \). Its graph is a U-shaped curve called a parabola.

\( x \)
\( y \)
vertex
\( f(x) = x^2 - 4 \)

The Rule for Evaluating

Example with \( f(x) = 3x - 5 \):

1
Write it: \( f(4) = 3(4) - 5 \)
2
Multiply: \( f(4) = 12 - 5 \)
3
Subtract: \( f(4) = 7 \)

Linear vs. Quadratic

Linear Quadratic
Form\( mx + b \)\( ax^2 + bx + c \)
Highest power\( x^1 \)\( x^2 \)
Graph shapeStraight lineParabola (U)
Example\( 2x + 3 \)\( x^2 - 4 \)

How to Evaluate Any Function

1
Identify the input. Find the number inside the parentheses, like the 4 in \( f(4) \).
2
Substitute. Replace every \( x \) in the rule with that number. Use parentheses!
3
Exponents first. If there is an \( x^2 \), square the number before multiplying.
4
Finish with order of operations. Multiply, then add or subtract.

Worked Example: Linear

Given \( f(x) = 4x - 7 \), find \( f(3) \).

1
Substitute: \( f(3) = 4(3) - 7 \)
2
Multiply: \( f(3) = 12 - 7 \)
3
Subtract: \( f(3) = 5 \)

Worked Example: Quadratic

Given \( f(x) = x^2 + 2x - 1 \), find \( f(3) \).

1
Substitute: \( f(3) = (3)^2 + 2(3) - 1 \)
2
Exponent first: \( f(3) = 9 + 2(3) - 1 \)
3
Multiply: \( f(3) = 9 + 6 - 1 \)
4
Add and subtract: \( f(3) = 14 \)

Worked Example: Negative Input

Given \( f(x) = x^2 - 5 \), find \( f(-2) \). Watch the negative sign carefully!

1
Substitute with parentheses: \( f(-2) = (-2)^2 - 5 \)
2
Square: \( (-2)^2 = 4 \), so \( f(-2) = 4 - 5 \)
3
Subtract: \( f(-2) = -1 \)

Common Mistakes

✕ Forgetting parentheses
Writing \( -2^2 = -4 \) instead of \( (-2)^2 = 4 \). Always wrap the input in parentheses.
✕ Wrong order
Doing \( x^2 \) after adding. Always handle exponents before multiplying or adding.
✕ Confusing slope & intercept
In \( mx + b \), \( m \) is the slope and \( b \) is the y-intercept — don't swap them.

Summary

Concept Key Idea
FunctionOne input → one output
EvaluateSubstitute & simplify
Linear\( mx + b \), straight line
Quadratic\( ax^2 + bx + c \), parabola
NegativesUse parentheses: \( (-2)^2 = 4 \)

Question 1 of 5

If \( f(x) = 2x + 5 \), what is \( f(4) \)?

Question 2 of 5

If \( f(x) = x^2 - 3 \), what is \( f(5) \)?

Question 3 of 5

Which of these is a quadratic function?

Question 4 of 5

If \( f(x) = x^2 + x \), what is \( f(-3) \)?

Question 5 of 5

In the linear function \( f(x) = 3x + 8 \), what is the y-intercept?

Great Work!

You can now interpret and evaluate linear and quadratic functions. Keep practicing: substitute, then simplify, and always mind your parentheses!