Generally we have (beware, my notation is not mathematically strict!): Ax = Lx ---> det(A-IL)=0 gives ch. pol.
Now we have (assuming B is invertible, i.e. B^-1 exists!): Ax = LBx ---> B^(-1)Ax = Lx, so yeah, det(B^(-1) - IL)=0 gives eigenvalues.
det(A-BL)=0 is also correct, but this is a general expression. If B is invertible, it reduces to the above... if you text says B is invertible, then go with the above (which is much easier!), otherwise you have to do some crunching.
In ch. pol.
L^3 - tr(A)*L^2 - 0.5*[tr(A^2) - tr(A)*tr(A)]*L - det(A) = 0
when I substitute B^{-1}A for A, I obtain:
L^3 - tr(B^{-1}A)*L^2 - 0.5*{tr[(B^{-1}A)^2] - tr(B^{-1}A)*tr(B^{-1}A)}*L - det(B^{-1}A) = 0
Then, interestingly, when I multiply both sides by det(B) I obtain:
det(B)*L^3 - tr[ adj(B)*A]*L^2 - 0.5*det(B)*{tr[(B^{-1}A)^2] - tr(B^{-1}A)*tr(B^{-1}A)}*L - det(A) = 0
where adj(B) denotes the adjoint of B and I used the fact that adj(B) = B^{-1} * det(B).
Furthermore, multiplying the coefficient of L byt det(B)/det(B), we obtain:
det(B)*L^3 - tr[ adj(B)*A]*L^2 - 0.5*(1/det(B))*{tr[(adj(B)*A)^2] - tr(adj(B)*A)*tr(adj(B)*A)}*L - det(A) = 0
This is the form I was looking for fromt he beginning. The beauty of it is that by multiplying by det(B), I got rid of the terms involving B^{-1} and replaced it by adj(B). This makes differentiation much easier.
Furthermore, in the problem that I am dealing with, I failed to tell you that both A and B are symmetric matrices. If you used this fact, believe or not, the whole ch. pol. just reduces to the following expression:
det(B)*L^3 - tr[adj(B)*A]*L^2 + tr[B*adj(A)] *L - det(A) = 0
That awful looking coefficient of the L term just reduces to tr[B*adj(A)] !!!!!
I find this a beautiful result. Just look at the symmetry of that equation.
It also makes my differentiation problem much easier. Notice that:
derivative of det(A) wrt A equals adj(A) and
derivative of tr[ adj(B)*A ] wrt A equals adj(B).
I am still working to determined the expression for the derivative of tr[ B*adj(A) ] wrt A.
So I am very close to finding the derivatives of L wrt A which is my final goal.