{"uid":"cap_paeqGBEp1Q-SjTVgMkr1O","slug":"saylor-innovations-matrix-calculator-37f217cb","name":"Saylor Innovations Matrix Calculator","description":"Matrix calculator for up to 8x8 - determinant, inverse, rank, trace, transpose and the solution of the linear system Ax = b with a square matrix","url":"https://saylorinnovations.com/api/math/matrix?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":["matrix"],"properties":{"b":{"type":"string","description":"optional right-hand side vector to solve Ax = b"},"matrix":{"type":"string","description":"JSON array of rows, up to 8x8, e.g. [[1,2],[3,4]]"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["rows","cols","rank"],"properties":{"cols":{"type":"number","description":"Number of columns"},"rank":{"type":"number","description":"Rank, 1 is highest"},"rows":{"type":"number","description":"List of rows"},"trace":{"type":["number","null"],"description":"Sum of the diagonal, null for non-square matrices"},"source":{"type":"string","description":"Data source the values come from"},"square":{"type":"boolean","description":"True when the matrix is square"},"inverse":{"type":["array","null"],"description":"Inverse matrix, or null"},"solution":{"type":["array","null"],"description":"Solution vector of Ax = b, or null"},"transpose":{"type":"array","description":"Transposed matrix"},"invertible":{"type":["boolean","null"],"description":"True when the matrix has an inverse"},"determinant":{"type":["number","null"],"description":"Determinant, null for non-square matrices"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_e_aezMedN1r6A-iDX6_gp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes determinant, inverse, rank, trace, transpose, and solves linear systems Ax=b for matrices up to 8x8","exampleAgentPrompt":"Can you compute the determinant, inverse, rank, and trace of the matrix [[2,1,0],[1,3,1],[0,1,2]], and also solve for x in Ax=b where b is [1,2,3]?","exampleUseCases":[{"title":"Solve system of linear equations","prompt":"I have a system of 3 equations with 3 unknowns. The coefficient matrix is [[2,1,-1],[−3,−1,2],[−2,1,2]] and the right-hand side vector b is [8,−11,−3]. Can you solve for x?"},{"title":"Check matrix invertibility and get inverse","prompt":"Is the matrix [[4,7],[2,6]] invertible? If so, what's its inverse and what's the determinant?"},{"title":"Analyze 4x4 matrix properties","prompt":"I need the rank, trace, and transpose of this 4x4 matrix: [[1,2,3,4],[5,6,7,8],[9,10,11,12],[13,14,15,16]]."}],"resultDescription":"A JSON object containing: number of rows and columns, whether the matrix is square, its rank, trace (null for non-square), determinant (null for non-square), whether it is invertible, the inverse matrix (null if not invertible), the transposed matrix, and the solution vector x for Ax=b if a vector b was provided.","failureModes":["Matrix larger than 8x8 rejected","Malformed JSON array in matrix parameter causes error","Non-numeric values in matrix cause computation failure","Solving Ax=b with a singular (non-invertible) matrix returns null solution","Missing required matrix parameter returns error","Providing vector b with a non-square matrix may return null solution"],"whenToPreferThis":"Choose this endpoint when you need quick, accurate linear algebra computations on matrices up to 8x8, especially when you need multiple properties (determinant, inverse, rank, trace, transpose) in a single call or need to solve a linear system Ax=b. It's ideal for educational tools, engineering calculations, or any workflow requiring symbolic or numerical matrix analysis without standing up a local math library.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T12:56:42.613Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-matrix-calculator-37f217cb"}