# Connexions

You are here: Home » Content » Advanced Algebra II: Conceptual Explanations » Domain and Range

• How to Use Advanced Algebra II

### Lenses

What is a lens?

#### Definition of a lens

##### Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

##### What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

##### Who can create a lens?

Any individual member, a community, or a respected organization.

##### What are tags?

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

#### Affiliated with (What does "Affiliated with" mean?)

This content is either by members of the organizations listed or about topics related to the organizations listed. Click each link to see a list of all content affiliated with the organization.
• Bookshare

This collection is included inLens: Bookshare's Lens
By: Bookshare - A Benetech Initiative

"DAISY and BRF versions of this collection are available."

Click the "Bookshare" link to see all content affiliated with them.

• Featured Content

This collection is included inLens: Connexions Featured Content
By: Connexions

"This is the "concepts" book in Kenny Felder's "Advanced Algebra II" series. This text was created with a focus on 'doing' and 'understanding' algebra concepts rather than simply hearing about […]"

Click the "Featured Content" link to see all content affiliated with them.

Click the tag icon to display tags associated with this content.

#### Also in these lenses

• Busbee's Math Materials

This collection is included inLens: Busbee's Math Materials Lens
By: Kenneth Leroy Busbee

Click the "Busbee's Math Materials" link to see all content selected in this lens.

Click the tag icon to display tags associated with this content.

### Recently Viewed

This feature requires Javascript to be enabled.

### Tags

(What is a tag?)

These tags come from the endorsement, affiliation, and other lenses that include this content.

Inside Collection (Textbook):

Textbook by: Kenny M. Felder. E-mail the author

# Domain and Range

Module by: Kenny M. Felder. E-mail the author

Summary: This module defines the domain and range of a function.

Consider the function y=xy=x size 12{y= sqrt {x} } {}. If this function is given a 9 it hands back a 3. If this function is given a 2 it hands back…well, it hands back 22 size 12{ sqrt {2} } {}, which is approximately 1.4. The answer cannot be specified exactly as a fraction or decimal, but it is a perfectly good answer nonetheless.

On the other hand, what if this function is handed –4? There is no 44 size 12{ sqrt { - 4} } {}, so the function has no number to hand back. If our function is a computer or calculator, it responds with an error message. So we see that this function is able to respond to the numbers 9 and 2, but it is not able to respond in any way to the number -4. Mathematically, we express this by saying that 9 and 2 are in the “domain” of the square root function, and –4 is not in the domain of this function.

Definition 1: Domain
The domain of a function is all the numbers that it can successfully act on. Put another way, it is all the numbers that can go into the function.

A square root cannot successfully act on a negative number. We say that “The domain of xx size 12{ sqrt {x} } {} is all numbers such that” meaning that if you give this function zero or a positive number, it can act on it; if you give this function a negative number, it cannot.

A subtler example is the function y=x+7y=x+7 size 12{y= sqrt {x+7} } {}. Does this function have the same domain as the previous function? No, it does not. If you hand this function a –4 it successfully hands back 33 size 12{ sqrt {3} } {} (about 1.7). –4 is in the domain of this function. On the other hand, if you hand this function a –8 it attempts to take 11 size 12{ sqrt { - 1} } {} and fails; –8 is not in the domain of this function. If you play with a few more numbers, you should be able to convince yourself that the domain of this function is all numbers x such that x7x7 size 12{x >= - 7} {}.

You are probably familiar with two mathematical operations that are not allowed. The first is, you are not allowed to take the square root of a negative number. As we have seen, this leads to restrictions on the domain of any function that includes square roots.

The second restriction is, you are not allowed to divide by zero. This can also restrict the domain of functions. For instance, the function y=1x24y=1x24 size 12{y= { {1} over {x rSup { size 8{2} } - 4} } } {} has as its domain all numbers except x=2x=2 size 12{x=2} {} and x=2x=2 size 12{x= - 2} {}. These two numbers both cause the function to attempt to divide by 0, and hence fail. If you ask a calculator to plug x=2x=2 size 12{x=2} {} into this function, you will get an error message.

So: if you are given a function, how can you find its domain? Look for any number that puts a negative number under the square root; these numbers are not in the domain. Look for any number that causes the function to divide by zero; these numbers are not in the domain. All other numbers are in the domain.

Table 1
x x size 12{ sqrt {x} } {} x 0 x 0 size 12{x >= 0} {} You can take the square root of 0, or of any positive number, but you cannot take the square root of a negative number.
x + 7 x + 7 size 12{ sqrt {x+7} } {} x 7 x 7 size 12{x >= - 7} {} If you plug in any number greater than or equal to –7, you will be taking a legal square root. If you plug in a number less than –7, you will be taking the square root of a negative number.This domain can also be understood graphically: the graph y=xy=x size 12{y= sqrt {x} } {} has been moved 7 units to the left. See “horizontal permutations” below.
1 x 1 x size 12{ { {1} over {x} } } {} x 0 x 0 size 12{x <> 0} {} In other words, the domain is “all numbers except 0.” You are not allowed to divide by 0. You are allowed to divide by anything else.
1 x 3 1 x 3 size 12{ { {1} over {x - 3} } } {} x 3 x 3 size 12{x <> 3} {} If x=3x=3 size 12{x=3} {} then you are dividing by 0, which is not allowed. If x=0x=0 size 12{x=0} {}you are dividing by –3, which is allowed. So be careful! The rule is not “when you are dividing, x cannot be 0.” The rule is “ xx size 12{x} {} can never be any value that would put a 0 in the denominator.”
1 x 2 4 1 x 2 4 size 12{ { {1} over {x rSup { size 8{2} } - 4} } } {} x ± 2 x ± 2 size 12{x <> +- 2} {} Or, “ xx size 12{x} {}can be any number except 2 or –2.” Either of these xx size 12{x} {} values will put a 0 in the denominator, so neither one is allowed.
2 x + x 2 3x + 4 2 x + x 2 3x + 4 size 12{2 rSup { size 8{x} } +x rSup { size 8{2} } - 3x+4} {} All numbers You can plug any xx size 12{x} {} value into this function and it will come back with a number.
x 3 x 5 x 3 x 5 size 12{ { { sqrt {x - 3} } over {x - 5} } } {} x 3 x 5 x 3 x 5 alignl { stack { size 12{x >= 3} {} # size 12{x <> 5} {} } } {} In words, the domain is all numbers greater than or equal to 3, except the number 5. Numbers less than 3 put negative numbers under the square root; 5 causes a division by 0.

You can confirm all these results with your calculator; try plugging numbers into these functions, and see when you get errors!

A related concept is range.

Definition 2: Range
The range of a function is all the numbers that it may possibly produce. Put another way, it is all the numbers that can come out of the function.

To illustrate this example, let us return to the function y=x+7y=x+7 size 12{y= sqrt {x+7} } {}. Recall that we said the domain of this function was all numbers xx size 12{x} {} such that x7x7 size 12{x >= - 7} {}; in other words, you are allowed to put any number greater than or equal to –7 into this function.

What numbers might come out of this function? If you put in a –7 you get out a 0. ( 0=00=0 size 12{ sqrt {0} =0} {}) If you put in a –6 you get out 1=11=1 size 12{ sqrt {1} =1} {}. As you increase the x x value, the y y values also increase. However, if you put in x=8x=8 size 12{x= - 8} {} nothing comes out at all. Hence, the range of this function is all numbers yy size 12{y} {} such that y0y0 size 12{y >= 0} {}. That is, this function is capable of handing back 0 or any positive number, but it will never hand back a negative number.

It’s easy to get the words domain and range confused—and it’s important to keep them distinct, because although they are related concepts, they are different from each other. One trick that sometimes helps is to remember that, in everyday useage, “your domain” is your home, your land—it is where you begin. A function begins in its own domain. It ends up somewhere out on the range.

## A different notation for domain and range

Domains and ranges above are sometimes expressed as intervals, using the following rules:

• Parentheses ( ) ( ) mean “an interval starting or ending here, but not including this number”
• Square brackets [ ] [ ] mean “an interval starting or ending here, including this number”

This is easiest to explain with examples.

Table 2
This notation... ...means this... ...or in other words
( 3,5 ) ( 3,5 ) size 12{ $$- 3,5$$ } {} All numbers between –3 and 5, not including –3 and 5. 3 < x < 5 3 < x < 5 size 12{ - 3<x<5} {}
[ 3,5 ] [ 3,5 ] size 12{ $- 3,5$ } {} All numbers between –3 and 5, including –3 and 5. 3 x 5 3 x 5 size 12{ - 3 <= x <= 5} {}
[ 3,5 ) [ 3,5 ) size 12{ $- 3,5 \) } {} All numbers between –3 and 5, including –3 but not 5. 3 x < 5 3 x < 5 size 12{ - 3 <= x<5} {} ( , 10 ] ( , 10 ] size 12{ $$- infinity ,"10"$ } {} All numbers less than or equal to 10. x 10 x 10 size 12{x <= "10"} {} ( 23 , ) ( 23 , ) size 12{ \( "23", infinity$$ } {} All numbers greater than 23. x > 23 x > 23 size 12{x>"23"} {}
( , 4 ) ( , 4 ) size 12{ $$- infinity ,4$$ } {} ( 4, ) ( 4, ) size 12{ $$4, infinity$$ } {} All numbers less than 4, and all numbers greater than 4. In other words, all numbers except 4. x 4 x 4 size 12{x <> 4} {}

## Content actions

PDF | EPUB (?)

### What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

For detailed instructions on how to download this content's EPUB to your specific device, click the "(?)" link.

PDF | EPUB (?)

### What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

For detailed instructions on how to download this content's EPUB to your specific device, click the "(?)" link.

#### Collection to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

#### Definition of a lens

##### Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

##### What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

##### Who can create a lens?

Any individual member, a community, or a respected organization.

##### What are tags?

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks

#### Module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

#### Definition of a lens

##### Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

##### What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

##### Who can create a lens?

Any individual member, a community, or a respected organization.

##### What are tags?

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks