Did you know? A rational function can have a forbidden output value, not just a forbidden input. For example, the graph of y = (2x + 3)/(x − 1) cannot produce y = 2, however large or small a permitted x may be. Many students find the forbidden input x = 1 immediately, but miss that its range excludes two.
For JC1 H2 Mathematics learners in Bukit Timah, separating domain from range is an important bridge from algebra to function graphs. The Singapore–Cambridge 2027 H2 Mathematics syllabus 9758 includes domains, ranges, rational graph characteristics, asymptotes and inverse functions. A range question does not always need a picture first. We can often decide which y-values are possible simply by reversing the equation and asking whether an allowed x exists.
This guide focuses on finding the range of rational functions accurately. It develops the common linear-over-linear form, shows how excluded values and domain restrictions change the answer, introduces a quadratic-over-linear example requiring a discriminant, and offers a short diagnostic, practice questions and FAQ. The goal is to replace vague graph guesses with a method a student can check algebraically.
Quick answer: ask whether each proposed output is possible
To determine the range of y = f(x), treat y as a proposed output and solve the equation y = f(x) for x.
If an allowed real x exists for a particular y, that y belongs to the range. If no allowed real x exists, it is excluded.
For the function y = (2x + 3)/(x − 1), defined for x ≠ 1, multiply through by x − 1:
y(x − 1) = 2x + 3.
Expand and collect x:
yx − y = 2x + 3, so (y − 2)x = y + 3.
For y ≠ 2, we can solve
x = (y + 3)/(y − 2).
The value y = 2 is impossible, because it would require 0·x = 5. Every other real y gives an x, and that x is never one. Therefore the range is
all real y except y = 2.
This is the core test: can the function actually output the suggested y-value?
Domain and range answer different questions
The domain is the set of allowed x-inputs. The range is the set of y-outputs produced by those inputs. For y = (2x + 3)/(x − 1), the denominator cannot be zero, so x ≠ 1. That is the domain restriction.
The range exclusion y ≠ 2 arises for a different reason. Rearranging the equation shows there is no real x capable of producing output two.
A student who writes “domain: x ≠ 1, range: y ≠ 1” may have copied the excluded input into the output statement without checking the function’s values.
The symbols x and y play different roles. One is the input; one is the output. A correct answer labels the variable and describes the appropriate set.
The quick asymptote method for a linear-over-linear fraction
Write the same function using division:
(2x + 3)/(x − 1) = 2 + 5/(x − 1).
The expression 5/(x − 1) can be positive or negative but is never zero for any allowed finite x. So the whole expression can never equal two.
As x moves far from one, 5/(x − 1) becomes small, and the graph approaches y = 2. The line y = 2 is a horizontal asymptote, but it is not attained by this function.
This rewriting is a fast way to recognise the excluded output in this example. However, you should not conclude that *every* horizontal asymptote is an excluded range value for every possible function. Some graphs cross their horizontal asymptotes. The algebraic existence test is the more general method.
In this simple non-degenerate linear-over-linear case, the direct rearrangement and the asymptote picture agree.
Worked example 1: a fraction with an excluded output of three
Consider
f(x) = (3x − 1)/(x + 2), defined for all real x except −2.
Rewrite it as
f(x) = 3 − 7/(x + 2).
The second term can never be zero for an allowed finite x, so f(x) can never equal three. Its horizontal asymptote is y = 3.
To verify without relying on the graph, set y = (3x − 1)/(x + 2). Multiply:
y(x + 2) = 3x − 1.
Rearrange:
(y − 3)x = −1 − 2y.
For y ≠ 3, we can solve x = (−1 − 2y)/(y − 3). This x is not −2: equating it to −2 would imply −1 − 2y = −2(y − 3), or −1 = 6, impossible.
Thus every real y other than three is achieved. The range is y ∈ ℝ, y ≠ 3.
Notice that the excluded x-value was −2, while the excluded y-value was three. They do not have to match.
Why the leading-coefficient ratio appears
Consider the general function
f(x) = (ax + b)/(cx + d),
where c ≠ 0 and ad − bc ≠ 0. The determinant condition ensures the numerator and denominator are not proportional, so the function is genuinely non-constant.
Divide numerator and denominator by x when considering large |x|, or perform algebraic division. The leading terms dominate, so the horizontal asymptote is y = a/c.
There is an exact identity:
(ax + b)/(cx + d) = a/c + (bc − ad)/[c(cx + d)].
Because bc − ad is non-zero, the second term is never zero at any allowed input. Hence the range is all real numbers except y = a/c.
This is a valuable shortcut, but its conditions matter. If the numerator and denominator are proportional, the expression can simplify to a constant on its domain. That case behaves differently and deserves its own check.
Worked example 2: a constant disguised as a fraction
Consider
f(x) = (x + 1)/(2x + 2),
defined for x ≠ −1. For every allowed x,
f(x) = (x + 1)/[2(x + 1)] = 1/2.
The function is constant wherever defined. Its range is the single value {1/2}, not “all real numbers except 1/2”.
Here the numerator and denominator are proportional. In general notation, a = 1, b = 1, c = 2 and d = 2, so ad − bc = 2 − 2 = 0. The non-degenerate shortcut does not apply.
This is a subtle trap: a learner remembers that the range of (ax + b)/(cx + d) excludes a/c and uses the rule without checking whether the function is actually constant.
The safer method is always to simplify and inspect the original domain before claiming a range. The value 1/2 is attained at every allowed x, even though the expression has a hole at x = −1.
Why a hole can exclude an output
Now let
g(x) = (x² − 1)/(x − 1) with original domain x ≠ 1.
Factor the numerator:
x² − 1 = (x − 1)(x + 1).
For x ≠ 1, g(x) = x + 1. The graph looks like a straight line but is missing the point where x = 1.
What y-value would the missing point have? If x were one, the simplified line would give y = 2. Could any other permitted x produce y = 2? The line x + 1 = 2 has only solution x = 1, which is forbidden.
Thus the range is all real y except y = 2.
The excluded output here is caused by a missing point, not by an unbounded vertical asymptote. The graph approaches two at x = 1 but does not attain it. This distinction shows why domain preservation matters when cancelling algebraic factors.
A graph is useful, but it must respect its algebraic definition
A graphing calculator may display the rational function g(x) = (x² − 1)/(x − 1) almost exactly as the line y = x + 1. Depending on resolution, it may fail to make the missing point at (1, 2) visible.
A student who relies only on the screen might say the range is all real numbers, because the displayed line seems continuous. The algebra tells us the original expression is undefined at x = 1 and output two is never achieved.
A calculator is a checking aid, not a substitute for exact restrictions. The 2027 H2 Mathematics syllabus expects approved graphing-calculator use while emphasising correct mathematical reasoning where required.
When reviewing a sketch, mark any forbidden x-values on the page before deciding the range. That is a habit that protects both graphs and inverse-function working.
Worked example 3: a restriction imposed by the problem
Suppose the function f(x) = 2 + 5/(x − 1) is now defined only for x ≥ 2.
The original linear-over-linear function had range all real values except two, but this restricted domain changes the available outputs.
For x ≥ 2, the denominator x − 1 is at least one. Therefore 5/(x − 1) is positive and at most five. The reciprocal term becomes arbitrarily close to zero as x increases without bound, but never reaches zero.
Hence the range is
2 < y ≤ 7.
The maximum seven occurs at x = 2: f(2) = 2 + 5/1 = 7. The lower boundary two is not attained.
This example is a useful reminder that a range belongs to a function with its domain, not merely to a formula printed without restrictions.
Worked example 4: a quadratic-over-linear function
Now consider
f(x) = x²/(x − 1), defined for x ≠ 1.
The numerator has degree two, so the simple linear-over-linear range shortcut cannot be used. Instead, set y = x²/(x − 1) and rearrange:
y(x − 1) = x².
So
x² − yx + y = 0.
Think of this as a quadratic equation in x, where y is a parameter. A proposed output y is possible only if this equation has a real solution for x that also respects x ≠ 1.
For the quadratic to have real roots, its discriminant must be non-negative:
Δ = (−y)² − 4(1)(y) = y² − 4y = y(y − 4).
Thus require y(y − 4) ≥ 0.
The solution is y ≤ 0 or y ≥ 4.
We should still check that x = 1 is not one of the quadratic roots. Substituting x = 1 into x² − yx + y gives 1 − y + y = 1, never zero. So no proposed y is being accepted only through a forbidden x. The range is exactly
(−∞, 0] ∪ [4, ∞).
Why the quadratic discriminant decides the range
For fixed y, the rearranged quadratic x² − yx + y = 0 asks whether any real x can produce that output. If its discriminant is negative, there is no real input and the y-value must be excluded.
When y = 2, the equation becomes x² − 2x + 2 = 0, with discriminant 4 − 8 = −4. No real x produces y = 2.
When y = 0, the equation becomes x² = 0, giving x = 0, which is allowed. Thus zero is included.
When y = 4, the equation becomes x² − 4x + 4 = (x − 2)² = 0. The permitted input x = 2 produces f(2) = 4, so four is included.
These checks explain the endpoints of the range rather than merely quoting the discriminant inequality.
Connection to the shape of the rational graph
The graph y = x²/(x − 1) has a vertical asymptote at x = 1 and a slant asymptote because the numerator degree exceeds the denominator degree by one.
Polynomial division gives
x²/(x − 1) = x + 1 + 1/(x − 1).
The excluded outputs between zero and four reflect the curve’s turning behaviour. We can verify that by differentiation, where it is helpful:
f′(x) = [2x(x − 1) − x²]/(x − 1)² = x(x − 2)/(x − 1)².
Stationary points occur at x = 0 and x = 2, with corresponding y-values zero and four. A derivative sign analysis shows the left branch has a local maximum at zero and the right branch a local minimum at four.
The derivative and discriminant methods support the same range, though each uses a different mathematical idea. The algebraic method is particularly clear because it explicitly asks whether a real input exists for every proposed output.
A non-zero denominator is not the whole story
In range questions students sometimes assume that checking the denominator is sufficient. It is necessary for defining the function, but it does not decide the set of output values.
For the linear fraction (2x + 3)/(x − 1), the forbidden x is one, while the forbidden y is two. For the quadratic-over-linear function x²/(x − 1), the forbidden x is still one, but a whole interval of outputs between zero and four is missing.
The difference comes from how the equation y = f(x) can be solved for x. In the first case it is linear in x; in the second case it becomes quadratic and needs a discriminant condition.
The degree and structure of the rational expression therefore affect which method is efficient. Choosing the method is part of H2 Mathematical reasoning.
What does this teach about inverse functions?
Finding the range by solving y = f(x) for x resembles finding an inverse relation. But a range calculation does not automatically prove the original function has a one-to-one inverse function on its domain.
For example, a quadratic can give the same output at two distinct inputs. Solving for x may yield two roots for one y, showing that the inverse relation is not single-valued unless the original domain is suitably restricted.
Even the simple rational g(x) with a hole must retain its original excluded input. An inverse expression that ignores that restriction can invent a point in its graph.
The JC1 H2 functions and inverse-domain guide covers the broader concept. Here we are using equation reversal to decide output existence.
A five-step routine for rational range problems
- Write the original domain and record all forbidden denominator values.
- Set y = f(x), treating y as a proposed output.
- Rearrange to find conditions under which an allowed real x exists.
- For a linear equation, check any coefficient that could become zero. For a quadratic equation, check the discriminant.
- Verify excluded-input restrictions and test whether range endpoints are included or excluded.
For an efficient final answer, write the range as a clearly labelled set or interval. Do not leave the working as an unsolved inequality in y if the question asks for the range.
If a graph or calculator suggests an answer, use these algebraic steps to establish it. They are especially useful when holes and asymptotes appear close together.
Ten practice questions with checked answers
1. Find the domain of f(x) = 1/(x − 2). Answer: x ≠ 2.
2. Find the range of the same function. Answer: y ≠ 0.
3. Find the range of f(x) = 2 + 1/(x − 4) on x ≠ 4. Answer: y ≠ 2.
4. Find the range of f(x) = 3 − 7/(x + 2) on x ≠ −2. Answer: y ≠ 3.
5. Find the range of f(x) = (x + 1)/(2x + 2), x ≠ −1. Answer: {1/2}, because the function is constant wherever defined.
6. Find the range of f(x) = (x² − 1)/(x − 1), x ≠ 1. Answer: All real y except two, because cancellation leaves y = x + 1 with x = 1 still excluded.
7. Find the range of f(x) = 1/x for x > 0. Answer: y > 0.
8. Find the range of f(x) = 2 + 5/(x − 1) for x ≥ 2. Answer: 2 < y ≤ 7.
9. Find the range of f(x) = x²/(x − 1), x ≠ 1. Answer: y ≤ 0 or y ≥ 4.
10. If a proposed output y gives a negative discriminant when solving y = f(x) for real x, is it in the range? Answer: No; no permitted real input can produce it.
A learner who can explain questions five, six and nine has gone beyond memorising the “horizontal asymptote is excluded” shortcut. They have learned to test actual output existence.
A quick parent-friendly diagnostic
Ask a student for the domain and range of y = 1/(x − 1). A correct answer separates x ≠ 1 from y ≠ 0. Then change the numerator to x + 1 and ask what happens. A learner who understands the concept can analyse the new expression rather than repeat the old range automatically.
Next show a rational expression that simplifies to a line with a hole. Ask whether the hole’s y-coordinate is still attainable somewhere else. If not, that output is excluded too.
Finally offer the quadratic-over-linear example and let the learner see how discriminant reasoning, already familiar from quadratics, becomes a range test. The topic moves from simple checks to unfamiliar structure without abandoning the same question: which y-values can the function produce?
An effective three-stage JC1 tutorial sequence
Stage one: separate input and output restrictions
Use simple rational graphs and require correct domain and range labels. Have the student test whether the claimed excluded y-value could be produced by any x.
Stage two: reverse the equation
Set y = f(x) and solve algebraically for x. Introduce the non-degenerate linear fraction, then a constant disguised as a fraction, and then a removable hole.
Stage three: use the discriminant and verify with graphs
Let the learner determine the range of x²/(x − 1) by solving a quadratic in x. Check the endpoints and compare with its curve’s turning points. Finish with an unseen rational function.
The goal is that the learner chooses a valid method and explains the restrictions without being prompted by the tutor.
Frequently asked questions
Is the range always all real numbers except the horizontal asymptote?
No. That conclusion holds for certain non-degenerate linear-over-linear rational functions on their natural domains. Other rational functions can have different range restrictions or can attain a horizontal asymptote.
Why do we solve for x when asked for the range of y?
Because a value y is in the range only if some permitted real x produces it. Solving y = f(x) is a direct existence test.
Why must I check the denominator after simplifying?
A cancelled factor does not restore an input originally excluded from the function. Such a hole can also remove an output from the range.
How does the discriminant help?
If rearranging y = f(x) gives a quadratic in x, the discriminant must be non-negative for a real input to exist. We must also respect the original domain.
Is a horizontal asymptote necessarily a forbidden output?
No. Some functions cross their horizontal asymptotes. Test whether a finite allowed input can produce that y-value.
Does finding the range automatically give the inverse function?
No. An inverse *function* also requires the original mapping to be one-to-one on its stated domain. Range calculation and invertibility are related but distinct tasks.
Is this part of H2 Mathematics?
Yes. The 2027 H2 Mathematics syllabus 9758 includes functions, domains, ranges and rational graph characteristics. The present examples support that scope, while individual school topic order may vary.
Related reading and the official guide
Continue to why f(2x) compresses a graph for input mappings, reciprocal graph zeros and asymptotes for denominator behaviour, and composite-function domain restrictions for another use of precise input and output sets. The official 2027 H2 Mathematics syllabus is the current source for content scope.
The immutable eduKateSG Secondary 1 Mathematics small-group reference illustrates teaching that diagnoses the first incorrect step, explains and checks independent work. It is not a JC1 timetable or statement of current tuition fees. For local programme information visit Bukit Timah JC1 tuition.
Remember the question behind every range calculation: given this y-value, can any allowed real x actually produce it?
