🎓 Prepared by students from Boğaziçi University

What is a Function?

A function is a rule that assigns exactly one output to each input from a set called the domain. Functions are written using notation like f(x), and they are the backbone of algebra, calculus, and modeling real-world relationships such as distance over time or cost per item.

Short answer

A function f is a relation between a set of inputs (the domain) and a set of outputs (the range) where every input maps to exactly one output, commonly written as y = f(x).

Linear function f(x) = 2x + 1
752-1-3
x: x · y: f(x)
01

Try it: interactive calculator

Output f(x)
7
= 2*3+1
02

Step-by-step worked examples

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

Substitute x = 3 into the function
f(3) = 2(3) + 1
f(3) = 7

Is the relation {(1,2), (1,5), (2,3)} a function?

Check if any input repeats with different outputs
Input 1 maps to both 2 and 5
Since one input has two outputs, this is NOT a function

If g(x) = x² − 4, find the input(s) where g(x) = 0.

Set the function equal to 0: x² − 4 = 0
Solve: x² = 4
x = 2 or x = −2
03

Flashcards

04

Quick quiz

Q1.If f(x) = 3x − 2, what is f(4)?

Correct answer: A. f(4) = 3(4) − 2 = 12 − 2 = 10.

Q2.Which relation is NOT a function?

Correct answer: C. Input 1 maps to two outputs (2 and 3), so it fails the function rule.

Q3.What test determines if a graph represents a function?

Correct answer: B. The Vertical Line Test checks that each x-value has only one y-value.

Q4.For f(x) = x², what is the range?

Correct answer: C. Squaring any real number gives a result that is always ≥ 0.
📄Download this topic as a printable worksheet (PDF)Summary + 10 questions + answer key — print it, share it in class.
Study better with Bounlu apps
Notek
Notek

The full card deck, worked steps and AI-tutor support for “What is a Function?” are in Notek — study by hand before your exam.

Get it free
Notek 1Notek 2Notek 3Notek 4Notek 5
05

Common mistakes

Thinking f(x) means f multiplied by x.Correct: f(x) is function notation meaning 'the output of f for input x', not multiplication.

Believing every equation is a function.Correct: An equation is a function only if each input has exactly one output (e.g. x = y² is not a function).

Confusing domain and range.Correct: Domain = valid inputs (x-values); range = resulting outputs (y-values).

Assuming a repeated output means it's not a function.Correct: Repeated outputs are fine — two different inputs CAN share the same output; only repeated inputs with different outputs break the rule.

06

FAQ

What is a function in math?

A function is a rule where every input value produces exactly one output value, written as f(x).

What is the formula for a linear function?

f(x) = mx + b, where m is the slope and b is the y-intercept.

What are examples of functions?

f(x) = 2x + 1, g(x) = x², and h(x) = √x are all common examples of functions.

How do you calculate the output of a function?

Substitute the given input value for x in the function's rule and simplify.

Related topics