Problems from Functions defined by parts

Indicate the domain and the image of the following function:

f(x)={1 if x<12x+1 if 1x<22 if x3

See development and solution

Development:

We can find the domain of the first function from the intervals in its definition:

Dom(f)=(,1)[1,2)[3,+)=(,2)[3,+)

To determine the image we can concentrate on the images of the different functions that compose the function, bearing in mind the domain where they are defined.

For x<1 or x>3 we have no problems since we know the valuation of the function in these intervals.

For the straight line between 1 and 2, we calculate the valuation in the above mentioned points:

2x+1 in x=1 values 1

2x+1 in x=2 values 5

Therefore Im(f)=[1,5).

It is necessary to bear in mind that we will include the extreme points in the image depending on whether they are included or not in the definition of the function.

Solution:

Dom(f)=(,2)[3,+), Im(f)=[1,5)

Hide solution and development
View theory