I am currently studying the textbook Microwave Engineering, fourth edition, by David Pozar. Chapter 1.4 THE WAVE EQUATION AND BASIC PLANE WAVE SOLUTIONS says the following:
Plane Waves in a Lossless Medium
In a lossless medium, $\epsilon$ and $\mu$ are real numbers, and so $k$ is real. A basic plane wave solution to the above wave equation can be found by considering an electric field with only an $\hat{x}$ component and uniform (no variation) in the $x$ and $y$ directions. Then, $\partial/\partial{x} = \partial/\partial{y} = 0$, and the Helmholtz equation of (1.42) reduces to $$\dfrac{\partial^2{E_x}}{\partial{z}^2} + k^2 E_x = 0. \tag{1.44}$$ The two independent solutions to this equation are easily seen, by substitution, to be of the form $$E_x(z) = E^+e^{-jkz} + E^-e^{jkz}, \tag{1.45}$$ where $E^+$ and $E^-$ are arbitrary amplitude constants.
I calculated the following:
$$\dfrac{\partial^2}{\partial{z}^2}E_x(z) = -k^2E^+ e^{-jkz} - k^2 E^- e^{jkz} = -k^2\left( E^+ e^{-jkz} + E^- e^{jkz} \right)$$
After substitution, we have
$$-k^2\left( E^+ e^{-jkz} + E^- e^{jkz} \right) + k^2 E_x = -k^2\left( E^+ e^{-jkz} + E^- e^{jkz} - E_x \right) = 0$$
How does $-k^2\left( E^+ e^{-jkz} + E^- e^{jkz} - E_x \right) = 0$? Specifically, how does $E^+ e^{-jkz} + E^- e^{jkz} = E_x$? I would like to better understand the components of this equation, such as $E^+$ and $E^-$.