Let PSKx,w \in \mathbb{R}^nZSKNSKHow to show that: PSK(w^t x)x=(xx^t)wZSK

compagnia04

compagnia04

Answered question

2021-12-11

Let x,wRn
How to show that: (wtx)x=(xxt)w (t denotes transpose)
Attempt at proof:
α=(wtx)x
αt=xt(wtx)t=xt(xtw)
(αt)t=(xt)t(xtw) (treating xt w as a scalar here)
α=x(xtw)=(xxt)w (associativity)

Answer & Explanation

Lynne Trussell

Lynne Trussell

Beginner2021-12-12Added 32 answers

Your proof looks correct to me, you are using that xTw is a scalar, and also that the matrix multiplication is associative.
More directly you can argue that
(wTx)x=x(wTx)=x(xTw)=(xxT)w
where the first two steps use that wTx is a scalar, and the last step uses that the matrix multiplication is associative.

Annie Gonzalez

Annie Gonzalez

Beginner2021-12-13Added 41 answers

I guess that v′ denotes the transpose.
This uses a trick, besides the transposition: w′x is a scalar to be multiplied by an n×1 matrix. You get the same result if you instead consider the product x(w′x) where now w′x is considered as an 1×1 matrix. But w′x=x′w, so you can write
(wx)x=(xw)x=xn×1(xw)1×1=(xx)n×nwn×1

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?