2.2.3Functions

Function notation — f(x), g(x)

2,518 words11 min readdifficulty · medium

Core Concept

What Each Part Means

f = The function's identity (like a person's name) x = The input placeholder (could be any value in the domain) f(x) = "f of x" or "f at x" = the output value

HOW to read it: f(3) means "evaluate function f when x = 3"

Working with Function Notation

Why This Notation is Powerful

Figure — Function notation — f(x), g(x)
Recall Feynman Technique: Explain to a 12-year-old

Imagine you have a toy factory. The factory has a name — let's call it "Factory F."

When you feed the factory a number (like 3), it follows its special rule and spits out a toy. Maybe Factory F's rule is "double the number and add 1," so if you give it 3, you get 2(3) + 1 = 7.

Now, f(3) means "what does Factory F produce when you give it 3?" The answer is 7.

Why not just say "the answer is 7"? Because we might have other factories! Factory G might have a different rule, like "square the number." So g(3) = 9.

The notation f(x) helps us say "whatever Factory F does to x" without having to repeat the rule every time. It's like saying "the sandwich at Shop A" vs "the sandwich at Shop B" — same input (bread, filings), but different recipes, so different sandwiches!

And when we write f(x+2), we're saying "give Factory F the input x+2" — if x is 5, we give it 7, not 5. It's like ordering "the sandwich with extra cheese" — you modify the input before the shop makes it, not after.

Connections

  • Functions: Domain and Range — f(x) notation assumes x is in the domain
  • Composite functions — f(g(x)) uses this notation to combine functions
  • Inverse functions — f⁻¹(x) extends the notation to "undo" functions
  • Graphing functions — Plotting (x, f(x)) pairs visualizes the rule
  • Piecewise functions — Notation extends to f(x) = {multiple rules}
  • Function transformations — f(x+2), f(x)+2, 2f(x), f(2x) all modify differently
  • Limits and calculus — lim[x→a] f(x) uses this notation as foundation
  • Parametric equations — x(t), y(t) applies notation to coordinate functions

#flashcards/maths

What does f(x) mean? :: f(x) means "the output of function f when the input is x" or "f evaluated at x". f is the function name, x is the input variable, and f(x) is the resulting output value.

If f(x) = 2x + 3, what is f(5)?
f(5) = 2(5) + 3 = 10 + 3 = 13. We substitute 5 for every x in the rule.
What is the difference between f and f(x)?
f is the function itself (the rule or machine), while f(x) is the value of the function at input x (a number). f is a process, f(x) is the product of that process.
If g(x) = x², what is g(a+1)?
g(a+1) = (a+1)² = a² + 2a + 1. The entire expression (a+1) replaces x in the rule.

True or False: f(x+2) = f(x) + 2 :: False! f(x+2) means evaluate f at input (x+2), while f(x)+2 means evaluate f at x then add 2. For f(x)=x², f(x+2)=x²+4x+4 but f(x)+2=x²+2, which are different.

If f(x) = 2x and g(x) = x+3, does f(g(2)) = g(f(2))?
No! f(g(2)) = f(5) = 10, while g(f(2)) = g(4) = 7. Function composition is not commutative; order matters.
How do you read f(g(x))?
"f of g of x" or "f composed with g at x". You evaluate g first (inside), then apply f to that result (outside). Work inside-out.
Why do we use f(x) notation instead of just writing y = 2x + 1?
Function notation lets us: (1) name and compare multiple functions (f vs g), (2) compose functions clearly (f(g(x)), (3) talk about the rule itself without computing specific values, and (4) express inverses (f⁻¹).

Concept Map

names

specifies

applies

produces

fed into

equivalent to

y = f of x

enables

numbers

expressions

allows

Function notation f of x

f the rule name

x the input variable

Expression like 2x+1

f of x the output

Equation form y = x squared

Substitute input into rule

Evaluate at values f of 2

Input can be expression g of a+1

Compare, compose, inverse

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, function notation matlab f(x) ek bahut powerful tarika hai kisi bhi rule ko represent karne ka. Socho ki tumhare pas ek machine hai jiska naam hai "f" — jab tum usme koi number daalte ho (jaise x = 3), wo apna kaam karta hai (rule follow karta hai) aur ek output deta hai. For example, agar f(x) = 2x + 1 hai, toh f(3) matlab "3 ko machine f mein dalo" → 2(3) + 1 = 7 output milega.

Is notation ki sabse badi strength yeh hai ki tum rule ka naam aur input ko separately handle kar sakte ho. Matlab agar tumhare paas do alag machines hain — f aur g — toh tum clearly bol sakte ho "f ko use karo" ya "g ko use karo," same input ke liye bhi. Jaise f(x) = 2x aur g(x) = x², dono ko input5 do: f(5) = 10 lekin g(5) = 25. Different machines, different outputs!

Ek badi galti jo students karte hain wo f(x+2) aur f(x)+2 ko same samajhna. Lekin yeh bilkul alag hain! f(x+2) ka matlab hai "pehle x mein 2 add karo, phir wo result function mein dalo." Jabki f(x)+2 ka matlab hai "pehle function ko x par apply karo, phir us output mein 2 add karo." Maan lo f(x) = x² hai: f(x+2) = (x+2)² = x²+4x+4, lekin f(x)+2 = x²+2. Dono completely different results!

Function composition (jaise f(g(x))) bhi isi notation ki wajah se clear hota hai. Yad rakho: andar se bahar padhna hai — pehle g apply hoga, uska output phir f mein jayega. Mathematics mein functions ko aise combine karke bahut complex transformations efficiently express kar sakte hain. Yeh notation tumhe precise thinking deta hai, aur bad mein calculus, algebra, sab jagah yahi foundation kaam ayega!

Go deeper — visual, from zero

Test yourself — Functions

Connections