Given:
The functions are
[tex]f(x)=x[/tex]
[tex]g(x)=x+8[/tex]
To find:
How the graphs of f and g are related.
Solution:
We have,
[tex]f(x)=x[/tex]
[tex]g(x)=x+8[/tex]
Using these functions, we get
[tex]g(x)=f(x)+8[/tex] ...(1)
The translation is defined as
[tex]g(x)=f(x+a)+b[/tex] ... (2)
Where, a is horizontal shift and b is vertical shift.
If a>0, then the graph shifts a units left and if a<0, then the graph shifts a units right.
If b>0, then the graph shifts b units up and if b<0, then the graph shifts b units down.
On comparing (1) and (2), we get
[tex]a=0,b=8[/tex]
It means, the graph of f is translated 8 units up to create the graph of g.
Therefore, the correct option is B.