# Indicator Function Question

• October 13th 2008, 10:44 AM
jpatrie
Indicator Function Question
What is the value of $\sum_{i=0}^{4}1_Q(2^{\frac{i}{2}})$ where $1_Q(x)$ is the indicator function for the set of rational numbers.
• October 13th 2008, 10:51 AM
Plato
What do you think this sum equals
$I_Q (2^0 ) + I_Q (2^{\frac{1}
{2}} ) + I_Q (2^1 ) + I_Q (2^{\frac{3}
{2}} ) + I_Q (2^2 )=?$
• October 13th 2008, 10:56 AM
jpatrie
so

$1+\sqrt2+2+\sqrt{2^3}+4$ ?
• October 13th 2008, 11:25 AM
Plato
Quote:

Originally Posted by jpatrie
$1+\sqrt2+2+\sqrt{2^3}+4$ ?

No indeed.
Do you know what an indicator function is? Often it is called a characteristic function.
$I_Q (x) = \left\{ {\begin{array}{rl}
1 & {x \in Q} \\ 0 & {x \notin Q} \\ \end{array} } \right.$