Maximizing quantity which is a product of matrices/vectors

  • Context: Graduate 
  • Thread starter Thread starter AcidRainLiTE
  • Start date Start date
  • Tags Tags
    Product
Click For Summary

Discussion Overview

The discussion revolves around maximizing the quantity w'Aw, where A is a known matrix and w is a vector, under the constraint that w'w = 1. The focus is on the mathematical reasoning and differentiation involved in using Lagrange multipliers to find the maximum, particularly clarifying the differentiation step that leads to the eigenvalue equation.

Discussion Character

  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant seeks clarification on how the differentiation of the expression w'Aw + L(w'w - 1) leads to the equation Aw = Lw.
  • Another participant suggests writing the expression explicitly in terms of components to clarify the differentiation process, indicating that at an extremum, the partial derivatives must equal zero.
  • A reference to matrix calculus is provided as a resource for a more general theory related to the topic.

Areas of Agreement / Disagreement

Participants generally agree on the mathematical approach but there is no consensus on the clarity of the differentiation step, as one participant seeks further explanation.

Contextual Notes

The discussion assumes familiarity with concepts such as Lagrange multipliers and eigenvalue problems, and it is noted that A can be considered a symmetric matrix for the derivations.

AcidRainLiTE
Messages
89
Reaction score
2
I am trying to follow the following reasoning:

Given a known matrix A, we want to find w that maximizes the quantity

w'Aw​

(where w' denotes the transpose of w) subject to the constraint w'w = 1.

To do so, use a lagrange multiplier, L:

w'Aw + L(w'w - 1)
and differentiate to obtain

Aw = Lw.​

Thus, we seek the eigenvector of A with the largest eigenvalue.​


I do not understand how they differentiated w'Aw + L(w'w-1) to get Aw = Lw. Can someone explain to me what is going on at that step?
 
Physics news on Phys.org
It would probably help to write things down explicitly in terms of components,

$$ m = w'Aw + L(w'w - 1) = \sum_{ij} A_{ij} w_i w_j + L \left( \sum_i w_i^2 -1 \right).$$

This is a function of the ##n## variables ##w_i##. At an extremum, ##\partial m /\partial w_k =0##. If you actually work out this set of equations, you'll see they are the components of the eigenvalue equation that you quoted. You'll need to use the fact that ##A## can be taken to be a symmetric matrix.
 
Both posts were helpful. Thanks.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
13
Views
2K
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 24 ·
Replies
24
Views
71K