Skip to main content
Logo image

Precalculus JumpStart

Section 3.2 Domain of an Expression

The domain of an expression is the set of all values the variables may take in the expression. For instance, \(x=1\) is not in the domain of \(\frac{1}{x-1}\) because evaluating at \(x=1\) would result in division by zero, which is undefined. (See Warning 1.2.) There are two things to consider when determining the domain of an expression.
  1. Algebraic Constraints: What constraints must be placed on the variables to ensure the result is a sensible real number? For instance, we should avoid division by zero or square roots of negative numbers.
  2. Practical Constraints: What constraints does the context or application put on the variables? For example, if a variable represents a measured length, then it would be reasonable to require it to only take positive values.

Example 3.4. Algebraic Constraints on Domain.

Find the domain of each algebraic expression
  1. \(\displaystyle \displaystyle 4-x\)
  2. \(\displaystyle \displaystyle \sqrt{4-x}\)
  3. \(\displaystyle \displaystyle \frac{1}{\sqrt{4-x}}\)
  4. \(\displaystyle \displaystyle \frac{1}{\sqrt{4+x^2}}\)
  5. \(\displaystyle \displaystyle \frac{1}{x-y}\)
Solution.
  1. The operation of subtracting \(x\) from \(4\) may be performed to any real number. Thus, the domain is the set of all real numbers which we could write as \(\mathbb{R}\) or in interval notation as \((-\infty,+\infty)\text{.}\)
  2. Since a square root is now involved, we must require \(4-x \geq 0\text{.}\) Equivalently, \(4 \geq x\text{.}\) Thus, the domain is the interval \((-\infty,4]\text{.}\)
  3. Additionally, we require that we never divide by zero. This requires \(4-x \gt 0\) and the domain is now the open interval \((-\infty,4)\text{.}\)
  4. As before, we require that \(4+x^2 \gt 0\text{.}\) But squaring any real number results in a non-negative quantity and adding \(4\) will guarantee the result is positive. Thus, the domain is the set of all real numbers \(\mathbb{R} = (-\infty,+\infty)\)
  5. We require that \(x-y \neq 0\text{.}\) This means \(x \neq y\text{.}\) So the domain is the set of all points \((x,y)\) in the coordinate plane with \(x\neq y\text{.}\)

Example 3.5. Practical Constraints on Domain.

You are to make an open top rectangular box from a flat piece of \(8 \times 11\) inch cardboard. To do so, make equal length cuts at the corners to remove square pieces and then fold up the sides to make a box.
Find an algebraic expression for the volume of the box involving the variable \(x\) representing the depth of the cuts at each corner. What is the domain of the expression?
Solution.
  • The height of the box is determined by the depth of the cuts \(x\text{.}\)
  • The width of the box is \(11-2x\) inches.
  • The length of the box is \(8-2x\) inches.
So the volume is given by
\begin{equation*} x(11-2x)(8-2x) \end{equation*}
As a purely algebraic expression, the domain is \(\mathbb{R}\) as there is nothing preventing us from evaluating the expression above at any real number \(x\text{.}\) However, the physical constraints require the cuts be no deeper than the halfway point on the shortest side. So, \(0\lt x \lt 4\) and the domain is the interval \((0,4)\text{.}\)

Warning 3.6. Domain and Simplification.

Sometimes simplifying an expression will appear to change its domain. For example,
\begin{equation*} \frac{x^2-x}{x} = \frac{x(x-1)}{x} = x-1. \end{equation*}
But this equation is only true for \(x \neq 0\) as the left side is not defined for \(x=0\text{.}\) Therefore, it is often necessary to state this along with the simplified expression as
\begin{equation*} \frac{x^2-x}{x} = x-1, \quad \text{for $x\neq 0$.} \end{equation*}