topic badge
AustraliaVIC
VCE 11 Methods 2023

4.03 Domain and range

Lesson

Remember that functions and relations describe ways of linking two sets of data. In addition, a relation between $x$x and $y$y is a function if there is only one $y$y value associated with each $x$x value.

For example, $\left\{\left(1,2\right),\left(5,3\right),\left(2,-7\right),\left(5,-1\right)\right\}${(1,2),(5,3),(2,7),(5,1)} is not a function as the same $x$x value of $5$5 can be related to the $y$y values of both $3$3 and $-1$1. Recall that graphically, the vertical line test can be used to see if a relation is a function.

Sometimes, a relation can be restricted over a certain interval to then define a function. To do this, the domain and range of the relation need to be considered. 

Domain and range provide a way to describe the set of inputs and outputs for relations. 

Definition

For a relation between the independent variable $x$x and dependent variable $y$y:

Domain - the possible $x$x values of a relation

Range - the possible $y$y values of a relation

There are a number of ways to find the domain and range of a relation. One is to look at the coordinates given and list the possible values. For example, in the previous example, the domain is $\left\{1,5,2\right\}${1,5,2} and the range is $\left\{2,3,-7,-1\right\}${2,3,7,1}. Notice how repeated values are not included and order is not important, as we only care about the possible values of $x$x and $y$y

The other method is to look at a relation graphically, and see how 'wide' or 'long' the graph is:

Horizontally this graph spans from $-1$1 to $1$1, so this means that the domain can be expressed as $-1\le x\le1$1x1. Similarly, the graph spans vertically from $-2$2 to $2$2 so the range may be written as $-2\le y\le2$2y2.

 

Practice questions

Question 1

Consider the relation in the table.

$x$x $y$y
$1$1 $3$3
$6$6 $2$2
$3$3 $7$7
$8$8 $1$1
$2$2 $2$2
  1. What is the domain of the relation? Enter the values, separated by commas.

  2. What is the range of the relation? Enter the values separated by commas.

  3. Is this relation a function?

    Yes

    A

    No

    B

question 2

Consider the graph of the relation on the $xy$xy-plane below.

Loading Graph...

A Cartesian coordinate plane with three points plotted with solid dots. The x and y-axis ranges from 0 to 12 marked in intervals of two. The points are connected by three line segments forming a triangle. A solid line segment connects the points $\left(2,7\right)$(2,7) to $\left(9,8\right)$(9,8), the points $\left(9,8\right)$(9,8) to $\left(7,3\right)$(7,3), and from points $\left(7,3\right)$(7,3) to $\left(2,7\right)$(2,7). The coordinates are not explicitly labeled.
  1. What is the domain of the relation?

    Express your answer using inequalities.

  2. What is the range of the relation?

    Express your answer using inequalities.

  3. Is this relation a function?

    Yes

    A

    No

    B

 

Implied domain of an equation

A relation or function may be given as an equation, for example $f(x)=x^2+1$f(x)=x2+1. The equation may have implied restrictions because of the type of equation, or even restrictions implied or defined by the context of the problem.

When looking for the implied domain (sometimes called the maximal domain) of an equation, ask "Is there any input value where the equation will be undefined?". Examples of this are square roots of negative numbers or denominators equal to zero.

Exploration

The function $f\left(x\right)=\sqrt{x}$f(x)=x, defined for real numbers, is undefined for negative real numbers. Hence, its domain is: $x\ge0$x0.

The function $f\left(x\right)=\frac{1}{x}$f(x)=1x cannot be evaluated at zero. Hence, its domain is the compound interval: $\left(-\infty,0\right)\cup\left(0,\infty\right)$(,0)(0,)

The first example, $f\left(x\right)=x^2+1$f(x)=x2+1 has no exclusions and so its implied domain includes all real numbers: $\left(-\infty,\infty\right)$(,).

Secondly, there might be what could be called user-defined restrictions where certain restrictions are put onto the domain so that the function makes sense in the real world.

For example, consider a function $f\left(x\right)=3.5x$f(x)=3.5x used to determine the revenue on selling $x$x apples. Here, the domain is given by the set of positive integers because the number of apples can't be negative. Consider another function $f\left(t\right)=200t-4.9t^2$f(t)=200t4.9t2 where $t$t is the elapsed time in seconds after the stroke of midnight on 31 December 2015. Negative time makes no sense, so restrict the input to the time domain  $t\ge0$t0

 

Worked example

Find the implied domain of $f\left(x\right)=\sqrt{x-x^2}$f(x)=xx2, defined over the real numbers. 

If we try $x=2$x=2, we immediately find a problem, since $f\left(2\right)=\sqrt{2-2^2}=\sqrt{-2}$f(2)=222=2. Clearly the implied domain is some subset of the real numbers that doesn't include $2$2. But how do we find it?

We know that we need $x-x^2\ge0$xx20, or after factorising, $x\left(1-x\right)\ge0$x(1x)0. This means that the product of the two numbers $x$x and $1-x$1x must be positive. So, $x$x must be confined to the interval $0\le x\le1$0x1.

Any number outside that interval will cause either $x$x or $1-x$1x (but never both) to become negative, and hence the product will become negative as well. So the implied domain is given by $0\le x\le1$0x1.

 

Range 

To find the range, try one of the following strategies:

  • Graph the equation using technology and observe the range.
  • Use knowledge of the type of graph that the equation produces to understand if there are any restrictions in the vertical direction. E.g. Find turning points for parabolas.
  • Rearrange the equation to '$x=$x= ....' and ask "Is there any $y$y value the equation cannot handle?"

 

Remember!

If a restriction of the domain is given, check key features of the graph as well as the end-points for restriction on the range.

 

When looking at parabolas, unless given a restricted domain, the domain is all real $x$x, also written as the set $\left(-\infty,\infty\right)$(,). The range is either $\left[\text{min value},\infty\right)$[min value,) for concave up parabolas, or $\left(-\infty,\text{max value}\right]$(,max value] for concave down parabolas. This is illustrated in the following image.  

 

 

 

Practice questions

Question 3

The function $f$f is used to determine the area of a square given its side length.

  1. Which of the following values is not part of the domain of the function?

    $-8$8

    A

    $6.5$6.5

    B

    $9$9$\frac{1}{3}$13

    C

    $\sqrt{78}$78

    D
  2. For $n\ge0$n0, state the area function for a side length of $n$n.

  3. Plot the graph of the function $f$f.

    Loading Graph...

Question 4

The function $f\left(x\right)=\sqrt{x+1}$f(x)=x+1 has been graphed.

Loading Graph...

  1. State the domain of the function. Express as an inequality.

  2. Is there a value in the domain that can produce a function value of $-2$2?

    Yes

    A

    No

    B

question 5

Consider the parabola defined by the equation $y=x^2+5$y=x2+5.

  1. Is the parabola concave up or concave down?

    Concave up

    A

    Concave down

    B
  2. What is the $y$y-intercept of the parabola?

  3. What is the minimum $y$y value of the parabola?

  4. Hence determine the range of the parabola.

    $y\ge\editable{}$y

Question 6

Consider the graph of the rational function.

Loading Graph...

  1. State the domain using interval notation.

  2. State the range using interval notation.

 

Co-domain and mapping

The co-domain for a function is related to the range but can be thought of as all the possible outputs for a given function. In contrast, the range is the actual set of outputs for the given function.

For example, consider the function $f(x)=3x$f(x)=3x for all positive integers $x$x. It would be reasonable to define the co-domain as all positive integers as well. However, the outputs will actually only be multiples of $3$3. So the range is all multiples of $3$3, for example, $3,6,9,\ldots$3,6,9,

The co-domain is included in the notation of the function when using arrow notation.

If a function $f$f has the domain $X$X and co-domain $Y$Y, the following notation may be used:

$f$f  :  $X\rightarrow Y$XY

This reads as "the function $f$f from $X$X to $Y$Y" or "the function $f$f mapping the elements of the set $X$X to the elements of the set $Y$Y".

 

Practice questions

QUESTION 7

Consider the function $f\ :\ \mathbb{R}\rightarrow\ \mathbb{R}$f :   defined as $f\left(x\right)=x^2+1$f(x)=x2+1.

  1. What is the domain of the function?

    $\left(-1,1\right)$(1,1)

    A

    $\left(0,\infty\right)$(0,)

    B

    $\left[1,\infty\right)$[1,)

    C

    $\mathbb{R}$

    D
  2. What is the co-domain?

    $\left(-1,1\right)$(1,1)

    A

    $\left(0,\infty\right)$(0,)

    B

    $\left[1,\infty\right)$[1,)

    C

    $\mathbb{R}$

    D
  3. What is the range?

    $\left(-1,1\right)$(1,1)

    A

    $\left(0,\infty\right)$(0,)

    B

    $\left[1,\infty\right)$[1,)

    C

    $\mathbb{R}$

    D

Outcomes

U1.AoS1.1

functions and function notation, domain, co-domain and range, representation of a function by rule, graph and table, inverse functions and their graphs

U1.AoS1.5

the definition of a function, the concepts of domain (including maximal, natural or implied domain), co-domain and range, notations for specification of the domain, co-domain and range and rule of a function

U1.AoS1.9

specify the rule, domain (including maximal, natural or implied domain), co-domain, and range of a function and identify whether or not a relation is a function

What is Mathspace

About Mathspace