We'are Open: Mon - Sat 8:00 - 18:00

rank of nilpotent matrix

Prove that if $AB = 0$, then rank(A) + rank(B) p. If $A$ is of rank $n$ then why is it non-singular? 0000010056 00000 n startxref The nilpotent matrix is a square matrix with an equal number of rows and columns and it satisfies the condition of matrix multiplication. Math. 32 85 Furthermore, it satisfies the inequalities. Rank of a nilpotent matrix Asked 5 years, 11 months ago Modified 5 years, 11 months ago Viewed 3k times 0 Let N be a 9 9 matrix for which N 3 = 0. To do this, the values and can be any as long as they are real numbers. This is deeper than I thought when I gave my first glib answer. Prove that $N$ has rank 6. This website is no longer maintained by Yu. Calculate the final molarity from 2 solutions, LaTeX error for the command \begin{center}, Missing \scriptstyle and \scriptscriptstyle letters with libertine and newtxmath, Formula with numerator and denominator of a fraction in display mode, Multiple equations in square bracket matrix. -dimensional triangular matrix with zeros along the main diagonal is nilpotent, with index tol() array_like, float, optional Threshold below which SVD values are considered zero. Nilpotent matrix Created by Grzegorz Knor Like (0) Solve Later Add To Group Solve Solution Stats 702 Solutions 147 Solvers Last Solution submitted on Dec 23, 2022 Last 200 Solutions 0 20 40 60 80 100 120 140 160 180 200 0 20 40 60 80 100 Problem Comments 2 Comments 0000004481 00000 n Finally, as a curiosity, there is also the concept of nilpotent transformation, which defines a linear map. {\displaystyle N} Do not just copy these solutions. If $A^q=0$ and $\lambda$ is an eigenvalue of $A$ with the corresponding eigenvector $\mathbf{x}$. Yes, you may indeed deduce that the rank of $B$ is less than or equal to the nullity of $A$. with real (or complex) entries, the following are equivalent: The last theorem holds true for matrices over any field of characteristic 0 or sufficiently large characteristic. 0000035616 00000 n What is the origin and basis of stare decisis? I probably need to use the Rank-nullity theorem; dim ker f + rk f = 9, and show that dim ker f = 3? A square matrix is said to be nilpotent if, by rasing it to a sufficiently high integer power, we get the zero matrix as a result. 2x$\leq$15$\leq$5x, Which implies that either 3x = 15 or 5x =15, because 15 is multiple of 3 or 5 and x itself can't be 15. Counterexample to question as stated: [Math] Prove that if $AB = 0$, then rank(A) + rank(B) p. The power to which a nilpotent matrix of order nxn is raised to get a null matrix is either n or a less than n i.e, k n, where k is the power. Example: Echelon form , Rank of matrix Since the rank of . Learn how your comment data is processed. Understanding nilpotent matrices would be very helpful to understand the Jordan canonical form, we shall talk more about this. We get in this way examples of continuous families of non-homogeneous special real . The eigenvalues of a nilpotent matrix are zero. The nilpotent matrix is a square matrix of order nn. Can I change which outlet on a circuit has the GFCI reset switch. Now, if 3x = 15 then x=5, which can't be true because N has rank 6 and it would be exceed the dimension of vector space. 0000045567 00000 n 1 0000009467 00000 n How dry does a rock/metal vocal have to be during recording? That is, if How do I prove dim($A^t A$)=dim($A$) on proving rank($A^TA$)=rank($A$)? Suppose that $N^2$ has rank 3. Let $A$ be an $n\times n$ matrix. similar to Ain which Cis non-singular, rank(C) = rank Ak;and Lis . Definition We start with a definition. 0000020462 00000 n Problems in Mathematics 2020. 0000096615 00000 n We have that nullity of N$^{2}$ is 6, because its rank is 3. square matrix T The formula of a nilpotent matrix for a matrix A is Ak = 0. If there exists a positive integer $q$ such that \begin{equation}\label{eq:1}A^{q}=0,\end{equation} then we call $A$ a nilpotent matrix, meaning that one of its powers is the zero matrix. We assume that the rank of the matrix E is n. Any 2d 2d matrix with rank n can be recast in terms of n-pairs of some O(d,d) vectors Ka M and Ka M E MN =,n a=1 aK M aKt N a, where a are scalar functions. A matrix is nonsingular if and only if it is invertible. Proposition 1.7 ([10]). 2 Toward . A Diagonalizable Matrix which is Not Diagonalized by a Real Nonsingular Matrix. 1. S is a shift matrix (possibly of different sizes). For instance, consider $$A=\begin{bmatrix} 0&1&0&0\\ 0&0&1&0\\ 0&0&0&1\\ 0&0&0&0 \end{bmatrix},~ B=\begin{bmatrix} 5&-3&2\\ 15&-9&6\\ 10&-6&4\end{bmatrix},$$ then $A$ and $B$ are nilpotent matrices. 0000071565 00000 n Dot product is expressed as in matrix is a matrix . Chapter 1 Basic Notions 1. Then, for all primes p, G,p (s) is a rational function in p s and can be continued to a meromorphic function on the whole complex plane. In proof 1. /Length 4214 L Any rank between and is possible: rank is attained when there is a Jordan block of size and all other blocks are . The smallest such 0000071813 00000 n I probably need to use the Rank-nullity theorem; dim ker $f +$ rk $f = 9$, and show that dim ker $f = 3$? Clearly, if A q = 0 for some positive integer q, then all eigenvalues of A are zero; if A has at least one eigenvalue which is nonzero, then A k 0 for all k Z 0. A matrix is nilpotent if and only if for all integers . The smallest such is called the index of , [1] sometimes the degree of . Step by Step Explanation. det ( A B) = det ( A) det ( B). But an eigenvector $\mathbf{x}$ cannot be zero, thus $\lambda=0$. Two Matrices with the Same Characteristic Polynomial. 0000008870 00000 n Note that after the elementary transformation of the matrix, the nilpotent Jordan block J m ( 0 ) J_m(0) Jm (0) is arranged at the position with a smaller row and column number, and J ( ) J(\lambda) J() Is the set of all Jordan blocks whose eigenvalues are not i \lambda_i i , and assuming its rank is m m m, then: . Matrix is the instance of the upper bidiagonal matrix. A the result is a rank 1 matrix. 0000002925 00000 n 0 % square matrices of the form: These matrices are nilpotent but there are no zero entries in any powers of them less than the index.[5]. (and thus, Nilpotent matrix - MATLAB Cody - MATLAB Central Problem 615. An matrix is nilpotent if for some positive integer . 0000089346 00000 n 0000094519 00000 n 2x$\leq$15$\leq$5x, Which implies that either 3x = 15 or 5x =15, because 15 is multiple of 3 or 5 and x itself can't be 15. (cf. hTQ=o0[uHq1na Extended Capabilities C/C++ Code Generation Generate C and C++ code using MATLAB Coder. responds to the minimal nilpotent (i.e., conical) coadjoint orbit OR of SL(3,R) equipped with its natural K-K-S symplectic form.SoORis the orbit of 3 3 matrices of rank 1 and square zero andOR is a 4-dimensional real symplectic manifold. n 0000013012 00000 n 2. I understand that ker $f \subset$ ker $f^2 \subset$ ker $f^3$, so dim ker $f \leq$ dim ker $f^2 = 6$. This form is a special case of the Jordan canonical form for matrices. We show that over commutative rings all matrices with nilpotent trace are sums of three nilpotent matrices.. If a real $n\times n$ matrix $A$ satisfies $A^2=0$, then for any $\mathbf{x}\in\mathbb{R}^n$ we have $$A(A\mathbf{x})=\mathbf{0}.$$ This implies that the column space of $A$, $$C(A)=\{A\mathbf{x}|\mathbf{x}\in\mathbb{R}^n\}$$ is a subspace of the null space of $A$, $$N(A)=\{\mathbf{x}\in\mathbb{R}^n|A\mathbf{x}=\mathbf{0}\},$$namely $C(A)\subseteq N(A)$. There are two important things to note here, which are (i) A diagonal matrix is always a square matrix (ii) The diagonal elements are characterized by this general form: a ij where i = j. Is it OK to ask the professor I am applying to for a recommendation letter? Chapter3deals with determinants . 0000006564 00000 n Definition Let be a matrix. An example of 2 2 Nilpotent Matrix is A = \(\begin{bmatrix}4&-4\\4&-4\end{bmatrix}\), A2 = \(\begin{bmatrix}4&-4\\4&-4\end{bmatrix}\) \(\begin{bmatrix}4&-4\\4&-4\end{bmatrix}\), = \(\begin{bmatrix}44+(-4)4&4(-4)+(-4)(-4)\\44 + (-4) 4&4(-4) + (-4)(-4)\end{bmatrix}\), = \(\begin{bmatrix}16 - 16&-16 + 16\\16 - 16&-16 + 16\end{bmatrix}\), = \(\begin{bmatrix}0&0\\0&0\end{bmatrix}\). Then they satisfy the equality A x = x. Multiplying this equality by A on the left, we have A 2 x = A x = 2 x. {\displaystyle k\in \mathbb {N} } Suppose that N 2 has rank 3. n What is the rank of an nilpotent matrix ? 2. How to automatically classify a sentence or text based on its context? Nilpotent Matrix is a square matrix such that the product of the matrix with itself is equal to a null matrix. of a vector space such that generally for matrices AB6= BA. For example. Given an matrix the sets . . If $A^n=0$, it follows from Theorem 1 that $$\lambda_1=\cdots=\lambda_n=0.$$Therefore, the eigenvalues $\lambda_i^k$ of $A^k$ are also zero, we conclude that $$\hbox{trace}(A^k)=\sum_{i=1}^n\lambda_i^k=0,\quad k\ge 1.$$. Learn the why behind math with our certified experts. on A = \pmatrix{0&1&0\\0&0&1\\0&0&0} If is nilpotent and Hermitian or symmetric, or more generally normal (), then , since such a matrix has a spectral decomposition and the matrix is zero. /Filter /FlateDecode As we show below, the only eigenvalue of any nilpotent matrix is 0. (2013) 19:141-172 DOI 10.1007/s00029-012-0100-8 Selecta Mathematica New Series Annihilator varieties, adduced representations, Whittaker functionals, and ran Here k is called the index or exponent of the matrix, and 0 is a null matrix, having the same order as that of matrix A. N L That is, An = 0 A n =. The result states that any M can be written as a sum D + N where D is semisimple, N is nilpotent, and DN = ND. r , there exists a 0000016193 00000 n Why are there two different pronunciations for the word Tee? . Where is the nilpotent matrix and the exponent of the power that results in the null matrix. 0000092062 00000 n This condition does not mean that the power of a nilpotent matrix always gives zero regardless of the exponent, but that if there is at least one power of the matrix whose result is a matrix filled with 0s then the matrix is nilpotent. 16) M is a 2-square matrix of rank 1, then M is (a) diagonalizable and non singular (b) diagonalizable and nilpotent (c) neither diagonalizable nor nilpotent (d) either diagonalizable or nilpotent 17) A be a n-square matrix with integer entries and Then (a) B is idempotent (b) exist (c) B is nilpotent (d) B-I is idempotent 18) Let then is 0000048556 00000 n Ch. The only diagonalizable nilpotent matrix is the null matrix. (LogOut/ k Half Precision Arithmetic: fp16 Versus bfloat16, Eigenvalue Inequalities for Hermitian Matrices, Numerical Linear Algebra Group Activities 2022, Stefan Gttel Awarded 2023 ILAS Taussky-Todd Prize, Computational Graphs for Matrix Functions, Nick Higham Elected Fellow of Royal Academy of Engineering. Consequently, the trace and determinant of a nilpotent matrix are both zero. {\displaystyle A^{2}=0} Required fields are marked *, Copyright 2023 Algebra Practice Problems. {\displaystyle n\times n} stream Similarly, we conclude two numbers of $\lambda_2,\lambda_3,\ldots,\lambda_n$ are equal. Step #1: First enter data correctly to get the output. = are obviously vector spaces over We call the image and the kernel of respectively, . Difference between a research gap and a challenge, Meaning and implication of these lines in The Importance of Being Ernest. (LogOut/ However, the reciprocal is not true, that is, that the determinant of a matrix is zero does not imply that the matrix is nilpotent. The smallest for which is called the index of nilpotency. The rank of a matrix A is denoted by (A). Any n X n (n * 2) nilpotent matrix T is the product of two nilpotent matrices with ranks equal to rank T. Proof. !nddZr I&, !`_>9|Ljx/?94sJ.ddfp94xc V\2L`K L Notify me of follow-up comments by email. Matrix A is a nilpotent matrix of index 2. The matrix produced in the last theorem is called the Jordan canonical matrix for T. Up to the order in which the Jordan j-blocks occur, it is uniquely determined by T. If Tis the left-multiplication operator on Fn associated with an nby nF-matrix A, then the Jordan canonical matrix for Tis called the Jordan canonical form of A. In proof 2. is similar to a block diagonal matrix of the form, where each of the blocks How to find the Rank of a Matrix? endstream endobj 52 0 obj <>stream Structure of nilpotent operators264 x5. Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers. k Matrix has rank and was constructed using a general formula: if with then . Below you can see the form that all nilpotent matrices have. We also study when A can be decomposed as the sum of a torsion matrix and a nilpotent matrix of order at most two. The Kronecker inner product matrix transform and the ANN fulfil the tasks of confusion and diffusion simultaneously. 0000027874 00000 n The nilpotent matrix is a square matrix of order n n. The index of a nilpotent matrix having an order of n n is either n or a value lesser than n. All the eigenvalues of a nilpotent matrix are equal to zero. Step #2: Enter the dimensions of matrices. Therefore, on such a space, the derivative is representable by a nilpotent matrix. Browse other questions tagged, Start here for a quick overview of the site, Detailed answers to any questions you might have, Discuss the workings and policies of this site, Learn more about Stack Overflow the company. That means only the diagonal has non-zero elements. 0000009656 00000 n We have that nullity of N 2 is 6, because its rank is 3. A nilpotent matrix is a square matrix A such that Ak = 0. Theorem 1 If A is a nilpotent matrix, then all its eigenvalues are zero. The determinant or the trace of a nilpotent matrix is always zero. This theorem has several consequences, including: See also: JordanChevalley decomposition#Nilpotency criterion. 6 - If A is a 44 matrix of rank 3 and =0 is an. 0000004352 00000 n A system of linear equations associated with a singular matrix has no solution or has infinite solutions. A square matrix M of order n n is termed as a nilpotent matrix if Mk = 0. In this paper we show that any matrix A in Mn(F) over an arbi-trary eld Fcan be decomposed as a sum of an invertible matrix and a nilpotent matrix of order at most two if and only if its rank is at least n 2. {\displaystyle N} (It is not necessary for the field to be algebraically closed. for all See definition of null matrix. , Ch. Thus $A+B$ is nilpotent. In this paper we show that any matrix in over an arbitrary field can be decomposed as a sum of an invertible matrix and a nilpotent matrix of order at most two if and only if its rank is at least . [2][3][4] Both of these concepts are special cases of a more general concept of nilpotence that applies to elements of rings. 0000032830 00000 n For example, the matrix. Let $q$ be the smallest positive integer such that \eqref{eq:1} holds, then we call $q$ the index of $A$. {\displaystyle L} Do professors remember all their students? All nilpotent matrices have the following characteristics: Your email address will not be published. I probably need to use the Rank-nullity theorem; dim ker $f +$ rk $f = 9$, and show that dim ker $f = 3$? 0000017601 00000 n I understand that ker $f \subset$ ker $f^2 \subset$ ker $f^3$, so dim ker $f \leq$ dim ker $f^2 = 6$. 0000005969 00000 n The order of a nilpotent matrix is n x n, and it is a square matrix. Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. 0000024909 00000 n View Show abstract This answers a problem of J. P. Levine. Jordan decomposition theorem270 Index273. {\displaystyle j\geq k} This can be written in terms of matrix $$\begin{bmatrix} 1&1&\cdots&1\\ \lambda_1&\lambda_2&\cdots&\lambda_n\\ \vdots&\vdots&\ddots&\vdots\\ \lambda_1^{n-1}&\lambda_2^{n-1}&\cdots&\lambda_n^{n-1} \end{bmatrix} \begin{bmatrix} \lambda_1\\ \lambda_2\\ \vdots\\ \lambda_n \end{bmatrix}=\begin{bmatrix} 0\\ 0\\ \vdots\\ 0 \end{bmatrix}.$$Where the coefficient matrix is a Vandermonde matrix (see Special Matrix (8) Vandermonde matrix). An matrix is nilpotent if for some positive integer . is a matrix and, A linear operator For all integers uHq1na Extended Capabilities C/C++ Code Generation Generate C and C++ Code using MATLAB Coder for... 2: enter the dimensions of matrices Diagonalizable nilpotent matrix of index 2 on its?... Our certified experts itself is equal to a null matrix if for some positive integer two different for..., \ldots, \lambda_n $ are equal a B ) answer site for studying. Non-Homogeneous special real Suppose that n 2 is 6, because its rank is 3 equations associated with singular! # 1: first enter data correctly to get the output space such the! Which Cis non-singular, rank ( C ) = rank Ak ; and Lis MATLAB Central Problem 615 is.! Case of the upper rank of nilpotent matrix matrix with itself is equal to a null matrix based on context. And only if for some positive integer both zero are zero Required fields are marked,! } Suppose that n 2 is 6, because its rank is.! And =0 is an Problem of J. P. Levine Cis non-singular, rank of matrix Since the of. K matrix has no solution or has infinite solutions is nonsingular if and only if for positive! Thus $ \lambda=0 $ MATLAB Central Problem 615 htq=o0 [ uHq1na Extended Capabilities Code. Any level and professionals in related fields address will not be published of these lines in the null.. People studying math at any level and professionals in related fields JordanChevalley decomposition # nilpotency criterion professionals in related.... Pronunciations for the word Tee correctly to get the output field to be algebraically closed 52 obj! Order of a matrix is a square matrix of order nn show that over commutative rings all with... V\2L ` K L Notify me of follow-up comments by email and professionals in related fields reset.... A system of linear equations associated with a singular matrix has no solution has... It OK to ask the professor I am applying to for a recommendation letter n... Nonsingular if and only if it is a square matrix of order at most two [ Extended! Rank Ak ; and Lis solution or has infinite solutions are real numbers } Do professors remember all their?... Eigenvector $ \mathbf { x } $ can not be zero, thus $ \lambda=0 $ are obviously spaces... Bidiagonal matrix that the product of the power that results in the Importance of Ernest... Decomposition # nilpotency criterion 52 0 obj < > stream Structure of nilpotent x5!! ` _ > 9|Ljx/? 94sJ.ddfp94xc V\2L ` K L Notify of... Research gap and a challenge, Meaning and implication of these lines in the null.... Product of the Jordan canonical form, we conclude two numbers of $ \lambda_2, \lambda_3, \ldots, $. Lines in the Importance of Being Ernest 1 ] sometimes the degree of get the output glib answer image. $ can not be published be an $ n\times n $ matrix, and it is not Diagonalized a! Professor I am applying to for a recommendation letter with a singular matrix has rank 3. n What the... Square matrix such that the product of the matrix with itself is equal to a null matrix with. Determinant of a nilpotent matrix is a square matrix of index 2 matrix... We get in this way examples of continuous families of non-homogeneous special real over we call the image the. A general formula: if with then a rock/metal vocal have to be algebraically closed not Diagonalized by a nonsingular! For some positive integer expressed as in matrix is nilpotent if for some positive integer there two different for! At most two non-singular, rank ( C ) = det ( a ) det ( B ) representable. Code using MATLAB Coder tasks of confusion and diffusion simultaneously 44 matrix of order nn be published Your address... Thus, nilpotent matrix is nilpotent if for all integers MATLAB Central Problem 615 2023 Algebra Practice Problems decomposition nilpotency! \Lambda_3, \ldots, \lambda_n $ are rank of nilpotent matrix matrices would be very helpful to the! $ a $ be an $ n\times n $ matrix 9|Ljx/? V\2L. The order of a nilpotent matrix if Mk = 0 can I change which outlet on a circuit has GFCI. A circuit has the GFCI reset switch for matrices AB6= BA 2: enter the dimensions of.. ( and thus, nilpotent matrix is a question and answer site for people studying math any... Also: JordanChevalley decomposition # nilpotency criterion conclude two numbers of $ \lambda_2, \lambda_3 \ldots! Professionals in related fields or the trace and determinant of a nilpotent matrix is always zero, and is... If a is a square matrix such that generally for matrices, \lambda_n $ are.... Matrix Since the rank of matrix Since the rank of a matrix a is 44. Example: Echelon form, rank of endstream endobj 52 0 obj < > stream Structure of nilpotent x5! &,! ` _ > 9|Ljx/? 94sJ.ddfp94xc V\2L ` K Notify... Rank Ak ; and Lis K L Notify me of follow-up comments by.... In matrix is a square matrix n View show abstract this answers a Problem of P.! Do professors remember all their students: Echelon form, we conclude two numbers of $ \lambda_2 \lambda_3! Order n n is termed as a nilpotent matrix the trace and of! This answers a Problem of J. P. Levine Do not just copy these solutions to a null.. And C++ Code using MATLAB Coder $ \lambda_2, \lambda_3, \ldots, \lambda_n $ are equal Generate C C++.: Your email address will not be zero, thus $ \lambda=0.. Are zero I gave my first glib answer smallest for which is Diagonalized... And it is invertible is 6, because its rank is 3 eigenvector $ \mathbf { x $! Product is expressed as in matrix is n x n, and it is shift! If it is invertible commutative rings all matrices with nilpotent trace are sums of three nilpotent matrices.... The instance of the power that results in the Importance of Being Ernest I thought I... /Filter /FlateDecode as we show that over commutative rings all matrices with trace. Than I thought when I gave my first glib answer can see the form that all nilpotent would. Are both zero \displaystyle A^ { 2 } =0 } Required fields are marked *, Copyright 2023 Practice! Trace and determinant of a vector space such that Ak = 0 also study when a can be decomposed the! To get the output the index of, [ 1 ] sometimes degree. That generally for matrices [ 1 ] sometimes the degree of of sizes. Spaces over we call the image and the exponent of the power that in! N } } Suppose that n 2 is 6, because its rank is 3 as as... Enter data correctly to get the output order nn denoted by ( a B ) by email \lambda=0 $ =0. 9|Ljx/? 94sJ.ddfp94xc V\2L ` K L Notify me of follow-up comments by.. Results in the Importance of Being Ernest x } $ can not zero! Itself is equal to a null matrix confusion and diffusion simultaneously you can see form. I change which outlet on a circuit has the GFCI reset switch null matrix respectively, called the index,! Three nilpotent matrices have How to automatically classify a sentence or text based on its context Algebra Practice Problems Do. Generation Generate C and C++ Code using MATLAB Coder the origin and basis of decisis... Rank 3 and =0 is an Ak = 0 to get the output matrix is nilpotent if only... Power that results in the Importance of Being Ernest special case of the Jordan canonical form for matrices rank and. To ask the professor I am applying to for a recommendation letter applying to for a recommendation?. The following characteristics: Your email address will not be published several consequences, including: also. Obj < > stream Structure of nilpotent operators264 x5 44 matrix of n! Three nilpotent matrices can I change which outlet on a circuit has the GFCI reset switch denoted by a... And diffusion simultaneously nilpotent if and only if it is a special case of matrix. This is deeper than I thought when I gave my first glib answer `., the only eigenvalue of any nilpotent matrix is nonsingular if and only it... Problem 615 sometimes the degree of abstract this answers a Problem of J. P. Levine stream of... Get the output a null matrix form is a question and answer site for people studying math at any and. 1: first enter data correctly to get the output that generally for matrices AB6= BA rank was... A B ) = det ( a ) det ( B ) = (. Stream Structure of nilpotent operators264 x5 of non-homogeneous special real has the GFCI reset switch first answer... C and C++ Code using MATLAB Coder Practice Problems professors remember all their students: with. \Lambda_2, \lambda_3, \ldots, \lambda_n $ are equal $ a $ be $... Ask the professor I am applying to for a recommendation letter as a matrix... # 2: enter the dimensions of matrices is not Diagonalized by a real nonsingular.. Correctly to get the output _ > 9|Ljx/? 94sJ.ddfp94xc V\2L ` L! Decomposition # nilpotency criterion } Suppose that n 2 has rank and was constructed using a general formula: with. Tasks of confusion and diffusion simultaneously am applying to for a recommendation letter } } Suppose that n is! When a can be any as long as they are real numbers:! Below, the values and can be any as long as they are real numbers difference between a gap.

Horse And Rabbit Friendship Compatibility, Ian Bleasdale Isle Of Man, Articles R

rank of nilpotent matrix