Determinant of a Transpose Matrix | Linear Algebra using Python

Linear Algebra using Python | Determinant of a Transpose Matrix: Here, we are going to learn about the determinant of a transpose matrix and its implementation in Python.
Submitted by Anuj Singh, on June 13, 2020

Prerequisite:

Here, we will learn that the determinant of the transpose is equal to the matrix itself. This is one of the key properties in Linear Algebra and is being used in major parts of Matrix and Determinants.

Example:

Determinant of a Transpose Matrix

Python code to find the determinant of a transpose matrix

# Linear Algebra Learning Sequence
# Transpose Determinant

import numpy as np

M1 = np.array([[2,1,4], [2,1,2], [2,3,2]])

print("Matrix (M1) :\n", M1)
print("Transpose (M1.T) :\n", M1.T)
print()

print('\n\nDeterminant of Matrix : ', np.linalg.det(M1))
print('\nDeterminant of transpose : ', np.linalg.det(M1.T))

Output:

Matrix (M1) :
 [[2 1 4]
 [2 1 2]
 [2 3 2]]
Transpose (M1.T) :
 [[2 2 2]
 [1 1 3]
 [4 2 2]]



Determinant of Matrix :  7.999999999999998

Determinant of transpose :  7.999999999999998





Comments and Discussions

Ad: Are you a blogger? Join our Blogging forum.





Languages: » C » C++ » C++ STL » Java » Data Structure » C#.Net » Android » Kotlin » SQL
Web Technologies: » PHP » Python » JavaScript » CSS » Ajax » Node.js » Web programming/HTML
Solved programs: » C » C++ » DS » Java » C#
Aptitude que. & ans.: » C » C++ » Java » DBMS
Interview que. & ans.: » C » Embedded C » Java » SEO » HR
CS Subjects: » CS Basics » O.S. » Networks » DBMS » Embedded Systems » Cloud Computing
» Machine learning » CS Organizations » Linux » DOS
More: » Articles » Puzzles » News/Updates


© https://www.includehelp.com some rights reserved.