Natural Domain and Range of a Function

The natural domain of a function is the largest set of real numbers for which the function is defined. Finding the domain requires identifying restrictions such as division by zero or square roots of negative numbers. The range is the set of all values the function actually outputs.

Quick Reference

Restriction Rule Example
Division by zero Exclude values where denominator : exclude
Even root of negative Exclude values where radicand : require
Odd root No restriction : domain is
Polynomial No restriction : domain is
Exponential , No restriction : domain is

What Is the Natural Domain?

We say a function is defined for when is a real number. When the domain is not specified, it is assumed to be the natural domain: the largest set of real numbers for which is real.

The set of all real numbers for which is real is called the natural domain (or simply the domain) of the function, denoted .

Key rules that determine when a function is defined:

  1. for positive integer : defined for every real .
  2. : defined for every (division by zero is undefined).
  3. : defined for (square roots of negative numbers are not real).
  4. for even integer : defined for .
  5. for odd integer : defined for every real .
  6. for constant : defined for every real .

If you want to restrict the domain beyond the natural domain, you must say so explicitly. For example, writing "" restricts to positive inputs. Without that restriction, the domain is all of .

Finding Natural Domains


Determine the natural domains of the following functions:

Solution (a) is a polynomial, so it is real for all : (b) is real when , i.e., : (c) is real when , i.e., : (d) We need . Factoring: . From a sign diagram, this product is nonnegative when or :
A sign chart for the domain of F(x) = √(x² - 6x) showing the interval between 0 and 6 is negative.
Sign diagram for .
(e) We need . From a sign diagram, this holds when :
A sign chart for the domain of G(x) = √(4 - x²) showing the interval [-2, 2] is nonnegative.
Sign diagram for .
(f) requires and requires . Both must hold simultaneously: (g) is undefined where or :

The Range of a Function

The range of a function is the set of all values actually taken by the function:

The range is always a subset of the codomain: .

Let and . Find the range of .

Solution The range consists of all possible outputs. Any is a possible output because we can set to get . No is in the range because for all real . Therefore:

Finding the range is generally harder than finding the domain. In elementary calculus, powerful methods (derivatives, monotonicity) make it easier to determine ranges precisely. For now, sketching the graph is the most reliable approach.

Frequently Asked Questions

What happens if I plug in a number outside the domain? The function is undefined there. For example, if with , then f is undefined at because is not a real number. Plugging in such values produces an imaginary result, which is outside the scope of real-valued functions.

How do I find the domain of a fraction? Find all values of for which the denominator equals zero, then exclude those values from . For , the denominator is zero at and , so .

Is the range always an interval? No. The range can be a single point (for a constant function), a union of intervals, or a discrete set. For example, the signum function has range , which is a finite set.

What is the difference between range and codomain? The codomain is the set you declare outputs should come from (often ). The range is the set of outputs the function actually produces. For with codomain , the range is only , a proper subset of .

Can the domain be empty? Technically yes (a function with an empty domain is called the empty function), but in practice the functions you encounter in algebra and calculus always have nonempty domains. If your calculation gives an empty domain, double-check your work.