Q.
Let $X$ be a non-empty set and let $P(X) $ denote the collection of all subsets of X. Define
$f : X \times P(X) \to R$ by $f (x, A) = f(n) =
\begin{cases}
1, & \text{if $x \in\,A$ } \\[2ex]
0, & \text{if $x \notin\,A$ }
\end{cases}$
Then, $f \left(x, A \cup B\right)$ equals
KVPYKVPY 2011
Solution: