ArticleslgStudy

mathematics

Hierarchical matrix

Hierarchical matrix is a mathematics 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 Hierarchical matrix rather than just read about it. In short: In numerical mathematics, hierarchical matrices (H-matrices) are used as data-sparse approximations of non-sparse matrices. While a sparse matrix of dimension n {\displaystyle n} can be represented efficiently in O ( n ) {\displaystyle O(n)} units of storage by storing only its non-zero entries, a non-sparse matrix would require O ( n 2 ) {\displaystyle O(n^{2})} units of storage, and using this type of matrices for…

Key takeaways

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

Reference excerpt

In numerical mathematics, hierarchical matrices (H-matrices) are used as data-sparse approximations of non-sparse matrices. While a sparse matrix of dimension n {\displaystyle n} can be represented efficiently in O ( n ) {\displaystyle O(n)} units of storage by storing only its non-zero entries, a non-sparse matrix would require O ( n 2 ) {\displaystyle O(n^{2})} units of storage, and using this type of matrices for large problems would therefore be prohibitively expensive in terms of storage and computing time. Hierarchical matrices provide an approximation requiring only O ( n k log ⁡ ( n ) ) {\displaystyle O(nk\,\log(n))} units of storage, where k {\displaystyle k} is a parameter controlling the accuracy of the approximation. In typical applications, e.g., when discretizing integral equations, preconditioning the resulting systems of linear equations, or solving elliptic partial differential equations, a rank proportional to log ⁡ ( 1 / ϵ ) γ {\displaystyle \log(1/\epsilon )^{\gamma }} with a small constant γ {\displaystyle \gamma } is sufficient to ensure an accuracy of ϵ {\displaystyle \epsilon } . Compared to many other data-sparse representations of non-sparse matrices, hierarchical matrices offer a major advantage: the results of matrix arithmetic operations like matrix multiplication, factorization or inversion can be approximated in O ( n k α log ⁡ ( n ) β ) {\displaystyle O(nk^{\alpha }\,\log(n)^{\beta })} operations, where α , β ∈ { 1 , 2 , 3 } . {\displaystyle \alpha ,\beta \in \{1,2,3\}.}

Basic idea Hierarchical matrices rely on local low-rank approximations: let I , J {\displaystyle I,J} be index sets, and let G ∈ R I × J {\displaystyle G\in {\mathbb {R} }^{I\times J}} denote the matrix we have to approximate. In many applications (see above), we can find subsets t ⊆ I , s ⊆ J {\displaystyle t\subseteq I,s\subseteq J} such that G | t × s {\displaystyle G|_{t\times s}}

can be approximated by a rank- k {\displaystyle k} matrix. This approximation can be represented in factorized form G | t × s ≈ A B ∗ {\displaystyle G|_{t\times s}\approx AB^{*}} with factors

A ∈ R t × k , B ∈ R s × k {\displaystyle A\in {\mathbb {R} }^{t\times k},B\in {\mathbb {R} }^{s\times k}} . While the standard representation of the matrix G | t × s {\displaystyle G|_{t\times s}} requires O ( ( # t ) ( # s ) ) {\displaystyle O((\#t)(\#s))} units of storage, the factorized representation requires only O ( k ( # t + # s ) ) {\displaystyle O(k(\#t+\#s))} units. If k {\displaystyle k} is not too large, the storage requirements are reduced significantly. In order to approximate the entire matrix G {\displaystyle G} , it is split into a family of submatrices. Large submatrices are stored in factorized representation, while small submatrices are stored in standard representation in order to improve efficiency. Low-rank matrices are closely related to degenerate expansions used in panel clustering and the fast multipole method to approximate integral operators. In this sense, hierarchical matrices can be considered the algebraic counterparts of these techniques.

Application to integral operators Hierarchical matrices are successfully used to treat integral equations, e.g., the single and double layer potential operators appearing in the boundary element method. A typical operator has the form

G [ u ] ( x ) = ∫ Ω κ ( x , y ) u ( y ) d y . {\displaystyle {\mathcal {G}}[u](x)=\int _{\Omega }\kappa (x,y)u(y)\,dy.}

The Galerkin method leads to matrix entries of the form

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Hierarchical matrix

Start with the simplest possible case. Write down what Hierarchical matrix claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, 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 Hierarchical matrix 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 Hierarchical matrix 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 Hierarchical matrix

In research
Hierarchical matrix appears in mathematics 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 Hierarchical matrix 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
Hierarchical matrix is common in secondary-school and first-year university syllabi. It links to neighbouring topics Matrices (mathematics), so understanding it makes those chapters shorter.
In everyday life
Look for Hierarchical matrix 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.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Hierarchical matrix in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Hierarchical matrix 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 Hierarchical matrix out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Hierarchical matrix in simple terms?

In numerical mathematics, hierarchical matrices (H-matrices) are used as data-sparse approximations of non-sparse matrices. While a sparse matrix of dimension n {\displaystyle n} can be represented efficiently in O ( n ) {\displaystyle O(n)} units of storage by storing only its non-zero entries, a…

Why does Hierarchical matrix matter?

Because it connects several mathematics 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 Hierarchical matrix?

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 Hierarchical matrix.

Tags

  • Matrices (mathematics)

Keep exploring