To solve a Partial Differential Equation with solution $ u(x,y) $, I separated $u$ into two variables, $u(x,y) = h(x)g(y)$.
For background: the resulting differential equations were: $ \frac{h''}{h} = -\frac{g''}{g} = \lambda$
My solution got:
For h:
$\lambda = 0 \implies h = c_1$ where $c_1$ is any constant.
$\lambda < 0 \implies -\lambda = (\frac{n\pi}{L})^2$ with corresponding eigenfunction $h_n = \cos{(n \pi x / L)} $ for $ n = 1, 2, 3, ...$
For g:
$\lambda = 0 \implies$ eigenfunction is $ g = y$
$\lambda < 0 \implies$ eigenfunction is $ g_n = \sinh(n \pi y / L)$
How do I now use the principle of superposition to come up with the next step of a solution? I had thought the answer would be:
$u(x,y) = \sum_{n = 1}^{\infty} a_n \cos{(n \pi x / L)} \sinh(n \pi y / L) + \sum_{n = 1}^{\infty} b_n \cos{(n \pi x / L)} y $
But my textbook gives the next step as:
$u(x,y) = c_0 y + \sum_{n = 1}^{\infty} a_n \cos{(n \pi x / L)} \sinh(n \pi y / L) $
Why is this?