<< Chapter < Page Chapter >> Page >
An image with two items. The first item is a bubble labeled domain. Within the bubble are the numbers 1, 2, 3, and 4. An arrow with the label “f” points from the first item to the second item, which is a bubble labeled “range”. Within this bubble are the numbers 2, 4, and 6. An arrow points from the 1 in the domain bubble to the 6 in the range bubble. An arrow points from the 1 in the domain bubble to the 6 in the range bubble. An arrow points from the 2 in the domain bubble to the 4 in the range bubble. An arrow points from the 3 in the domain bubble to the 2 in the range bubble. An arrow points from the 4 in the domain bubble to the 2 in the range bubble.
A function maps every element in the domain to exactly one element in the range. Although each input can be sent to only one output, two different inputs can be sent to the same output.
An image of a graph. The y axis runs from 0 to 3 and has the label “dependent variable, y = f(x)”. The x axis runs from 0 to 5 and has the label “independent variable, x”. There are three points on the graph. The first point is at (1, 2) and has the label “(1, f(1)) = (1, 2)”. The second point is at (2, 1) and has the label “(2, f(2))=(2,1)”. The third point is at (3, 2) and has the label “(3, f(3)) = (3,2)”. There is text along the y axis that reads “range = {1, 2}” and text along the x axis that reads “domain = {1,2,3}”.
In this case, a graph of a function f has a domain of { 1 , 2 , 3 } and a range of { 1 , 2 } . The independent variable is x and the dependent variable is y .

Visit this applet link to see more about graphs of functions.

We can also visualize a function by plotting points ( x , y ) in the coordinate plane where y = f ( x ) . The graph of a function    is the set of all these points. For example, consider the function f , where the domain is the set D = { 1 , 2 , 3 } and the rule is f ( x ) = 3 x . In [link] , we plot a graph of this function.

An image of a graph. The y axis runs from 0 to 5. The x axis runs from 0 to 5. There are three points on the graph at (1, 2), (2, 1), and (3, 0). There is text along the y axis that reads “range = {0,1,2}” and text along the x axis that reads “domain = {1,2,3}”.
Here we see a graph of the function f with domain { 1 , 2 , 3 } and rule f ( x ) = 3 x . The graph consists of the points ( x , f ( x ) ) for all x in the domain.

Every function has a domain. However, sometimes a function is described by an equation, as in f ( x ) = x 2 , with no specific domain given. In this case, the domain is taken to be the set of all real numbers x for which f ( x ) is a real number. For example, since any real number can be squared, if no other domain is specified, we consider the domain of f ( x ) = x 2 to be the set of all real numbers. On the other hand, the square root function f ( x ) = x only gives a real output if x is nonnegative. Therefore, the domain of the function f ( x ) = x is the set of nonnegative real numbers, sometimes called the natural domain .

For the functions f ( x ) = x 2 and f ( x ) = x , the domains are sets with an infinite number of elements. Clearly we cannot list all these elements. When describing a set with an infinite number of elements, it is often helpful to use set-builder or interval notation. When using set-builder notation to describe a subset of all real numbers, denoted , we write

{ x | x has some property } .

We read this as the set of real numbers x such that x has some property. For example, if we were interested in the set of real numbers that are greater than one but less than five, we could denote this set using set-builder notation by writing

{ x | 1 < x < 5 } .

A set such as this, which contains all numbers greater than a and less than b , can also be denoted using the interval notation ( a , b ) . Therefore,

( 1 , 5 ) = { x | 1 < x < 5 } .

The numbers 1 and 5 are called the endpoints of this set. If we want to consider the set that includes the endpoints, we would denote this set by writing

[ 1 , 5 ] = { x | 1 x 5 } .

We can use similar notation if we want to include one of the endpoints, but not the other. To denote the set of nonnegative real numbers, we would use the set-builder notation

{ x | 0 x } .

The smallest number in this set is zero, but this set does not have a largest number. Using interval notation, we would use the symbol , which refers to positive infinity, and we would write the set as

[ 0 , ) = { x | 0 x } .

It is important to note that is not a real number. It is used symbolically here to indicate that this set includes all real numbers greater than or equal to zero. Similarly, if we wanted to describe the set of all nonpositive numbers, we could write

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Calculus volume 1. OpenStax CNX. Feb 05, 2016 Download for free at http://cnx.org/content/col11964/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Calculus volume 1' conversation and receive update notifications?

Ask