# Matrix calculator > How does a matrix transform the plane? Determinant, inverse, eigenvalues and products of 2 × 2 and 3 × 3 matrices, with a 2 × 2 matrix drawn acting on the plane. Find the determinant, inverse, trace and eigenvalues of a 2 × 2 or 3 × 3 matrix, multiply two matrices, and drag î and ĵ to see what a 2 × 2 matrix does. - Page: https://how.box/matrix/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/matrix/?s={s}&o={o}&a11={a11}&a12={a12}&a13={a13}&a21={a21}&a22={a22}&a23={a23}&a31={a31}&a32={a32}&a33={a33}&b11={b11}&b12={b12}&b13={b13}&b21={b21}&b22={b22}&b23={b23}&b31={b31}&b32={b32}&b33={b33} - `s` (2 or 3): 2 or 3. Example: `2`. - `o` (analyze or multiply): analyze or multiply. Example: `analyze`. - `a11` (number -1e6 to 1e6): A row 1, column 1. Example: `2`. - `a12` (number -1e6 to 1e6): A row 1, column 2. Example: `1`. - `a13` (number -1e6 to 1e6): A row 1, column 3. Example: `0`. - `a21` (number -1e6 to 1e6): A row 2, column 1. Example: `1`. - `a22` (number -1e6 to 1e6): A row 2, column 2. Example: `2`. - `a23` (number -1e6 to 1e6): A row 2, column 3. Example: `1`. - `a31` (number -1e6 to 1e6): A row 3, column 1. Example: `0`. - `a32` (number -1e6 to 1e6): A row 3, column 2. Example: `1`. - `a33` (number -1e6 to 1e6): A row 3, column 3. Example: `3`. - `b11` (number -1e6 to 1e6): B row 1, column 1 (multiply). Example: `1`. - `b12` (number -1e6 to 1e6): B row 1, column 2 (multiply). Example: `2`. - `b13` (number -1e6 to 1e6): B row 1, column 3 (multiply). Example: `0`. - `b21` (number -1e6 to 1e6): B row 2, column 1 (multiply). Example: `0`. - `b22` (number -1e6 to 1e6): B row 2, column 2 (multiply). Example: `1`. - `b23` (number -1e6 to 1e6): B row 2, column 3 (multiply). Example: `0`. - `b31` (number -1e6 to 1e6): B row 3, column 1 (multiply). Example: `0`. - `b32` (number -1e6 to 1e6): B row 3, column 2 (multiply). Example: `0`. - `b33` (number -1e6 to 1e6): B row 3, column 3 (multiply). Example: `1`. Example answer: https://how.box/matrix/?s=2&o=analyze&a11=2&a12=1&a13=0&a21=1&a22=2&a23=1&a31=0&a32=1&a33=3&b11=1&b12=2&b13=0&b21=0&b22=1&b23=0&b31=0&b32=0&b33=1 A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `matrix_calculate`: Matrix calculator. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"matrix_calculate","arguments":{"size":"2","operation":"analyze","a11":2,"a12":1,"a13":0,"a21":1,"a22":2,"a23":1,"a31":0,"a32":1,"a33":3,"b11":1,"b12":2,"b13":0,"b21":0,"b22":1,"b23":0,"b31":0,"b32":0,"b33":1}}}` - GET: https://how.box/mcp/run/matrix_calculate?size=2&operation=analyze&a11=2&a12=1&a13=0&a21=1&a22=2&a23=1&a31=0&a32=1&a33=3&b11=1&b12=2&b13=0&b21=0&b22=1&b23=0&b31=0&b32=0&b33=1 ## How it works A matrix is a recipe for moving every point of the plane (or of space) at once. Its columns say where the unit vectors go: A = [a b; c d] sends î = (1, 0) to (a, c) and ĵ = (0, 1) to (b, d), and every other point follows, so grid lines stay straight and evenly spaced. Multiplying A·B means doing B first and then A; each entry of the product is a row of A times a column of B. The determinant, det A = ad − bc for 2 × 2, is how much A scales areas (volumes for 3 × 3), negative when it flips the orientation like a mirror. When it is 0, A squashes the plane flat and nothing can undo it: there is no inverse. Otherwise A⁻¹ = (1/det A)·[d −b; −c a]. For example [2 1; 1 2] has det 3, and A⁻¹ = [2/3 −1/3; −1/3 2/3]. An eigenvector is a direction A only stretches, by its eigenvalue λ, the solutions of λ² − (trace)λ + det = 0. [2 1; 1 2] stretches (1, 1) by 3 and leaves (1, −1) as it is (λ = 1). A rotation has no such real direction: its eigenvalues are a complex pair. Sources: OpenStax Precalculus 2e, sections 9.5–9.8; Gilbert Strang, MIT OpenCourseWare 18.06 Linear Algebra. ## FAQ **Why is A × B not the same as B × A?** Doing B and then A is usually a different motion from A and then B, like rotating and then stretching versus stretching and then rotating. Try both orders: the products differ, but their determinants are equal. **What does a negative determinant mean?** The matrix flips the plane over: what was turning counter-clockwise turns clockwise. The size of the determinant is still the area factor. **Why are eigenvalues only shown for 2 × 2?** A 2 × 2 matrix needs only a quadratic equation, solved exactly here and drawn. For 3 × 3 the trace, determinant and inverse are shown; eigenvalues need a cubic. **How do I solve a system of equations with this?** If Ax = b, then x = A⁻¹b when A has an inverse. The linear system solver does the whole thing for you. **What does the trace of a matrix tell me?** The trace is the sum of the diagonal entries. It equals the sum of the eigenvalues, and together with the determinant it gives both of them for a 2 × 2 matrix. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)