ArticleslgStudy

mathematics

Main diagonal

Main diagonal 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 Main diagonal rather than just read about it. In short: In linear algebra, the main diagonal (sometimes principal diagonal, primary diagonal, leading diagonal, major diagonal, or good diagonal) of a matrix A is the list of entries ai,j where i=j. All off-diagonal elements are zero in a diagonal matrix.

Key takeaways

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

Reference excerpt

In linear algebra, the main diagonal (sometimes principal diagonal, primary diagonal, leading diagonal, major diagonal, or good diagonal) of a matrix A is the list of entries ai,j where i=j. All off-diagonal elements are zero in a diagonal matrix. The following four matrices have their main diagonals indicated by red ones: [100010001][100001000010][100010001000][1000010000100001]

Square matrices For a square matrix, the diagonal (or main diagonal or principal diagonal) is the diagonal line of entries running from the top-left corner to the bottom-right corner. That is, the diagonal of a matrix consists of the elements, called diagonal entries or diagonal elements, for which the row index and the column index are equal. For example, the identity matrix can be defined as having entries of 1 on the main diagonal and zeroes elsewhere:

(100010001) The trace of a matrix is the sum of the diagonal elements. The top-right to bottom-left diagonal is sometimes described as the minor diagonal or antidiagonal. The off-diagonal entries are those not on the main diagonal. A diagonal matrix is one whose off-diagonal entries are all zero. A superdiagonal entry is one that is directly above and to the right of the main diagonal. Just as diagonal entries are those Aij with j=i, the superdiagonal entries are those with j=i+1. For example, the non-zero entries of the following matrix all lie in the superdiagonal:

(020003000) Likewise, a subdiagonal entry is one that is directly below and to the left of the main diagonal, that is, an entry Aij with j=i−1. General matrix diagonals can be specified by an index k measured relative to the main diagonal: the main diagonal has k=0; the superdiagonal has k=1; the subdiagonal has k=−1; and in general, the k-diagonal consists of the entries Aij with j=i+k. A banded matrix is one for which its non-zero elements are restricted to a diagonal band. A tridiagonal matrix has only the main diagonal, superdiagonal, and subdiagonal entries as non-zero.

Antidiagonal

The antidiagonal (sometimes counter diagonal, secondary diagonal (*), trailing diagonal, minor diagonal, off diagonal, or bad diagonal) of an order N square matrix B is the collection of entries bi,j such that i+j=N+1 for all 1≤i,j≤N. That is, it runs from the top right corner to the bottom left corner.

[001010100] (*) Secondary (as well as trailing, minor and off) diagonals very often also mean the (a.k.a. k-th) diagonals parallel to the main or principal diagonals, i.e., Ai,i±k for some nonzero k =1, 2, 3, ... More generally and universally, the off diagonal elements of a matrix are all elements not on the main diagonal, i.e., with distinct indices i ≠ j.

See also Trace

Notes

References Bronson, Richard (1970), Matrix Methods: An Introduction, New York: Academic Press, LCCN 70097490 Cullen, Charles G. (1966), Matrices and Linear Transformations, Reading: Addison-Wesley, LCCN 66021267 Herstein, I. N. (1964), Topics In Algebra, Waltham: Blaisdell Publishing Company, ISBN 978-1114541016 {{citation}}: ISBN / Date incompatibility (help) Nering, Evar D. (1970), Linear Algebra and Matrix Theory (2nd ed.), New York: Wiley, LCCN 76091646 Weisstein, Eric W. "Main diagonal". MathWorld.

Worked examples

Example 1 — a first encounter with Main diagonal

Start with the simplest possible case. Write down what Main diagonal 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 Main diagonal 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 Main diagonal 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 Main diagonal

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

How to study Main diagonal in 20 minutes

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

Frequently asked questions

What is Main diagonal in simple terms?

In linear algebra, the main diagonal (sometimes principal diagonal, primary diagonal, leading diagonal, major diagonal, or good diagonal) of a matrix A is the list of entries ai,j where i=j. All off-diagonal elements are zero in a diagonal matrix.

Why does Main diagonal 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 Main diagonal?

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 Main diagonal.

Tags

  • Matrices (mathematics)
  • Matrix stubs

Keep exploring