- Home
- Secondary 2 Maths
- Introduction to Relations and Functions

# Domain and range of a function

- Intro Lesson19:16
- Lesson: 1a2:54
- Lesson: 1b3:01
- Lesson: 1c2:46
- Lesson: 1d3:18
- Lesson: 1e3:40
- Lesson: 1f2:39
- Lesson: 1g1:21
- Lesson: 1h1:44
- Lesson: 1i1:47
- Lesson: 2a17:24
- Lesson: 2b11:57
- Lesson: 2c14:45
- Lesson: 2d21:09
- Lesson: 2e12:19
- Lesson: 2f19:15
- Lesson: 310:38
- Lesson: 48:25

## What is domain and range

In algebra, when we deal with points on a graph, you may be asked to find its domain and range. Let's learn what each of these mean.

The domain has to do with the values of x in your function. The domain tells us all the possible values of x (the independent variable) that will output real y-values. Two things to note is that in the function you're looking at, the denominator of a fraction can never be 0 and that if your function has a square root, it must be positive (for now).

When you're looking at range, you're now looking at the values of y. The range is all the possible resulting variables of the dependent variable (which is usually y in a function) after substituting in the domain, which we've learned is all the possible values of x.

## How to find the domain of a function

In order to figure out the domain of a function, you'll have to look at the values that's possible (or that we're allowed to use) for the independent variable. This often means that we cannot have a 0 as a denominator, nor can we have negative values in a square root.

## How to find the range of a function

Now let's move on and learn how to find the range of a function. In order to do this, try substituting in different x-values into the function to see what happens to y. You may find that y always remains positive, or it may be negative at some points. Your main goal is to find the minimum and maximum values of y. The best way to figure out what happens to y is to do a sketch with a few points of x substituted in to see what your function looks like.

## Example problems

Now that you've learned the basics on how to find the domain and range of a graph, try out these practice problems!

**Question 1:**

State the domain, range, and whether it is a function

**Solution:**

Look at each point to find the domain. In this case, domain is the x value of each dot. So, from the smallest value to the largest we'll get:

D: [ -4, -3, -2, 1, 2, 3, 4, 6]

Now look for the range. Range is the y value of each dot. So, from the smallest value to the largest:

R: [-3, -2, -1, 0, 1, 2, 3]

Note that there are two dots that land on y=3 on the graph. We only need to write it once in the range.

Lastly, we want to determine whether it is a function. For this, we can do a vertical line test. To do this, imagine we draw a vertical line and move the line across the graph. If there is only one point/dot that touches the vertical line at a time, we can determine that it is a function. The graph in this question is a function based on the vertical line test. In practice, we can hold a pen vertically and use it as the vertical line.

**Question 2:**

State the domain, range, and whether it is a function

**Solution:**

Domain: $x \leq 3$, OR in interval notation: $(\infty, 3]$

Interval notation helps to show an interval as a pair of numbers. The two numbers represents the endpoints of the interval. The brackets of an interval notation can tell us information too. When we use square brackets [ ], it shows that we want to include the end value as part of the interval. When we use round brackets ( ) it means that we won't include the end value. That's why there's a square bracket at the end of 3, but not before $\infty$.

Range: $y \geq 3$, OR in interval notation: $[-3, \infty)$

This is not a function because it doesn't pass the vertical line test.

**Question 3:**

State the domain and range of the relation. Then determine whether it is a function.

**Solution:**

Domain: {${x| x\epsilon R}$}. This $x\epsilon R$ symbol means $x$ can be all real numbers. Or, in interval notation: $(-\infty, +\infty)$

Range: {${y| y\epsilon R}$}. This $y\epsilon R$ symbol means $y$ can be all real numbers. Or, in interval notation: $(-\infty, +\infty)$

This is a function because it passes the vertical line test.

If you wanted to double check your work, try out this online domain and range calculator!

After this lesson, feel free to move on to learning about quadratic functions and radical functions.

##### Do better in math today

##### Don't just watch, practice makes perfect

### Domain and range of a function

#### Lessons

- IntroductionWhat is domain and range?
- 1.State the domain, range, and whether each is a functiona)

b)

c)

d)

e)

f)

(Using the interval notation)g)

(Omit Domain & Range)h)$(7,2) (3,5) (4,1) (2,6)$i)$(-3,4) (2,5) (5,1) (-3,8)$ - 2.State the domain and range of each relation. Then determine whether each is a function.a)b)c)d)e)f)
- 3.Sketch a graph of a nonlinear function with the following properties:

i) Domain $x$ $\in$ $I\!R$

ii) Range**$y$**$\leq$ 5, $y$ $\in$ $I\!R$

iii) One $x$-intercept

iv) One $y$-intercept - 4.Sketch a graph of a nonlinear relation with the following properties:

i) Domain $x$ $\geq -3$, $x$ $\in$ $I\!R$

ii) Range**$y$**$\in$ $I\!R$

iii) One $x$-intercept

iv) One $y$-intercept