ResearchForge / Calculators
Linear Algebra·null-space

Null Space

Determine if the null space of a given matrix is a subspace of the appropriate vector space based on its dimensions.

✓ 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_A":[[1,2],[3,4]],"num_rows":2,"num_columns":2}falsefalse
2{"matrix_A":[[1,2,3],[4,5,6]],"num_rows":2,"num_columns":3}truetrue
APIDeveloper APICall this calculator from codeexpand ↓
Endpoint
POST/api/calculators/linear-algebra/null-space/compute
Inputs (3)
  • matrix_Amatrixdefault [[1,2,3],[4,5,6]]
  • num_rowsintegerdefault 2
  • num_columnsintegerdefault 3
Example
curl -sX POST http://localhost:3001/api/calculators/linear-algebra/null-space/compute \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"matrix_A":[[1,2,3],[4,5,6]],"num_rows":2,"num_columns":3}}'
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 null-space computation; problem text paraphrased.

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