Triangular matrix

From Academic Kids

In the mathematical discipline of linear algebra, a triangular matrix is a special kind of square matrix where the entries below or above the main diagonal are zero. Because matrix equations with triangular matrices are easy to solve they are very important in numerical analysis. The LU decomposition gives an algorithm to decompose any invertible matrix A into a normed lower triangle matrix L and an upper triangle matrix U.

Contents

Definition

A matrix

<math> \mathbf{L}=

\begin{bmatrix} l_{1,1} & & & & 0 \\ l_{2,1} & l_{2,2} & & & \\ l_{3,1} & l_{3,2} & \ddots & & \\ \vdots & \vdots & \ddots & \ddots & \\ l_{n,1} & l_{n,2} & \ldots & l_{n,n-1} & l_{n,n} \end{bmatrix} <math>

is called lower triangular matrix or left triangular matrix, and analogously a matrix of the form

<math> \mathbf{U} =

\begin{bmatrix} u_{1,1} & u_{1,2} & u_{1,3} & \ldots & u_{1,n} \\

       & u_{2,2} & u_{2,3} & \ldots & u_{2,n}  \\
       &         & \ddots  & \ddots & \vdots   \\
       &         &         & \ddots & u_{n-1,n}\\
 0     &         &         &        & u_{n,n}

\end{bmatrix} <math>

is called upper triangular matrix or right triangular matrix.

A triangular matrix with zero entries on the main diagonal is strictly upper or lower triangular. All strictly triagular matrices are nilpotent.

If the entries on the main diagonal are 1, the matrix is termed unit upper/lower or normed upper/lower triangular. If, in addition, all the off-diagonal entries are zero except for the entries in one column, then the matrix is atomic upper/lower triangular; such a matrix is also called a Gauss (transformation) matrix. So an atomic lower triangular matrix is of the form

<math> \mathbf{L}_{i} =

\begin{bmatrix}

    1 &        &           &         &         & 0 \\
      & \ddots &           &         &         &   \\
      &        &         1 &         &         &   \\
      &        & l_{i+1,i} &  \ddots &         &   \\
      &        &    \vdots &         &  \ddots &   \\
    0 &        &   l_{n,i} &         &         & 1 \\

\end{bmatrix}. <math> The inverse of an atomic triagular matrix is again atomic triangular. Indeed, we have

<math> \mathbf{L}_{i}^{-1} =

\begin{bmatrix}

    1 &        &           &         &         & 0 \\
      & \ddots &           &         &         &   \\
      &        &         1 &         &         &   \\
      &        &-l_{i+1,i} &  \ddots &         &   \\
      &        &    \vdots &         &  \ddots &   \\
    0 &        &  -l_{n,i} &         &         & 1 \\

\end{bmatrix}, <math> i.e. the off-diagonal entries are replaced by their opposites.

Notes

A matrix which is simultaneously upper and lower triangular is diagonal. The identity matrix is the only matrix which is both normed upper and lower triangular.

The product of two upper triangular matrices is upper triangular, so the set of upper triangular matrices forms an algebra. Algebras of upper triangular matrices have a natural generalisation in functional analysis which yields nest algebras.

The transpose of a upper triangular matrix is a lower triangular matrix and vice versa. The determinant of a triangular matrix equals the product of the diagonal entries.

The variable L is commonly used for lower triangular matrix, standing for lower/left, while the variable U or R is commonly used for upper triangular matrix, standing for upper/right. The variable R has the added benefit of being the same initial for the German term for 'right.'

Generally, operations can be performed on triangular matrices within half the time.

Examples

The matrix

<math>

\begin{bmatrix} 1 & 4 & 2 \\ 0 & 3 & 4 \\ 0 & 0 & 1 \\ \end{bmatrix} <math> is upper triangular and

<math>

\begin{bmatrix} 1 & 0 & 0 \\ 2 & 8 & 0 \\ 4 & 9 & 7 \\ \end{bmatrix} <math> is lower triangular.

The matrix

<math>

\begin{bmatrix} 1 & 0 & 0 \\ 4 & 1 & 0 \\ 2 & 0 & 1 \\ \end{bmatrix} <math> is atomic lower triangular and its inverse is

<math>

\begin{bmatrix}

1 & 0 & 0 \\

-4 & 1 & 0 \\ -2 & 0 & 1 \\ \end{bmatrix}. <math>

Application

A matrix equation in the form

<math>\mathbf{L}\mathbf{x} = \mathbf{b}<math>

or

<math>\mathbf{U} \mathbf{x} = \mathbf{b}<math>

is very easy to solve. The matrix equation Lx = b can be written as a system of linear equations

<math>

\begin{matrix} l_{1,1} x_1 & & & & & = & b_1 \\ l_{2,1} x_1 & + & l_{2,2} x_2 & & & = & b_2 \\

    \vdots &   &      \vdots &     \ddots &             &   & \vdots \\

l_{m,1} x_1 & + & l_{m,2} x_2 & + \ldots + & l_{m,m} x_m & = & b_m \\ \end{matrix} <math>

which can be solved by the following recursive relation

<math> x_1 = \frac{b_1}{l_{1,1}}, <math>
<math> x_2 = \frac{b_2 - l_{2,1} x_1}{l_{2,2}}, <math>
<math> \vdots <math>
<math> x_m = \frac{b_m - \sum_{i=1}^{m-1} l_{m,i}x_i}{l_{m,m}}. <math>

A matrix equation with an upper triangular matrix U can be solved in an analogous way.

See also

es:Matriz triangular fr:Matrice triangulaire it:Matrice triangolare ja:三角行列 nl:Driehoeksmatrix pl:Macierz trójkątna

Navigation

Academic Kids Menu

  • Art and Cultures
    • Art (http://www.academickids.com/encyclopedia/index.php/Art)
    • Architecture (http://www.academickids.com/encyclopedia/index.php/Architecture)
    • Cultures (http://www.academickids.com/encyclopedia/index.php/Cultures)
    • Music (http://www.academickids.com/encyclopedia/index.php/Music)
    • Musical Instruments (http://academickids.com/encyclopedia/index.php/List_of_musical_instruments)
  • Biographies (http://www.academickids.com/encyclopedia/index.php/Biographies)
  • Clipart (http://www.academickids.com/encyclopedia/index.php/Clipart)
  • Geography (http://www.academickids.com/encyclopedia/index.php/Geography)
    • Countries of the World (http://www.academickids.com/encyclopedia/index.php/Countries)
    • Maps (http://www.academickids.com/encyclopedia/index.php/Maps)
    • Flags (http://www.academickids.com/encyclopedia/index.php/Flags)
    • Continents (http://www.academickids.com/encyclopedia/index.php/Continents)
  • History (http://www.academickids.com/encyclopedia/index.php/History)
    • Ancient Civilizations (http://www.academickids.com/encyclopedia/index.php/Ancient_Civilizations)
    • Industrial Revolution (http://www.academickids.com/encyclopedia/index.php/Industrial_Revolution)
    • Middle Ages (http://www.academickids.com/encyclopedia/index.php/Middle_Ages)
    • Prehistory (http://www.academickids.com/encyclopedia/index.php/Prehistory)
    • Renaissance (http://www.academickids.com/encyclopedia/index.php/Renaissance)
    • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
    • United States (http://www.academickids.com/encyclopedia/index.php/United_States)
    • Wars (http://www.academickids.com/encyclopedia/index.php/Wars)
    • World History (http://www.academickids.com/encyclopedia/index.php/History_of_the_world)
  • Human Body (http://www.academickids.com/encyclopedia/index.php/Human_Body)
  • Mathematics (http://www.academickids.com/encyclopedia/index.php/Mathematics)
  • Reference (http://www.academickids.com/encyclopedia/index.php/Reference)
  • Science (http://www.academickids.com/encyclopedia/index.php/Science)
    • Animals (http://www.academickids.com/encyclopedia/index.php/Animals)
    • Aviation (http://www.academickids.com/encyclopedia/index.php/Aviation)
    • Dinosaurs (http://www.academickids.com/encyclopedia/index.php/Dinosaurs)
    • Earth (http://www.academickids.com/encyclopedia/index.php/Earth)
    • Inventions (http://www.academickids.com/encyclopedia/index.php/Inventions)
    • Physical Science (http://www.academickids.com/encyclopedia/index.php/Physical_Science)
    • Plants (http://www.academickids.com/encyclopedia/index.php/Plants)
    • Scientists (http://www.academickids.com/encyclopedia/index.php/Scientists)
  • Social Studies (http://www.academickids.com/encyclopedia/index.php/Social_Studies)
    • Anthropology (http://www.academickids.com/encyclopedia/index.php/Anthropology)
    • Economics (http://www.academickids.com/encyclopedia/index.php/Economics)
    • Government (http://www.academickids.com/encyclopedia/index.php/Government)
    • Religion (http://www.academickids.com/encyclopedia/index.php/Religion)
    • Holidays (http://www.academickids.com/encyclopedia/index.php/Holidays)
  • Space and Astronomy
    • Solar System (http://www.academickids.com/encyclopedia/index.php/Solar_System)
    • Planets (http://www.academickids.com/encyclopedia/index.php/Planets)
  • Sports (http://www.academickids.com/encyclopedia/index.php/Sports)
  • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
  • Weather (http://www.academickids.com/encyclopedia/index.php/Weather)
  • US States (http://www.academickids.com/encyclopedia/index.php/US_States)

Information

  • Home Page (http://academickids.com/encyclopedia/index.php)
  • Contact Us (http://www.academickids.com/encyclopedia/index.php/Contactus)

  • Clip Art (http://classroomclipart.com)
Toolbox
Personal tools