Domain of a Function

Domain of a Function

Article Contents

  1. What is the Domain?
  2. When the Domain is All Real Numbers
  3. Restriction: Division by Zero
  4. Restriction: Square Roots
  5. Combining Restrictions
  6. Interval Notation
  7. Reading the Domain from a Graph
  8. Common Mistakes
  9. Interactive Exercises

1. What is the Domain? {#what-is-domain}

The domain of a function (written ) is the set of all allowed inputs -- all values of for which is defined and produces a real number.

Think of it this way

The domain answers: "Which values of can I plug in?"


2. When the Domain is All Real Numbers {#domain-all-reals}

For many common functions, every real number is a valid input:

FunctionDomainWhy
Linear -- no restrictions
Polynomial -- no restrictions
Polynomial -- no restrictions
Constant -- no restrictions
Rule: Polynomials (expressions with , , , ...) always have domain .

3. Restriction: Division by Zero {#division-by-zero}

Division by zero is undefined. If the function has in a denominator, we must exclude values that make the denominator zero.

Example 1:

The denominator is . Set it equal to zero:

So is not allowed.

Example 2:

Example 3:

Factor the denominator:


4. Restriction: Square Roots {#square-roots}

The expression under a square root must be non-negative (greater than or equal to zero).

Example 1:

Example 2:

Example 3:


5. Combining Restrictions {#combining-restrictions}

Some functions have both a fraction and a square root.

Example:

Two conditions:

  1. Square root requires:

2. Denominator requires:

Combining: .

Example:

  1. Square root requires:
  2. Denominator requires:

6. Interval Notation {#interval-notation}

We use intervals to describe the domain concisely:

NotationMeaning
All with (endpoints excluded)
All with (endpoints included)
All with
All with
All with
All real numbers =
All real numbers except

Union of intervals

When the domain has a "gap", we use (union):

This means all real numbers except .


7. Reading the Domain from a Graph {#domain-from-graph}

On a graph, the domain is the set of all -values where the graph exists.

x y -2 4 D(f) = [-2, 4]

Look at the horizontal extent of the graph -- from the leftmost to the rightmost point.


8. Common Mistakes {#common-mistakes}

MistakeCorrection
Forgetting to check the denominatorAlways set denominator
Writing instead of The condition goes on the expression under the root
Using instead of for square roots is defined, so include the boundary
Ignoring the case Here the expression under the root must be strictly positive ()

9. Interactive Exercises {#interactive-exercises}

Practice finding domains:


Summary

Function typeDomain rule
Polynomial ()
Fraction ()
Square root ()
Root in denominator ()