Skip to content

Revise: Functions

Product sets and their cardinality, relations and how to represent them, and what makes a relation a function β€” domain, range, the vertical line test, and function notation.

Meaning of a Product Set

A Γ— B = every ordered pair (a, b) with a ∈ A, b ∈ B.

{1,2} Γ— {x,y} = {(1,x),(1,y),(2,x),(2,y)}.

Meaning of a Relation

A relation is any subset of A Γ— B β€” domain = first coordinates, range = second.

{(1,2),(2,4)} has domain {1,2}, range {2,4}.

Meaning of a Function

A function: every input has exactly one output.

{(1,4),(1,5)} is not a function β€” 1 has two outputs.

The Vertical Line Test

A graph is a function if no vertical line crosses it more than once.

A circle fails the test β€” a vertical line crosses it twice.

Function Notation and Evaluating Functions

f(x) is the output of f at input x β€” substitute and simplify.

f(x)=2xΒ²βˆ’3x+1 β†’ f(4) = 21.