Domain and range of functions
Every calculator, spreadsheet formula and physics equation is quietly asking two questions before it does anything else: what inputs am I allowed to feed this rule, and what outputs can it possibly hand back? A function is a relation with one extra guarantee — every permitted input produces exactly one output — and the domain and range are simply the honest bookkeeping of those allowed inputs and achievable outputs. This article stays inside the ISC Class 11 "Relations and Functions" scope: defining a function as a special relation , and finding the domain and range of the nine standard real-valued functions — constant, identity, polynomial, rational, modulus, signum, exponential, logarithmic, and greatest-integer. Formal classification (one-one, onto, bijective) and composition or inverse of functions belong to Class XII and are not covered here. By the end you should be able to spot instantly why excludes , why and not , and how to hunt for a range by solving for in terms of .
A function assigns each input in its domain exactly one output, and finding domain/range means locating every input where the rule breaks down (domain) and every output value the rule can actually produce (range).
The core idea
A function from set to set is a relation in which every element of appears as the first entry of exactly one ordered pair. Writing means: for each input in the domain, assigns a unique output . Two definitions do all the work in this topic:
- Domain = the set of all permissible inputs , i.e. the values for which is actually defined.
- Range = the set of all outputs actually attained as ranges over the domain — not just "wherever the formula could land," but every value it truly reaches.
That distinction between domain and range mirrors two different kinds of question. Domain-hunting is about spotting forbidden inputs: division by zero, a negative number under an even root, a non-positive argument inside a logarithm. Range-hunting is about tracing achievable outputs, usually by solving the equation for and asking which values leave a valid behind.
where: is the rule assigning an output to each input ; "defined" means the arithmetic in the rule does not break (no division by zero, no even root of a negative, no logarithm of a non-positive number). The nine standard real-valued functions on the syllabus, with their domain and range:
| Function | Rule | Domain | Range |
|---|---|---|---|
| Constant | |||
| Identity | |||
| Polynomial | depends on degree | ||
| Rational | except where | depends | |
| Modulus | |||
| Signum | |||
| Exponential | |||
| Logarithmic | |||
| Greatest integer | , largest integer |
For a rational function the domain excludes zeros of the denominator; the range then depends on whether the equation can be solved back for at every . For modulus and greatest-integer functions the domain is all of , but the outputs are restricted in a distinctive shape. The greatest integer function always "rounds down" toward , never toward zero: , but (not ), since the largest integer that is still is .
For a function given by an algebraic formula, the range is found not by guessing but by treating as an equation, solving it for in terms of , and asking for which values of that expression for is itself a valid real number lying in the original domain — every such is in the range, and every that breaks the solved expression is excluded.
Step 1. Start from and rearrange algebraically until is isolated as an expression in , exactly as you would solve any equation for one variable given the other.
Step 2. Examine the resulting expression for restrictions: division by an expression in that could be zero, a square root of an expression in that could be negative, or any other operation that fails for particular values.
Step 3. Every value of for which is defined and gives an actually inside the domain of belongs to the range; every value of that makes undefined is excluded from the range.
Step 4. Write the range as the set of all such permissible , usually as minus a finite set of excluded points, or as an interval, matching the shape of the restriction found in Step 2.
Worked example
Problem. Find the domain and range of , and then find the domain and range of .
Step 1. For , this is a rational function, undefined wherever the denominator is zero. Setting gives , so
Step 2. To find the range of , let and solve for :
This expression for is defined for every real except (division by ), and no value of ever makes since has no solution. So .
Step 3. For , the modulus is defined for every real , and subtracting the constant does not restrict this further, so . Since for all , with the minimum value at , , and as moves away from in either direction grows without bound, so takes every value from upward.
Step 4. Hence . Checking one point, .
Final answer: , ; , , with .
Competitive stretch
For , the domain tightens further: the denominator must be nonzero and the quantity under the square root must be nonnegative, so (strict, since still gives division by zero), giving — combining a rational restriction with a square-root restriction in a single expression.
Common traps
- Forgetting to exclude denominator zeros when finding the domain of a rational function — always factor and solve first, then remove those points from .
- Rounding the greatest integer function toward zero instead of toward : , not , because is the largest integer that is less than or equal to .
- Assuming the domain of allows zero or negative inputs — is defined only for ; and are undefined, not zero or negative outputs.
- Confusing signum's three-value range with a continuous interval — signum only ever outputs one of these three exact numbers, never anything between them.
Ask the tutor: Ask the AI tutor to walk through finding the domain and range of two or three more mixed functions — like a rational function combined with a square root, or a modulus function combined with a greatest-integer function — using the solve-for-x technique step by step.
Why does the greatest integer function round down instead of to the nearest integer
Because is defined as the largest integer that is less than or equal to , not the closest one. For a positive number like , rounding down and rounding to nearest happen to agree at first glance, but for a negative number like the largest integer still is , since is actually greater than . The rule always moves toward , which is why it is also called the "floor function."
How do I know when to use the solve-for-x method versus just reasoning about the shape of the function
Use the solve-for-x method whenever the formula is algebraic and rearrangeable, like a rational function — it gives an exact, provable range. For functions built from modulus, signum, or greatest-integer, algebraic rearrangement is often clumsy, so it is faster to reason about the shape directly: modulus expressions have a known minimum, signum only ever takes three fixed values, and greatest-integer only ever outputs integers. Both methods must agree when applicable — the algebra is just the rigorous backup.
Is every relation a function, and how can I quickly check
No — a relation is a function only if every input has exactly one output. The quickest check on a graph is the vertical line test: if any vertical line crosses the graph more than once, some input has two outputs, so it fails to be a function. Algebraically, watch for rules like , which give two values of (positive and negative square root) for most positive , so it is a relation but not a function.