ArticleslgStudy

science

Khatri–Rao product

Khatri–Rao product is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Khatri–Rao product rather than just read about it. In short: In mathematics, the Khatri–Rao product or block Kronecker product of two partitioned matrices 𝐀 and 𝐁 is defined as 𝐀∗𝐁=(𝐀ij⊗𝐁ij)ij in which the ij-th block is the mipi × njqj sized Kronecker product of the corresponding blocks of A and B, assuming the number of row and column partitions of both matrices is equal. The size of the product is then (Σi mipi) × (Σj njqj).

Khatri–Rao product — main illustration
Khatri–Rao product — illustration

Key takeaways

  • Khatri–Rao product belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Khatri–Rao product to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Khatri–Rao product from memory before moving on to harder problems.

Reference excerpt

In mathematics, the Khatri–Rao product or block Kronecker product of two partitioned matrices 𝐀 and 𝐁 is defined as

𝐀∗𝐁=(𝐀ij⊗𝐁ij)ij in which the ij-th block is the mipi × njqj sized Kronecker product of the corresponding blocks of A and B, assuming the number of row and column partitions of both matrices is equal. The size of the product is then (Σi mipi) × (Σj njqj). For example, if A and B both are 2 × 2 partitioned matrices e.g.:

𝐀=[𝐀11𝐀12𝐀21𝐀22]=[123456789],𝐁=[𝐁11𝐁12𝐁21𝐁22]=[147258369], we obtain:

𝐀∗𝐁=[𝐀11⊗𝐁11𝐀12⊗𝐁12𝐀21⊗𝐁21𝐀22⊗𝐁22]=[1212214524421416457221245481]. This is a submatrix of the Tracy–Singh product of the two matrices (each partition in this example is a partition in a corner of the Tracy–Singh product).

Column-wise Kronecker product The column-wise Kronecker product of two matrices is a special case of the Khatri-Rao product as defined above, and may also be called the Khatri–Rao product. This product assumes the partitions of the matrices are their columns. In this case m1 = m, p1 = p, n = q and for each j: nj = qj = 1. The resulting product is a mp × n matrix of which each column is the Kronecker product of the corresponding columns of A and B. Using the matrices from the previous examples with the columns partitioned:

𝐂=[𝐂1𝐂2𝐂3]=[123456789],𝐃=[𝐃1𝐃2𝐃3]=[147258369], so that:

𝐂∗𝐃=[𝐂1⊗𝐃1𝐂2⊗𝐃2𝐂3⊗𝐃3]=[18212102431227420428254812305473263144072214881]. This column-wise version of the Khatri–Rao product is useful in linear algebra approaches to data analytical processing and in optimizing the solution of inverse problems dealing with a diagonal matrix. In 1996 the column-wise Khatri–Rao product was proposed to estimate the angles of arrival (AOAs) and delays of multipath signals and four coordinates of signals sources at a digital antenna array.

Face-splitting product

An alternative concept of the matrix product, which uses row-wise splitting of matrices with a given quantity of rows, was proposed by V. Slyusar in 1996. This matrix operation was named the "face-splitting product" of matrices or the "transposed Khatri–Rao product". This type of operation is based on row-by-row Kronecker products of two matrices. Using the matrices from the previous examples with the rows partitioned:

𝐂=[𝐂1𝐂2𝐂3]=[123456789],𝐃=[𝐃1𝐃2𝐃3]=[147258369], the result can be obtained:

𝐂∙𝐃=[𝐂1⊗𝐃1𝐂2⊗𝐃2𝐂3⊗𝐃3]=[14728143122182032102540123048214263244872275481].

Main properties In the following properties, the operator ∙ denotes the row-wise Kronecker product (face-splitting product) and the operator ∗ denotes the column-wise Kronecker product

Examples Source:

([100110]∙[101001])([111−1]⊗[111−1])([σ100σ2]⊗[ρ100ρ2])([x1x2]∗[y1y2])=([100110]∙[101001])([111−1][σ100σ2][x1x2]⊗[111−1][ρ100ρ2][y1y2])=[100110][111−1][σ100σ2][x1x2]∘[101001][111−1][ρ100ρ2][y1y2].

Theorem Source: If M=T(1)∙⋯∙T(c), where T(1),…,T(c) are independent components a random matrix T with independent identically distributed rows T1,…,Tm∈ℝd, such that

E[(T1x)2]=‖x‖22 and E[(T1x)p]1p≤ap‖x‖2, then for any vector x

|‖Mx‖2−‖x‖2|<ε‖x‖2 with probability 1−δ if the quantity of rows

m=(4a)2cε−2log⁡1/δ+(2ae)ε−1(log⁡1/δ)c. In particular, if the entries of T are ±1 can get

m=O(ε−2log⁡1/δ+ε−1(1clog⁡1/δ)c) which matches the Johnson–Lindenstrauss lemma of m=O(ε−2log⁡1/δ) when ε is small.

Block face-splitting product

According to the definition of V. Slyusar the block face-splitting product of two partitioned matrices with a given quantity of rows in blocks

𝐀=[𝐀11𝐀12𝐀21𝐀22],𝐁=[𝐁11𝐁12𝐁21𝐁22], can be written as :

𝐀[∙]𝐁=[𝐀11∙𝐁11𝐀12∙𝐁12𝐀21∙𝐁21𝐀22∙𝐁22]. The transposed block face-splitting product (or Block column-wise version of the Khatri–Rao product) of two partitioned matrices with a given quantity of columns in blocks has a view:

𝐀[∗]𝐁=[𝐀11∗𝐁11𝐀12∗𝐁12𝐀21∗𝐁21𝐀22∗𝐁22].

Main properties Transpose: (𝐀[∗]𝐁)𝖳=𝐀𝖳[∙]𝐁𝖳

Applications The Face-splitting product and the Block Face-splitting product used in the tensor-matrix theory of digital antenna arrays. These operations are also used in:

Artificial Intelligence and Machine learning systems to minimization of convolution and tensor sketch operations, A popular Natural Language Processing models, and hypergraph models of similarity, Generalized linear array model in statistics Two- and multidimensional P-spline approximation of data, Studies of genotype x environment interactions.

See also Kronecker product Hadamard product

Notes

References Khatri C. G., C. R. Rao (1968). "Solutions to some functional equations and their applications to characterization of probability distributions". Sankhya. 30: 167–180. Archived from the original on 2010-10-23. Retrieved 2008-08-21. Rao C.R.; Rao M. Bhaskara (1998), Matrix Algebra and Its Applications to Statistics and Econometrics, World Scientific, p. 216 Zhang X; Yang Z; Cao C. (2002), "Inequalities involving Khatri–Rao products of positive semi-definite matrices", Applied Mathematics E-notes, 2: 117–124 Liu Shuangzhe; Trenkler Götz (2008), "Hadamard, Khatri-Rao, Kronecker and other matrix products", International Journal of Information and Systems Sciences, 4: 160–177

Illustrations

Khatri–Rao product: Transposed block face-splitting product in the context of a multi-face radar model[15]
Transposed block face-splitting product in the context of a multi-face radar model[15]

Worked examples

Example 1 — a first encounter with Khatri–Rao product

Start with the simplest possible case. Write down what Khatri–Rao product claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Khatri–Rao product before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Khatri–Rao product ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Khatri–Rao product

In research
Khatri–Rao product appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Khatri–Rao product in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Khatri–Rao product is common in secondary-school and first-year university syllabi. It links to neighbouring topics Matrix theory, so understanding it makes those chapters shorter.
In everyday life
Look for Khatri–Rao product outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Khatri–Rao product” →

How to study Khatri–Rao product in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Khatri–Rao product means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Khatri–Rao product out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Khatri–Rao product in simple terms?

In mathematics, the Khatri–Rao product or block Kronecker product of two partitioned matrices 𝐀 and 𝐁 is defined as 𝐀∗𝐁=(𝐀ij⊗𝐁ij)ij in which the ij-th block is the mipi × njqj sized Kronecker product of the corresponding blocks of A and B, assuming the number of row and column partitions of b…

Why does Khatri–Rao product matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Khatri–Rao product?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Khatri–Rao product.

Tags

  • Matrix theory

Keep exploring