# Matrix Operations Solver (2x2 and 3x3)

> Matrix Operations Solver (2x2 and 3x3) is a paid API for AI agents from math-geometry.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-03).

Computes matrix determinant, inverse, transpose, rank, trace, eigenvalues, and matrix multiplication for 2x2 and 3x3 matrices.

## Facts

- Endpoint: GET https://math-geometry.x402tookit.com/matrix-ops?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/matrix-operations-solver-2x2-and-3x3-230ab530
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2U_eD8cbhlV-Sfa_HQsbG

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability matrix-operations-solver-2x2-and-3x3-230ab530
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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)

## How this service works

Matrix determinant, inverse, transpose, rank, trace, product with a second matrix, and eigenvalues of 2x2 and 3x3 matrices.

## Output

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).

## Request schema (JSON Schema)

```json
{
 "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"
       ]
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/matrix-operations-solver-2x2-and-3x3-230ab530/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from math-geometry.x402tookit.com](https://www.zero.xyz/host/math-geometry.x402tookit.com/llms.txt)
