The value of k would be 4
Step-by-step explanation:
If f(x) is shifted vertically k unit upward then,
Transformed function is,
g(x) = f(x) + k,
Using the given graph,
line f(x) passes through (0, -3)
line g(x) passes through (0, 1)
Difference in y-coordinate = 1 - (-3) = 1 + 3 = 4
∵ y-coordinate represents the vertical shifting,
So, g(x) = f(x) + 4,
Hence, the value of k would be 4.