To describe the transformation of the graph of function f(x) onto the graph of function g(x), we can compare the two functions and identify the changes that have been made.
First, note that f(x) and g(x) have different denominators: x-1 for f(x) and x+2 for g(x). This means that the graphs of f(x) and g(x) will have vertical asymptotes at x=1 and x=-2, respectively.
Next, we can see that g(x) is a transformation of f(x) because it is obtained by applying one or more transformations to f(x). Specifically, we can identify the following transformations:
Horizontal shift to the left by 3 units: f(x) is shifted 3 units to the right to get g(x). This is because g(x) has x+2 in the denominator, which is equivalent to f(x) with x-(-2) = x+2 in the denominator. So g(x) is equivalent to f(x) shifted 3 units to the left.
Vertical shift upwards by 4 units: The entire graph of f(x) is shifted 4 units upwards to get the graph of g(x). This is because the constant term 4 is added to g(x) but not present in f(x).
Vertical compression: The vertical scale of the graph of g(x) is compressed compared to the graph of f(x). This is because the size of the denominator is increasing for g(x) relative to f(x), so the graph will appear "squeezed" vertically.
Therefore, the transformation of the graph of function f(x) onto the graph of function g(x) involves a horizontal shift to the left by 3 units, a vertical shift upwards by 4 units, and a vertical compression.