Let $w$ be the solution of the pde \begin{equation} \begin{cases} \Delta w = f(w) & \mbox{on } \Omega \\ w=g & \mbox{on } \partial \Omega\end{cases} \tag{1}\end{equation} where $\Omega \subset \mathbb{R}^N$ open, $w: \Omega \to \mathbb{C}$, $f: \mathbb{C} \to \mathbb{C}$ and $g:\Omega \to \mathbb{C}$.
Recently, I read that for some elliptic arguments it is convenient to decompose the solution of some pde as: \begin{equation} w=w_1+w_2 \end{equation} where \begin{equation} \begin{cases} \Delta w_1 =0 & \mbox{on } \Omega \\ w_1=w & \mbox{on } \partial \Omega \end{cases} \end{equation} and \begin{equation} \begin{cases} \Delta w_2 = f(w) & \mbox{on } \Omega \\ w_2=0 & \mbox{on } \partial \Omega \end{cases}. \end{equation}
I do understand that $w_1+w_2$ solves the original equation if there are such functions $w_1$ and $w_2$. But my question is:
Why can every solution of (1) be decomposed that way?