Matrix Addition

## Description

The Sage commands for calculating the sum of two matrices, $A + B$, where

(1)\begin{align} A = \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix} \quad \text{and} \quad B = \begin{pmatrix} -4 & 3 \\ -2 & 6 \end{pmatrix}. \end{align}

## Sage Cell

## Options

```
A = matrix([[1,2],[3,4]])
B = matrix([[-4,3],[-2,6]])
A + B
```

## Tags

CC:math.la.i.mat.sum

Primary Tags: linear algebra

Secondary Tags: matrix addition

## Related Cells

## Attribute

Permalink:

Author: T. Judson

Date: 19 Jul 2017 09:18

Submitted by: Tom Judson