Function Notation: Definition, Method and Examples

MathPublished

Function Notation: Rules, Examples, and Evaluating f(x)

Function notation names an output using its input, such as f(x)f(x). If a rule is f(x)=2x+3f(x) = 2x + 3, then f(4)f(4) means substitute 44 for xx in the rule, resulting in 1111. It provides a standard, precise way to write and read mathematical relationships efficiently.

What is function notation?

Function notation is a method for writing algebraic variables and rules so that the input and output are clearly linked. Instead of writing an equation as y=2x+3y = 2x + 3, we replace yy with f(x)f(x) to show that the output depends on a specific input variable.


This notation is essential when working with functions in algebra, because it gives the mathematical rule a specific name.

A function machine diagram showing an input x entering a box labeled Rule f, resulting in an output labeled f of x.

Using a unique name makes it easy to discuss multiple rules at the same time. If a problem includes both f(x)=2xf(x) = 2x and g(x)=x+5g(x) = x + 5, the distinct letters prevent confusion about which rule to apply.

Read f of x

The expression f(x)f(x) is read aloud as "ff of xx." It means "the value of the function ff at the input xx."


The letter outside the parentheses names the rule, and the variable inside the parentheses represents the input value. The complete symbol f(x)f(x) represents the final output.


The symbol f(x) represents a single output value, not f multiplied by x.


You will also see function notation written as an equation, such as f(x)=3x−1f(x) = 3x - 1. This statement defines the rule. It means that to find the output for any input xx, you multiply that input by 33 and then subtract 11.

Evaluate a function

To evaluate a function, replace every instance of the input variable in the rule with the given value. This is identical to evaluating expressions, but the notation keeps a visible record of the input.

  1. Identify the specific input value inside the parentheses of the function request.
  2. Substitute that value for the variable everywhere it appears in the rule.
  3. Calculate the final numerical result using the standard order of operations.

Function substitution showing f of 4 equals 2 times 4 plus 3, which equals 11, with the input value 4 highlighted in orange.


Keep the notation intact on the left side of the equals sign throughout your steps. Writing f(4)=11f(4) = 11 is much more useful than writing just 1111, because it tells anyone reading your work exactly which input produced that output.

Use different input values

Function notation can handle any valid input from a mathematical relationship's domain and range. The input can be a whole number, a fraction, a negative integer, a different variable, or a complete algebraic expression.


If you are asked to evaluate f(a)f(a) for the rule f(x)=x+8f(x) = x + 8, you simply replace xx with aa to get f(a)=a+8f(a) = a + 8. The substitution method remains exactly the same regardless of what is inside the parentheses.

Connect notation to tables and graphs

Function notation translates directly to coordinate graphs and input output tables. The input xx acts as the first coordinate, and the output f(x)f(x) takes the place of yy as the second coordinate.

When graphing rules like linear equations, every point on the line can be written as (x,f(x))(x, f(x)). If calculating a rule yields f(3)=7f(3) = 7, the graph of that function must pass exactly through the coordinate (3,7)(3, 7).

A coordinate plane showing a line passing through the point 3 comma 7, with horizontal and vertical dashed lines connecting the point to the axes.

This relationship works in reverse as well. If you look at a graph and see that a curve crosses the yy-axis at 1010, you can immediately write f(0)=10f(0) = 10.

Worked examples

Review these examples to see how function notation is evaluated accurately in different situations.


Example 1: Evaluating with a positive number


Question: If f(x)=4x−5f(x) = 4x - 5, what is the value of f(6)f(6)?


Method:

  1. Identify the input value, which is 66.
  2. Substitute 66 for xx in the function rule.
  3. Multiply first: 4(6)−5=24−54(6) - 5 = 24 - 5.
  4. Subtract to find the final output.

Answer: f(6)=19f(6) = 19.


Check: Reverse the operations. Add 55 to 1919 to get 2424, then divide by 44 to confirm the original input was 66.


Example 2: Evaluating a quadratic rule with a negative number


Question: If g(x)=−2x2+4g(x) = -2x^2 + 4, what is the value of g(−3)g(-3)?


Method:

  1. Identify the input value, which is −3-3.
  2. Substitute −3-3 for xx using parentheses: −2(−3)2+4-2(-3)^2 + 4.
  3. Apply exponents first. Squaring a negative number produces a positive result: −2(9)+4-2(9) + 4.
  4. Multiply: −18+4-18 + 4.
  5. Add to find the final output.

Answer: g(−3)=−14g(-3) = -14.


Check: Ensure the exponent step was performed correctly. If (−3)2(-3)^2 was mistakenly evaluated as −9-9, the answer would incorrectly become 18+4=2218 + 4 = 22.


Example 3: Evaluating with an algebraic expression


Question: If h(n)=5n−1h(n) = 5n - 1, what is the simplified expression for h(4t)h(4t)?


Method:

  1. Identify the new input expression, which is 4t4t.
  2. Substitute 4t4t for every nn in the rule: 5(4t)−15(4t) - 1.
  3. Multiply the terms to simplify the expression.

Answer: h(4t)=20t−1h(4t) = 20t - 1.


Check: Substitute t=1t=1 into the final answer to get 1919. In the original rule, an input of n=4n=4 also produces 1919, confirming the substitution matches.

Common mistakes

The most frequent mistake is interpreting f(x)f(x) as the variable ff being multiplied by xx. The letter ff is just a name, not a variable with a numerical value. You cannot divide both sides of an equation by ff.


Another common error occurs when evaluating functions with negative numbers. When substituting a negative value into a rule containing exponents, always use parentheses, such as (−3)2(-3)^2, to ensure the correct sign is calculated during the order of operations.

Frequently asked questions

Can we use letters other than f and x?

Yes. While ff (for function) and xx (for an unknown input) are standard, any letters can be used. For instance, v(t)v(t) might represent velocity depending on time, and C(n)C(n) might represent a cost depending on a number of items.


Is f(x) exactly the same thing as y?

In most graphing and algebraic contexts, yes. The notation f(x)f(x) replaces yy to provide more information. Writing f(4)=10f(4) = 10 tells you both the input and the output simultaneously, whereas y=10y = 10 only tells you the output.

Practice questions

Question

A visual mapping diagram showing the input negative 2 moving through a function rule multiplying by 5 and subtracting 4.

Based on the function machine, what is the value of g(−2)g(-2)?

  • −14-14

  • −10-10

  • −6-6

  • −2-2

Answer:

−14-14

Question

If h(x)=x2−3x+2h(x) = x^2 - 3x + 2, what is the value of h(−4)h(-4)?

  • 66

  • 3030

  • −2-2

  • −26-26

Answer:

3030

Question

A function f(x)f(x) is graphed on a coordinate plane. If the graph passes through the point (5,−8)(5, -8), which statement must be true?

  • f(x)=−8f(x) = -8

  • f(−8)=5f(-8) = 5

  • f(x)=5f(x) = 5

  • f(5)=−8f(5) = -8

Answer:

f(5)=−8f(5) = -8

Question

Which statement correctly describes the relationship between the ff and the xx in the expression f(x)f(x)?

  • The variable ff is multiplied by the variable xx.

  • The variable ff is divided by the variable xx.

  • The letter ff is the name of the rule applied to the input xx.

  • The letter ff is an exponent applied to the base xx.

Answer:

The letter ff is the name of the rule applied to the input xx.

Question

If f(x)=2x+7f(x) = 2x + 7, which expression represents f(a+3)f(a + 3)?

  • 2a+102a + 10

  • 2a+72a + 7

  • 2a+32a + 3

  • 2a+132a + 13

Answer:

2a+132a + 13