Let $f: \mathbb{R} \to \mathbb{R}, f(x) = x^2$, and $g: \mathbb{R} \to [0, \infty), g(x) = x^2$
From my understanding, functions are relations, therefore sets. So $f = \{(0, 0), (.32, .1024), (2, 4), \ldots \}.$ But also $g = \{(0, 0), (.32, .1024), (2, 4), \ldots \}.$ It seems to me like $f \subseteq g$ and $g \subseteq f$. So why don't we say $f = g?$