Re: completing the square on and expression in matrix form
- To: mathgroup at smc.vnet.net
- Subject: [mg34243] Re: completing the square on and expression in matrix form
- From: "tilemachos" <tasosarv at otenet.gr>
- Date: Sat, 11 May 2002 04:05:04 -0400 (EDT)
- References: <abfs3k$gsa$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
a{(x-b/2a)^2-b^2/4a^2}= a{(x-b/2a)^2-(b/2a)^2}= a(x-b/2a+b/2a)(x-b/2a-b/2a)= ax(x-b/a)=......... Ï "Chris" <cjque at umich.edu> Ýãñáøå óôï ìÞíõìá news:abfs3k$gsa$1 at smc.vnet.net... > 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 >