神聖的綫性代數速成例題5. 矩陣運算的定義、轉置的性質、方陣多項式的概念

devtools/2025/3/17 11:50:40/

  1. 矩陣運算的定義(補充):矩陣乘法:如前所述,設A=(a_{ij})m\times s矩陣,B=(b_{ij})s\times n矩陣,乘積AB(i,j)c_{ij}=\sum_{k = 1}^{s}a_{ik}b_{kj}ABm\times n矩陣。
  2. 轉置的性質:若A是矩陣,則(A^T)^T = A(A + B)^T = A^T + B^T,其中AB是同型矩陣。(kA)^T = kA^Tk為數。(AB)^T = B^TA^T,其中Am\times s矩陣,Bs\times n矩陣。
  3. 方陣多項式的概念:設An階方陣,f(x)=a_mx^m+\cdots+a_1x + a_0是一個多項式,則f(A)=a_mA^m+\cdots+a_1A + a_0I,其中In階單位矩陣。

例題解析

1.已知A=\begin{pmatrix}1&2\\3&4\end{pmatrix},求A^T,並驗證(A^T)^T = A

解:A^T=\begin{pmatrix}1&3\\2&4\end{pmatrix}

再求(A^T)^T(A^T)^T=\begin{pmatrix}1&2\\3&4\end{pmatrix}=A

2.已知A=\begin{pmatrix}1&2\\3&4\end{pmatrix}B=\begin{pmatrix}5&6\\7&8\end{pmatrix},求(A + B)^T,並驗證(A + B)^T = A^T + B^T

解:A + B=\begin{pmatrix}1 + 5&2+6\\3 + 7&4+8\end{pmatrix}=\begin{pmatrix}6&8\\10&12\end{pmatrix}(A + B)^T=\begin{pmatrix}6&10\\8&12\end{pmatrix}

A^T=\begin{pmatrix}1&3\\2&4\end{pmatrix}B^T=\begin{pmatrix}5&7\\6&8\end{pmatrix}A^T + B^T=\begin{pmatrix}1+5&3 + 7\\2+6&4+8\end{pmatrix}=\begin{pmatrix}6&10\\8&12\end{pmatrix},所以(A + B)^T = A^T + B^T

3.已知A=\begin{pmatrix}1&2\\3&4\end{pmatrix}k = 3,求(kA)^T,並驗證(kA)^T = kA^T

解:kA = 3\begin{pmatrix}1&2\\3&4\end{pmatrix}=\begin{pmatrix}3&6\\9&12\end{pmatrix}(kA)^T=\begin{pmatrix}3&9\\6&12\end{pmatrix}

A^T=\begin{pmatrix}1&3\\2&4\end{pmatrix}kA^T = 3\begin{pmatrix}1&3\\2&4\end{pmatrix}=\begin{pmatrix}3&9\\6&12\end{pmatrix},所以(kA)^T = kA^T

4.已知A=\begin{pmatrix}1&2\\3&4\end{pmatrix}B=\begin{pmatrix}5&6\\7&8\end{pmatrix},求(AB)^T,並驗證(AB)^T = B^TA^T

解:AB=\begin{pmatrix}1\times5+2\times7&1\times6 + 2\times8\\3\times5+4\times7&3\times6+4\times8\end{pmatrix}=\begin{pmatrix}19&22\\43&50\end{pmatrix}(AB)^T=\begin{pmatrix}19&43\\22&50\end{pmatrix}

A^T=\begin{pmatrix}1&3\\2&4\end{pmatrix}B^T=\begin{pmatrix}5&7\\6&8\end{pmatrix}B^TA^T=\begin{pmatrix}5\times1+7\times2&5\times3+7\times4\\6\times1+8\times2&6\times3+8\times4\end{pmatrix}=\begin{pmatrix}19&43\\22&50\end{pmatrix},所以(AB)^T = B^TA^T

5.已知A=\begin{pmatrix}1&0\\0&1\end{pmatrix}f(x)=x^2 - 2x + 1,求f(A)

解:A^2=\begin{pmatrix}1&0\\0&1\end{pmatrix}\begin{pmatrix}1&0\\0&1\end{pmatrix}=\begin{pmatrix}1&0\\0&1\end{pmatrix}2A = 2\begin{pmatrix}1&0\\0&1\end{pmatrix}=\begin{pmatrix}2&0\\0&2\end{pmatrix}1I=\begin{pmatrix}1&0\\0&1\end{pmatrix}

f(A)=A^2 - 2A + I=\begin{pmatrix}1&0\\0&1\end{pmatrix}-\begin{pmatrix}2&0\\0&2\end{pmatrix}+\begin{pmatrix}1&0\\0&1\end{pmatrix}=\begin{pmatrix}0&0\\0&0\end{pmatrix}

6.已知A=\begin{pmatrix}2&1\\ - 1&3\end{pmatrix}f(x)=x^3 - 3x^2 + 2x - 1,求f(A)

解:A^2=\begin{pmatrix}2&1\\ - 1&3\end{pmatrix}\begin{pmatrix}2&1\\ - 1&3\end{pmatrix}=\begin{pmatrix}4 - 1&2 + 3\\ - 2 - 3& - 1 + 9\end{pmatrix}=\begin{pmatrix}3&5\\ - 5&8\end{pmatrix}

A^3 = A^2A=\begin{pmatrix}3&5\\ - 5&8\end{pmatrix}\begin{pmatrix}2&1\\ - 1&3\end{pmatrix}=\begin{pmatrix}6 - 5&3 + 15\\ - 10 - 8& - 5 + 24\end{pmatrix}=\begin{pmatrix}1&18\\ - 18&19\end{pmatrix}

3A^2 = 3\begin{pmatrix}3&5\\ - 5&8\end{pmatrix}=\begin{pmatrix}9&15\\ - 15&24\end{pmatrix}2A = 2\begin{pmatrix}2&1\\ - 1&3\end{pmatrix}=\begin{pmatrix}4&2\\ - 2&6\end{pmatrix}-1I=\begin{pmatrix}-1&0\\0&-1\end{pmatrix}

f(A)=A^3 - 3A^2 + 2A - I=\begin{pmatrix}1&18\\ - 18&19\end{pmatrix}-\begin{pmatrix}9&15\\ - 15&24\end{pmatrix}+\begin{pmatrix}4&2\\ - 2&6\end{pmatrix}-\begin{pmatrix}-1&0\\0&-1\end{pmatrix}=\begin{pmatrix}-3&5\\ - 1&2\end{pmatrix}

7.已知A是一個3\times3矩陣,A^T=\begin{pmatrix}1&2&3\\4&5&6\\7&8&9\end{pmatrix},求A

解:由(A^T)^T = A,所以A=\begin{pmatrix}1&4&7\\2&5&8\\3&6&9\end{pmatrix}

8.已知A=\begin{pmatrix}1&2\\3&4\end{pmatrix}B=\begin{pmatrix} - 1& - 2\\ - 3& - 4\end{pmatrix},求(A - B)^T

解:A - B=\begin{pmatrix}1-( - 1)&2-( - 2)\\3-( - 3)&4-( - 4)\end{pmatrix}=\begin{pmatrix}2&4\\6&8\end{pmatrix}(A - B)^T=\begin{pmatrix}2&6\\4&8\end{pmatrix}


http://www.ppmy.cn/devtools/167812.html

相关文章

Ubuntu下安装后anaconda出现conda:command not found

今天在ubuntu系统上安装好anaconda之后,输入conda --version后遇到了如下问题 conda:command not found原因通常是由于anaconda的安装路径没有正常的被添加到系统的PATH环境变量下,解决步骤如下: 在终端中输入:echo $PATH观察输…

从被动响应到主动预见:智能可观测性技术的变革与实践

思维导图 一、引言 🌃 想象一下,在一个深夜 🌙,你的关键业务系统突然出现故障 🚨。传统情况下,你可能会收到大量不相关的告警 📱💬💬💬,然后花费…

奇安信面试题

《网安面试指南》https://mp.weixin.qq.com/s/RIVYDmxI9g_TgGrpbdDKtA?token1860256701&langzh_CN 5000篇网安资料库https://mp.weixin.qq.com/s?__bizMzkwNjY1Mzc0Nw&mid2247486065&idx2&snb30ade8200e842743339d428f414475e&chksmc0e4732df793fa3bf39…

【Git】--- 初识Git Git基本操作

Welcome to 9ilks Code World (๑•́ ₃ •̀๑) 个人主页: 9ilk (๑•́ ₃ •̀๑) 文章专栏: Git 本篇我们来初步认识Git企业级应用是什么,有什么用以及Git基本操作。 🏠 初始Git 提出问题 在日常生活中,我们进行…

感受命令行界面的魅力——Linux环境下基础开发工具的使用

目录 1.Linux 软件包管理器 yum 1.1 什么是软件包 1.2 关于 rzsz 1.3 注意事项 1.4 查看软件包 1.5 如何安装软件 1.6 如何卸载软件 2. Linux开发工具 2.1 Linux编辑器-vim使用 1. vim的基本概念 正常/普通/命令模式(Normal mode) 插入模式(Insert mode) 末行模式…

蓝桥杯单片机模板(自用)——基于柳离风模板

蓝桥杯单片机模板(自用)——基于柳离风模板 文章目录 蓝桥杯单片机模板(自用)——基于柳离风模板一、工程结构二、BSP文件夹1、sys2、display3、key4、timer5、iic6、ds13027、onewire8、uart9、ultrasound 三、USER文件夹main.c …

2.7 滑动窗口专题:串联所有单词的子串

LeetCode 30. 串联所有单词的子串算法对比分析 1. 题目链接 LeetCode 30. 串联所有单词的子串 2. 题目描述 给定一个字符串 s 和一个字符串数组 words,words 中所有单词长度相同。要求找到 s 中所有起始索引,使得从该位置开始的连续子串包含 words 中所…

requests请求返回压缩内容,进行解压

requests请求返回压缩内容,进行解压 import gzip import io import brotli import zstandard encoding res.headers.get(Content-Encoding) if encoding gzip:try:print("---------is gzip-------------")compressed_data io.BytesIO(res.content)dec…