Algebra

Matrix Operations: Addition, Multiplication and Properties

Master matrix operations with this complete guide. Learn how to add, subtract, and multiply matrices, understand their key properties, and see how identity matrices and transposes work with fully worked examples.

Frequently asked questions

When can you multiply two matrices?

You can multiply A by B only when the number of columns in A equals the number of rows in B. An m × n matrix times an n × p matrix gives an m × p matrix. If the inner sizes differ, the product is undefined.

How do you multiply two matrices step by step?

Each entry of the product is a row of A dotted with a column of B: multiply matching entries and add them. The entry in row i, column j uses row i of A and column j of B. Repeat for every position in the result.

Is matrix multiplication commutative?

No. In general AB ≠ BA, and sometimes only one of the two products even exists. It is associative, (AB)C = A(BC), and distributive over addition, but you must keep the order of the factors.

What is the identity matrix and what does it do?

The identity matrix I has 1s on the main diagonal and 0s elsewhere. Multiplying by it leaves a matrix unchanged: AI = IA = A, as long as the sizes fit. It plays the role that the number 1 plays in ordinary multiplication.

How do you find the transpose of a matrix?

Swap rows and columns, so the entry in row i, column j moves to row j, column i. A 2 × 3 matrix becomes a 3 × 2 matrix. A useful rule is (AB)ᵀ = BᵀAᵀ, which reverses the order.

Try these solvers

Algebra10 min read

Exponent Rules: Complete Guide with Examples

Master every exponent rule you need for algebra and beyond. Learn the product, quotient, and power rules plus zero, negative, and fractional exponents with worked examples.

Algebra12 min read

Function Transformations: Shifts, Reflections, Stretches

Master function transformations with this complete guide. Learn how shifts, reflections, stretches, and compressions change the graph of any function, and how to combine multiple transformations.

Chemistry12 min read

How to Balance Chemical Equations: Steps, Tricks and Examples

Balancing a chemical equation means choosing coefficients so every element has the same number of atoms on both sides. Learn the inspection steps, the polyatomic-ion shortcut, the half-then-double trick for combustion, and the algebraic method for equations where guessing goes in circles, each checked with an atom table.

Stuck on your own problem?

Snap a photo in Solver AI for iPhone and iPad and see every step, so you can do the next one yourself.