I am starting a project using the wave equation and I don't understand why when doing separation of variables, we can assume the following, where the equation has already been separated.
$$\frac{1}{c^2h} \frac{d^2h}{dt^2}=\frac{1}{\phi}\frac{d^2\phi}{dx^2}=-\lambda$$
This site gives a description 1/4 of the way down but it doesn't click 100% for me. Why can we assume these functions are constants? If anyone can provide a more detailed explanation or simple/intuitive examples I would appreciate it.