We must write an equation for the function in the graph.
From the graph, we see that the function f(x):
0. has a vertical asymptote at x = -2 → f must be proportional to 1/(x + 2),
,
1. has a vertical asymptote at x = 4 → f must be proportional to 1/(x - 4),
,
2. is zero at x = 2 → f must be proportional to (x - 2).
Now, we also see that the function:
• is negative for x < -2,
,
• looks like a parabola in the interval -2 < x < 4 → f is proportional 1/(x + 2)²,
,
• is positive in the interval -2 < x < 4 → f must be proportional 1/(x - 4)² to have a positive sign for values x < 4.
Taking into consideration all the points above, we write the following function:
![f(x)=k\cdot((x-2)^2)/((x+2)\cdot(x-4)^2),k>0.](https://img.qammunity.org/2023/formulas/mathematics/college/3a0sv5mbiamo9ahfrsfhu3mqg2u1scow71.png)
Where k is a positive constant.
Selecting the value k = 1 and plotting the function f(x), we get the following graph:
Answer
An equation for the function in the graph is:
![f(x)=((x-2)^2)/((x+2)\cdot(x-4)^2)\text{.}](https://img.qammunity.org/2023/formulas/mathematics/college/3xkgerffg5vu0wp984i44dxs9gujfi7lmf.png)