{"uid":"cap_XWileAqS7qe2jbiBjlTlF","slug":"linear-algebra-rank-nullity-rref-6928b66e","name":"Linear Algebra Rank, Nullity & RREF","description":"Rank, nullity and reduced row echelon form of a matrix (up to 10x10) with pivot columns.","url":"https://linear-algebra.x402tookit.com/rank?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":["A"],"properties":{"A":{"type":"string","description":"Matrix, JSON like [[1,2,3],[4,5,6],[7,8,9]] or 1,2,3;4,5,6;7,8,9 (max 10x10)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"cols":{"type":["null","number"]},"rank":{"type":["null","number"]},"rows":{"type":["null","number"]},"rref":{"type":["array","null"],"items":{"type":"array","items":{"type":"number"}}},"source":{"type":["null","string"]},"nullity":{"type":["null","number"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"fullRank":{"type":["boolean","null"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"leftNullity":{"type":["null","number"]},"pivotColumns":{"type":["array","null"],"items":{"type":"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_bb5M4OMJFmSkSkB36q6eX","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 the rank, nullity, reduced row echelon form (RREF), and pivot columns of a matrix up to 10x10","exampleAgentPrompt":"What's the rank, nullity, and reduced row echelon form of the matrix [[1,2,3],[4,5,6],[7,8,9]]?","exampleUseCases":[{"title":"Checking linear independence of vectors","prompt":"I have three vectors [1,0,2], [0,1,3], and [2,1,7] — can you tell me the rank and RREF of the matrix they form, and whether they're linearly independent?"},{"title":"Identifying pivot columns in a system","prompt":"For the matrix [[2,1,-1],[4,2,3],[6,3,1]], find the RREF and tell me which columns are pivot columns so I can identify the basic variables."},{"title":"Verifying full-rank status for regression","prompt":"Before I run a regression, can you check if my design matrix [[1,2],[3,4],[5,6],[7,8]] is full rank by computing its rank and nullity?"}],"resultDescription":"Returns the matrix rank, nullity, left nullity, reduced row echelon form (RREF) as a 2D array, pivot column indices, a full-rank boolean flag, row and column dimensions, a summary string, and optional degraded/disclaimer fields.","failureModes":["Matrix exceeds 10x10 size limit — returns error","Malformed matrix input (invalid JSON or semicolon format) — returns parse error","Non-numeric values in matrix — returns validation error","Service unavailable or payment failure — HTTP error with no result"],"whenToPreferThis":"Use this endpoint when you need the rank, nullity, pivot columns, or RREF of a matrix in a single call. It is preferable over generic CAS tools when you need structured JSON output including all four properties at once, and is especially useful for educational, debugging, or pre-processing steps before solving linear systems.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:12:40.387Z","isFirstParty":false,"canonicalSlug":"linear-algebra-rank-nullity-rref-6928b66e"}