求4*4方阵两对角线元素之和及其转置矩阵
时间: 2023-10-08 18:08:06 浏览: 93
假设4*4方阵为:
```
a b c d
e f g h
i j k l
m n o p
```
其主对角线元素为`a, f, k, p`,副对角线元素为`d, g, j, m`。两对角线元素之和分别为`a+f+k+p = (a + p) + (f + k) = (a + p) + (f + k) + (b + e + i + n + c + g + o + d) - (b + e + i + n + c + g + o + d) = (a + p) + (f + k) + (b + e + i + n + c + g + o + d) - (a + p + f + k + b + e + i + n + c + g + o + d) = (a + p) + (f + k) + 2(b + e + i + n) - (a + p + f + k + b + e + i + n + c + g + o + d) = (a + p) + (f + k) + 2(b + e + i + n) - (a + f + b + e + i + k + c + g + o + p + d + n) = (a + p) + (f + k) + 2(b + e + i + n) - (a + f + b + e + i + k + c + g + o + p + d + n) = (a + p) + (f + k) + 2(b + e + i + n) - (a + f + k + p + b + e + i + n + c + g + o + d) = (a + p) + (f + k) + 2(b + e + i + n) - (a + f + k + p + (c + g + o + d) + (b + e + i + n)) = (a + p) + (f + k) + 2(b + e + i + n) - (a + f + k + p + (c + g + o + d) + (b + e + i + n)) = 2(a + p + f + k) + 2(b + e + i + n) - (a + f + k + p + c + g + o + d)
其转置矩阵为:
```
a e i m
b f j n
c g k o
d h l p
```
阅读全文