Skip to content
m·amathatlas
ExploreAboutOpen problemsCited authorsMy libraryFeedback
Sign in
FRENES
Loading views…Recent views only, across all languages. Vercel history is unavailable for this page. Repeat visits in the same tab are grouped for 30 minutes.
ShareLinkedInXFacebookWhatsApp
← All open problems
Unanswered question

Randomized algorithm to verify the uniqueness of non-negative solution to a linear system

Theoretical computer scienceAlgebra

Imported on November 28, 2026

The forum classified this question as unanswered when collected. This does not certify an open research problem; check the answers and revision history at the source.

Read the question with its definitions and background below. The source provides the full formulation and further discussion; the glossary and Wikipedia links offer additional reading aids.

Problem statement

Assume we have the under-determined linear system

Ax=yAx = yAx=y

A∈R≥0m×n, y∈R≥0m, m<n,A \in \mathbb R^{m \times n}_{\geq 0},\, y \in \mathbb R^m_{\geq 0},\, m < n,A∈R≥0m×n​,y∈R≥0m​,m<n, for which we know a non-negative solution x∗∈R≥0nx^* \in \mathbb R^n_{\geq 0}x∗∈R≥0n​. The problem is to verify that x∗x^*x∗ is the unique non-negative solution.

Note. I use R≥0\mathbb R_{\geq 0}R≥0​ as a notation for a set of non-negative real numbers. Note that all the parameters of the problem are non-negative.

I know the following (hopefully correct) deterministic algorithm to solve the problem:

  • Let I={i∣xi∗≠0}I = \{ i | x^*_i \neq 0 \}I={i∣xi∗​=0} is the support of a vector x∗x^*x∗.

  • Let AIA_IAI​ be a matrix consisting of columns of AAA with indexes in III. If AIA_IAI​ has rank less than number of its columns, there exists for sure another non-negative solution. (Proof omitted. Intuition: we can take some solution of AIe=0A_I e = 0AI​e=0 of small enough norm, then (x∗+e)(x^* + e)(x∗+e) is another non-negative solution of original system).

  • Otherwise consider the following linear programming problem:

dx→max⁡dx \rightarrow \maxdx→max s.t. Ax=y,x≥0\text{s.t. } Ax = y, x \geq 0s.t. Ax=y,x≥0

where d=(di)∈Rnd = (d_i) \in \mathbb R^nd=(di​)∈Rn is defined as follows:

di={1, if xi∗=0,0, otherwise.d_i = \begin{cases} 1, \text{ if } x^*_i = 0, \\ 0, \text{ otherwise}. \end{cases}di​={1, if xi∗​=0,0, otherwise.​
  • The original system has unique non-negative solution if and only if the aforementioned linear programming problem outputs x∗x^*x∗ as its solution. (Intuition: if solving LPP gives us the same x∗x^*x∗, then all the non-negative solutions of Ax=yAx=yAx=y have zeros at positions {1,2,…,n}∖I\{1,2,\dots,n\} \setminus I{1,2,…,n}∖I. Then step 2 guarantees the uniqueness).

However, I want to have a more efficient algorithm as I need to verify plenty of such systems with a fixed matrix AAA of size n≈300n \approx 300n≈300 for different pairs (x∗,y)(x^*,y)(x∗,y) where y=Ax∗y=Ax^*y=Ax∗.

I did not find faster deterministic algorithm so I decided to check out randomized algorithms hoping that this can reduce complexity. Does anyone know an algorithm to solve the original problem that is

  • Las Vegas? I.e. an algorithm that uses randomness but gives solution that is always correct.

  • Monte Carlo? I.e. an algorithm that gives a wrong answer with small probability. I will then run it couple of times to make error probability small enough.

P.S. I am aware about questions here and here. However they do not explicitly speak about randomized algorithms.

Statement and context adapted from MathOverflow · Yauhen Yakimenka

CC BY-SA 3.0 · Formatting adapted; mathematical formulas preserved · Source history

Topics : linear-algebra · algorithms

Authors listed by the source : Yauhen Yakimenka

Sources and original status

  • MathOverflow Status in source : unanswered at collection

Last activity on the question : June 6, 2017

Coverage, sources and method

This count measures imported entries, including distinct variants. It is not a count of all open mathematical questions worldwide. One entry may belong to several fields and sources.

This directory is neither exhaustive nor updated in real time. “Reported open” describes the source classification observed at import; imported entries have not each undergone independent mathematical verification. The 32 explained entries were reviewed separately.

Formal Conjectures: only “research open” statements with no reported formal proof are retained; their tag is checked in a pinned repository revision. Variants remain distinct. A “sorry” placeholder is not sufficient to establish open status.

Erdős: solved or independent problems and entries with a Lean solution are excluded, including “open (Lean)”. Exact matches to the main Formal Conjectures statements are merged.

Open Problem Garden: the open index is checked against the solved index; spam, identified clones and some outdated statuses are excluded. Statements and definition context are attributed to their original pages; formulas are preserved and the content remains under the GFDL. Recognized duplicates across sources are merged; this does not resolve every mathematical equivalence.

OEIS: direct extraction of conjectural comments and formulas, one entry per sequence, excluding mentioned resolutions. MathOverflow and Math Stack Exchange: questions classified as unanswered by their API, excluding closed posts and non-research categories. They remain distinct from problems reported open. This is a partial, dated collection; every entry credits its authors and license.

Documented exclusions account for recent announcements and conflicting statuses. A stronger variant or a special case can remain open after a different statement is settled.

Attribution: The Formal Conjectures Authors; teorth/erdosproblems and contributors; Open Problem Garden and contributors. Each source retains its license.

  • Formal Conjectures · 1,924 · Apache-2.0 / CC-BY-4.0
  • Erdős Problems (teorth) · 622 · Apache-2.0
  • Open Problem Garden · 404 · GFDL (source content); only title/category/link metadata imported
  • OEIS · 18,857 · CC BY-SA 4.0
  • MathOverflow · 19,035 · CC BY-SA (version on each entry)
  • Mathematics Stack Exchange · 35 · CC BY-SA (version on each entry)
Report a development or correction
mathatlas

An independent atlas to understand, read, and question research.

The papers present claimed results at different stages of verification.
NewsletterShare feedbackAbout Data and privacy
Created by Sonny Mupfuni