374,198 views
39 votes
39 votes
Working on this and I’m having some trouble. Can you help?

Working on this and I’m having some trouble. Can you help?-example-1
User AnjumSKhan
by
3.1k points

1 Answer

14 votes
14 votes

To answer this question, we can see a piecewise function:


f(x)=\begin{cases}2x-1,x<1 \\ x+1,x\ge1\end{cases}

They are two different lines in the slope-intercept form.

We will consider the given steps to graph the function.

Values for the 2x - 1 function

We can see that this function will be for values of x less than 1 (not equal to 1), x<1. Then, we need to find, at least, two pairs of values to sketch the graph in this part. Then, we have:


f(-2)=2(-2)-1=-4-1=5
f(-1)=2(-1)-1=-2-1=-3

And we need to know the value at the right extreme of this function, a value for which the function is not defined, x = 1:


f(1)=2(1)-1=2-1=1

We need to be careful here since the function is NOT defined for x = 1. We are finding a limit value.

Then, the values to graph here are: (-2, -5), (-1, -3), and the value not defined for this function (1, 1) . Or in a table:

x y

-2 -5

-1 -3

1 1 (not defined for this point, only for purpose of graphing).

Values for the x + 1 function

We can proceed similarly as before to find the other values. In this case, the function is, indeed, defined for x = 1. So we can proceed as follows:


f(1)=1+1=2
f(2)=2+1=3
f(3)=3+1=4

Now, we have the next values to graph this function: (1, 2), (2, 3), (3, 4). We can construct a table for this:

x y

1 2

2 3

3 4

The graph is (considering all the work done):

We can see that the function is not defined for the red line, y = 2x - 1, but it does for the blue line, y = x + 1. We can graph the function with no coordinates as follows:

We can see on the graph the solid blue point indicating that the function is defined for x = 1, y = 2 for the function, x + 1, while is it not defined for x = 1 for the function y = x + 1.

The domain and range for this piecewise function are:

• Domain ---> (-∞, ∞). Since we have the function is defined for x<1 (-∞, 1) and x≧1, that is, [1, ∞).

,

• Range ---> the piecewise has a range (-∞, 1) U [2, ∞). We can see that the values between y = 1 and y <2 are not part of the range. If we write this in interval notation we have (1, 2).

In summary, we have:

The function can be graphed as follows (notice the solid blue point indicating that, for x = 1, the value of the function is 2):

The domain of this piecewise function is (in interval notation):


\text{Domain}=(-\infty,\infty)

The range of the function is (in interval notation):


\text{Range}=(-\infty,1)\cup\lbrack2,\infty)

Working on this and I’m having some trouble. Can you help?-example-1
Working on this and I’m having some trouble. Can you help?-example-2
Working on this and I’m having some trouble. Can you help?-example-3
Working on this and I’m having some trouble. Can you help?-example-4
User Souvik Sikdar
by
3.2k points