🇬🇧 A-Level Further Maths 🌐 IB HL Mathematics 🎓 University Linear Algebra 💻 Machine Learning

Matrix Calculator

Perform 2×2 and 3×3 matrix operations: addition, subtraction, multiplication (A×B), transpose (Aᵀ), and determinant det(A). Essential for A-Level Further Maths, IB HL, and linear algebra.

Quick Reference
A+B / A−B: add/subtract element-wise · A×B: row×column dot product · Aᵀ: flip rows and columns · det(A): ad−bc for 2×2. det = 0 → no inverse (singular matrix).

Matrix A

Matrix B

Curriculum Matrix Coverage Convention Software
🇬🇧 UK A-Level Further Maths 2×2 and 3×3, det, inverse, transformationsColumn vectors (standard in UK)Casio ClassPad
🌐 IB HL Mathematics 2×2, det, inverse, systems of equationsVaries (mostly column vectors)GDC (TI or Casio)
🇺🇸 US Linear Algebra Full matrix theory (university level)Row vectors common in ML/CSMATLAB, Python numpy
🇩🇪 Germany Abitur Lineare Algebra — up to 3×3Column vectors preferredCASIO fx-CG or GeoGebra
🇯🇵 Japan (数学C) 2×2 matrices and linear transformationsColumn vectorsCasio calculators
💻 Machine Learning / CS Arbitrary size; batched operationsRow vectors (convention)numpy, PyTorch, TensorFlow

Frequently Asked Questions

Why is row vector vs column vector convention different in the US vs Europe?

European mathematics textbooks (UK, Germany, France) traditionally write vectors as column vectors, which means transformations are applied as T×v (matrix times column vector on the right). In US computer science and machine learning contexts, row vectors are often used, meaning transformations are applied as v×T (row vector times matrix on the left). NumPy and most ML frameworks use row-vector convention by default (shape [n] is treated as a 1×n row vector). This causes confusion when switching between textbooks and code. Always check which convention your textbook or software uses.

Where are matrices used in real life?

Matrices are foundational across many fields: Computer graphics (3D rotation, scaling, and translation matrices power every video game and 3D animation). Machine learning (neural networks are essentially large matrix multiplications). Cryptography (Hill cipher uses matrix operations). Economics (input-output analysis, Leontief model). Quantum mechanics (state matrices / density matrices). Engineering (finite element analysis, structural calculations). Google's PageRank algorithm is a matrix operation. Every major country's engineering curriculum includes matrix algebra for these reasons.