I came across this question in an exercise in my linear algebra course and am at a loss as to how to solve it.
Let $V$ be a complex vector space. Let $\mathcal{J}:V \to V$ be a linear map such that $$\mathcal{J}^2=-I_V$$ Show that $V=V_{+i} \oplus V_{-i}$, where $$V_{\pm i}=\{v \in V \mid \mathcal{J} v=\pm i v\}$$ Here $i=\sqrt{-1}$.
I initially began by proving that $V_{+i} \cap V_{-i} = \{0\}$ and subsequently following it up with a proof that for all $v \in V$, $v = v_1 +v_2$ where $v_1 \in V_{+i}$ and $v_2 \in V_{-i}$. However, I was unable to fully prove the latter statement that $V = V_{+i} + V_{-i}$.
A natural step would be to define a map $\mathcal{K} = \frac{1}{2}(\mathcal{J} + iI_V)$, proving that $\ker(\mathcal{K}) = V_{-i}$ and that $\mathrm{im}(\mathcal{K}) = V_{+i}$ and then considering $v - i\mathcal{K}v + i\mathcal{K}v$. However, that line of reasoning hit a dead end since I wasn't able to reach the conclusion.
Can someone guide me to the correct proof?