Help with this PDE

Hello,

I'm currently taking a course in partial differential equations. We are currently solving boundary value problems using the method of separation of variables. I'm attemping to find the seperated solutions and have gotten stuck.

Thus, we have an eigenvalue problem: Y''=LY, Y(0)=0, Y(pi)=0
The solution to the eigenvalue problem with Dirichlet B.C. in this case is:
Eigenvalues: Ln=-n^2, n=1,2,3,...
Eigenfunctions: Yn(y)=sin(ny), n=1,2,3,...

Now here comes the trouble... I have to plug the boundary condition of X(pi)=0 into this
Xn(pi) = 0 = A*cosh(pi*n) + B*sinh(pi*n) , n=1,2,3,...

In all the other problems I've done, when you solve this type of equation, either A or B ends up equally zero and drops out, but there appears to be an infinite number of solutions to this linear equation, since there is only one equation with two unknowns. Any help is appreciated. Thanks!

I'm currently taking a course in partial differential equations. We are currently solving boundary value problems using the method of separation of variables. I'm attemping to find the seperated solutions and have gotten stuck.

Thus, we have an eigenvalue problem: Y''=LY, Y(0)=0, Y(pi)=0
The solution to the eigenvalue problem with Dirichlet B.C. in this case is:
Eigenvalues: Ln=-n^2, n=1,2,3,...
Eigenfunctions: Yn(y)=sin(ny), n=1,2,3,...

Now here comes the trouble... I have to plug the boundary condition of X(pi)=0 into this
Xn(pi) = 0 = A*cosh(pi*n) + B*sinh(pi*n) , n=1,2,3,...

In all the other problems I've done, when you solve this type of equation, either A or B ends up equally zero and drops out, but there appears to be an infinite number of solutions to this linear equation, since there is only one equation with two unknowns. Any help is appreciated. Thanks!