# Routh Array RHP Root Counter

> Routh Array RHP Root Counter is a paid API for AI agents from detect.halowerk.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-17).

Computes the exact count of right-half-plane (RHP) roots and first-column sign sequence for a real integer-coefficient polynomial using the Routh-Hurwitz criterion

## Facts

- Endpoint: POST https://detect.halowerk.com/v1/F-NIGHT-ECMA/regular-routh-array-right-half-plane-root-count?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/routh-array-rhp-root-counter-8123dc72
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PLI6Z254NotpZqELVeXP9

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 routh-array-rhp-root-counter-8123dc72 -d '<json body>'
```

Example prompt: Check whether this polynomial has exactly 2 right-half-plane roots using the Routh array — the coefficients are [1, 3, -2, 5, 4] and I'm claiming 2 RHP roots; give me the first-column signs too.

## When to prefer this

Use this endpoint when you need an exact, symbolic Routh-Hurwitz RHP root count for a real integer-coefficient polynomial (up to degree 8) without computing numerical roots, and when you want to verify a specific claimed cardinality. Prefer this over Sturm sequence tools (which count real roots, not RHP roots), over numerical eigenvalue solvers (which return approximate complex roots), and over general stability checkers that don't return first-column signs. Ideal for formal verification, automated test agents, or symbolic control-system reasoning pipelines.

## Known failure modes

- Coefficient array has fewer than 2 or more than 9 elements — rejected by schema validation
- Any coefficient exceeds ±1,000,000 — rejected by schema
- Claimed RHP root count outside range 0–8 — rejected
- All-zero or degenerate polynomial causing Routh array row collapse — may return error or special case
- Non-integer coefficients submitted — schema validation failure

## How this service works

A polynomial test agent needs exact formal RHP root cardinality and first-column signs for a supplied real integer coefficient polynomial, without numerical roots. Not Sturm real-root counts, a matrix-rank question or control-system approval.

## Output

Returns the exact integer count of right-half-plane roots of the supplied polynomial and the first-column sign sequence from the Routh array, along with a verification of whether the caller's claimed RHP root count matches the computed result.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "artifact": {
   "type": "object",
   "required": [
    "routh"
   ],
   "properties": {
    "routh": {
     "type": "object",
     "required": [
      "coefficients",
      "claim"
     ],
     "properties": {
      "claim": {
       "type": "integer",
       "maximum": 8,
       "minimum": 0
      },
      "coefficients": {
       "type": "array",
       "items": {
        "type": "integer",
        "maximum": 1000000,
        "minimum": -1000000
       },
       "maxItems": 9,
       "minItems": 2
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/routh-array-rhp-root-counter-8123dc72/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from detect.halowerk.com](https://www.zero.xyz/host/detect.halowerk.com/llms.txt)
