<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://gradwiki.math.ucr.edu/index.php?action=history&amp;feed=atom&amp;title=Matrix_Operations</id>
	<title>Matrix Operations - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://gradwiki.math.ucr.edu/index.php?action=history&amp;feed=atom&amp;title=Matrix_Operations"/>
	<link rel="alternate" type="text/html" href="https://gradwiki.math.ucr.edu/index.php?title=Matrix_Operations&amp;action=history"/>
	<updated>2026-05-20T08:39:46Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>https://gradwiki.math.ucr.edu/index.php?title=Matrix_Operations&amp;diff=264&amp;oldid=prev</id>
		<title>Sean Watson: Created page with &quot;==Matrix Addition==  Matrix addition is component-wise. Thus, in order to add two matrices together, they must have the same number of rows and the same number of columns. Let...&quot;</title>
		<link rel="alternate" type="text/html" href="https://gradwiki.math.ucr.edu/index.php?title=Matrix_Operations&amp;diff=264&amp;oldid=prev"/>
		<updated>2015-03-30T05:41:13Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Matrix Addition==  Matrix addition is component-wise. Thus, in order to add two matrices together, they must have the same number of rows and the same number of columns. Let...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Matrix Addition==&lt;br /&gt;
&lt;br /&gt;
Matrix addition is component-wise. Thus, in order to add two matrices together, they must have the same number of rows and the same number of columns.&lt;br /&gt;
Let &amp;lt;math&amp;gt;\textbf{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\textbf{B}&amp;lt;/math&amp;gt; both be &amp;lt;math&amp;gt;2\times 2&amp;lt;/math&amp;gt; matrices. Then:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\textbf{A}+\text{B} =&lt;br /&gt;
\begin{pmatrix}&lt;br /&gt;
a_{11} &amp;amp; a_{12} \\&lt;br /&gt;
a_{21} &amp;amp; a_{22} \\&lt;br /&gt;
\end{pmatrix} + \begin{pmatrix}&lt;br /&gt;
b_{11} &amp;amp; b_{12} \\&lt;br /&gt;
b_{21} &amp;amp; b_{22} \\&lt;br /&gt;
\end{pmatrix} = \begin{pmatrix}&lt;br /&gt;
a_{11}+b_{11} &amp;amp; a_{12}+b_{12} \\&lt;br /&gt;
a_{21}+b_{21} &amp;amp; a_{22}+b_{22} \\&lt;br /&gt;
\end{pmatrix}\, .&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If instead we let both &amp;lt;math&amp;gt;\textbf{A}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\textbf{B}&amp;lt;/math&amp;gt; be &amp;lt;math&amp;gt;n\times m&amp;lt;/math&amp;gt; matrices, we would have:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\textbf{A}+\textbf{B} &amp;amp; = \begin{pmatrix}&lt;br /&gt;
 a_{11} &amp;amp; a_{12} &amp;amp; \cdots &amp;amp; a_{1n} \\&lt;br /&gt;
 a_{21} &amp;amp; a_{22} &amp;amp; \cdots &amp;amp; a_{2n} \\&lt;br /&gt;
 \vdots &amp;amp; \vdots &amp;amp; \ddots &amp;amp; \vdots \\&lt;br /&gt;
 a_{m1} &amp;amp; a_{m2} &amp;amp; \cdots &amp;amp; a_{mn} \\&lt;br /&gt;
\end{pmatrix} + &lt;br /&gt;
&lt;br /&gt;
\begin{pmatrix}&lt;br /&gt;
 b_{11} &amp;amp; b_{12} &amp;amp; \cdots &amp;amp; b_{1n} \\&lt;br /&gt;
 b_{21} &amp;amp; b_{22} &amp;amp; \cdots &amp;amp; b_{2n} \\&lt;br /&gt;
 \vdots &amp;amp; \vdots &amp;amp; \ddots &amp;amp; \vdots \\&lt;br /&gt;
 b_{m1} &amp;amp; b_{m2} &amp;amp; \cdots &amp;amp; b_{mn} \\&lt;br /&gt;
\end{pmatrix} &lt;br /&gt;
 = \begin{pmatrix}&lt;br /&gt;
 a_{11} + b_{11} &amp;amp; a_{12} + b_{12} &amp;amp; \cdots &amp;amp; a_{1n} + b_{1n} \\&lt;br /&gt;
 a_{21} + b_{21} &amp;amp; a_{22} + b_{22} &amp;amp; \cdots &amp;amp; a_{2n} + b_{2n} \\&lt;br /&gt;
 \vdots &amp;amp; \vdots &amp;amp; \ddots &amp;amp; \vdots \\&lt;br /&gt;
 a_{m1} + b_{m1} &amp;amp; a_{m2} + b_{m2} &amp;amp; \cdots &amp;amp; a_{mn} + b_{mn} \\&lt;br /&gt;
\end{pmatrix} &lt;br /&gt;
\end{align}\, .&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\begin{pmatrix}&lt;br /&gt;
1 &amp;amp; 3 \\&lt;br /&gt;
2 &amp;amp; 1 \\&lt;br /&gt;
\end{pmatrix} + \begin{pmatrix}&lt;br /&gt;
4 &amp;amp; 0 \\&lt;br /&gt;
1 &amp;amp; 5 \\&lt;br /&gt;
\end{pmatrix} = \begin{pmatrix}&lt;br /&gt;
5 &amp;amp; 3 \\&lt;br /&gt;
2 &amp;amp; 1 \\&lt;br /&gt;
\end{pmatrix}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Scalar Multiplication==&lt;br /&gt;
&lt;br /&gt;
We can also scale a matrix by multiplying it by a scalar. Since a matrix's rows or columns are vectors in a vector field, the scalar will be an element of the underlying field, i.e. an element of the same type as each component of the matrix. We will often assume that our vector field is &amp;lt;math&amp;gt;\mathbb{R}^n&amp;lt;/math&amp;gt;, so our scalars will be elements from &amp;lt;math&amp;gt;\mathbb{R}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Scalar multiplication acts by multiplying each component of the matrix by the same scalar. Letting &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; be an element of our field and &amp;lt;math&amp;gt;\textbf{A}&amp;lt;/math&amp;gt; be a &amp;lt;math&amp;gt;2\times 2&amp;lt;/math&amp;gt; matrix, we have:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
\lambda \mathbf{A} = \lambda\begin{pmatrix}&lt;br /&gt;
a_{11} &amp;amp; a_{12} \\&lt;br /&gt;
a_{21} &amp;amp; a_{22} \\&lt;br /&gt;
\end{pmatrix} = \begin{pmatrix}&lt;br /&gt;
\lambda a_{11} &amp;amp; \lambda a_{12} \\&lt;br /&gt;
\lambda a_{21} &amp;amp; \lambda a_{22} \\&lt;br /&gt;
\end{pmatrix}\, .&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If we instead let &amp;lt;math&amp;gt;\textbf{A}&amp;lt;/math&amp;gt; be a more general &amp;lt;math&amp;gt;n\times m&amp;lt;/math&amp;gt; matrix, we would have:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \lambda \mathbf{A} = \lambda \begin{pmatrix}&lt;br /&gt;
A_{11} &amp;amp; A_{12} &amp;amp; \cdots &amp;amp; A_{1m} \\&lt;br /&gt;
A_{21} &amp;amp; A_{22} &amp;amp; \cdots &amp;amp; A_{2m} \\&lt;br /&gt;
\vdots &amp;amp; \vdots &amp;amp; \ddots &amp;amp; \vdots \\&lt;br /&gt;
A_{n1} &amp;amp; A_{n2} &amp;amp; \cdots &amp;amp; A_{nm} \\&lt;br /&gt;
\end{pmatrix} = \begin{pmatrix}&lt;br /&gt;
\lambda A_{11} &amp;amp; \lambda A_{12} &amp;amp; \cdots &amp;amp; \lambda A_{1m} \\&lt;br /&gt;
\lambda A_{21} &amp;amp; \lambda A_{22} &amp;amp; \cdots &amp;amp; \lambda A_{2m} \\&lt;br /&gt;
\vdots &amp;amp; \vdots &amp;amp; \ddots &amp;amp; \vdots \\&lt;br /&gt;
\lambda A_{n1} &amp;amp; \lambda A_{n2} &amp;amp; \cdots &amp;amp; \lambda A_{nm} \\&lt;br /&gt;
\end{pmatrix}\,.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3\begin{pmatrix}&lt;br /&gt;
2 &amp;amp; 1 \\&lt;br /&gt;
3 &amp;amp; 5 \\&lt;br /&gt;
\end{pmatrix} = \begin{pmatrix}&lt;br /&gt;
6 &amp;amp; 3 \\&lt;br /&gt;
9 &amp;amp; 15 \\&lt;br /&gt;
\end{pmatrix}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sean Watson</name></author>
	</entry>
</feed>