topic badge

1.03 Domain, range, zeros, and symmetry

Lesson

Domain and range

Recall that the domain of a relation is the set of all possible input values for a relation, while the range denotes the set of all possible output values.

Graphically

We can use the graph of a function to determine its domain and range. Let's consider the graph below:

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

Domain and range notation

The domain and range of a function can be expressed using either interval or set notation.

Think about a straight line like $y=2x+1$y=2x+1, pictured below. Its domain and range have no restrictions at all. And so, we could write the domain and range in interval notation as $\left(-\infty,\infty\right)$(,).

 

Careful!

Although we cannot see the end of the graph above, we can assume that the graph extends beyond the edges of the window. The only exception is when the graph is bounded by a point.

 

Practice questions

Question 1

Consider the function $f$f graphed below.

Use the graph to determine whether each of the given statements is true or false.

Loading Graph...

A piecewise function is graphed on a Coordinate Plane with axes labeled x and y. The x-axis ranges from -10 to 10  and the y-axis ranges from -5 to 20, both labeled in increments of 2. The graph is composted of two segments, a parabola and a line segment. The first segment of the graph is a parabola that opens upwards. The vertex of the parabola is located at $\left(-3,0\right)$(3,0). The left endpoint of the parabola is a black dot located at $\left(-5,4\right)$(5,4). The part of the parabola at the right of the vertex extends to the direction of point $\left(1,16\right)$(1,16) but does not reach $\left(1,16\right)$(1,16). $\left(1,16\right)$(1,16) is plotted by a hollow dot. The second segment of the graph located at the right of the parabola started at the x-coordinate of the hollow dot $\left(1,16\right)$(1,16). The second segment of the graph is a line starting from $\left(1,13\right)$(1,13) to $\left(7,-3\right)$(7,3), both plotted by a black dot. The y-value at $x=1$x=1 is $16$16, which is the left endpoint $\left(1,13\right)$(1,13). Point $\left(7,-3\right)$(7,3) is located at a lower y value than the vertex $\left(-3,0\right)$(3,0) of the parabola. The coordinates of the black dots, hollow dot, and vertex of the parabola are not explicitly given.

  1. The domain is $\left[-5,7\right]$[5,7]

    False

    A

    True

    B
  2. The range is $\left[-3,16\right]$[3,16]

    True

    A

    False

    B
  3. $f\left(1\right)-f\left(7\right)=-19$f(1)f(7)=19

    false

    A

    true

    B
  4. $f\left(0\right)=16$f(0)=16

    False

    A

    True

    B

Question 2

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

 

Intercepts

A point where a graph intersects an axis is called an intercept. The $y$y-intercept of a function occurs at the point where the $x$x-value of the function is zero. The $x$x-intercept occurs where the $y$y-value is zero. By definition, the graph of a function can have $0$0, $1$1, or many $x$x-intercepts. However, it can only have one $y$y-intercept.

The points are the intercepts of the function.

Practice questions

Question 3

Consider the following graph.

Loading Graph...

  1. Find the $x$x-intercept(s). Give each intercept in the form $\left(a,b\right)$(a,b).

    If there is more than one $x$x-intercept, state all of them on the same line, separated by commas.

Question 4

Find the intercept(s) of the graph.

Write each intercept as an ordered pair in the form $\left(a,b\right)$(a,b). If there is more than one intercept, write all of them on the same line, separated by commas.

Loading Graph...

 

Zeros

We can write down the equation of a function in the form $y=f\left(x\right)$y=f(x). For example, let's consider the quadratic function with equation $y=x^2-1$y=x21. This equation has infinitely many solutions, such as the pair $x=2,y=3$x=2,y=3, with each $x$x-value corresponding to a $y$y-value.

Now, there is a particular set of solutions which have $y=0$y=0. We call the corresponding values of $x$x the zeros of the function. For some functions, such as $y=x^2-1$y=x21, we can set the $y$y-value to be $0$0 and solve the resulting equation to find the zeros. For other functions, such as $y=e^x-3x^2$y=ex3x2, it is not so easy to find the zeros algebraically.

 

Finding the number of zeros graphically

In many situations, it is useful to know how many zeros a function has, without necessarily finding the particular values. To do so, we can make use of the graph of the function.

Here is the graph of a function $y=f\left(x\right)$y=f(x):

The graph of a function

The zeros of a function are the values of $x$x which correspond to $y=0$y=0. Looking at the graph, we can see that all points which have a $y$y-coordinate of $0$0 lie on the $x$x-axis. That is, the zeros of a function are the $x$x-coordinates of the $x$x-intercepts of the curve!

For the function in the graph above we can see that the curve crosses the $x$x-axis three times, so this function has three zeros. The intercepts are highlighted in the following graph:

The graph of a function and its $x$x-intercepts

Note that not all functions have zeros! This can also be seen by looking at a graph of the function. If the curve does not intersect the $x$x-axis at any point, then there are no values of $x$x which correspond to $y=0$y=0 and so the function has no zeros. Here is the graph of $y=x^2+1$y=x2+1 as an example:

A graph of the function $y=x^2+1$y=x2+1, which has no $x$x-intercepts

 

Summary

For a function $y=f\left(x\right)$y=f(x), the zeros of that function are the values of $x$x which correspond to $y=0$y=0.

Graphically, the zeros of a function are the $x$x-coordinates of the $x$x-intercepts of the curve, and so the number of zeros of a function is the same as the number of $x$x-intercepts of its graph.

Careful!

Not every function has zeros! For such functions, their graph does not cross the $x$x-axis at any point.

 

Finding the number of solutions to an equation

We can also use this technique when looking for the number of solutions to an equation, such as $x^3=x-3$x3=x3.

To do so, we first rearrange the equation so that one side is equal to zero:

$x^3-x+3=0$x3x+3=0

The solutions to this equation are the zeros of the function $y=x^3-x+3$y=x3x+3. So we can determine the number of solutions by sketching a graph of $y=x^3-x+3$y=x3x+3 (using technology or otherwise) and looking at the number of $x$x-intercepts:

A graph of the function $y=x^3-x+3$y=x3x+3

Looking at the graph we can see that this curve has one $x$x-intercept, and so the original equation $x^3=x-3$x3=x3 has exactly one real solution.

Practice questions

Question 5

A graph of the function $y=\left(x-2\right)\left(x^2-6x+3\right)$y=(x2)(x26x+3) is shown below.

How many values of $x$x satisfy the equation $\left(x-2\right)\left(x^2-6x+3\right)=0$(x2)(x26x+3)=0?

Loading Graph...

Question 6

A graph of the function $y=\log_4x$y=log4x is shown below.

How many values of $x$x satisfy the equation $\log_4x=0$log4x=0?

Loading Graph...

 

Symmetry

Functions can be grouped into three varieties. There are odd functions, there are even functions and there are functions which are neither odd nor even. The reason for the classification of oddness and evenness of a function has to do with symmetry. Knowing that a function is odd or even assists us with understanding more about the shape of a function's graph.  

 

Even functions

An even function $f\left(x\right)$f(x) exhibits the property that, for all $x$x values in the domain,  $f\left(-x\right)=f\left(x\right)$f(x)=f(x)

For example the function $f\left(x\right)=x^4-8x^2+16$f(x)=x48x2+16 is even because we can show that:

$f\left(-x\right)$f(x) $=$= $\left(-x\right)^4-8\left(-x\right)^2+16$(x)48(x)2+16
  $=$= $x^4-8x^2+16$x48x2+16
  $=$= $f\left(x\right)$f(x)

An even function exhibits reflective symmetry across the $y$y-axis as shown in the graph below. 

 

Odd functions 

Algebraically speaking, an odd function $f\left(x\right)$f(x) exhibits the property that, for all $x$x values in the domain, $f\left(-x\right)=-f\left(x\right)$f(x)=f(x)

So for example the function given by $f\left(x\right)=x^3-x$f(x)=x3x is odd because:

$f\left(-x\right)$f(x) $=$= $\left(-x\right)^3-\left(-x\right)$(x)3(x)
  $=$= $-x^3+x$x3+x
  $=$= $-\left(x^3-x\right)$(x3x)
  $=$= $-f\left(x\right)$f(x)

It is very important that your setting out is as perfect as the worked example shown above if you are asked to algebraically show that a function is odd. You might have been able to spot that the function was odd when you had completed the second line of working, with $f(-x)=-x^3+x$f(x)=x3+x. However, the step to show the factoring that follows is crucial to convince someone marking your solution that you are certain of the property that $f(-x)=-f(x)$f(x)=f(x)

 

As a graph, an odd function possesses rotational symmetry. Specifically, this means that an odd function can be rotated $180^\circ$180°  about the origin and fall back onto itself. The graph of $f\left(x\right)=x^3-x$f(x)=x3x is shown below. Note, from the example depicted in the diagram that any specific value of $x$x exhibits the oddness property that $f\left(-x\right)=-f\left(x\right)$f(x)=f(x)

 

 

If a function isn't odd or even, then it is said to be neither, and many functions we encounter are in this last category. This is particularly true for functions that seem to have symmetry but not in the exact manner we are seeking. An example is the graph shown below. Its rotational symmetry isn't centered on the origin. Looking closely at the $y$y values of the curve, it is clear that $f(-x)\ne-f(x)$f(x)f(x). In fact, you might have realized the important condition that if a continuous function is going to be odd, it must pass through the origin.

 

 

Examples of odd and even functions

We can suspect oddness when the powers of $x$x in the function are all odd. For example, $f\left(x\right)=x^3$f(x)=x3, and $f\left(x\right)=x^5-2x^3+7x$f(x)=x52x3+7x are all odd. We suspect evenness when the powers of $x$x in the function are all even. For example, $f\left(x\right)=x^6-2$f(x)=x62$f\left(x\right)=x^2$f(x)=x2, and $f\left(x\right)=3x^8-5x^4$f(x)=3x85x4 are all even. 

But there are other functions to consider beside polynomials. For example, the hyperbola $y=\frac{k}{x}$y=kx (for some constant $k$k) is odd because, for all $x$x in the domain,  $\frac{k}{\left(-x\right)}=-\frac{k}{x}$k(x)=kx. The semicircle $y=\sqrt{r^2-x^2}$y=r2x2 for some radius $r$r is even because $\sqrt{r^2-\left(-x\right)^2}=\sqrt{r^2-x^2}$r2(x)2=r2x2

 

Summary
  • Even functions have the property $f(-x)=f(x)$f(x)=f(x) and have reflective symmetry across the $y$y axis
  • Odd functions have the property $f(-x)=-f(x)$f(x)=f(x) and have $180$180º rotational symmetry around the origin

 

Practice Questions

QUESTION 7

Consider the function $f\left(x\right)=\sqrt{2-x}$f(x)=2x.

  1. Find $f\left(-x\right)$f(x).

  2. Therefore, determine whether the function is odd, even or neither.

    Odd

    A

    Even

    B

    Neither

    C

QUESTION 8

Consider the graph below.

Loading Graph...

  1. Find the value of $y$y when $x=4$x=4.

  2. Find the value of $y$y when $x=-4$x=4.

  3. How can the part of the graph for $x<0$x<0 be obtained by the part of the graph for $x>0$x>0?

    rotating $180^\circ$180° about the origin

    A

    reflecting across the line $y=x$y=x

    B

    reflecting across the $x$x-axis

    C

    reflecting across the $y$y axis

    D
  4. Determine whether the function is odd, even or neither.

    odd

    A

    neither

    B

    even

    C

QUESTION 9

An even function has been partially graphed below for $x$x $\le$ $0$0. On the same coordinate axes, complete the graph of the function.

  1. Loading Graph...

What is Mathspace

About Mathspace