Skip to content
IGCSE·Tuition
Additional Mathematics · Lessons

Find valid inputs for a rational expression

A function question can ask for its domain in one short line, and that line is easy to answer too quickly.

On this page
  1. How do you find the excluded values?
  2. Worked example
  3. The mistake to watch for
  4. Check yourself
  5. Where this leads next

The valid inputs of a rational expression are every value of x except those that make the denominator equal to zero. In Additional Mathematics this appears whenever a question gives a function such as f(x) = (3x + 1)/(x² − x − 6) and asks for its domain, or asks you to explain why a value is not allowed.

It is the first skill in functions and restrictions, and it comes back in composite and inverse functions, where a restriction from one step carries into the next.

How do you find the excluded values?

A fraction is undefined when its denominator is zero. So the method is short: set the denominator equal to zero, solve, and exclude those solutions.

  1. Write the denominator on its own.
  2. Set it equal to zero and solve. Factorise if it is quadratic.
  3. State each solution as x ≠ a. Do not list values from the numerator.
  4. Write the domain in words or symbols, for example “all real x except x = 3 and x = −2”.

If the denominator can never be zero, such as x² + 9, then every real number is valid. You should say so, not leave the answer blank.

Worked example

State the largest possible domain of f(x) = (3x + 1)/(x² − x − 6).

Step 1, denominator: x² − x − 6.

Step 2, set to zero and factorise: x² − x − 6 = 0 gives (x − 3)(x + 2) = 0.

Step 3, solve: x = 3 or x = −2.

Step 4, check both: at x = 3, 9 − 3 − 6 = 0. At x = −2, 4 + 2 − 6 = 0. Both make the denominator zero.

Answer: the domain is all real x with x ≠ 3 and x ≠ −2.

Notice that the numerator 3x + 1 played no part. It would be zero at x = −1/3, which is a perfectly valid input.

The mistake to watch for

A common slip is to simplify first and read the restriction from the simplified form. Take g(x) = (x² − 4)/(x − 2).

Mistaken working: g(x) = (x − 2)(x + 2)/(x − 2) = x + 2, so the domain is all real numbers.

The simplified line x + 2 accepts x = 2, but the original g does not. At x = 2 the original denominator is 0.

The correction is to read the restriction from the original denominator: x − 2 = 0 gives x ≠ 2. The function equals x + 2 everywhere except at that one excluded input. Make it a habit to write the restriction before you cancel anything.

Check yourself

Give the largest possible domain in each case, then open the answer.

1. f(x) = 5/(2x − 7)

Show answer

2x − 7 = 0 gives x = 7/2. Domain: all real x with x ≠ 7/2 (that is, x ≠ 3.5).

2. h(x) = (x + 1)/(x² − 4x)

Show answer

x² − 4x = x(x − 4) = 0 gives x = 0 or x = 4. The numerator x + 1 is ignored. Domain: all real x with x ≠ 0 and x ≠ 4.

3. k(x) = x/(x² + 9). Is there any restriction?

Show answer

x² is never negative, so x² + 9 is at least 9 and is never zero. There is no restriction: the domain is all real x.

Where this leads next

Once excluded values feel routine, move on to determining a range from a restricted domain. When you are ready to mix the skills, try the functions and restrictions practice set. The function composition and inverse explorer lets you test inputs and see where an expression stops making sense.

Some students can do every step here but lose marks when a restriction has to be written in a longer answer. That is the kind of pattern our teachers look for in online one-to-one Additional Mathematics tuition.

Questions people ask

What is the domain of a function?

The domain is the set of input values the function is allowed to accept. For a rational function, every real number is allowed except the values that make the denominator zero, because division by zero has no meaning. You state these exclusions as x ≠ a.

Do I find the restriction before or after simplifying?

Always from the original expression. If you cancel a common factor first, the restriction disappears from view even though the function still cannot accept that input. Write down where the original denominator is zero, then simplify if you need to.

Can the numerator be zero?

Yes. A zero numerator is fine, because 0 divided by a non-zero number is 0. It only tells you where the graph crosses the x-axis. Only a zero denominator creates a restriction on the domain.

Updated:

Your next step

If you can factorise a denominator but still forget to state the excluded values, a one-to-one teacher can watch your written answers and help you build a closing habit that catches it.

Paid one-hour trial at your assigned teacher’s confirmed rate, starting from RM80. Other fees, schedules and ongoing arrangements are confirmed directly with your teacher after the trial class.

Tuition is arranged with a parent or guardian. Send them this page on WhatsApp and they can enquire for you.

Parent or guardian? Enquire here

9,000+ students helped through our service