Skip to main content
NSWMaths AdvancedSyllabus dot point

What inputs is a function allowed to take, what outputs does it actually reach, and how do you read both straight off a graph, including a restricted piece and a graph read backwards with horizontal lines?

Find the natural domain of a function (avoiding division by zero and square roots of negatives), determine the range from a sketch, work with restricted domains, and read the range from a graph using horizontal lines

A Year 11 Maths Advanced answer on domain and range: finding the natural domain by avoiding division by zero and square roots of negatives, reading the range from a sketch, restricted domains, and reading a graph backwards with horizontal lines, with worked parabola and semicircle examples and practice questions.

Generated by Claude Opus 4.820 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

What this dot point is asking

Every function comes with two sets of numbers attached to it. The domain is the set of all inputs xx you are allowed to feed in; the range is the set of all outputs yy that actually come out. This dot point is about finding both. There are two distinct skills, and students who blur them lose easy marks.

Finding the domain is an algebra question: given a rule, which xx-values can you legally substitute? Two operations are forbidden in this course, dividing by zero and taking the square root of a negative, so the natural domain is whatever is left once you rule those out. Finding the range is usually a graph question: once you have a sketch, the range is the spread of heights the curve covers, which is easiest to read after drawing. On top of that, NESA expects you to handle a restricted domain (a function deliberately cut down to part of the line, where the range can change) and to read a graph backwards using horizontal lines to decide which outputs are reached. The whole topic is short, but it underpins inverse functions, every graph you will sketch, and the language of "for what values" that recurs across the paper.

The answer

Domain and range: inputs and outputs

The domain of a function is the set of all possible xx-coordinates (the inputs); the range is the set of all possible yy-coordinates (the outputs). Picture a graph and project it onto the axes: the shadow on the xx-axis is the domain, and the shadow on the yy-axis is the range. Anywhere the curve sits above or below a point on the xx-axis, that xx is in the domain; anywhere the curve sits left or right of a point on the yy-axis, that yy is in the range.

The graph below shows the curve y=x24x+7y = x^2 - 4x + 7 drawn only on 0x50 \le x \le 5. Its domain is shaded as a band along the xx-axis and its range as a band up the yy-axis. Reading the picture: the inputs run across 0x50 \le x \le 5, and the outputs run from the lowest point at the vertex up to the highest endpoint, 3y123 \le y \le 12.

Reading domain and range off a graphThe curve y equals x squared minus four x plus seven on the domain zero to five. The domain band zero to five is shaded on the x-axis and the range band three to twelve is shaded on the y-axis.xy31250vertex (2, 3)domain 0 ≤ x ≤ 5range 3 ≤ y ≤ 12

The natural domain: the two forbidden operations

When a function is given by a rule with no domain stated, the convention is that the domain is every xx you can legally substitute. This is the natural domain. In Year 11 Advanced there are exactly two operations that fail for some inputs, and almost every domain question is one or both of them:

  • You cannot divide by zero. So any denominator must be non-zero: set it 0\ne 0 and exclude the values that make it zero.
  • You cannot take the square root of a negative number. So any expression under a square root (the radicand) must be non-negative: set it 0\ge 0 and solve.

For a polynomial such as y=x32x+1y = x^3 - 2x + 1 there is no denominator and no root, so nothing is forbidden and the natural domain is all real xx. The domain only shrinks when a denominator or a root appears.

A subtle but heavily examined case is when the root and the denominator are the same expression. In f(x)=1x2f(x) = \dfrac{1}{\sqrt{x - 2}} the quantity x2x - 2 is under a root and in the denominator, so it must be both 0\ge 0 (root) and 0\ne 0 (denominator). Together these force x2>0x - 2 > 0, a strict inequality, so the domain is x>2x > 2, not x2x \ge 2. The boundary x=2x = 2 is excluded because it would make the denominator zero. The graph below decays away from a vertical asymptote at x=2x = 2, and the open circle on the xx-axis marks that 22 itself is not allowed.

The natural domain of one over root x minus twoThe curve y equals one over the square root of x minus two decays from a vertical asymptote at x equals two. The domain x greater than two is shaded on the x-axis with an open circle at two.xx = 226domain x > 2 (open: 2 excluded)y = 1 / √(x - 2)

This open-circle, included-versus-excluded distinction is the same one you met with intervals on the number line: a closed (filled) circle means the endpoint is in the set, an open (hollow) circle means it is not. We write intervals here in inequality form such as x>2x > 2 or 3x3-3 \le x \le 3, not as coordinate-style brackets.

Reading the range off a sketch, and reading it backwards

Once a curve is drawn, the range is the set of heights it covers. The reliable way to find it is to look for the highest and lowest points the curve reaches, since the range is everything between (and including, if reached) those extremes. For a parabola this is just the vertex on one side, with the curve running off to infinity on the other; for a bounded curve like a semicircle it is the top and the ends.

There is a second, sharper way to think about the range that pays off later: read the graph backwards with horizontal lines. To test whether a particular output y=by = b is in the range, draw the horizontal line y=by = b and see whether it meets the curve. If it does, that height is reached, so bb is in the range; if the line misses the curve entirely, bb is not an output. Sweeping the horizontal line up and down, the range is exactly the set of heights at which it touches the curve.

The figure below applies this to y=x24x+7y = x^2 - 4x + 7. The line y=7y = 7 meets the curve (twice, in fact), so 77 is in the range. The line y=2y = 2 passes underneath the curve and never touches it, so 22 is not in the range. The lowest the curve goes is the vertex at y=3y = 3, so the range is everything from 33 upward, y3y \ge 3.

Reading the range backwards with horizontal linesOn the curve y equals x squared minus four x plus seven, the horizontal line y equals seven meets the curve twice so seven is in the range, while the horizontal line y equals two passes below the curve so two is not in the range.xyy = 7y = 2y = 3y = 7 meets twice: 7 is in the rangey = 2 misses: 2 is below the range.Lowest point y = 3, so the range is y ≥ 3.

The range of a parabola from its vertex

A parabola is the most common range question, and you do not need to plot it point by point. Put the quadratic into completed-square (vertex) form y=(xh)2+ky = (x - h)^2 + k, read off the vertex (h,k)(h, k), and use the direction it opens:

  • If it opens upward (positive coefficient of x2x^2), the vertex is the minimum, and the range is yky \ge k.
  • If it opens downward (negative coefficient), the vertex is the maximum, and the range is yky \le k.

For y=x24x+7y = x^2 - 4x + 7, completing the square gives (x2)2+3(x - 2)^2 + 3, so the vertex is (2,3)(2, 3) and, opening upward, the range over the whole real line is y3y \ge 3. The domain, with no denominator or root, is all real xx. The vertex does the work: its yy-coordinate is the boundary of the range.

The range of a semicircle

A semicircle is the standard bounded example, and it is the reason square-root functions matter here. The full circle x2+y2=a2x^2 + y^2 = a^2 is not a function (a vertical line cuts it twice), but solving for yy splits it into two halves that are functions: y=a2x2y = \sqrt{a^2 - x^2} is the upper semicircle (outputs 0\ge 0), and y=a2x2y = -\sqrt{a^2 - x^2} is the lower one (outputs 0\le 0).

Take y=25x2y = \sqrt{25 - x^2}, the upper semicircle of radius 55. For the domain, the radicand must be non-negative: 25x2025 - x^2 \ge 0 gives x225x^2 \le 25, so 5x5-5 \le x \le 5. For the range, read the shape: the curve climbs from y=0y = 0 at the ends to a highest point y=5y = 5 at the top (0,5)(0, 5), and never goes negative, so 0y50 \le y \le 5. The figure shows both bands.

Domain and range of a semicircleThe upper semicircle y equals the square root of twenty five minus x squared. The domain band minus five to five is shaded on the x-axis and the range band zero to five is shaded on the y-axis.xy-555(0, 5)domain -5 ≤ x ≤ 5range 0 ≤ y ≤ 5

The lower semicircle y=25x2y = -\sqrt{25 - x^2} has the same domain 5x5-5 \le x \le 5 (the radicand is unchanged) but the range flips to 5y0-5 \le y \le 0, since every output is the negative of the upper one. Changing the sign of the whole function reflects it in the xx-axis and flips the range, but leaves the domain alone.

Restricted domains

A function can be deliberately given on only part of the line, for instance "y=x26x+5y = x^2 - 6x + 5 for 0x20 \le x \le 2". This is a restricted domain: the rule is the same, but you only use the inputs in the stated interval, and the range is read from that piece of the curve, not the whole parabola. Restricted domains appear naturally in real problems (a height only makes sense while an object is in the air; a length must be positive) and are the key idea behind inverting a parabola later.

The trap is to quote the vertex value out of habit. Always check whether the vertex lies inside the restricted domain. If it does, it is the maximum or minimum as usual. If it does not, the parabola is steadily increasing or decreasing across the whole piece, so the range runs between the two endpoint values instead. For y=x26x+5=(x3)24y = x^2 - 6x + 5 = (x - 3)^2 - 4 on 0x20 \le x \le 2, the vertex is at x=3x = 3, outside the interval, so the curve is decreasing across [0,2][0, 2]: the range is from f(2)=3f(2) = -3 up to f(0)=5f(0) = 5, that is 3y5-3 \le y \le 5, and the vertex value 4-4 never appears.

How exam questions ask about domain and range

The wording is a reliable cue to which skill is wanted:

  • "Find the natural domain" or "state the largest possible domain" means apply the two rules: set every denominator 0\ne 0 and every radicand 0\ge 0, solve each, and combine. No graph needed.
  • "For what values of xx is the function defined?" is the same domain question in words.
  • "Write down the range" of a sketched graph means read the heights off the picture, from lowest to highest. State it as an inequality such as y3y \ge 3 or 5y5-5 \le y \le 5.
  • "State the domain and range" of a circle or semicircle wants both: the domain from the root condition (or the xx-extent of the circle), the range from the shape.
  • A restricted domain in the question ("for 0x20 \le x \le 2") is a flag to check whether the vertex is inside the interval before quoting it, and otherwise to use the endpoints.
  • A real context (height of a projectile, area of a rectangle, cost over a number of items) usually restricts the domain to sensible values (time 0\ge 0, length >0> 0), so state that restriction as part of the answer.
  • "Is y=by = b a possible value?" is reading the range backwards: test whether the horizontal line y=by = b meets the curve.

Practice questions

Original practice questions graded from foundation to exam level, each with a full worked solution. Try them before revealing the solution.

foundation2 marksFind the natural domain of each function: (a) g(x)=1x+3g(x) = \dfrac{1}{x + 3}, (b) h(x)=x5h(x) = \sqrt{x - 5}.
Show worked solution →

State the rule for each. A denominator cannot be zero; a square root cannot take a negative number.

(a) g(x)=1x+3g(x) = \dfrac{1}{x + 3}. The only danger is dividing by zero, so set the denominator not equal to 00:

x+30    x3.x + 3 \ne 0 \;\Rightarrow\; x \ne -3.

The natural domain is all real xx except x=3x = -3.

(b) h(x)=x5h(x) = \sqrt{x - 5}. The radicand must be non-negative:

x50    x5.x - 5 \ge 0 \;\Rightarrow\; x \ge 5.

The natural domain is x5x \ge 5.

State the answers. (a) all real xx, x3x \ne -3; (b) x5x \ge 5. Note the contrast: a root alone allows the boundary value (x=5x = 5 gives 0=0\sqrt{0} = 0), but a denominator alone excludes it.

foundation2 marksThe parabola y=(x1)24y = (x - 1)^2 - 4 has its turning point at (1,4)(1, -4) and opens upward. State its range, and explain in one line why the domain is all real xx.
Show worked solution →

Read the vertex. The form y=(x1)24y = (x - 1)^2 - 4 is already completed-square, so the vertex is (1,4)(1, -4) and the parabola opens upward (the coefficient of the squared bracket is +1+1).

Find the range from the vertex. An upward parabola has its lowest point at the vertex, so the smallest output is y=4y = -4, reached at x=1x = 1, and the curve rises forever above it:

range: y4.\text{range: } y \ge -4.

Check the lowest value. At x=1x = 1, y=(11)24=4y = (1 - 1)^2 - 4 = -4, the minimum, confirming the range starts at 4-4.

Domain. You can substitute any real number into (x1)24(x - 1)^2 - 4 (no denominator, no root), so the natural domain is all real xx. The range is the restricted side; the domain is unrestricted.

core3 marksSketch the relationship y=9x2y = -\sqrt{9 - x^2} in your head (a lower semicircle of radius 33), and state its domain and range with reasons.
Show worked solution →

Identify the curve. Squaring gives y2=9x2y^2 = 9 - x^2, i.e. x2+y2=9x^2 + y^2 = 9, a circle of radius 33 centred at the origin. The minus sign in y=9x2y = -\sqrt{9 - x^2} keeps only the lower half (outputs are 0\le 0).

Find the domain (where the root is defined). The radicand must be non-negative:

9x20    x29    3x3.9 - x^2 \ge 0 \;\Rightarrow\; x^2 \le 9 \;\Rightarrow\; -3 \le x \le 3.

So the domain is 3x3-3 \le x \le 3.

Find the range from the shape. The lower semicircle dips to its lowest point at the bottom, (0,3)(0, -3), and rises to y=0y = 0 at the two ends (±3,0)(\pm 3, 0):

range: 3y0.\text{range: } -3 \le y \le 0.

Check the endpoints. At x=0x = 0, y=9=3y = -\sqrt{9} = -3 (the bottom); at x=3x = 3, y=0=0y = -\sqrt{0} = 0 (an end). Both match, so the domain is 3x3-3 \le x \le 3 and the range is 3y0-3 \le y \le 0.

core3 marksFind the natural domain of f(x)=x+4x1f(x) = \dfrac{\sqrt{x + 4}}{x - 1}. Set out both conditions and combine them.
Show worked solution →

List the two restrictions. This function has both a square root (in the numerator) and a denominator, so it must satisfy two conditions at once.

Condition 1, the root. The radicand must be non-negative:

x+40    x4.x + 4 \ge 0 \;\Rightarrow\; x \ge -4.

Condition 2, the denominator. It cannot be zero:

x10    x1.x - 1 \ne 0 \;\Rightarrow\; x \ne 1.

Combine them. Both must hold, so take the overlap: start from x4x \ge -4 and then punch out the single point x=1x = 1:

x4 and x1.x \ge -4 \text{ and } x \ne 1.

State the answer. The natural domain is x4x \ge -4, x1x \ne 1. The value x=1x = 1 lies inside x4x \ge -4, so it really must be removed; that one excluded point is the trap.

exam3 marksA function is defined by y=x26x+5y = x^2 - 6x + 5 on the restricted domain 0x20 \le x \le 2. Find its range. (Hint: check whether the vertex lies inside the domain.)
Show worked solution →
Locate the vertex
Completing the square, x26x+5=(x3)24x^2 - 6x + 5 = (x - 3)^2 - 4, so the (unrestricted) vertex is (3,4)(3, -4).
Check whether the vertex is in the domain
The domain is 0x20 \le x \le 2, but the vertex is at x=3x = 3, which is outside it. So the turning point is never reached, and the range is governed by the endpoints, not the vertex.
Decide the behaviour on 0x20 \le x \le 2
To the left of the vertex (x=3x = 3) an upward parabola is still decreasing, so on [0,2][0, 2] the function falls steadily from x=0x = 0 to x=2x = 2. The largest output is at x=0x = 0 and the smallest at x=2x = 2.
Evaluate the endpoints

f(0)=00+5=5,f(2)=412+5=3.f(0) = 0 - 0 + 5 = 5, \qquad f(2) = 4 - 12 + 5 = -3.

State the range. The outputs run from 3-3 up to 55, so the range is 3y5-3 \le y \le 5. The trap is to use the vertex value 4-4; it is not in the range because x=3x = 3 is not in the domain.

exam4 marksA drone takes off from the ground and its height above the ground after tt seconds is h=30t5t2h = 30t - 5t^2 metres, for the flight 0t60 \le t \le 6. (a) State the natural restriction on tt given the context. (b) Find the greatest height reached. (c) State the range of hh over the flight, and say what it means.
Show worked solution →

(a) The domain in context. Time cannot be negative and the flight lasts until the drone lands, so the sensible domain is the one given, 0t60 \le t \le 6 (a restricted domain set by the real situation, not by any division or root).

(b) Greatest height. The height h=30t5t2h = 30t - 5t^2 is a parabola opening downward (coefficient of t2t^2 is 5-5), so its maximum is at the vertex. The axis of symmetry is at

t=302(5)=3,t = \frac{-30}{2(-5)} = 3,

which lies inside 0t60 \le t \le 6. The greatest height is

h(3)=30(3)5(3)2=9045=45 metres.h(3) = 30(3) - 5(3)^2 = 90 - 45 = 45 \text{ metres}.

(c) Range over the flight. At the ends, h(0)=0h(0) = 0 and h(6)=30(6)5(6)2=180180=0h(6) = 30(6) - 5(6)^2 = 180 - 180 = 0, so the drone starts and finishes on the ground. Between them it rises to 4545 m, so the height takes every value from 00 up to 4545:

range: 0h45.\text{range: } 0 \le h \le 45.

Interpret it. The drone's height ranges from 00 metres (ground, at take-off and landing) up to a maximum of 4545 metres at t=3t = 3 seconds. The vertex is in the domain this time, so its value 4545 is the top of the range.

Related dot points