Function Notation

Function notation y = f(x) is a way to write and evaluate functions, showing how input values transform into output values using a concise symbolic format.

y=f(x)y = f(x)

Solve a problem with Function Notation

Type the problem. The solver will use Function Notation where Function Notation is the right tool, and tell you when it is not.

Drag one in or paste from the clipboard. JPEG, PNG or WebP. You get the transcription to check before anything is solved.

How to get a better answer
  • Paste the whole problem, including the instruction word — "simplify", "solve for x" and "factor" lead to three different answers.
  • Say what you have already tried. "I got x = 4 and the book says 2" turns a solution into a diagnosis.
  • Set the level in the settings button. A calculus shortcut is not a better answer if you have not met derivatives yet.
  • For a photo, get the whole problem in frame and hold the page flat — you get the transcription to fix before anything is solved.

What each symbol means

What Function Notation takes
ff
xx
yy
Function Notation
SymbolMeaning
ffThe function name — a label for the entire rule or operation; treating ff as multiplication instead of a function is a critical error.
xxThe input value, also called the independent variable, which can be any number or expression; forgetting that xx can be substituted is a common mistake.
yyThe output value, also called the dependent variable, that the function produces; it always equals f(x)f(x), and confusing them breaks your understanding.

When to use it

Use function notation when you need to name a function and evaluate it at specific input values without rewriting the entire formula each time.

Level

Usually taught in: Algebra I

Worked examples

1. Evaluate a linear function

Problem

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

    Substitute x=3x = 3 into the function wherever xx appears.

  2. f(3)=6+1f(3) = 6 + 1

    Multiply: 2×3=62 \times 3 = 6.

  3. f(3)=7f(3) = 7

    Add: 6+1=76 + 1 = 7.

Answer: f(3)=7f(3) = 7

This is a straightforward substitution — you plug in the number 3 for every xx and simplify using order of operations. The notation f(3)f(3) is shorthand for 'find the output when the input is 3.'

2. Evaluate a quadratic function with negative input

Problem

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

    Substitute x=1x = -1 into every place where xx appears in the formula.

  2. f(1)=(1)3f(-1) = -(1) - 3

    Evaluate the exponent: (1)2=1(-1)^2 = 1, so the negative sign in front gives (1)=1-(1) = -1; then 3×(1)=33 \times (-1) = -3.

  3. f(1)=13=4f(-1) = -1 - 3 = -4

    Combine: 13=4-1 - 3 = -4.

Answer: f(1)=4f(-1) = -4

Negative inputs require careful tracking of signs and exponents. The exponent applies only to xx, not to the negative sign in front of it, so (1)2(-1)^2 becomes positive 1, but the negative sign outside makes it 1-1.

3. Apply a function to a bake sale profit problem

Problem

At a school bake sale, your profit function is P(n)=2.5n18P(n) = 2.5n - 18, where nn is the number of items sold and profit is in dollars (the 18-18 represents upfront costs). Find your profit when you sell 20 items.
  1. P(20)=2.5(20)18P(20) = 2.5(20) - 18

    Substitute n=20n = 20 into the profit function.

  2. P(20)=5018P(20) = 50 - 18

    Multiply: 2.5×20=502.5 \times 20 = 50.

  3. P(20)=32P(20) = 32

    Subtract: 5018=3250 - 18 = 32.

Answer: P(20)=32P(20) = 32

Real-world problems use function notation the same way — the function name (PP for profit) tells you what quantity is being modeled, and the input (nn for number of items) tells you what affects it. The profit is 3232 dollars when you sell 20 items.

Common mistakes

Where Function Notation usually goes wrong
Answer came out wrong
Reading f(x)f(x) as f×xf \times x (multiplication) instead of 'apply function ff to input xx'
Remember: f(x)f(x) is a single number (the output), not two separate quantities being multiplied. If you need to multiply ff and xx, write fxf \cdot x or f×xf \times x.
Substituting the input into only some of the variable instances, like writing f(2)=3(2)+xf(2) = 3(2) + x instead of completing the substitution
Replace *all* instances of xx. If f(x)=x2+2xf(x) = x^2 + 2x and you need f(3)f(3), it becomes f(3)=32+2(3)=9+6=15f(3) = 3^2 + 2(3) = 9 + 6 = 15, not 9+2x9 + 2x.
Confusing 'evaluate the function' with 'solve the function,' leaving your answer as a formula instead of a number
When asked to 'find f(3)f(3),' simplify all the way to a number. If f(x)=2x+1f(x) = 2x + 1, then f(3)=2(3)+1=7f(3) = 2(3) + 1 = 7, not just f(3)=2(3)+1f(3) = 2(3) + 1.
The mistakeWhy it is wrongThe fix
Reading f(x)f(x) as f×xf \times x (multiplication) instead of 'apply function ff to input xx'Function notation uses parentheses to mean 'apply the function,' not to show multiplication; misreading it will cause you to set up the wrong operation.Remember: f(x)f(x) is a single number (the output), not two separate quantities being multiplied. If you need to multiply ff and xx, write fxf \cdot x or f×xf \times x.
Substituting the input into only some of the variable instances, like writing f(2)=3(2)+xf(2) = 3(2) + x instead of completing the substitutionEvery instance of the variable must be replaced, or your expression is incomplete and cannot simplify to the final answer.Replace *all* instances of xx. If f(x)=x2+2xf(x) = x^2 + 2x and you need f(3)f(3), it becomes f(3)=32+2(3)=9+6=15f(3) = 3^2 + 2(3) = 9 + 6 = 15, not 9+2x9 + 2x.
Confusing 'evaluate the function' with 'solve the function,' leaving your answer as a formula instead of a numberThe problem asks you to find *the output*, which must be a specific value after substitution and simplification; writing the formula means you understood notation but did not finish.When asked to 'find f(3)f(3),' simplify all the way to a number. If f(x)=2x+1f(x) = 2x + 1, then f(3)=2(3)+1=7f(3) = 2(3) + 1 = 7, not just f(3)=2(3)+1f(3) = 2(3) + 1.

Tips and when to use something else

  • f(x)f(x) means 'the output when the input is xx' — it is a single value, not a product of two quantities.
  • You can substitute any value into a function: whole numbers, fractions, negatives, or even other expressions like f(2t)f(2t) or f(a1)f(a-1).
  • Different function names are different functions: f(x)=2xf(x) = 2x and g(x)=2xg(x) = 2x are the same rule but different functions, so f(5)=10f(5) = 10 and g(5)=10g(5) = 10 happen to match by coincidence.
  • When you see a multi-step problem, use Domain and Range to identify which inputs and outputs are actually allowed for that real-world function.

Frequently asked questions

What is the difference between f and f(x)?
ff is the name of the function and the rule itself (for example, 'multiply by 3 and subtract 5'), while f(x)f(x) is the output — a specific numerical result. If f(x)=3x5f(x) = 3x - 5, then ff is the rule, but f(2)=1f(2) = 1 is the answer.
Why use y = f(x) instead of just writing the formula by itself?
Function notation lets you name the function and evaluate it at different inputs without rewriting the entire rule. Instead of restating y=2x+1y = 2x + 1 every time, you can write f(0)f(0), f(5)f(5), or f(a)f(a) to mean 'apply the rule to 0, 5, or aa.' It is also clearer when a problem involves multiple functions like f(x)f(x) and g(x)g(x).
Can the input x be something other than a specific number?
Yes. The input can be any number, fraction, negative, variable, or expression. In f(x)=2x+1f(x) = 2x + 1, you can find f(7)f(7), f(12)f(\tfrac{1}{2}), f(3)f(-3), f(t)f(t), or even f(3a+2)f(3a+2) — the rule stays the same, only the input changes.
What does it mean to 'solve f(x) = 10' versus 'find f(10)'?
'Find f(10)f(10)' means substitute 10 for xx and calculate the output. 'Solve f(x)=10f(x) = 10' means find the input value that makes the output equal to 10 — you work backwards from the answer. These are opposite operations.

Need a different method?

The full solver is not scoped to one formula — type any problem and it will pick the method.

Open the math solver

Reviewed 2026-09-18