I tried looking at some of the questions that could apply, but I'm not sure that they applied to this type of problem.
Given $A \in \mathcal{P}(X)$ define the characteristic function $ \mathcal{X}_{A}:X\rightarrow \{0,1\}$ by $$\mathcal{X}_A(x) = \begin{cases}0 & if ~ x\notin A, \\ 1 & if ~ x \in A. \end{cases}$$
Suppose that A and B are subsets of X. Prove that the function $x\rightarrow \mathcal{X}_A(x)\mathcal{X}_B(x)$ (multiplication of integers) is the characteristic function of the intersection $A \cap B$.
So, as far as I understand, then A is an element in the power function of X and A and B are subsets of X, but I'm not sure how to get started... Any help?