I'm having a lot of trouble with the following question:
Let $X$ be the set of of all functions that map $[0, 1]$ to itself. For each subset $A$ $\subset$ $[0, 1]$ let $B_A$ := {$f$ $\in$ $X$ | $f(x) = 0$ $\forall$x $\in$ A}. Prove that $\beta$ := {$B_A$ | $A$ $\subset$ $[0, 1]$} is a basis for a topology on X.
I think I'm having troubles identifying what the elements of each set actually are, which in turn is making it very difficult for me to see how this is a basis. For instance, if I take the constant function $f(x)$ = $1/2$ whose domain is $[0,1]$, certainly that function is in $X$, but I do not see how it is in the collection of basis elements.
I am very new to topology and really only have an understanding on the definitions of a topology and a basis. Thanks for any and all help!