completing the square on and expression in matrix form
- To: mathgroup at smc.vnet.net
- Subject: [mg34228] completing the square on and expression in matrix form
- From: cjque at umich.edu (Chris)
- Date: Fri, 10 May 2002 03:05:12 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Hello all, I was wondering if anyone could teach me how to use mathematica to "complete the square" on an expression in matrix form. I am a relatively new user of mathematica and I don't understand how to do this. For example I am trying to complete the square ax^2 - bx +_______ - _______ = a[( x - b/2a)^2 - b^2/(4a^2)] on 1) b'[Z' Z / (s^2) + T^(-1) ]b - 2 [ ( Y - X G)' Z / (s^2) ] b I claim that 1) is quadratic in b where Y is n x 1 X is n x p b is r x 1, b' is 1 x r T is r x r Z is n x r, Z' is r x n G is p x 1 and s is 1 x 1 ( a scalar) [Z' Z / (s^2) + T^ (-1) ] is symmetric also. Any help would be great. I am working on my dissertaion proposal and I am stuck. Thank you, Chris Johnson Grad student cjque at umich.edu