He flourished under al-Mu'tadid, Caliph from 892 to 902, and compiled astronomical tables, writing a book for al-Mu'tadid on atmospheric phenomena.
Nayrizi wrote commentaries on Ptolemy and Euclid. The latter were translated by Gerard of Cremona. Nairizi used the so-called umbra (versa), the equivalent to the tangent, as a genuine trigonometric line (but he was anticipated in this by al-Marwazi).
He wrote a treatise on the spherical astrolabe, which is very elaborate and seems to be the best Persian work on the subject. It is divided into four books:
Historical and critical introduction.
Description of the spherical astrolabe; its superiority over plane astrolabes and all other astronomical instruments.
^Nelsen, Roger B. (November 2003), "Paintings, plane tilings, and proofs"(PDF), Math Horizons: 5–8. Reprinted in Haunsperger, Deanna; Kennedy, Stephen (2007), The Edge of the Universe: Celebrating Ten Years of Math Horizons, Spectrum Series, Mathematical Association of America, pp. 295–298, ISBN978-0-88385-555-3. See also Alsina, Claudi; Nelsen, Roger B. (2010), Charming proofs: a journey into elegant mathematics, Dolciani mathematical expositions 42, Mathematical Association of America, pp. 168–169, ISBN978-0-88385-348-1. Nelsen uses the for "Annairizi" of his name; for the identification of it with Anaritius, see Isis, vol. 6, p. 515.