Determine the transformations needed to get f(x)= 4+2x from f(x)=x

EXPLANATION:
Given;
We are given the equation of a graph which is;
[tex]f(x)=x[/tex]This is transformed to give us the equation;
[tex]f(x)=4+2x[/tex]Required;
We are required to determine the transformations needed to get
[tex]\begin{gathered} f(x)=4+2x \\ from \\ f(x)=x \end{gathered}[/tex]Solution;
Note that from the first graph, which is f(x) = x (or y = x), what we have is x equals y at every value of x. However, when we have y = 2x, then that means when x = 1, y = 2. That is, for every value of x, the value of y is doubled. The line is vertically stretched LEFT by 2 units.
Afterwards, the equation becomes;
[tex]f(x)=4+2x[/tex]This means you now move the line 4 units up along the y-axis.
Therefore,
ANSWER:
[tex]\begin{gathered} Vertically\text{ }stretch\text{ }f(x)=x\text{ }left\text{ }by\text{ }2\text{ }units \\ \\ Transform\text{ }f(x)=x\text{ }up\text{ }by\text{ }4\text{ }units \end{gathered}[/tex]We can now plot both graphs as follows:
Graph of
[tex]f(x)=x[/tex]Also, we would have;
Graph of
[tex]f(x)=4+2x[/tex]Observe that the graph after the transformation has now tilted to the left and has moved from the origin (where x = 0, y = 0) up to the point where y = 4 (that is, x = 0, y = 4)