Algebra

Function Notation

Last updated: March 2026 · Beginner
Before you start

You should be comfortable with:

Real-world applications
πŸ’Š
Nursing

Medication dosages, IV drip rates, vital monitoring

🌑️
HVAC

Refrigerant charging, airflow, system sizing

Once you know what a function is, the next step is learning how mathematicians write functions. Instead of repeatedly saying β€œthe rule that takes xx, squares it, and adds 1,” we give the function a name and use a compact notation. That notation is function notation, and it looks like f(x)=x2+1f(x) = x^2 + 1. This section covers how to read it, use it, and evaluate it β€” skills you will need in every algebra topic from here on.

What f(x)f(x) Means

The expression f(x)f(x) is read β€œf of x”. It does not mean ff times xx. The parentheses here are not multiplication β€” they indicate that xx is the input to the function named ff.

f(x)=2x+3f(x) = 2x + 3

This tells you three things:

  1. The function’s name is ff.
  2. The input variable is xx.
  3. The rule is β€œmultiply the input by 2, then add 3.”

When you see f(5)f(5), it means β€œplug 5 in for xx”:

f(5)=2(5)+3=10+3=13f(5) = 2(5) + 3 = 10 + 3 = 13

Function Notation vs. y=y =

You already know equations like y=2x+3y = 2x + 3. Function notation and y=y = notation describe the same relationship:

y=y = notationFunction notation
y=2x+3y = 2x + 3f(x)=2x+3f(x) = 2x + 3
When x=4x = 4, y=11y = 11f(4)=11f(4) = 11

The advantage of function notation is that it names the function and makes the input explicit. When you work with multiple functions at once, naming matters.

Evaluating Functions at Numbers

To evaluate a function at a specific number, replace every occurrence of xx (or whatever the input variable is) with that number, then simplify.

Example 1: Evaluate f(3)f(3) given f(x)=x2βˆ’4x+7f(x) = x^2 - 4x + 7

Replace xx with 3:

f(3)=(3)2βˆ’4(3)+7=9βˆ’12+7=4f(3) = (3)^2 - 4(3) + 7 = 9 - 12 + 7 = 4

Answer: f(3)=4f(3) = 4

Example 2: Evaluate f(βˆ’2)f(-2) given f(x)=x2βˆ’4x+7f(x) = x^2 - 4x + 7

Replace xx with βˆ’2-2:

f(βˆ’2)=(βˆ’2)2βˆ’4(βˆ’2)+7=4+8+7=19f(-2) = (-2)^2 - 4(-2) + 7 = 4 + 8 + 7 = 19

Answer: f(βˆ’2)=19f(-2) = 19

Example 3: Evaluate f(0)f(0) given f(x)=3x3βˆ’x+10f(x) = 3x^3 - x + 10

f(0)=3(0)3βˆ’(0)+10=0βˆ’0+10=10f(0) = 3(0)^3 - (0) + 10 = 0 - 0 + 10 = 10

Answer: f(0)=10f(0) = 10

Notice that f(0)f(0) always gives you the constant term of a polynomial β€” the value when the input is zero.

Evaluating Functions at Expressions

Function notation becomes especially powerful when the input is itself an expression β€” a variable, a sum, or another function.

Example 4: Find f(a+1)f(a + 1) given f(x)=2xβˆ’5f(x) = 2x - 5

Replace every xx with (a+1)(a + 1):

f(a+1)=2(a+1)βˆ’5=2a+2βˆ’5=2aβˆ’3f(a + 1) = 2(a + 1) - 5 = 2a + 2 - 5 = 2a - 3

Answer: f(a+1)=2aβˆ’3f(a + 1) = 2a - 3

Example 5: Find f(3t)f(3t) given f(x)=x2+2xf(x) = x^2 + 2x

Replace xx with 3t3t:

f(3t)=(3t)2+2(3t)=9t2+6tf(3t) = (3t)^2 + 2(3t) = 9t^2 + 6t

Answer: f(3t)=9t2+6tf(3t) = 9t^2 + 6t

Example 6: Find f(x+h)f(x + h) given f(x)=x2f(x) = x^2

This is a classic setup that leads to the difference quotient in later courses:

f(x+h)=(x+h)2=x2+2xh+h2f(x + h) = (x + h)^2 = x^2 + 2xh + h^2

Answer: f(x+h)=x2+2xh+h2f(x + h) = x^2 + 2xh + h^2

Different Function Names

There is nothing special about the letter ff. Functions can be named with any letter or label:

  • g(x)=5xβˆ’1g(x) = 5x - 1 β€” a function named gg
  • h(t)=t2+3th(t) = t^2 + 3t β€” a function named hh with input variable tt
  • P(n)=2n+100P(n) = 2n + 100 β€” a profit function named PP with input nn
  • C(x)=15x+200C(x) = 15x + 200 β€” a cost function named CC

Using descriptive names helps in applied problems. A function modeling cost might be called CC, one modeling revenue might be RR, and one modeling profit might be PP.

Example 7: Given g(x)=βˆ’3x+12g(x) = -3x + 12 and h(x)=x2βˆ’1h(x) = x^2 - 1, find g(4)g(4) and h(4)h(4)

g(4)=βˆ’3(4)+12=βˆ’12+12=0g(4) = -3(4) + 12 = -12 + 12 = 0

h(4)=(4)2βˆ’1=16βˆ’1=15h(4) = (4)^2 - 1 = 16 - 1 = 15

Answer: g(4)=0g(4) = 0 and h(4)=15h(4) = 15

Example 8: Given g(x)=βˆ’3x+12g(x) = -3x + 12, find g(a)βˆ’g(2)g(a) - g(2)

First, find g(a)g(a):

g(a)=βˆ’3a+12g(a) = -3a + 12

Then, find g(2)g(2):

g(2)=βˆ’3(2)+12=βˆ’6+12=6g(2) = -3(2) + 12 = -6 + 12 = 6

Subtract:

g(a)βˆ’g(2)=(βˆ’3a+12)βˆ’6=βˆ’3a+6g(a) - g(2) = (-3a + 12) - 6 = -3a + 6

Answer: g(a)βˆ’g(2)=βˆ’3a+6g(a) - g(2) = -3a + 6

Reading Function Notation Aloud

Getting comfortable reading function notation out loud helps you think about it naturally:

WrittenSpoken
f(x)f(x)”f of x"
f(3)f(3)"f of 3"
g(βˆ’2)g(-2)"g of negative 2"
h(a+1)h(a + 1)"h of a plus 1"
f(x)=7f(x) = 7"f of x equals 7”

When someone says β€œfind f of 5,” they mean evaluate the function ff at x=5x = 5.

Finding Input Given Output

Sometimes you know the output and need to find the input. This reverses the process β€” you solve an equation.

Example 9: If f(x)=4xβˆ’9f(x) = 4x - 9, find xx when f(x)=15f(x) = 15

Set the function equal to 15 and solve:

4xβˆ’9=154x - 9 = 15

4x=244x = 24

x=6x = 6

Check: f(6)=4(6)βˆ’9=24βˆ’9=15f(6) = 4(6) - 9 = 24 - 9 = 15 Answer: x=6x = 6

Example 10: If g(x)=x2+2g(x) = x^2 + 2, find xx when g(x)=27g(x) = 27

x2+2=27x^2 + 2 = 27

x2=25x^2 = 25

x=5orx=βˆ’5x = 5 \quad \text{or} \quad x = -5

Check: g(5)=25+2=27g(5) = 25 + 2 = 27 and g(βˆ’5)=25+2=27g(-5) = 25 + 2 = 27. Both check out Answer: x=5x = 5 or x=βˆ’5x = -5

Real-World Application: Nursing β€” IV Drip Rate Function

In nursing, the drip rate for an IV infusion can be modeled as a function. The formula for drops per minute is:

D(V)=VΓ—FTD(V) = \frac{V \times F}{T}

where VV is the volume in mL, FF is the drip factor (drops per mL, a constant depending on the tubing), and TT is the time in minutes.

For tubing with a drip factor of 15 drops/mL delivering fluid over 60 minutes:

D(V)=15V60=V4D(V) = \frac{15V}{60} = \frac{V}{4}

Evaluate for a 500 mL bag:

D(500)=5004=125Β dropsΒ perΒ minuteD(500) = \frac{500}{4} = 125 \text{ drops per minute}

Function notation makes it clear that the drip rate depends on the volume ordered. A different volume, like 250 mL, gives a different rate: D(250)=62.5D(250) = 62.5, which a nurse would round to 63 drops per minute since partial drops cannot be delivered.

Real-World Application: HVAC β€” Heating Cost Function

An HVAC contractor estimates monthly heating cost as a function of average outdoor temperature (in degrees Fahrenheit):

C(t)=βˆ’2.5t+250C(t) = -2.5t + 250

This means the colder it gets (lower tt), the higher the cost:

  • At t=30Β°t = 30Β°F: C(30)=βˆ’2.5(30)+250=βˆ’75+250=175C(30) = -2.5(30) + 250 = -75 + 250 = 175 (cost is $175)
  • At t=50Β°t = 50Β°F: C(50)=βˆ’2.5(50)+250=βˆ’125+250=125C(50) = -2.5(50) + 250 = -125 + 250 = 125 (cost is $125)

What temperature makes the cost equal $200?

βˆ’2.5t+250=200β€…β€ŠβŸΉβ€…β€Šβˆ’2.5t=βˆ’50β€…β€ŠβŸΉβ€…β€Št=20-2.5t + 250 = 200 \implies -2.5t = -50 \implies t = 20

When the average outdoor temperature is 20 degrees Fahrenheit, the estimated monthly heating cost is $200.

Common Mistakes to Avoid

  1. Treating f(x)f(x) as multiplication. f(x)f(x) means β€œf of x,” not ”ff times xx.” The parentheses indicate function input, not multiplication.
  2. Forgetting to substitute everywhere. When evaluating f(a+1)f(a + 1) for f(x)=x2+3xf(x) = x^2 + 3x, you must replace every xx with (a+1)(a + 1), not just the first one.
  3. Dropping parentheses during substitution. Always wrap the substituted expression in parentheses. For f(x)=x2f(x) = x^2 and input βˆ’3-3: f(βˆ’3)=(βˆ’3)2=9f(-3) = (-3)^2 = 9, not βˆ’32=βˆ’9-3^2 = -9.
  4. Confusing f(x)=0f(x) = 0 with f(0)f(0). The statement f(x)=0f(x) = 0 asks β€œfor what xx is the output zero?” while f(0)f(0) asks β€œwhat is the output when the input is zero?” These are different questions.
  5. Thinking different function names mean different rules. The names ff, gg, hh are just labels. Two functions can have different names but the same rule, or the same name used in different contexts.

Practice Problems

Test your understanding with these problems. Click to reveal each answer.

Problem 1: Given f(x)=5xβˆ’8f(x) = 5x - 8, find f(4)f(4).

f(4)=5(4)βˆ’8=20βˆ’8=12f(4) = 5(4) - 8 = 20 - 8 = 12

Answer: f(4)=12f(4) = 12

Problem 2: Given g(x)=x2+3xβˆ’10g(x) = x^2 + 3x - 10, find g(βˆ’3)g(-3).

g(βˆ’3)=(βˆ’3)2+3(βˆ’3)βˆ’10=9βˆ’9βˆ’10=βˆ’10g(-3) = (-3)^2 + 3(-3) - 10 = 9 - 9 - 10 = -10

Answer: g(βˆ’3)=βˆ’10g(-3) = -10

Problem 3: Given f(x)=2x+1f(x) = 2x + 1, find f(a+3)f(a + 3).

Replace xx with (a+3)(a + 3):

f(a+3)=2(a+3)+1=2a+6+1=2a+7f(a + 3) = 2(a + 3) + 1 = 2a + 6 + 1 = 2a + 7

Answer: f(a+3)=2a+7f(a + 3) = 2a + 7

Problem 4: Given h(x)=x2βˆ’4h(x) = x^2 - 4, find h(2t)h(2t).

h(2t)=(2t)2βˆ’4=4t2βˆ’4h(2t) = (2t)^2 - 4 = 4t^2 - 4

Answer: h(2t)=4t2βˆ’4h(2t) = 4t^2 - 4

Problem 5: Given f(x)=7x+3f(x) = 7x + 3, find xx when f(x)=52f(x) = 52.

7x+3=527x + 3 = 52

7x=497x = 49

x=7x = 7

Check: f(7)=7(7)+3=49+3=52f(7) = 7(7) + 3 = 49 + 3 = 52 Answer: x=7x = 7

Problem 6: An HVAC technician models daily energy usage (in kWh) as E(t)=βˆ’0.8t+60E(t) = -0.8t + 60 where tt is the outdoor temperature in degrees Fahrenheit. Find the energy usage when it is 35 degrees outside.

E(35)=βˆ’0.8(35)+60=βˆ’28+60=32Β kWhE(35) = -0.8(35) + 60 = -28 + 60 = 32 \text{ kWh}

Answer: 32 kWh

Problem 7: A nurse uses the function D(w)=w4+50D(w) = \dfrac{w}{4} + 50 to calculate a dosage in milligrams based on weight ww in kilograms. Find the dosage for an 80 kg patient, then find the weight that gives a dosage of 75 mg.

Part A:

D(80)=804+50=20+50=70Β mgD(80) = \frac{80}{4} + 50 = 20 + 50 = 70 \text{ mg}

Part B: Set D(w)=75D(w) = 75 and solve:

w4+50=75\frac{w}{4} + 50 = 75

w4=25\frac{w}{4} = 25

w=100Β kgw = 100 \text{ kg}

Answer: 70 mg for the 80 kg patient. A weight of 100 kg gives a dosage of 75 mg.

Key Takeaways

  • f(x)f(x) is read β€œf of x” and means the output of function ff when the input is xx β€” it is not multiplication
  • To evaluate a function at a value, replace every instance of the input variable with that value and simplify
  • You can evaluate functions at expressions like a+1a + 1 or 3t3t by substituting the entire expression (with parentheses) for xx
  • Functions can have any name β€” ff, gg, hh, CC, DD β€” and any input variable
  • Finding an input from a known output means setting f(x)f(x) equal to the output and solving the equation
  • Function notation is the standard language for applied formulas in nursing, HVAC, engineering, and every other quantitative field

Return to Algebra for more topics in this section.

Last updated: March 29, 2026