Sign In
Take notice of where the closed and open circles are.
f(x)=x-1, & x≤ - 2
- 2x, & - 2
To write the piecewise function for the given graph, we need to find the equation of the line representing each piece. Then, we also need to restrict the domain accordingly.
Let's begin by finding the slope and y-intercept of the first piece of the function. To help us write the equation of the line for this piece, we can extend the line to the y-axis. This will help us to know the y-intercept.
This line has a slope of 1 and the y-intercept is -1. We can write the equation for this piece in slope-intercept form.
y=1x+( -1) ⇔ y= x-1
Now let's take a look at the second piece.
This line has a slope of - 2 and the y-intercept is 0. We can write the equation for this piece in slope-intercept form. y=- 2x+ 0 ⇔ y=- 2x
Now let's take a look at the third and final piece.
This function is a horizontal line at y=3. y= x+ 3 ⇔ y=3
We can add the equations of these lines to the piecewise function notation.
f(x)=
x-1
- 2x
3
Finally, we need to determine the domain for each equation. The jump
occurs at x=- 2 and x=1, so these points will be where the domains are divided. We cannot have an overlap in our domains so we need to take notice of where the closed and open circles are located.
Let's pay close attention at each piece.
Finally, we will write the definition of the function, including the domain for each piece. f(x)= x-1, & x≤ - 2 - 2x, & - 2 < x < 1 3, & x ≥ 1