{"uid":"cap_PLI6Z254NotpZqELVeXP9","slug":"routh-array-rhp-root-counter-8123dc72","name":"Routh Array RHP Root Counter","description":"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.","url":"https://detect.halowerk.com/v1/F-NIGHT-ECMA/regular-routh-array-right-half-plane-root-count?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZIoYyN2jVMlxyF_1iFoGs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Control system stability screening","prompt":"I have a closed-loop characteristic polynomial with integer coefficients [1, 4, 6, 4, 3] and I think it has 0 unstable RHP roots — can you run the Routh array and tell me the exact RHP root count and first-column sign sequence to confirm it's stable?"},{"title":"Verifying a claimed instability count","prompt":"My colleague claims this polynomial [2, -1, 5, 3] has exactly 1 right-half-plane root. Can you compute the Routh array first-column signs and confirm or deny that claim of 1 RHP root?"},{"title":"Automated polynomial test agent validation","prompt":"For the polynomial with coefficients [1, 0, -4, 0, 3], I want to know the exact number of RHP roots — I'm guessing 2 — please verify using the Routh-Hurwitz method and return the first-column signs, without finding the actual numerical roots."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T00:39:39.109Z","isFirstParty":false,"canonicalSlug":"routh-array-rhp-root-counter-8123dc72"}