Skip to content
m·amathatlas
ExploreAboutOpen problemsCited authorsMy libraryFeedback
Sign in
FRENES
Loading views…Recent views only, across all languages. Vercel history is unavailable for this page. Repeat visits in the same tab are grouped for 30 minutes.
ShareLinkedInXFacebookWhatsApp
← All open problems
Unanswered question

Gradient of QZ decomposition

Algebra

Imported on November 28, 2026

The forum classified this question as unanswered when collected. This does not certify an open research problem; check the answers and revision history at the source.

Read the question with its definitions and background below. The source provides the full formulation and further discussion; the glossary and Wikipedia links offer additional reading aids.

Problem statement

Let AAA and BBB be an m×nm \times nm×n matrix of rank k1≤min⁡(m,n)k_1 \le \min(m,n)k1​≤min(m,n) and k2≤min⁡(m,n)k_2 \le \min(m,n)k2​≤min(m,n). Then the QZ decomposition or the generalized Schur decomposition is A=USVTA = USV^TA=USVT and B=UTVTB = UTV^T B=UTVT, where:

UUU and VVV are unitary matrices.

SSS and TTT are upper triangular matrices.

We define a function f ff which takes UUU, SSS, TTT and VVV as input and returns the sum of all the elements of all the matrices. I am interested in finding the gradient of fff with respect to AAA and BBB.

I found the below tricks to be useful by reading some posts here and some papers, but couldn't solve them completely. \begin{align*} dA &= dUSV^{T} + UdSV^{T} + USdV^{T} \newline U^{T}dAV &= U^{T}dUS + dS + SdV^{T}V \newline U^{T}dAVS^{-1} &= U^{T}dU + dSS^{-1} + SdV^{T}VS^{-1} \newline \end{align*} Since UTdUU^{T}dUUTdU and dVTVdV^{T}VdVTV are skew symmetric, we get \begin{align*} U^{T}dAVS^{-1} - dSS^{-1} - SdV^{T}VS^{-1} = -(U^{T}dAVS^{-1} - dSS^{-1} - SdV^{T}VS^{-1})^T
\end{align*} which simplifies to \begin{align*} &U^{T}dAVS^{-1} - SdV^{T}VS^{-1} + (U^{T}dAVS^{-1} - SdV^{T}VS^{-1})^T = dSS^{-1} + (dSS^{-1} )^T \newline & sym(C) = sym(dS^{-1})
\end{align*} where C=UTdAVS−1−SdVTVS−1C = U^{T}dAVS^{-1} - SdV^{T}VS^{-1}C=UTdAVS−1−SdVTVS−1. Since, dSS−1dSS^{-1}dSS−1 is upper triangular, we can write dSdSdS as dS=(sym(C)∘ET)SdS = (sym(C) \circ E^T)SdS=(sym(C)∘ET)S where ∘\circ∘ is the Hadamard product and EEE is-

eij={0,i<j1,i=j2,i>j e_{ij}= \begin{cases} 0,& i < j\\ 1, & i=j\\ 2,& i > j \end{cases}eij​=⎩⎨⎧​0,1,2,​i<ji=ji>j​

Let derivate of output with respect to AAA, BBB, UUU, VVV, SSS and TTT be Aˉ\bar{A}Aˉ, Bˉ\bar{B}Bˉ, Uˉ\bar{U}Uˉ, Vˉ\bar{V}Vˉ, Sˉ\bar{S}Sˉ and Tˉ\bar{T}Tˉ. Then Tr(AˉdA)=Tr(UˉdU)+Tr(SˉdS)+Tr(VˉdV)Tr(\bar{A}dA) = Tr(\bar{U}dU) + Tr(\bar{S}dS) + Tr(\bar{V}dV) Tr(AˉdA)=Tr(UˉdU)+Tr(SˉdS)+Tr(VˉdV) If I substitute dSdSdS in the above formula, then I will have RHS in terms of dVdVdV and dAdAdA. I am trying to find a way to eliminate dVdVdV so that RHS is just in terms of dAdAdA and then I can equate and find Aˉ\bar{A}Aˉ.

  • In the above equation UTdUU^{T}dUUTdU and dVTVdV^{T}VdVTV are skew symmetric and dSdSdS is upper triangular

  • I am trying to eliminate dVdVdV or dUdUdU so that dSdSdS and dTdTdT depends on dAdAdA and dBdBdB and then I can find dUdUdU and dVdVdV.

  • Any possible way to simplify CCC?

I am not sure how to jointly solve for dUdUdU and dVdVdV such that the answer uses dAdAdA and dBdBdB. Also, the main purpose of the question is to find gradients for backpropagation through QZ decomposition. I have also asked the same question here https://math.stackexchange.com/questions/4530377/gradient-of-qz-decomposition but couldn't find a solution.

Some references-

https://math.stackexchange.com/questions/3601351/gradient-of-a-mapsto-sigma-i-a

https://arxiv.org/pdf/1509.07838.pdf

https://j-towns.github.io/papers/qr-derivative.pdf

Statement and context adapted from MathOverflow · newbie

CC BY-SA 4.0 · Formatting adapted; mathematical formulas preserved · Source history

Topics : linear-algebra · matrices · matrix-analysis · matrix-equations · derivations

Authors listed by the source : newbie

Sources and original status

  • MathOverflow Status in source : unanswered at collection

Last activity on the question : September 19, 2022

Coverage, sources and method

This count measures imported entries, including distinct variants. It is not a count of all open mathematical questions worldwide. One entry may belong to several fields and sources.

This directory is neither exhaustive nor updated in real time. “Reported open” describes the source classification observed at import; imported entries have not each undergone independent mathematical verification. The 32 explained entries were reviewed separately.

Formal Conjectures: only “research open” statements with no reported formal proof are retained; their tag is checked in a pinned repository revision. Variants remain distinct. A “sorry” placeholder is not sufficient to establish open status.

Erdős: solved or independent problems and entries with a Lean solution are excluded, including “open (Lean)”. Exact matches to the main Formal Conjectures statements are merged.

Open Problem Garden: the open index is checked against the solved index; spam, identified clones and some outdated statuses are excluded. Statements and definition context are attributed to their original pages; formulas are preserved and the content remains under the GFDL. Recognized duplicates across sources are merged; this does not resolve every mathematical equivalence.

OEIS: direct extraction of conjectural comments and formulas, one entry per sequence, excluding mentioned resolutions. MathOverflow and Math Stack Exchange: questions classified as unanswered by their API, excluding closed posts and non-research categories. They remain distinct from problems reported open. This is a partial, dated collection; every entry credits its authors and license.

Documented exclusions account for recent announcements and conflicting statuses. A stronger variant or a special case can remain open after a different statement is settled.

Attribution: The Formal Conjectures Authors; teorth/erdosproblems and contributors; Open Problem Garden and contributors. Each source retains its license.

  • Formal Conjectures · 1,924 · Apache-2.0 / CC-BY-4.0
  • Erdős Problems (teorth) · 622 · Apache-2.0
  • Open Problem Garden · 404 · GFDL (source content); only title/category/link metadata imported
  • OEIS · 18,857 · CC BY-SA 4.0
  • MathOverflow · 19,035 · CC BY-SA (version on each entry)
  • Mathematics Stack Exchange · 35 · CC BY-SA (version on each entry)
Report a development or correction
mathatlas

An independent atlas to understand, read, and question research.

The papers present claimed results at different stages of verification.
NewsletterShare feedbackAbout Data and privacy
Created by Sonny Mupfuni