Continuous Piecewise Function From Rationals Into R

In this explainer, we will learn how to find the domain and range of a piecewise-defined function.

We start by recalling what is meant by the domain and range of a function.

Definition: Domain and Range of a Function

The domain of a function is the set of all input values of the function.

The range of a function is the set of all possible outputs of the function, given its domain.

The domain tells us all of the inputs "allowed" for the function. For example, since we cannot input 𝑥 = 0 into the function 𝑓 ( 𝑥 ) = 1 𝑥 , as it would be undefined, its domain will not include this value of 𝑥 . We can input any other value of 𝑥 , so the domain of this function is { 0 } .

The range of a function tells us all of the possible outputs of this function, given its domain. For example, consider the function 𝑓 ( 𝑥 ) = 𝑥 , which has a domain of . Since the square of any real number is nonnegative, 𝑥 0 , therefore, this function only outputs nonnegative real numbers, but we need to check which of these nonnegative real numbers are outputs of the function. To do this, we will show that any nonnegative number is an output of this function. If 𝑦 0 , then 𝑓 𝑦 = 𝑦 = 𝑦 .

Hence, the range of this function on is the set of nonnegative real numbers, given by [ 0 , [ .

We can use different algebraic techniques and the properties of the function to determine its domain and range. However, it is often easier to do this by using a sketch. Consider the following sketch of 𝑦 = 𝑓 ( 𝑥 ) .

In the sketch of any function, a point on the curve has the form ( 𝑥 , 𝑓 ( 𝑥 ) ) , where 𝑥 is the input of the function and 𝑓 ( 𝑥 ) is the output. In other words, the 𝑥 -coordinate of every point on the curve tells us an input of the function and the 𝑦 -coordinate tells us an output of the function.

Therefore, we can use the graph of a function to determine its domain and range. To determine the domain of this function, we want to find the 𝑥 -coordinate of every point on the curve. We can do this by considering which vertical lines intersect the curve.

For example, if we sketch the vertical line 𝑥 = 2 , we see this intersects our curve at the point ( 2 , 3 ) . Hence, 2 is in the domain of our function and 3 is in its range. To determine the full domain of our function, we need to do this with every possible vertical line. We can see any vertical line, 𝑥 = 𝑐 , will intersect this curve. In particular, for 𝑥 = 0 , we have the following:

Since the graph of 𝑦 = 𝑓 ( 𝑥 ) has a solid dot at ( 0 , 1 ) , we know the function is defined at this point. So, the vertical line 𝑥 = 0 intersects the curve and 𝑓 ( 0 ) = 1 . Therefore, since all vertical lines intersect the curve, its domain is .

We can find the range of this function by considering horizontal lines.

For example, the line 𝑦 = 1 intersects the curve at the point ( 0 , 1 ) , so 1 is in the range of this function. We can also see that the line 𝑦 = 0 does not intersect the curve.

Since the curve has a hollow dot at the origin, it does not intersect this horizontal line; in fact, for any 𝑐 [ 0 , 1 [ , the line 𝑦 = 𝑐 will not intersect our curve and all other horizontal lines do intersect our curve. Hence, the range of this function is ] , 0 [ [ 1 , [ .

Before we discuss finding the domain and range of a piecewise-defined function, let's start by recalling what we mean by these types of functions.

Definition: Piecewise Function

A piecewise function is a function that consists of multiple subfunctions, with each subfunction defined over a subset of the main function's domain, called a subdomain.

The equation of a piecewise function is written with a curly bracket to indicate that it is comprised of more than one subfunction. An example of a piecewise function is 𝑓 ( 𝑥 ) = 𝑥 , 𝑥 < 0 , 𝑥 + 1 , 𝑥 0 , where 𝑓 ( 𝑥 ) = 𝑥 when 𝑥 < 0 and 𝑓 ( 𝑥 ) = 𝑥 + 1 when 𝑥 0 .

In a piecewise-defined function, the possible inputs of the function are given by the subdomains, in this case 𝑥 < 0 and 𝑥 0 . Therefore, to find all the possible inputs of this function, we will need to take the union of all the subdomains. For this piecewise function, we can take inputs of 𝑥 < 0 and also 𝑥 0 ; combining these, we can see this is any real value of 𝑥 , so its domain is .

To find the range of a piecewise function, we can instead consider the range of each subfunction over its subdomain. Therefore, to find the range of 𝑓 ( 𝑥 ) , we consider the range of each subfunction separately.

First, 𝑓 ( 𝑥 ) = 𝑥 when 𝑥 < 0 . Therefore, if we input a value of 𝑐 < 0 into the function, we get 𝑓 ( 𝑐 ) = 𝑐 .

Hence, all values of 𝑐 < 0 are in the range of this subfunction.

Second, 𝑓 ( 𝑥 ) = 𝑥 + 1 when 𝑥 0 . Adding 1 to both sides of the inequality of our subdomain gives us 𝑥 + 1 1 . Hence, when 𝑥 0 , 𝑓 ( 𝑥 ) 1 . This is not enough to determine the range of this subfunction; we need to determine which values our subfunction achieves. To do this, we will let 𝑐 1 so that 𝑐 1 0 ; this means 𝑓 ( 𝑐 1 ) = ( 𝑐 1 ) + 1 = 𝑐 .

Therefore, all values of 𝑐 1 are in the range of this subfunction. Combining the ranges of each subfunction, we get that the range of 𝑓 ( 𝑥 ) is 𝑐 < 0 and 𝑐 1 ; we can represent this in interval notation as ] , 0 [ [ 1 , [ .

We can summarize the results shown in the example above as follows.

Definition: Domain and Range of a Piecewise Function

The domain of a piecewise-defined function is the union of its subdomains.

The range of a piecewise-defined function is the union of the ranges of each subfunction over its subdomain.

Let's see some examples of how to find the domain and range of a piecewise-defined function from its graph.

Example 1: Determining the Domain and Range of a Piecewise-Defined Function given Its Graph

Determine the domain and the range of the function 𝑓 ( 𝑥 ) = 6 , 𝑥 < 0 , 4 , 𝑥 > 0 .

Answer

We recall that the domain of a function is the set of all input values of the function and the range of a function is the set of all possible outputs of the function, given its domain.

We can determine both of these from the graph of the function. Remember, any point on the curve is in the form ( 𝑥 , 𝑓 ( 𝑥 ) ) , where 𝑥 will be in the domain of 𝑓 and 𝑓 ( 𝑥 ) will be in the range of 𝑓 .

To find the domain of 𝑓 , we need to determine the 𝑥 -coordinates of all points on the curve.

Consider the following vertical lines.

In diagram (1), we can see that any vertical line for 𝑥 < 0 intersects the curve. Similarly, in diagram (2), we can see that any vertical line for 𝑥 > 0 intersects the line. So, all of these values of 𝑥 must be in the domain of this function. We need to check if 𝑥 = 0 is in the domain of this function; we can check this by sketching the line 𝑥 = 0 .

Since our curve has hollow circles on the line 𝑥 = 0 , it is not defined at this value of 𝑥 ; therefore, 0 is not in the domain of 𝑓 ( 𝑥 ) . Hence, the domain of this function is all real values of 𝑥 not equal to 0, which we can write in set notation as { 0 } .

It is worth noting that we can verify that 0 is not in the domain of 𝑓 ( 𝑥 ) by considering the subdomains of the function, 𝑥 < 0 and 𝑥 > 0 , which both do not include 0. The union of these subdomains is also the domain of the function, { 0 } .

To find the range of this function, we could consider which horizontal lines intersect the graph. However, in this case, we can find the range by considering the coordinates of the points on the graph.

We can see that if 𝑥 < 0 , then 𝑓 ( 𝑥 ) = 6 . Similarly, if 𝑥 > 0 , then 𝑓 ( 𝑥 ) = 4 . This means the only possible outputs of our function are 6 and 4 , so the range of this function is { 4 , 6 } .

Hence, the domain is { 0 } , and the range is { 4 , 6 } .

Example 2: Determining the Range of a Piecewise-Defined Function given Its Graph

Find the range of the function 𝑓 ( 𝑥 ) = 𝑥 + 5 , 𝑥 [ 5 , 1 ] , 𝑥 + 3 , 𝑥 ] 1 , 3 ] .

Answer

We recall that the range of a function is the set of all possible outputs of the function, given its domain. To find the range of this function, we can consider which horizontal lines intersect the graph.

In diagram (1), we can see that the highest output of the function is 𝑓 ( 1 ) = 4 . In diagram (2), we can see that the lowest output of the function is 𝑓 ( 5 ) = 𝑓 ( 3 ) = 0 . All the values between these are possible outputs giving us the range [ 0 , 4 ] .

Hence, the range is [ 0 , 4 ] .

Example 3: Determining the Range of Piecewise-Defined Functions from Their Graphs

Determine the range of the function represented by the given graph.

Answer

We recall that the range of a function is the set of all possible outputs of the function, given its domain. Remember, any point on our graph will be in the form ( 𝑐 , 𝑓 ( 𝑐 ) ) , where 𝑓 ( 𝑐 ) will be in the range of the function. Therefore, we can find the range of this function by determining the 𝑦 -coordinates of the points on its graph.

In diagram (1), since our graph has a solid dot at ( 4 , 1 ) , we can see that the lowest output of the function is 1 . In the second diagram, we can see that the largest output of the function is 7.

We can see that any horizontal line between these values also intersects the curve, so the range of this function is any value between 1 and 7, inclusive. In set notation, this is [ 1 , 7 ] .

Hence, the range is [ 1 , 7 ] .

In our next example, we will see how to determine the domain of a piecewise-defined function without being given its graph.

Example 4: Determining the Domain of a Piecewise-Defined Function

Determine the domain of the function 𝑓 ( 𝑥 ) = 𝑥 + 4 , 𝑥 [ 4 , 8 ] , 7 𝑥 6 3 , 𝑥 ] 8 , 9 ] .

Answer

We recall that the domain of a function is the set of all input values of the function, and for a piecewise-defined function, it is the union of its subdomains.

For this function, the subdomains are [ 4 , 8 ] and ] 8 , 9 ] . We want to take the union of these two sets to find the domain of 𝑓 ( 𝑥 ) : [ 4 , 8 ] ] 8 , 9 ] = [ 4 , 9 ] .

Hence, the domain is [ 4 , 9 ] .

In our final example, we will see how to determine both the domain and the range of a piecewise-defined function without being given its graph.

Example 5: Determining the Domain and the Range of a Piecewise Function

Determine the domain and range of the function 𝑓 ( 𝑥 ) = 𝑥 3 6 𝑥 6 𝑥 6 , 1 2 𝑥 = 6 . i f i f

Answer

We recall that the domain of a function is the set of all input values of the function, and for a piecewise-defined function, it is the union of its subdomains.

To find the union of the subdomains, we will start by writing them in terms of sets. First, 𝑥 6 is the same as { 6 } . Second, 𝑥 = 6 is the same as { 6 } .

Therefore, the domain is the union of these sets: { 6 } { 6 } = .

The range of a function is the set of all possible outputs of the function, given its domain. For a piecewise-defined function, this will be the range of the subfunctions over their subdomains. So, we can determine the range of this function by considering each subfunction separately.

First, if 𝑥 6 , 𝑓 ( 𝑥 ) = 𝑥 3 6 𝑥 6 = ( 𝑥 6 ) ( 𝑥 + 6 ) 𝑥 6 ; since 𝑥 6 , we can cancel the shared factor of 𝑥 6 : 𝑓 ( 𝑥 ) = 𝑥 + 6 .

We can then sketch this subfunction.

It is the line 𝑦 = 𝑥 + 6 with the point when 𝑥 = 6 removed. The range of this subfunction is all of the possible outputs. The only horizontal line that does not intersect this line is 𝑦 = 1 2 , so the range of this subfunction is { 1 2 } .

The second subfunction is the constant function 𝑓 ( 𝑥 ) = 1 2 on the domain { 6 } . Since the output is constant, its range is { 1 2 } .

Taking the union of the ranges of the subfunctions gives us { 1 2 } { 1 2 } = .

It is worth noting that we could also sketch the second subfunction on the same graph to fully sketch 𝑓 ( 𝑥 ) . The second subfunction is only defined when 𝑥 = 6 , so it consists of a single point. We have 𝑓 ( 6 ) = 1 2 , so we add the point ( 6 , 1 2 ) to our sketch.

We can then see that 𝑓 ( 𝑥 ) is function 𝑥 + 6 .

Hence, the domain is and the range is .

Let's finish by recapping some of the important points of this explainer.

Key Points

  • The domain of a piecewise-defined function is the union of its subdomains.
  • The range of a piecewise-defined function is the union of the ranges of each subfunction over its subdomain.
  • We can find the domain of a function from its graph by considering the intersections of the curve with vertical lines.
  • We can find the range of a function from its graph by considering the intersections of the curve with horizontal lines.

goddardskint1998.blogspot.com

Source: https://www.nagwa.com/en/explainers/898150716253/

0 Response to "Continuous Piecewise Function From Rationals Into R"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel