Practice Function in Math

Use these practice problems to test your method after reviewing the concept explanation and worked examples.

Quick Recap

A function is a rule that assigns to each input in the domain exactly one output in the codomain โ€” every input maps to precisely one output, never two.

A machine: put something in, get exactly one thing out. Same input always gives same output.

Showing a random 20 of 50 problems.

Example 1

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

Example 2

medium
Given f(x)=2x2โˆ’3x+1f(x) = 2x^2 - 3x + 1, find f(4)f(4) and determine if g={(1,2),(3,4),(1,5)}g = \{(1,2), (3,4), (1,5)\} is a function.

Example 3

easy
Is the set {(0,1),(1,2),(2,3),(3,4)}\{(0, 1), (1, 2), (2, 3), (3, 4)\} a function?

Example 4

challenge
If f(x)=ax+bxf(x)=\frac{ax+b}{x} and f(1)=4f(1)=4, f(2)=3f(2)=3, find a+ba+b.

Example 5

challenge
How many functions f:{1,2,3,4}โ†’{1,2,3,4}f: \{1, 2, 3, 4\} \to \{1, 2, 3, 4\} are one-to-one?

Example 6

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

Example 7

easy
If f(x)=3xโˆ’5f(x) = 3x - 5, find f(0)f(0).

Example 8

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

Example 9

medium
If f(x)=xโˆ’4f(x) = \sqrt{x - 4}, find f(13)f(13).

Example 10

hard
If f(x)=x2โˆ’4x+1f(x) = x^2 - 4x + 1, find f(x+2)f(x + 2), simplified.

Example 11

hard
State the domain of f(x)=x+2xโˆ’3f(x) = \dfrac{\sqrt{x+2}}{x - 3}.

Example 12

easy
Does the rule 'add 3 to the input' define a function?

Example 13

medium
If f(x)=2x+3f(x) = 2x + 3 and f(a)=11f(a) = 11, find aa.

Example 14

easy
If f(x)=1xf(x)=\frac{1}{x}, what is f(0)f(0)?

Example 15

easy
True or false: a function can have two different inputs that share the same output.

Example 16

medium
A function ff satisfies f(x)=3xโˆ’2f(x)=3x-2. For which input is f(x)=10f(x)=10?

Example 17

medium
A function satisfies f(2x)=4x+1f(2x)=4x+1. Find f(x)f(x).

Example 18

challenge
ff is defined on integers by f(1)=1f(1)=1 and f(n)=f(nโˆ’1)+nf(n)=f(n-1)+n. Find f(5)f(5).

Example 19

easy
Is the set {(1,2),(2,3),(3,4)}\{(1,2),(2,3),(3,4)\} a function?

Example 20

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