ResearchForge / Calculators
Linear Algebra·determinants

Determinants

Calculate the determinant of a given square matrix and verify its properties, such as the determinant of its transpose.

Math animationLinear Algebra · determinants
✓ All 2 test cases pass.

Inputs

Test cases

These cases run live in your browser every time the page loads. If any fail, the calculator is broken — file an issue.

#InputsExpectedGotStatus
1{"matrix":[[1,4,-1,1],[3,11,-1,4],[1,5,-2,3],[2,8,-2,2]]}00
2{"matrix":[[1,3,-3],[2,2,2],[0,0,2]]}-8-8
APIDeveloper APICall this calculator from codeexpand ↓
Endpoint
POST/api/calculators/linear-algebra/determinants/compute
Inputs (1)
  • matrixexpressiondefault [[1,4,-1,1],[3,11,-1,4],[1,5,-2,
Example
curl -sX POST http://localhost:3001/api/calculators/linear-algebra/determinants/compute \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"matrix":[[1,4,-1,1],[3,11,-1,4],[1,5,-2,3],[2,8,-2,2]]}}'
Try it live
Edit the body below, then click Call API.
Request body
Response
(click Call API to see the response)
full API docs →

Source: Pattern from: Test 2-08 Version B (Solution).pdf. Reproduces a standard determinants computation; problem text paraphrased.

AI disclosure: Calculator code generated by openai/gpt-4o-mini-2024-07-18; verified by 2 test cases.