The domain of a function is the complete set of all possible input values (x-values) for which the function is defined and produces a valid output. For a function f: A → B, the domain is the set A. Identifying the domain is a critical first step in analysing any function, as inputs outside the domain can lead to undefined expressions such as division by zero or square roots of negative numbers.
Domain(f) = { x ∈ ℝ | f(x) is defined }
LaTeX: \text{Domain}(f) = \{ x \in \mathbb{R} \mid f(x) \text{ is defined} \}
| Symbol | Meaning | Unit |
|---|---|---|
| f | The function being analysed | mapping |
| x | Input variable | real number |
| ℝ | Set of all real numbers | set |
Problem
Find the domain of f(x) = (x + 3) / (x² − 4).
Solution
Step 1: Identify restrictions. The denominator cannot be zero. — x² − 4 = 0 — (x − 2)(x + 2) = 0 — x = 2 or x = −2 Step 2: Exclude these values from ℝ. — Domain = ℝ \ {−2, 2} Step 3: Write in interval notation. — Domain = (−∞, −2) ∪ (−2, 2) ∪ (2, +∞)
Answer
Domain = ℝ \ {−2, 2} = (−∞, −2) ∪ (−2, 2) ∪ (2, +∞).
| Function Type | Example | Restriction | Domain |
|---|---|---|---|
| Polynomial | f(x) = x² + 3 | None | All real numbers (−∞, +∞) |
| Rational | f(x) = 1/(x−2) | Denominator ≠ 0 | ℝ \ {2} |
| Square Root | f(x) = √(x−3) | Radicand ≥ 0 | [3, +∞) |
| Logarithm | f(x) = log(x+1) | Argument > 0 | (−1, +∞) |
| Trigonometric | f(x) = tan(x) | cos(x) ≠ 0 | ℝ \ {π/2 + nπ} |
Wikimedia Commons, CC BY-SA
A function is a relation that assigns to each element of a set (called the domain) exactly one element of another set (called the codomain). Denoted f: A → B, it is a rule that maps every input to a unique output without ambiguity. Functions are among the most central concepts in mathematics and appear in calculus, linear algebra, programming, and virtually every applied science.
The range of a function is the set of all actual output values produced when the function is applied to every element of its domain. Unlike the codomain (which is the set of all possible outputs), the range is the set of values that are actually achieved. Determining the range is essential in understanding a function's behaviour and is applied in signal processing, statistics, and optimisation problems.
A bijection (or bijective function) is a function that is both injective (one-to-one) and surjective (onto), meaning every element of the domain maps to a unique element of the codomain, and every element of the codomain is mapped to by exactly one element of the domain. Bijections establish a perfect one-to-one correspondence between two sets and are fundamental in defining cardinality, invertible functions, and isomorphisms across mathematics.
From Latin "dominium" (right of ownership, territory), from "dominus" (master, lord). In mathematics, the term "domain" to mean the set of valid inputs came into common usage in the 19th century with the formalization of function theory.