Achievable logoAchievable logo
AMC
Sign in
Sign up
Purchase
Textbook
Practice exams
Support
How it works
Exam catalog
Mountain with a flag at the peak
Textbook
Introduction
1. Algebra
1.1 Linear equations and inequalities
1.2 Quadratics
1.3 Exponents and radicals
1.4 Functions
2. Geometry
3. Number theory
4. Counting and probability
5. Intermediate topics (AMC 10/12)
6. Advanced topics (AMC 12)
7. General approaches
8. Practical strategies
Wrapping up
Achievable logoAchievable logo
1.4 Functions
Achievable AMC
1. Algebra

Functions

7 min read
Font
Discuss
Share
Feedback

This chapter applies to all AMC 8/10/12 test takers.

A function is a rule (or operation) that takes an input and produces an output. A common way to name a function is f(x), which you can read as “f of x.” The function f(x) is defined by the operations performed on the input x.

Here is an example of a function.

Diagram showing functions

Note: The letter f, for function, may also be replaced with g, other letters, or even symbols.

Example: The question below is from 2000 AMC 12

Let f be a function for which f(3x​)=x2+x+1. Find the sum of all values of z for which f(3z)=7.
A. −31​
B. −91​
C. 0
D. 95​
E. 35​

(spoiler)

Answer: B. −91​

Double input functions

Functions can also have two inputs. In that case, the definition of the function includes operations that use both inputs.

Here is an example of a function with two inputs.

f(x,y)=2x​+y3

Custom operations

A function (including a two-input function) can be written using symbols that look like “custom operations.” The key idea is that these symbols are just another way to name the same rule.

Here is an example of a double input function and a few ways it may be denoted.

f(x,y)=(x#y)=(x@y)=2x​+y3

Nested functions

Sometimes you’ll see one function used as the input to another function. This is called a nested (or composed) function.

f(g(x))=(f∘g)(x)

The notation means:

  • First compute the inner function g(x).
  • Then plug that result into the outer function f(x).

For example, if

f(x)=2x

and

g(x)=4x−2

then

f(g(x))=2(4x−2)

Floor and ceiling functions

The floor and ceiling functions are rounding functions:

  • A floor symbol means “round down to the nearest integer.”
  • A ceiling symbol means “round up to the nearest integer.”

⌊x⌋=the value ofxrounded down 

⌈x⌉=the value ofxrounded up

When you treat these as functions, the “operation” is rounding. For example:

  • f(x)=⌈x⌉ outputs x rounded up.
  • g(x)=⌊x⌋ outputs x rounded down.

Here is the difference between f(x)=x2−3 and f(x)=⌈x2−3⌉ graphically.

f(x)=x2−3

Graph of f (x) = x^2 - 3

Created with Desmos

f(x)=⌈x2−3⌉

Graph  x^2 - 3

Created with Desmos

Example: The question below is from 2023 AMC 10.

How many distinct values ofx satisfy ⌊x⌋2−3x+2=0, where ⌊x⌋ denotes the largest integer less than or equal to x?
A. an infinite number
B. 4
C. 2
D. 3
E. 0

(spoiler)

Answer: B. 4

Inverse functions

An inverse function reverses the input-output relationship of a function.

f−1(x) is the inverse of f(x)

A helpful way to visualize inverses is with graphs. If you graph a function by writing y in place of f(x), then the graph of the inverse is the reflection of that graph across the line x=y.

You can picture x=y as a mirror line through the origin that rises at a 45 degree angle. For example, compare the function f(x)=−5x2−3x+3 to its inverse below.

f(x)=−5x2−3x+3

Graph f (x) = -5x^2 - 3x + 3

Created with Desmos

x=−5y2−3y+3

Graph x=-5y^2-3y+3

Created with Desmos

When you draw the "mirror line"x=y, the reflection relationship becomes clearer.

Graph x=-5y^2-3y+3

Created with Desmos

Here’s the main idea: if a point(a,b) lies on the graph of y=f(x), then the point (b,a) lies on the graph of the inverse. Those two points are mirror images across x=y.

To write an inverse relationship algebraically, you often start by swapping x and y. For example, the original function is y=−5x2−3x+3. Swapping x and y gives x=−5y2−3y+3, which describes the inverse relationship.

Common themes

  • Don’t rewrite f−1(x) as f1​(x) or consider the inverse notation as a negative exponent. f−1(x) is just the inverse of f(x).
  • For functions that would require too much calculation, look for patterns between the sequence of inputs and the sequence of outputs and extrapolate what the output further along the sequence of outputs must be.
  • Sometimes a quick check of the domain of the function can prove some inputs are not possible. A simple example would be that x could never be 5 or −5 in the function g(x)=(x2−25)4​

Functions and Notation

  • Function: rule mapping input to output, usually written as f(x)
  • Function name can be any letter or symbol
  • Example: f(3x​)=x2+x+1

Double Input Functions

  • Functions can take two inputs: f(x,y)
  • Example: f(x,y)=2x​+y3

Custom Operations

  • Functions can use custom symbols: x#y, x@y
  • Symbols represent the same operation as f(x,y)

Nested (Composed) Functions

  • One function used as input for another: f(g(x)) or (f∘g)(x)
  • Compute inner function first, then outer function

Floor and Ceiling Functions

  • Floor: ⌊x⌋ rounds x down to nearest integer
  • Ceiling: ⌈x⌉ rounds x up to nearest integer
  • Used as functions: f(x)=⌈x⌉, g(x)=⌊x⌋

Inverse Functions

  • Inverse reverses input-output: f−1(x)
  • Graph of inverse reflects across x=y line
    • Point (a,b) on y=f(x) maps to (b,a) on inverse
  • To find inverse algebraically: swap x and y in equation

Common Themes

  • f−1(x) is not f1​(x); it means inverse function
  • Look for input-output patterns to simplify calculations
  • Check domain to determine valid inputs for a function

Sign up for free to take 6 quiz questions on this topic

Previous
Next  | 2.1 Triangles
All rights reserved ©2016 - 2026 Achievable, Inc.

Functions

This chapter applies to all AMC 8/10/12 test takers.

A function is a rule (or operation) that takes an input and produces an output. A common way to name a function is f(x), which you can read as “f of x.” The function f(x) is defined by the operations performed on the input x.

Here is an example of a function.

Diagram showing functions

Note: The letter f, for function, may also be replaced with g, other letters, or even symbols.

Example: The question below is from 2000 AMC 12

Let f be a function for which f(3x​)=x2+x+1. Find the sum of all values of z for which f(3z)=7.
A. −31​
B. −91​
C. 0
D. 95​
E. 35​

(spoiler)

Answer: B. −91​

Double input functions

Functions can also have two inputs. In that case, the definition of the function includes operations that use both inputs.

Here is an example of a function with two inputs.

f(x,y)=2x​+y3

Custom operations

A function (including a two-input function) can be written using symbols that look like “custom operations.” The key idea is that these symbols are just another way to name the same rule.

Here is an example of a double input function and a few ways it may be denoted.

f(x,y)=(x#y)=(x@y)=2x​+y3

Nested functions

Sometimes you’ll see one function used as the input to another function. This is called a nested (or composed) function.

f(g(x))=(f∘g)(x)

The notation means:

  • First compute the inner function g(x).
  • Then plug that result into the outer function f(x).

For example, if

f(x)=2x

and

g(x)=4x−2

then

f(g(x))=2(4x−2)

Floor and ceiling functions

The floor and ceiling functions are rounding functions:

  • A floor symbol means “round down to the nearest integer.”
  • A ceiling symbol means “round up to the nearest integer.”

⌊x⌋=the value ofxrounded down 

⌈x⌉=the value ofxrounded up

When you treat these as functions, the “operation” is rounding. For example:

  • f(x)=⌈x⌉ outputs x rounded up.
  • g(x)=⌊x⌋ outputs x rounded down.

Here is the difference between f(x)=x2−3 and f(x)=⌈x2−3⌉ graphically.

f(x)=x2−3

Graph of f (x) = x^2 - 3

Created with Desmos

f(x)=⌈x2−3⌉

Graph  x^2 - 3

Created with Desmos

Example: The question below is from 2023 AMC 10.

How many distinct values ofx satisfy ⌊x⌋2−3x+2=0, where ⌊x⌋ denotes the largest integer less than or equal to x?
A. an infinite number
B. 4
C. 2
D. 3
E. 0

(spoiler)

Answer: B. 4

Inverse functions

An inverse function reverses the input-output relationship of a function.

f−1(x) is the inverse of f(x)

A helpful way to visualize inverses is with graphs. If you graph a function by writing y in place of f(x), then the graph of the inverse is the reflection of that graph across the line x=y.

You can picture x=y as a mirror line through the origin that rises at a 45 degree angle. For example, compare the function f(x)=−5x2−3x+3 to its inverse below.

f(x)=−5x2−3x+3

Graph f (x) = -5x^2 - 3x + 3

Created with Desmos

x=−5y2−3y+3

Graph x=-5y^2-3y+3

Created with Desmos

When you draw the "mirror line"x=y, the reflection relationship becomes clearer.

Graph x=-5y^2-3y+3

Created with Desmos

Here’s the main idea: if a point(a,b) lies on the graph of y=f(x), then the point (b,a) lies on the graph of the inverse. Those two points are mirror images across x=y.

To write an inverse relationship algebraically, you often start by swapping x and y. For example, the original function is y=−5x2−3x+3. Swapping x and y gives x=−5y2−3y+3, which describes the inverse relationship.

Common themes

  • Don’t rewrite f−1(x) as f1​(x) or consider the inverse notation as a negative exponent. f−1(x) is just the inverse of f(x).
  • For functions that would require too much calculation, look for patterns between the sequence of inputs and the sequence of outputs and extrapolate what the output further along the sequence of outputs must be.
  • Sometimes a quick check of the domain of the function can prove some inputs are not possible. A simple example would be that x could never be 5 or −5 in the function g(x)=(x2−25)4​
Key points

Functions and Notation

  • Function: rule mapping input to output, usually written as f(x)
  • Function name can be any letter or symbol
  • Example: f(3x​)=x2+x+1

Double Input Functions

  • Functions can take two inputs: f(x,y)
  • Example: f(x,y)=2x​+y3

Custom Operations

  • Functions can use custom symbols: x#y, x@y
  • Symbols represent the same operation as f(x,y)

Nested (Composed) Functions

  • One function used as input for another: f(g(x)) or (f∘g)(x)
  • Compute inner function first, then outer function

Floor and Ceiling Functions

  • Floor: ⌊x⌋ rounds x down to nearest integer
  • Ceiling: ⌈x⌉ rounds x up to nearest integer
  • Used as functions: f(x)=⌈x⌉, g(x)=⌊x⌋

Inverse Functions

  • Inverse reverses input-output: f−1(x)
  • Graph of inverse reflects across x=y line
    • Point (a,b) on y=f(x) maps to (b,a) on inverse
  • To find inverse algebraically: swap x and y in equation

Common Themes

  • f−1(x) is not f1​(x); it means inverse function
  • Look for input-output patterns to simplify calculations
  • Check domain to determine valid inputs for a function

More from Algebra

  • Linear equations and inequalities
  • Quadratics
  • Exponents and radicals