Geometry Solver
Home › Functions and graphs

How to find the domain of a function

The rule: look for a denominator and for an even root

The domain of a function is the set of all you are allowed to put in. Instead of hunting for what is allowed, look for what is forbidden - in school algebra there are only two common traps. A denominator may not be zero: set it equal to zero, solve, and throw those points out. An even root (square root, fourth root) may not contain a negative number: set the expression inside and solve the inequality. If the formula has neither - a polynomial, a linear function - every real number works and the domain is . The answer is usually written in interval notation: a square bracket where the endpoint is included, a round one where it is not, and to join the pieces.

Problem

Find the domain of each function. Example 1. Example 2. Example 3. (answer in interval notation) Example 4. .

Answer

: domain . : domain . : domain . For , the domain is .
All four domains were recomputed by hand; zero under a square root is allowed.

Step-by-step solution

Example 1: a linear function

There is no denominator and no root - nothing can go wrong for any . Multiplying and adding work for every real number, so

The same holds for any polynomial: , , and so on.

Example 2: a fraction

The only danger is division by zero, so find where the denominator vanishes:

Every other number is fine, so the number line is cut at two points and the domain falls into three pieces:

Note that the numerator plays no part: is perfectly allowed, it simply gives .

Example 3: a square root

A square root needs its inside to be zero or positive:

The endpoint itself is allowed, because is a perfectly good number - so the bracket on the left is square:

Example 4: a quadratic under a square root

For , the radicand must satisfy . Factor it as . The zeros are and . Between them both factors are nonnegative; outside, their product is negative. Include both endpoints because the radicand can equal zero:

How to check yourself

Pick a number just outside your answer and substitute it. For Example 3, gives - not a real number, so is rightly excluded. Then pick one just inside: gives , which exists, so the endpoint really does belong to the domain.

Add to Chrome - solve your own

Screenshot any problem on your screen and get the steps. Chrome on a computer; free.