Function Notation Examples in Math

Start with the recap, study the fully worked examples, then use the practice problems to check your understanding of Function Notation.

This page combines explanation, solved examples, and follow-up practice so you can move from recognition to confident problem-solving in Math.

Concept Recap

Function notation f(x)f(x) is a shorthand that names a function (ff) and specifies its input (xx). Writing f(3)=10f(3) = 10 means that when the input is 3, the function produces the output 10. This notation is not multiplication.

The notation f(x)f(x) is not "ff times xx" โ€” it means "the output of function ff when the input is xx." The parentheses contain the input, not a multiplication.

Read the full concept explanation โ†’

How to Use These Examples

  • Read the first worked example with the solution open so the structure is clear.
  • Try the practice problems before revealing each solution.
  • Use the related concepts and background knowledge badges if you feel stuck.

What to Focus On

Core idea: f(x)f(x) names a machine ff and the input xx you feed it, returning the output.

Common stuck point: The procedure for function notation is the easy part; the trap is reading f(x)f(x) as ff times xx. Asking "Are the parentheses holding an input to a named function (not a multiplication)?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

Sense of Study hint: Ask: Are the parentheses holding an input to a named function (not a multiplication)?

Worked Examples

Example 1

easy
If f(x)=3x2โˆ’2x+1f(x) = 3x^2 - 2x + 1, find f(โˆ’2)f(-2).

Answer

f(โˆ’2)=17f(-2) = 17

First step

1
Replace every xx in the formula with โˆ’2-2: f(โˆ’2)=3(โˆ’2)2โˆ’2(โˆ’2)+1f(-2) = 3(-2)^2 - 2(-2) + 1.

Full solution

  1. 2
    Evaluate: f(โˆ’2)=3(4)+4+1=12+4+1f(-2) = 3(4) + 4 + 1 = 12 + 4 + 1.
  2. 3
    f(โˆ’2)=17f(-2) = 17.
Function notation f(x)f(x) names the function (ff) and its input variable (xx). To evaluate f(a)f(a), substitute aa for every occurrence of xx in the expression. Be careful with signs when substituting negative values โ€” use parentheses around the substituted value.

Example 2

medium
If g(x)=x2+3xg(x) = x^2 + 3x, find and simplify g(x+h)โˆ’g(x)h\frac{g(x+h) - g(x)}{h}.

Example 3

medium
If f(x)=5xโˆ’3f(x) = 5x - 3 and f(c)=22f(c) = 22, find cc.

Example 4

medium
If f(x)=x+1f(x) = \sqrt{x+1}, find the set of xx for which ff is defined.

Example 5

medium
If f(x)=2xโˆ’1f(x) = 2x - 1 and g(x)=3x+4g(x) = 3x + 4, find (f+g)(x)(f + g)(x) and (fg)(2)(fg)(2).

Example 6

hard
If f(x)=ax2+bx+cf(x) = ax^2 + bx + c and f(0)=4f(0) = 4, f(1)=9f(1) = 9, f(โˆ’1)=5f(-1) = 5, find aa, bb, cc.

Practice Problems

Try these problems on your own first, then open the solution to compare your method.

Example 1

medium
If f(x)=2xโˆ’1f(x) = 2x - 1 and g(x)=x2+3g(x) = x^2 + 3, find (fโˆ˜g)(x)(f \circ g)(x) and (gโˆ˜f)(x)(g \circ f)(x).

Example 2

hard
A function satisfies f(x+1)=2f(x)+3f(x+1) = 2f(x) + 3 for all xx, with f(0)=1f(0) = 1. Find f(1)f(1), f(2)f(2), and f(3)f(3).

Example 3

easy
If f(x)=2x+3f(x) = 2x + 3, find f(4)f(4).

Example 4

easy
If g(x)=x2โˆ’1g(x) = x^2 - 1, find g(3)g(3).

Example 5

easy
If f(x)=5f(x) = 5, find f(100)f(100).

Example 6

easy
If f(x)=2xf(x) = 2x, find f(โˆ’3)f(-3).

Example 7

easy
If f(x)=x+1f(x) = x + 1, find f(a)f(a).

Example 8

easy
If f(x)=x2f(x) = x^2, find f(0)f(0).

Example 9

easy
If h(t)=3tโˆ’2h(t) = 3t - 2, find h(2)h(2).

Example 10

easy
If f(x)=4xโˆ’1f(x) = 4x - 1 and f(c)=7f(c) = 7, find cc.

Example 11

medium
If f(x)=x2+2xf(x) = x^2 + 2x, find f(x+1)f(x+1).

Example 12

medium
If f(x)=3xโˆ’1f(x) = 3x - 1, find f(a)+f(b)f(a) + f(b) where a=2a=2, b=5b=5.

Example 13

medium
If f(x)=x2f(x) = x^2, compute f(x+h)โˆ’f(x)h\frac{f(x+h) - f(x)}{h} and simplify.

Example 14

medium
If f(x)=2x+1f(x) = 2x+1 and g(x)=x2g(x) = x^2, find f(g(2))f(g(2)).

Example 15

medium
If f(x)=1xโˆ’2f(x) = \frac{1}{x-2}, for what input is ff undefined?

Example 16

medium
If f(x)=x2โˆ’4xf(x) = x^2 - 4x, find all xx with f(x)=0f(x) = 0.

Example 17

medium
If f(2x)=4x+1f(2x) = 4x + 1, find a formula for f(x)f(x).

Example 18

medium
If f(x)=โˆฃxโˆฃf(x) = |x|, find f(โˆ’5)+f(5)f(-5) + f(5).

Example 19

medium
If f(x)=3x+2f(x) = 3x + 2 and g(x)=xโˆ’1g(x) = x - 1, find g(f(1))g(f(1)).

Example 20

challenge
If f(x+1)=x2+3f(x+1) = x^2 + 3, find f(x)f(x) and then f(5)f(5).

Example 21

challenge
If f(x)=xx+1f(x) = \frac{x}{x+1}, simplify f(f(x))f(f(x)).

Example 22

challenge
If f(x)=ax+bf(x) = ax + b, f(1)=5f(1) = 5, and f(3)=11f(3) = 11, find aa and bb.

Example 23

easy
If f(x)=7โˆ’2xf(x) = 7 - 2x, find f(3)f(3).

Example 24

easy
If f(x)=6x+9f(x) = 6x + 9, find f(0)f(0).

Example 25

easy
True or False: f(x)=fโ‹…xf(x) = f \cdot x when ff is a function name.

Example 26

easy
If f(x)=โˆ’x+4f(x) = -x + 4, find f(โˆ’2)f(-2).

Example 27

medium
If f(x)=2x+1f(x) = 2x + 1 and g(x)=xโˆ’4g(x) = x - 4, find f(g(3))f(g(3)).

Example 28

medium
If f(x)=x2โˆ’3xf(x) = x^2 - 3x, find f(xโˆ’2)f(x-2) and simplify.

Example 29

medium
If f(x)=3x+2f(x) = 3x + 2, simplify f(x+h)โˆ’f(x)h\frac{f(x+h) - f(x)}{h}.

Example 30

medium
If f(x)=x+3xโˆ’5f(x) = \frac{x+3}{x-5}, list all xx where ff is undefined.

Example 31

medium
If f(x)=4xโˆ’1f(x) = 4x - 1, find f(2x)f(2x).

Example 32

medium
A function is given by the table f(1)=4,f(2)=7,f(3)=10f(1)=4, f(2)=7, f(3)=10. Find a linear formula consistent with the table.

Example 33

hard
If f(x)=x2+1f(x) = x^2 + 1, find all xx with f(x)=f(2x)f(x) = f(2x).

Example 34

hard
If f(x)=1xf(x) = \frac{1}{x} for xโ‰ 0x \ne 0, simplify f(x+h)โˆ’f(x)h\frac{f(x+h) - f(x)}{h}.

Example 35

hard
If f(x)=2x+5f(x) = 2x + 5, find fโˆ’1(x)f^{-1}(x) (the inverse).

Example 36

hard
If f(x)=3xโˆ’7f(x) = 3x - 7, find a function gg such that f(g(x))=xf(g(x)) = x.

Example 37

hard
A piecewise function is f(x)={x+1,x<0x2,xโ‰ฅ0f(x) = \begin{cases} x + 1, & x < 0 \\ x^2, & x \ge 0 \end{cases}. Find f(โˆ’3)+f(2)f(-3) + f(2).

Example 38

challenge
A function satisfies f(xy)=f(x)+f(y)f(xy) = f(x) + f(y) for all positive x,yx, y and f(2)=1f(2) = 1. Find f(8)f(8).

Example 39

challenge
If f(x)+2f(1โˆ’x)=x2f(x) + 2 f(1 - x) = x^2 for all xx, find f(2)f(2).

Background Knowledge

These ideas may be useful before you work through the harder examples.

function definitionvariablesevaluation