A calculator shows an error when you ask for or for . A formula has the same blind spots, and the inputs it can handle make up its domain. Finding the domain first keeps you from computing answers that do not exist, and calculus keeps asking for it, for example when it decides where a function is continuous.
Key terms
Real-valued formula
Definition A formula in is real-valued at a real number when substituting for and carrying out every operation in the formula produces a real number. In a formula built from addition, subtraction, multiplication, division and roots, only two steps can fail. Division by is undefined, and an even root of a negative number is not a real number. Logarithms and some trigonometric functions add further restrictions later in the course.
In plain words Plug the number in and work it out. If every step gives an honest real number, the formula is fine at that input.
Example The formula is real-valued at , where it gives , and at , where it gives . At it would need , which is not a real number, so the formula is not real-valued there.
Natural domain
Definition When a function is given by a formula and no domain is stated, its domain is taken to be its natural domain, the set of all real numbers at which the formula is real-valued. In set-builder notation the natural domain of is
In plain words If nobody tells you the domain, use every real number the formula can handle.
Example The polynomial is real-valued for every real , so its natural domain is . The function
fails only at , so its natural domain is .
Specified domain
Definition A domain can be stated together with the formula, as in for . The domain is then exactly the stated set, which must be a subset of the natural domain of the formula. Two functions with the same formula but different domains are different functions.
In plain words A stated domain replaces the set of inputs the formula could handle. It can shrink that set but never enlarge it.
Example Let with domain . Then , but is undefined, even though is a perfectly good number, because is not in the stated domain. On the other hand, the formula cannot be given the domain , since lies in that interval but not in the natural domain.
Denominator restriction
Definition A quotient
is real-valued at exactly when and are real numbers and . So every input that makes a denominator equal to must be excluded from the domain. A numerator equal to causes no problem.
In plain words You can never divide by zero, so throw out every input that turns a denominator into zero.
Example For
the denominator is when , that is at and . The natural domain is . The input is allowed, and .
Even-root restriction
Definition Let be an even integer. For a real number , the real th root is defined exactly when , and then it is the unique nonnegative real number whose th power is . So a formula containing with even is real-valued only where . When the even root is the whole denominator, as in , the condition becomes , because the root is exactly when . If the root is only part of a denominator, keep the condition and separately require the whole denominator to be nonzero. For example, the formula is real-valued for every , including , since .
In plain words Square roots, fourth roots and other even roots need something nonnegative underneath. When the root is the whole denominator, the number underneath must be strictly positive.
Example For we need . Subtracting gives , and dividing by reverses the sign, so . The natural domain is . As a check, and , while would need . For
the radicand must be positive, so the natural domain is .
Odd roots
Definition Let be an odd integer. For every real number there is exactly one real number whose th power is , and it is the real th root . So an odd root adds no restriction of its own, and negative numbers under an odd root are allowed.
In plain words Cube roots and other odd roots work for every real number, because a negative number cubed is negative.
Example Since , we have . The function has natural domain , and . The denominator rule still applies to odd roots, so
has natural domain .
Excluded values
Definition The excluded values of a formula are the real numbers at which it is not real-valued, that is, the real numbers outside its natural domain. When a formula has several parts, each part gives its own condition, and the natural domain is the set of numbers that meet all of the conditions, the intersection of the separate sets.
In plain words List every danger in the formula, write down the condition each one needs, and keep only the inputs that pass every condition.
Example Take
The square root needs , which gives . The denominator needs . The intersection is
The excluded values are all together with .
Contextual domain
Definition When a function models a real situation, its contextual domain is the set of inputs that make sense in that situation. It is a subset of the natural domain and is often much smaller.
In plain words The formula might accept an input that the real world does not, like a negative length.
Example A rectangle has perimeter meters and width meters. Its length is meters, so its area is
The formula works for every real , but a real rectangle needs and , so the contextual domain is . The value is a real number, yet no rectangle has it as its area.
Preserving restrictions after cancellation
Definition The natural domain is read from the formula as it is given, before any simplification. If a common factor is cancelled from a numerator and a denominator, the simplified formula gives the same values as the original one at every input where the original is defined. The original is still undefined at , so the restriction belongs to the function and must be kept and written down next to the simplified formula.
In plain words Cancelling makes the formula look nicer, but it does not change which inputs the original function accepts.
Example For ,
The function is still undefined at , because its denominator is there, so is not the same function as . Its graph is the line with a hole at . Inputs close to give outputs close to , while itself does not exist.
| undefined |
In calculus such a hole can be filled on purpose, which gives a continuous extension, a new function that is also defined at .
Check yourself
- Find the natural domain of the following function.
Show the answer
The square root needs , so , and the denominator needs . The natural domain is .
- Is the function below the same as ?
Show the answer
No. For the formula simplifies to , but is not in the domain of , since its denominator is there. So is undefined while . The graph of is the line with a hole at .
- Find the natural domain of the following function.
Show the answer
The cube root accepts every real number. The square root in the denominator needs , so . The natural domain is .