We have (S, $\mathcal{A}$) is a measurable space.
For $j=1,...,d$ we have $f = (f_{1},...,f_{d})$ where $f_{j}: S \rightarrow \mathbb{R}$ so $f: S \rightarrow \mathbb{R}^{d}$.
Now what I want to proof is that $f$ is measurable if and only if $f_{j}$ is measurable for all $j = 1,...,d$.
I think I understand it intuitively with the definition of a measurable function, but I have trouble with getting a formal proof on paper.