# How do you evaluate the function with the given values of x: color(white)("d")f(x)=(1/2)[x+1] ;color(white)("ddd") x=0; x=-1?

Jun 22, 2018

$f \left(0\right) \to y = \frac{1}{2}$
$f \left(- 1\right) \to y = 0$

#### Explanation:

Suppose $x = 0$ then wherever there is an $x$ write 0

$f \left(x\right) = \frac{1}{2} \left(x + 1\right) \textcolor{w h i t e}{\text{ddd")-> color(white)("ddd}} f \left(0\right) = \frac{1}{2} \left(0 + 1\right) = \frac{1}{2}$

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Suppose $x = - 1$ then wherever there is an $x$ write -1

f(x)=1/2(x+1) color(white)("ddd")-> color(white)("ddd")f(0)=1/2[color(white)(2/2)(-1)+1color(white)("d")]=0