Maximizing quantity which is a product of matrices/vectors

  • Thread starter AcidRainLiTE
  • Start date
  • Tags
    Product
In summary, the conversation discusses using a lagrange multiplier to find the maximum value of w'Aw subject to the constraint w'w = 1. By differentiating the lagrange multiplier, it is determined that the eigenvector of A with the largest eigenvalue will provide the solution.
  • #1
AcidRainLiTE
90
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
  • #2
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.
 
  • #4
Both posts were helpful. Thanks.
 
  • #5


Sure, I can explain what is happening at that step. Let's break it down:

First, we have the function w'Aw + L(w'w-1), where w is a vector and A is a matrix. This function represents the quantity that we are trying to maximize, subject to the constraint that w'w = 1.

Next, we use a technique called Lagrange multipliers to solve this optimization problem. This technique involves introducing a new variable, L, called the Lagrange multiplier, and adding it to the objective function.

When we differentiate the objective function with respect to w, we treat L as a constant. This means that when we differentiate w'Aw, we get A as the derivative, since L is treated as a constant. Similarly, when we differentiate L(w'w-1), we get Lw, since w'w is just a scalar and the derivative of a constant is 0.

Next, we set these two derivatives equal to each other, since they represent the same quantity (the derivative of the objective function with respect to w). This gives us Aw = Lw, which is the equation that we are left with after differentiation.

This equation tells us that the vector w is an eigenvector of A, with the eigenvalue L. This means that in order to maximize the quantity w'Aw, we need to find the eigenvector of A with the largest eigenvalue, since that will give us the largest possible value for w'Aw.

I hope this explanation helps you understand the reasoning behind this approach. Let me know if you have any further questions.
 

1. What is the purpose of maximizing the quantity which is a product of matrices/vectors?

The purpose of maximizing the quantity which is a product of matrices/vectors is to find the most efficient way to combine two or more matrices or vectors to achieve the highest possible result. This can be useful in various applications such as data analysis, optimization problems, and computer graphics.

2. How do you determine which matrices/vectors to use in order to maximize the quantity?

The matrices or vectors used to maximize the quantity are typically chosen based on their properties and the specific problem at hand. This can involve considering factors such as the dimensions, values, and operations involved in the matrices or vectors.

3. What are some common techniques used to maximize the quantity of matrices/vectors?

Some common techniques used to maximize the quantity of matrices/vectors include linear algebra methods such as matrix multiplication, vector addition, and matrix inversion. Other techniques may involve using optimization algorithms or numerical methods to find the optimal solution.

4. How can maximizing the quantity of matrices/vectors be applied in real-world scenarios?

Maximizing the quantity of matrices/vectors has many practical applications such as in data analysis, where it can be used to find the most efficient way to combine data sets or perform calculations. It can also be used in engineering and physics to optimize systems and models, as well as in computer science for tasks such as image processing and machine learning.

5. Are there any limitations or challenges when trying to maximize the quantity of matrices/vectors?

One limitation when maximizing the quantity of matrices/vectors is that it can be a computationally intensive process, especially when dealing with large matrices or vectors. Additionally, certain matrix operations may not be possible or meaningful, which can limit the effectiveness of some techniques. It is important to carefully consider the properties and constraints of the matrices or vectors being used in order to achieve meaningful results.

Similar threads

  • Linear and Abstract Algebra
Replies
3
Views
930
  • Linear and Abstract Algebra
Replies
9
Views
1K
  • Linear and Abstract Algebra
Replies
3
Views
1K
Replies
3
Views
1K
Replies
9
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
875
Replies
14
Views
1K
  • Linear and Abstract Algebra
Replies
10
Views
969
Replies
5
Views
990
  • Calculus and Beyond Homework Help
Replies
2
Views
364
Back
Top