B. The graph of f(x) is shifted 5 units up
Step-by-step explanation:
Given parent function is:
[tex]f(x) = x[/tex]
The new function is:
[tex]g(x) = x+5[/tex]
When a function is shifted upwards b units, an integer b is added to the function
which is:
[tex]g(x) = f(x)+b[/tex]
So,
comparing the parent function and the given function we can say that the function f(x) is shifted 5 units upward to form the function g(x)
Hence,
B. The graph of f(x) is shifted 5 units up
Keywords: Function, transformations
Learn more about functions at:
#LearnwithBrainly