Integral of function $f(x)=\begin{cases} 1 & \text{if $x = 1$}\\ 0 & \text{otherwise} \end{cases}$

80 Views Asked by At

Need to find the integral of the function $f$ where for $x\in\mathbb{R}$, $$f(x)=\begin{cases} 1 & \text{if $x = 1$}\\ 0 & \text{otherwise} \end{cases} $$

I think it's zero because $f(x)$ doesn't have any area under it. I think I'm stuck other than that though.