| Line 1: |
Line 1: |
| − | <div style="font-size:30px">'''IDENTITY'''</div><br/> | + | <div style="font-size:30px">'''MATRIX("IDENTITY",order)'''</div><br/> |
| | + | *<math>order</math> is the order of the Identity matrix. |
| | + | |
| | + | ==Description== |
| | + | *This function gives the identity matrix of order 3. |
| | + | *The matrix is called identity matrix if a square matrix which has a 1 for each element on the main diagonal and 0 for all other elements. |
| | + | *Identity matrix is denoted by I_n or simply by I. |
| | + | *Identity matrix is also called as Unit matrix. |
| | + | *The identity matrix is the identity for matrix multiplication. |
| | + | *The form of identity matrices are:<math> I_1=\begin{bmatrix} |
| | + | 1 \\ |
| | + | \end{bmatrix}</math> |
| | + | <math>I_2=\begin{bmatrix} |
| | + | 1 & 0 \\ |
| | + | 0 & 1 \\ |
| | + | \end{bmatrix}</math> |
| | + | <math>I_3=\begin{bmatrix} |
| | + | 1 & 0 & 0 \\ |
| | + | 0 & 1 & 0\\ |
| | + | 0 & 0 & 1 |
| | + | \end{bmatrix}</math> |
| | + | ....... |
| | + | <math>I_n=\begin{bmatrix} |
| | + | 1 & 0 & 0 & \cdots & 0 \\ |
| | + | 0 & 1 & 0 & \cdots & 0 \\ |
| | + | 0 & 0 & 1 & \cdots & 0 \\ |
| | + | \vdots & \ddots & \vdots \\ |
| | + | 0 & 0 & 0 & \cdots & 1 |
| | + | \end{bmatrix}</math> |