Skip to content
Math & Scientific

Restricted Values Calculator

Restricted Values Calculator

Find the x-values that make a rational expression undefined.

Numerator: a₂x² + a₁x + a₀
Denominator: b₂x² + b₁x + b₀

In algebra, a rational expression is a fraction with polynomials on the top and bottom, like (x² − 1) ÷ (x² − 5x + 6). It looks harmless — until you plug in a value that makes the bottom equal zero. Division by zero is undefined in mathematics, so any x-value that zeroes out the denominator must be excluded from the expression’s domain. Those forbidden values are called restricted values, and the Restricted Values Calculator finds them for you, showing every step of the reasoning.

Finding restricted values is one of the first things you do when working with rational expressions, before simplifying, graphing, or solving equations. Miss one and every later step can go wrong. This guide explains the concept, the three cases you will meet, and walks through fully worked examples you can check against the calculator.

What the Restricted Values Calculator Does

You enter the coefficients of the numerator (a₂x² + a₁x + a₀) and the denominator (b₂x² + b₁x + b₀), using 0 for any missing term. The calculator sets the denominator equal to zero and solves for x. For a linear denominator it solves directly; for a quadratic denominator it computes the discriminant and applies the quadratic formula, showing the substitution step by step.

The result tells you exactly which x-values to exclude, written in standard form such as “x ≠ 3 and x ≠ 2.” It also handles the edge cases: a denominator that is never zero (no restricted values) and a denominator that is always zero (every value restricted).

How to Use the Calculator

Type the six coefficients into their fields — three for the numerator, three for the denominator. Leave the defaults of 0 wherever a term is absent; for example, the denominator 2x − 8 is entered as b₂ = 0, b₁ = 2, b₀ = −8. Every field must contain a number, so fill all six even if most are zero.

Press “Calculate” and read the step panel: Step 1 always shows the denominator set equal to zero, and the following steps show the solving process with your numbers plugged in. The final answer line states the restricted values plainly. Press “Reset” to clear the fields and try another expression.

The Math: Why the Denominator Decides

A rational expression is undefined wherever its denominator equals zero, because division by zero has no meaning. The numerator is irrelevant to restricted values — it can be anything. So the entire task reduces to solving the equation: denominator = 0.

Three cases arise. If the denominator is linear (bx + c = 0), there is exactly one restricted value: x = −c ÷ b. If it is quadratic (ax² + bx + c = 0), the discriminant D = b² − 4ac decides: D > 0 gives two restricted values, D = 0 gives one repeated value, and D < 0 gives none, because the denominator never touches zero for real x. If the denominator is a nonzero constant, there are no restricted values at all; if it is identically zero, every real number is restricted.

Worked Example 1: Quadratic Denominator With Two Roots

Find the restricted values of (x² − 1) ÷ (x² − 5x + 6). Enter a₂ = 1, a₁ = 0, a₀ = −1 and b₂ = 1, b₁ = −5, b₀ = 6.

Step 1: Set the denominator to zero: x² − 5x + 6 = 0.
Step 2: Discriminant D = (−5)² − 4·(1)·(6) = 25 − 24 = 1.
Step 3: Quadratic formula: x = (5 ± √1) ÷ 2.
Step 4: x₁ = (5 + 1) ÷ 2 = 3; x₂ = (5 − 1) ÷ 2 = 2.

Answer: x ≠ 3 and x ≠ 2. You can verify by substitution: at x = 3 the denominator is 9 − 15 + 6 = 0, and at x = 2 it is 4 − 10 + 6 = 0. Both make the fraction undefined, so both are excluded.

Worked Example 2: Linear Denominator

Find the restricted values of (3x + 9) ÷ (2x − 8). Enter b₂ = 0, b₁ = 2, b₀ = −8 (numerator coefficients do not matter).

Step 1: 2x − 8 = 0.
Step 2: 2x = 8.
Step 3: x = 8 ÷ 2 = 4.

Answer: x ≠ 4. Checking: at x = 4 the denominator is 8 − 8 = 0, confirming the restriction. A linear denominator always yields exactly one restricted value.

Worked Example 3: No Real Restricted Values

Find the restricted values of (x + 1) ÷ (x² + 1). Enter b₂ = 1, b₁ = 0, b₀ = 1.

Step 1: x² + 1 = 0.
Step 2: D = (0)² − 4·(1)·(1) = −4.
Step 3: D is negative, so there are no real roots.

Answer: no restricted values — the expression is defined for all real x. This makes sense: x² + 1 is always at least 1, never zero, so the fraction is always safe.

Worked Example 4: Denominator That Is Always Zero

Consider (x + 2) ÷ (0x² + 0x + 0) — a denominator of all zeros. Step 1 sets 0 = 0, which is true for every x, meaning every input makes the denominator zero. Answer: all real numbers are restricted, and the expression is undefined everywhere. This degenerate case rarely appears in homework, but it is good to recognize.

How to Read Your Results

The step panel mirrors how a teacher would solve the problem on a board: set the denominator to zero, then solve. Read the discriminant line carefully for quadratics — it tells you before the formula does whether to expect two, one, or zero restricted values. The final answer line uses ≠ notation, which is the standard way to state exclusions: “x ≠ 3 and x ≠ 2” means every real number except 3 and 2 is allowed.

If you see “no restricted values,” the denominator never vanishes and the domain is all real numbers. If you see a single value with “(double root)” noted, the denominator just touches zero at one point — still excluded, still undefined there.

Common Mistakes to Avoid

The classic mistake is solving the numerator instead of the denominator — finding where the top equals zero gives x-intercepts, not restricted values. Always set the bottom equal to zero. Another frequent error is simplifying the fraction first and then finding restrictions from the simplified form; always find restricted values from the original denominator, because simplifying can hide values that were already excluded.

Sign errors are the other big trap: in x² − 5x + 6, the coefficient b₁ is −5, not 5 — enter it with its sign. Finally, remember that a negative discriminant means no real restricted values, not “no solution, try again.” The calculator reports this case explicitly, so trust it.

Frequently Asked Questions

1. What are restricted values?

They are the x-values that make the denominator of a rational expression equal zero. The expression is undefined at those values, so they are excluded from its domain.

2. Why can’t we divide by zero?

Division asks “what times the divisor gives the dividend?” No number times zero gives a nonzero dividend, so the question has no answer and the operation is undefined.

3. Does the numerator affect restricted values?

No. Only the denominator matters. A zero numerator makes the expression equal zero (where defined); a zero denominator makes it undefined.

4. How do I enter a missing term?

Enter 0 for its coefficient. For 2x − 8, set b₂ = 0, b₁ = 2, b₀ = −8.

5. What does the discriminant tell me?

For a quadratic denominator, D = b² − 4ac predicts the outcome: positive means two restricted values, zero means one, negative means none.

6. What is a double root?

When D = 0, the quadratic touches zero at exactly one x-value (a repeated root). That single value is still restricted.

7. Can a rational expression have no restricted values?

Yes. If the denominator is a nonzero constant or a quadratic with a negative discriminant, it never equals zero and every real x is allowed.

8. What if the denominator is zero for every x?

Then all real numbers are restricted and the expression is undefined everywhere. The calculator reports this edge case directly.

9. Should I simplify before finding restricted values?

No — find them from the original expression first. Simplifying can cancel factors and hide restrictions that still apply.

10. How are restricted values written?

With ≠ notation: “x ≠ 3 and x ≠ 2” means all real numbers except 3 and 2. Domain can also be written in interval notation.

11. Do restricted values matter when graphing?

Yes. They mark vertical asymptotes or holes in the graph — places the curve approaches but never touches.

12. What’s the difference between an asymptote and a hole?

Both come from restricted values. A hole appears where a canceled factor zeroed the original denominator; an asymptote where it did not. Either way, the x-value stays excluded.

13. Can restricted values be fractions or decimals?

Absolutely. Quadratic roots are often messy decimals — the calculator shows them rounded to six decimal places, which is plenty for domain work.

14. Why does the calculator show the solving steps?

So you can follow the reasoning, check it by hand, and learn the method — not just copy an answer.

15. Does this work for denominators above degree 2?

This calculator handles up to quadratic denominators, which covers the standard algebra curriculum. Higher-degree denominators need factoring by hand or computer algebra.

Final Thoughts

Restricted values are the guardrails of rational expressions: find them first, and everything downstream — simplifying, solving, graphing — stays on solid ground. The rule never changes: set the denominator equal to zero and solve, watching the discriminant to know how many exclusions to expect. Try your own expressions in the Restricted Values Calculator above, verify a couple by substituting the answers back into the denominator, and the method will quickly become second nature.