Solve GAXPY Operations for Matrix A & Vector x

Click For Summary

Homework Help Overview

The problem involves finding the first column of a matrix M, defined as the product of several matrices of the form (A - xiI), where A is an nxn matrix and x is a vector of length k. The context is within linear algebra, specifically focusing on matrix operations and GAXPY operations.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the definitions and dimensions of the matrix A and vector x, questioning the notation and the relationship between k and n. Some suggest starting with smaller matrices to understand the problem better.

Discussion Status

The discussion is ongoing, with participants clarifying the problem statement and exploring the implications of the dimensions of A and x. Some guidance has been offered regarding the use of smaller matrices to gain insight into the problem.

Contextual Notes

There is a noted need for clarity on the relationship between k and n, with suggestions that k must equal n for the operations to be valid. The exact statement of the problem has been reiterated for accuracy.

lolittaFarhat
Messages
7
Reaction score
0

Homework Statement


Let A be an nxn matrix belonging to R and x be a vector of length k belonging to R. Find the first column of
M = (A − x1I)(A − x2I)...(A − xrI) using a sequence of GAXPY’s operations.

Homework Equations


GAXPY: General matrix A multiplied by a vector X plus a vector Y

The Attempt at a Solution


I tried to figure it out by writing A and x explicitly and then multiplying (A-x1I) ...(A-xrI) but it was so messy and i did not get any result, i want a hint how to start the solution.
 
Physics news on Phys.org
lolittaFarhat said:

Homework Statement


Let A be an nxn matrix belonging to R and x be a vector of length k belonging to R.
The matrix and vector don't "belong to" R. I think what you mean is that the entries in A and x are real numbers. The matrix would be an element of ##\mathbb{R}^{n x n}## and the vector would be (I think) an element of ##\mathbb{R}^k##, unless by "length" you mean its magnitude.
lolittaFarhat said:
Find the first column of
M = (A − x1I)(A − x2I)...(A − xrI) using a sequence of GAXPY’s operations.
What is r in the equation above? In other words, how many factors are there on the right?

lolittaFarhat said:

Homework Equations


GAXPY: General matrix A multiplied by a vector X plus a vector Y

The Attempt at a Solution


I tried to figure it out by writing A and x explicitly and then multiplying (A-x1I) ...(A-xrI) but it was so messy and i did not get any result, i want a hint how to start the solution.
 
what you thought is absolutely right, A is a matrix in R^(nxn) and x is an element of R^K . r is a real variable that is equal to k. Sorry for misstating the problem statement.
 
Is there any relationship between k and n? Such as ##k \le n##?

If not, are there an arbitrary number of factors in M? In what you wrote, there last component of x in the matrix product is xr. The exact statement of the problem would be helpful.

I don't know if this is the best approach, but I would start with small matrices, say 2 x 2 or 3 x 3 matrix, to get an idea of how things work. I can't give any more advice until I understand more of the details of the problem.
 
  • Like
Likes   Reactions: lolittaFarhat
A is an nxn matrix, I is its identity and should be also an nxn matrix, k must be equal to n because we want A-xrI . Here is the exact statement of the problem:
Let A ∈Rnxn, x ∈ Rk. Find the first column of M = (A − x1I)(A − x2I)...(A − xkI) using a sequence of GAXPY’s operations.
 
Try what I suggested at the end of post #4, with a 3 x 3 matrix A. That's what I would start with, and it might give you some insight into what happens for larger matrices.

$$A = \begin{bmatrix} a_{11} & a_{12} & a_{13} \\
a_{21} & a_{22} & a_{23} \\
a_{31} & a_{32} & a_{33} \end{bmatrix}$$
$$x = \begin{bmatrix} x_1 \\ x_2 \\ x_3 \end{bmatrix}$$
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 8 ·
Replies
8
Views
7K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
5
Views
2K
Replies
4
Views
2K