{"uid":"cap_2U_eD8cbhlV-Sfa_HQsbG","slug":"matrix-operations-solver-2x2-and-3x3-230ab530","name":"Matrix Operations Solver (2x2 and 3x3)","description":"Matrix determinant, inverse, transpose, rank, trace, product with a second matrix, and eigenvalues of 2x2 and 3x3 matrices.","url":"https://math-geometry.x402tookit.com/matrix-ops?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["op","matrix"],"properties":{"op":{"type":"string","description":"determinant, inverse, transpose, rank, trace, multiply or eigenvalues"},"other":{"type":"string","description":"Second matrix for multiply"},"matrix":{"type":"string","description":"Rows separated by semicolons: 1,2;3,4"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"source":{"type":["null","string"]},"inverse":{"type":["array","null"],"items":{"type":"array","items":{"type":"number"}}},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"determinant":{"type":["null","number"]},"conditionNumberInfinity":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GGAb_GYZ7A5f6feMvEVpo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes matrix determinant, inverse, transpose, rank, trace, eigenvalues, and matrix multiplication for 2x2 and 3x3 matrices.","exampleAgentPrompt":"What's the determinant and eigenvalues of the 3x3 matrix [[2,1,0],[1,3,1],[0,1,2]]? Please also give me the inverse if it exists.","exampleUseCases":[{"title":"Eigenvalue analysis for physics simulation","prompt":"I have a 3x3 matrix [[4,1,0],[1,3,2],[0,2,5]] — can you find its eigenvalues and tell me if it's invertible by computing the determinant?"},{"title":"Matrix multiplication for transformation pipeline","prompt":"Multiply these two 3x3 matrices together for me: first is 1,2,3;4,5,6;7,8,9 and second is 9,8,7;6,5,4;3,2,1."},{"title":"Check if system of equations has unique solution","prompt":"I need to know if this 2x2 matrix [[3,7],[1,5]] is full rank and invertible — can you give me its rank, determinant, and inverse?"}],"resultDescription":"Returns a JSON object with the requested matrix operation result: a scalar for determinant/trace/rank, a 2D array for inverse/transpose/product, an array of values for eigenvalues, and optionally a condition number (infinity norm). Also includes summary and reasons fields explaining the result and any warnings (e.g. singular matrix).","failureModes":["Matrix is singular — inverse cannot be computed, endpoint returns null for inverse field","Matrix dimensions exceed 3x3 — only 2x2 and 3x3 supported","Malformed matrix string (wrong delimiter, non-numeric values) causes parse error","Missing required query parameter 'op' or 'matrix'","'other' matrix not provided when op is 'multiply'","Non-square matrix passed to an operation requiring square input (e.g. determinant, inverse, eigenvalues)"],"whenToPreferThis":"Choose this endpoint when you need fast, precise linear algebra computations on small (2x2 or 3x3) matrices — particularly for determinants, inverses, eigenvalues, or matrix products in agentic math workflows. Prefer it over general-purpose CAS tools when you want a low-cost, single-purpose REST call that returns structured JSON. Not suitable for larger matrices or symbolic/parametric computation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-03T18:32:03.380Z","isFirstParty":false,"canonicalSlug":"matrix-operations-solver-2x2-and-3x3-230ab530"}