{"uid":"cap_vocwn4pfA1qwaeJnEgT_6","slug":"maha-strategies-exact-linear-system-solver-d7bc0536","name":"Maha Strategies Exact Linear System Solver","description":"Get an inspectable exact solution to a 1-8 variable rational linear system. Returns rank, pivots, particular solution and null space; distinguishes unique, inconsistent and underdetermined systems. No floating-point conditioning or physical-model assessment.","url":"https://www.mahastrategies.com/api/v1/micro/exact-linear-system","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["dataClass","matrix","rhs"],"properties":{"rhs":{"type":"array","maxItems":8,"minItems":1},"matrix":{"type":"array","maxItems":8,"minItems":1},"dataClass":{"enum":["public","synthetic"],"type":"string"}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["version","offerId","amountBaseUnits","inputDigest","result","boundaries","receiptDigest"],"properties":{"result":{"type":"object"},"offerId":{"enum":["exact-linear-system"],"type":"string"},"version":{"enum":["maha-microproducts/0.1"],"type":"string"},"boundaries":{"type":"array","maxItems":128,"minItems":0},"inputDigest":{"type":"string","maxLength":71},"receiptDigest":{"type":"string","maxLength":71},"amountBaseUnits":{"enum":["11000"],"type":"string"}},"additionalProperties":false}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.011","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.011/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.011","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.011","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_iKi9rxkzg-Rq5RSj-EOps","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.011","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Solves a 1-8 variable rational linear system exactly, returning rank, pivots, particular solution, and null space while classifying the system as unique, inconsistent, or underdetermined.","exampleAgentPrompt":"Solve this linear system exactly — no floating-point approximations — matrix rows [[2,1,-1],[−3,−1,2],[−2,1,2]] and right-hand side [8,−11,−3], and tell me the rank, pivots, particular solution, and null space.","exampleUseCases":[{"title":"Verify unique solution for 3×3 system","prompt":"I have a 3-variable system of equations: 2x + y = 5, x - y + z = 3, 3x + 2y - z = 7. Solve it exactly and confirm whether there's a unique solution, and if so, what it is."},{"title":"Classify underdetermined homework system","prompt":"Can you solve this underdetermined system exactly and give me the general solution with the null space? Matrix is [[1,2,3],[0,1,4]] and the right-hand side is [1,2]."},{"title":"Check if system is inconsistent","prompt":"I need to know if this system of equations is inconsistent — matrix rows are [1,1,1], [2,2,2], [3,3,4] and the right-hand side is [6,12,10]. Run an exact solve and tell me the rank and whether a solution exists."}],"resultDescription":"Returns a structured JSON result containing: the system rank, pivot column indices, a particular solution vector (if one exists), the null space basis vectors, and a classification of the system as unique (one solution), inconsistent (no solution), or underdetermined (infinitely many solutions). Also returns versioning, offer ID, input and receipt digests, and amount charged in base units.","failureModes":["Matrix or RHS dimension mismatch — more than 8 rows or columns rejected","Invalid data class enum value causes validation error","Non-numeric or malformed matrix/RHS entries cause parse failure","Empty matrix or RHS array (below minItems of 1) rejected","Payment failure via x402 protocol prevents execution"],"whenToPreferThis":"Choose this endpoint when you need an exact, symbolic-quality solution to a small (1-8 variable) rational linear system and cannot tolerate floating-point rounding errors. It is ideal for formal verification, educational or audit contexts, or any scenario where the distinction between unique, inconsistent, and underdetermined systems must be provably correct. Prefer alternatives if you need large-scale numerical solvers, physical model conditioning, or systems with more than 8 variables.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:44:42.079Z","isFirstParty":false}