Let's graph g(x) first and then we can compare it to the graph of the parent function, f(x)=∣x∣.
To graph the function, let's make a table of values first!
x | 2∣x∣ | Simplify | g(x) |
---|---|---|---|
-3 | 2∣-3∣ | 2(3) | 6 |
-2 | 2∣-2∣ | 2(2) | 4 |
-1 | 2∣-1∣ | 2(1) | 2 |
0 | 2∣0∣ | 2(0) | 0 |
1 | 2∣1∣ | 2(1) | 2 |
2 | 2∣2∣ | 2(2) | 4 |
3 | 2∣3∣ | 2(3) | 6 |
Now we can plot these ordered pairs on a coordinate plane and connect them to get the graph of g(x). Notice that g(x) is a transformation of f(x) and the graph of f(x)=∣x∣ is V-shaped. Thus, g(x) will also be a V-shaped graph.
To compare our graph to the graph f(x)=∣x∣, let's draw them on one coordinate plane.
As we can see, the graph of g(x) is a vertical stretch of the graph f(x) by a factor of 2.