Answer
$f(x)=\begin{cases}
\dfrac{1}{x-2}+1,\text{for }x\in[0,2)\\
2,\text{for }x=2\\
\dfrac{x}{x-2}-3,\text{for }x\in(2,4]
\end{cases}$
Work Step by Step
Consider the function:
$f(x)=\begin{cases}
\dfrac{1}{x-2}+1,\text{for }x\in[0,2)\\
2,\text{for }x=2\\
\dfrac{x}{x-2}-3,\text{for }x\in(2,4]
\end{cases}$
$\displaystyle\lim_{x\rightarrow 2^{-}} f(x)=-\infty$
$\displaystyle\lim_{x\rightarrow 2^{+}} f(x)=\infty$
Therefore $f$ is not continuous in $x=2$.
$f(0.5)f(3.5)=(-1)(2.1)<0$ and there is a zero between $0.5$ and $3.5$.
![](https://gradesaver.s3.amazonaws.com/uploads/solution/e8abde6b-b0e8-4d95-a781-9fac146d3b08/steps_image/small_1593004591.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJVAXHCSURVZEX5QQ%2F20240727%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240727T015130Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&X-Amz-Signature=d0266e95a3dccff6bce143ab5180ef23409569de07c4c85188579cedf3336f02)