Sign In
Determine the slope and y-intercepts of the lines.
Consider the horizontal line test to decide whether the functions are one-to-one.
Interpret the results that you found in Part A and Part B.
| f(x) | g(x) | h(x) |
|---|---|---|
| Function | One-to-One | Onto |
|---|---|---|
| f(x)=-2x+4 | yes | yes |
| g(x)=6 | no | no |
| h(x)=1/3x+5 | yes | yes |
No, see solution.
Let's first graph f(x). Notice that the function is in slope-intercept form, so we can immediately determine its slope and y-intercept.
&Slope-Intercept Form &&f(x)
&y= mx+ b &&y= -2x+ 4
Now we will plot the y-intercept and find a second point using the slope to draw the line.
Next, we will draw a line segment that passes through the points and complete the graph of f(x).
The graph of g(x) will be horizontal line. Since g(x)=6, every element in the domain of the function will be paired with 6 in the range of function.
Finally, we will graph h(x) in the same way that we graphed f(x). &Slope-Intercept Form &&h(x) &y= mx+ b &&y= 1/3x+ 5 We will plot its y-intercept and find a second point by its slope. Then, we will complete its graph by drawing a line segment that passes through the points.
Let's examine the graphs of f(x) and h(x).
| f(x) | h(x) |
|---|---|
The graph fails the horizontal line test, so g(x) is not a one-to-one function. It is also not an onto function because there is not element in the range other than 6 corresponds to an element in the domain.
| Function | One-to-One | Onto |
|---|---|---|
| f(x)=-2x+4 | yes | yes |
| g(x)=6 | no | no |
| h(x)=1/3x+5 | yes | yes |
No, horizontal lines are neither one-to-one nor onto because only one y-value is used and it is repeated to every x-value. Every other linear function is one-to-one and onto because every x-value has one unique y-value that is not used by any other x-element and every possible y-value is used.