Let be a matrix, identity matrix and and are regular matrices. Anyone who knows a smart way of inverting the quadratic form
The inverse is strictly well defined for square matrices but for non-square matrices you can define a left or right inverse. Say you have a matrix which is an matrix then if it has rank there is an matrix, C, such that:
and this is referred to as its left inverse.
Unfortunately, I think I was too hasty in thinking this would help with your problem as it does not seem to give a matrix of the correct dimensions for the inverse using the simple method I was thinking of.
I do have another idea but it's late now so will post it tomorrow if it works.
Thanks Doc. I'm looking forward to see what else you have in mind. Finding the inverse of a quadratic form is a problem that I've come across quite often and I don't think there is an universal solution to it. I was (and still am) however hoping for a solution for this particular case with the rather simple structure of the "bread" matrix.
Well what do you know - my original method does work! Just goes to show the perils of late night maths! LOL.
I'll demonstrate my original method as it's the quickest!
OK, since the then the rank of and hence must be . This allows us to define the following special inverses (order of multiplication being important!):
Consequently we also have that:
Now if we call your quadratic form then, using the fact that
, we have
So the problem has now been reduced to finding the inverse of X.
This is easy as you just need to make sure you partition your unknown matrix representing the inverse in a way so that you can treat it as a matrix type problem. Then it's just a matter of solving for the unknown elements which is infact so easy that you can do it by just looking at it! Anyway, it turns out that:
Of course it should be obvious that
So there you are the product of these inverses in the order I specified above should give you the inverse. The only thing you need to determine are the inverses of , and where
with necessarily being a matrix. Note also that for you have
Well I don't know if that is sufficiently clever a method but I believe it should work. I would test it out on a few trial matrices where and are small like 3 and 2.
Hope that was of some help!
P.S. Do let me know if it works.
Thanks for your reply and your effort. I was quite excited about the idea, but it seems that there is problem or I may have missed something.
If is (with ) and then has a left inverse given by .
So the inverse of is actually a left inverse .
Now the problem comes when we want to find the inverse of . As far as I can see (see your previous posting) is not defined because does not have a left inverse as it doesn't have full rank.
I'll be gratefull if you can help me clarify the issue if I haven't got it right or if there really is problem I hope you can help me fix it. Life will be much easier if I can find an easy way of inverting
Yes, this was the initial snag that I referred to in an earlier post but then it seemed to work out the next day (which I now realise was) because I confused my left and right inverses for the problem.
The curious thing is that if you carry out the multiplication of your quadratic form to put it in its explicitly square matrix form and then consider the matrix inverse as a block matrix with four unknown matrices and multiply out, solving for those unknowns whilst ensuring to use correct inverses (left or right) it does give the same result. This was my second method.
So in short, sadly, I don't think there is an easy way. Though I think it is still worth trying it out with a numerical example, but with any inverse taken as left or right depending on whichever is defined, and seeing if that works.
Sorry to have disappointed if it doesn't work out.
Perhaps there is someone else at the forum who has more experience with quadratic forms that may be able to help?