Construct an orthogonal matrix $Q$ satisfying the following formula.

126 Views Asked by At

Suppose $A\in \mathbb R^{n\times n}$ and $D = \operatorname{diag}(d_1,...,d_n) \in \mathbb R^{n\times n}.$ Show how to construct an orthogonal matrix $Q$ such that: $$ Q^TA-DQ^T=R $$ is an upper triangular matrix. Do not worry about the efficiency.