home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: sci.math
- Path: sparky!uunet!gumby!destroyer!caen!takriti
- From: takriti@engin.umich.edu (samer Takriti)
- Subject: Re: Need Help on Matrix Differentiation
- Message-ID: <TZq-0-=@engin.umich.edu>
- Date: Tue, 08 Sep 92 09:31:35 EDT
- Organization: University of Michigan Engineering, Ann Arbor
- References: <18h8pnINNdp2@matt.ksu.ksu.edu>
- Nntp-Posting-Host: ephedra.engin.umich.edu
- Lines: 29
-
- In article <18h8pnINNdp2@matt.ksu.ksu.edu> bubai@matt.ksu.ksu.edu (P.Chatterjee) writes:
- >Hi,
- >
- >I was just wondering if somebody could help out regarding matrix differentiationThe problem is to minimize:
- >
- >y= x'Ax + 2x1 + 3x2 - 10
- >
- >where A is a 2x2 matrix : 25 7
- > 7 13
- >
- >
- >and x is the (x1 x2) column vector and x' denotes the transpose.
- >
- >It's easy if one expands the x'Ax term but I was wondering if there was some way doing it using matrix differentiation.
- >
- >Thanks for any help in this regard.
- >
-
- Write the problem as:
- y = x'.A.x + c'.x
- (The constant is not important),
- c = (2, 3)'.
- You need the derivative to be zero, i.e.,
- 2.A.x + c = 0
- x = -0.5 A^(-1) c
- x is the solution for your problem. Make sure that A is
- positive definite, this will guarantee that x is a minimum
- otherwise it may be a maximum.
- -Samer
-