1 Introduction

The [Islamic] astronomers from the day of al-Ma’mūn to al-Battānī and afterwards did not mention their measurements in the same manner that Ptolemy mentioned his own computations, and did not manifest how they derived the planetary parameters from positions and motions of the planets through their continuous attempts to provide them. [...] He who elucidates his computational procedures is the most deserved to be followed.

\(\sim \)Abū al-Rayḥān al-Bīrūnī (973–1048)Footnote 1

The Marāgha observatory was built in 1259 by Hülegü (d. 1265), the founder of the Īlkhānīd dynasty of Iran. During its about fifty-eight years of operation, it represented the acme of Islamic astronomy.Footnote 2 It appears that some observations at Maragha had taken place before the construction of the observatory: In his treatise on the astrolabe, Fī kayfiyyat tasṭīḥ al-basiṭ al-kurī, Ibn al-Ṣalāh al-Hamadhānī (d. 1153) said that, at Maragha, he had found a magnitude of 23;\(35^{\circ }\) for the “total declination” (al-mayl al-kullī; i.e., obliquity of the ecliptic).Footnote 3 During the first two decades of the observatory, two zījes were written: al-Ṭūsī’s Īlkhānī zīj in Persian and Muḥyī al-Dīn al-Maghribī’s Adwār al-anwār in Arabic. Al-Ṭūsī (d. 1274) completed the Īlkhānī Zīj in about 1270. Although the majority of its underlying parameters are either Ptolemaic or borrowed from earlier zījes, nevertheless, some parameter values adopted in the Īlkhānī zīj were not known in any text prior to this work and appear to be the results of the observational program of the main staff of the observatory in the 1270s.Footnote 4 Muḥyī al-Dīn (d. June 1283) completed his zīj in the end of 1276 (see below). It was evidently based on the extensive observations done by him at the Maragha observatory. Muḥyī al-Dīn later wrote a treatise named Talkhīṣ al-majisṭī, “Compendium of the Almagest,” in which he describes his systematic observations and measurements of the solar, lunar, and planetary parameters. This treatise is our main concern in this paper. The two observational programs proceeded simultaneously and were conducted independently; none of Muḥyī al-Dīn’s new values for some parameters, except his value 23;\(30^{\circ }\) for the obliquity of the ecliptic resulting from observations performed on three successive days after the two dates of June 12 and December 7, 1264, were employed in the Īlkhānī zīj.

Little is known about Muḥyī al-Dīn except that his full name is Abū al-Shukr/Abu al-Karīm/Abu al-Fatḥ Yaḥyā b. Muḥammad b. Abī al-Shukr b. Ḥumīd of the Maghrib (of Tunis, of Andalus, or of Cordoba). He spent some years (after 1237 to October 2, 1260) in the service of King Nāṣir of Damascus (reign: 1237–1260) in Aleppo, before the king was killed by the Mongols and al-Maghribī was sent to the Maragha observatory. Other than a short-period migration to Baghdad in the second part of the 1270s (see below), he seems to have lived at Maragha and done his observations at the Maragha observatory until his death in June 1283. He taught some students in the observatoryFootnote 5 and wrote about 26 works on mathematics, astronomy, and astrologyFootnote 6 including two zījes: Tāj al-azyāj (Aleppo, about 1257)Footnote 7 and Adwār al-anwār (Maragha, 1276).

Muḥyī al-Dīn’s systematic observations at the Maragha observatory made him such an outstanding figure that his contemporaries and immediate successors called him by unique honorific titles denoting his skill in doing observations. For instance, Ibn al-Fuwaṭī, the librarian of the observatory, called him the “geometrician of the observations,” muhandis al-raṣadī.Footnote 8 His observational program is often named the “new Īlkhānīd observations,” raṣad al-jadīd al-Īlkhānī, in order to distinguish it from the purported observations conducted at Maragha for preparing the Īlkhānī zīj.Footnote 9 His fame was so widespread that his astrological doctrines were generally trusted (nine of his treatises are on astrology). An amazing example of this is the interpretation of the appearance of the comet C/1402 D1 based on his astrological doctrines which led to a very decisive war in the Middle East at the turn of the fifteenth century.Footnote 10

This paper deals with al-Maghribī’s lunar measurements as explained in the Talkhīs al-majisṭī. The work, its characteristics, and its place in the history of Islamic observational astronomy have already been introduced in three papers by George Saliba.Footnote 11 Despite its name, the treatise is neither a rewriting nor an abridgement of the contents of the Almagest, which, sometimes accompanied by criticisms about Ptolemy, was constituted as a genre with its own peculiar characteristics, playing a pivotal role in Islamic astronomy. Rather, in the same way of Ptolemy in the Almagest, Mūḥyī al-Dīn expounds how he proceeded to establish systematically his parameters starting from measuring the latitude of Maragha, the length of the tropical year, the solar mean angular velocity, ... up to the planetary parameters. In order to present his measurements, he first provides data obtained from his dated observations which are arranged chronologically, and then, he explains the mathematical procedure to determine the parameter in question. Finally, the procedures of applying the input observational data and doing computations are done, respectively, and described in detail. The obtained result is established as a new value or verified as an already existing one for that parameter. These materials as presented by Muḥyī al-Dīn allow one to pursue precisely his line of investigation, to uncover his mistakes and their effects on the final result, to recognize the probable circular arguments, etc, which is indeed very useful for making a comprehensive critical study. Regarding its contents, the Talkhīṣ has no counterpart in the medieval astronomical literature of the Middle East. Some sections of the treatise that are devoted to the measurement of planetary parameters may be considered as its most important parts, because it is hard to find any other work whose aim was to measure the planetary parameters in Islamic astronomy.

The Talkhīṣ is preserved in a unique copy (Leiden, Universiteitsbibliotheek, no. Orientalis 110) in al-Maghribī’s own handwriting. According to the table of contents given on fol. 2r, the treatise consists of ten books (maqāla). They discuss plane and spherical trigonometry (books I and II), time-reckoning (III), solar motion (IV), lunar motion (V), lunar parallax and the theory of eclipses (VI), longitudes and latitudes of the fixed stars (VII), planetary motions in longitude (VIII), retrograde motion and latitude of the planets (IX), and stereographic projection of the celestial sphere on the plane tangential to its north pole (X). The manuscript is, however, incomplete and corrupt where our author finishes his computations of Mars, while the reader expects he commences the computations related to the inferior planets. One may assume that it is the treatise itself that may have been left incomplete because of any possible reason. However, this does not appear to be the case here, because Wābkanawī reports three of Muḥyī al-Dīn’s values for the parameters of the inferior planets.Footnote 12 The last two books are also missing from this copy, but the contents of the last book may have been adopted from (possibly, a brief survey of) his treatise on the astrolabe, which deals with the same problem.Footnote 13

Muḥyī al-Dīn dedicated the Talkhīṣ to Ṣadr al-Dīn Abū al-Ḥasan ‘Alī b. Muḥammad b. Muḥammad b. al-Ḥasan al-Ṭūsī,Footnote 14 the son of Naṣīr al-Dīn al-Ṭūsī, who was appointed director of the observatory after the death of his father.Footnote 15 According to the Talkhīṣ, Muḥyī al-Dīn’s period of observations at the Maragha observatory was from March 7, 1262 (lunar eclipse; cf. Table 1) to August 12, 1274 (Jupiter). He applied the newly obtained parameters in his second zīj, the Adwār al-anwār, a copy of which has been preserved in the handwriting of the author (Mashhad, Holy Shrine Library, no. 332), which bears the date of Dhu al-qa‘da 674 H (April/May 1276) in the end of the canonsFootnote 16 and the date of Rajab 675 H (December 1276/January 1277) in the end of the tables.Footnote 17 These two dates may indicate when the canons and the tables were completed. It thus seems that he had finished his observations between August 12, 1274 and April/May 1276, and had engaged in constructing the tables in the period between April and December 1276. He also mentions in the prologue of this copy of the Adwār that he had commenced to write the zīj after completing a (now lost) treatise named Manāzil al-ajrām al-‘ulwiyya, “The mansions of the upper bodies.” We can therefore safely assume that the Talkhīṣ was written after Muḥyī al-Dīn completed the Adwār, i.e., after the end of the year 1276. According to Ibn al-Fuwaṭī,Footnote 18 Muḥyī al-Dīn left the observatory and spent a while in the service of Al-Ṣāḥib Sharaf al-Dīn b. al-Ṣāḥib Shams al-Dīn in Baghdad. The date of his departure was not given, but the migration had more likely been occurred after he finished the writing of the Adwār, i.e., after the end of 1276. From Ibn al-Fuwaṭī’s statements, it may be understood that this abandonment was due to some uncomfortable and inconvenient conditions at Maragha after the death of al-Ṭūsī, because he states immediately that after Muḥyī al-Dīn returned to Maragha, he was honored and supplied with the good amounts of regular stipend and honorarium. Thus, it is also possible that he has written the Talkhīṣ after his return from Baghdad to Maragha (i.e., a time after 1277 and, of course, before his death in 1283) when the observatory was directed by Ṣadr al-Dīn and, likely, its dedication to Ṣadr al-Dīn is as a response to his kind behavior toward the author.

In this paper, Sect. 2 concerns al-Maghribī’s observations of the three lunar eclipses at the Maragha observatory from which he determined the radius of the lunar epicycle and its mean motions. Section 3 introduces the other three lunar observations and explains al-Maghribī’s procedures, calculations, and numerical details in six separate parts that are arranged as follows: the first two parts explain how our author determined the size of the epicycle and the mean motions; in the third part, the eccentricity of the lunar orbit in the Ptolemaic model; in the fourth part, the distance between the point of prosneusis and the center of the earth; and in the fifth part, the inclination of the lunar orbit. Then, al-Maghribī’s tables of the lunar equations are briefly discussed. Finally, the last part deals with his determination of the lunar parallax. In all of these steps, the numerical values are al-Maghribī’s. The recomputed or true modern values will be indicated explicitly (the former within square brackets). In Sect. 4, some highlighted characteristics of Muḥyī al-Dīn’s observations, computations, methods, the instruments applied, and so on will be discussed and commented upon. His values for the lunar parameters will also be compared with the other medieval values obtained in the Middle East. Section 5 contains a comparative study between the times of the conjunctions and oppositions of the moon with the sun computed on the basis of modern theories and the times computed from the parameter values determined by al-Maghribī and those applied in the Īlkhānī zīj. This aims to evaluate the criticisms made by Wābkanawī (an astronomer who flourished about two decades later in the observatory) of the Īlkhānī zīj and his modification of al-Maghribī’s value for the lunar mean longitude, as will be explained there.

2 The observations of the lunar eclipses at the Maragha observatory

Table 1 presents the lunar eclipses observed by Muḥyī al-Dīn at the Maragha observatory, arranged chronologically, which have been used to determine the lunar parameters.

Table 1 Lunar Eclipses observed by al-Maghribī at the Maragha observatory

Col. 1 contains the numbers by which our author refers to each eclipse.

Col. 2 presents the dates of the observations given in the text according to the Yazdigird era and their corresponding dates in the Julian calendar and in Julian Days Number. In order to transform the dates from the Yazdigird era to the Julian one, it should be considered that in Islamic chronology, the day is traditionally reckoned from sunset, and hence, “night” precedes “day.” As a result, for example, the night of Wednesday, February 28, 631 Yazdigird, is the time interval between sunset on Tuesday, the 27th, and sunrise on the 28th. This confusion cannot occur when we use the equivalent Julian dates. Since our author has made the precise time of the maximum phase of each eclipse available (Col. 3), the dates can be converted conveniently.

Col. 3 presents the times of the eclipses, that is, the instants when the maximum phases occurred, counted from the beginning of the Yazdigird era. Our author counts the hours using a clepsydra (Pangān in Persian and Bankām in Arabic) from the instant of the meridian transit of the sun (true noon).Footnote 19 The instants of true noon for the days of the eclipses are, respectively, 12:10, 12:0, and 12:15 (–1 day), according to the mean local time of Maragha \(\approx \) UT \(+\) 3;5 h. The true times of the maximum phases of the three eclipses are 20:23, 22:8, and 2:12, respectively. Thus, the times of the eclipses after true noon, measured in hours, are as follows:

Nos.

Muḥyī al-Dīn

 Modern 

 Error 

1

8;18 h

8;13 h

\(+\)5 m

2

10;13 h

10;8 h

\(+\)5 m

3

14;0 h

13;57 h

\(+\)3 m

Col. 4 indicates the type of the eclipse; TD denotes “Total eclipse with a perceptible duration (lit. “staying,” makth)”; P stands for “Partial.”

Col. 5 presents the magnitude of the eclipse. These might be a naked eye estimate; however, two optical devices for directly measuring eclipse magnitudes had been invented and constructed at the Maragha observatory.Footnote 20 Modern values are as follows:Footnote 21

Nos.

 Muḥyī al-Dīn 

 Modern 

1

Total

1.77

2

0.833

0.823

3

0.8

0.77

Col. 6 gives the true longitude of the sun at the time of each eclipse, i.e., at the instant of the maximum phase. Our author has indeed calculated based on his own parameters.Footnote 22 As we shall see below, in order to measure the radius of the lunar epicycle, it is necessary as the first step to obtain the moon’s longitudes at the instants of the maximum phases of a trio of the lunar eclipses, i.e., when the moon is in true opposition to the sun. Then, they can readily be calculated as

figure b

. A comparison with modern values is as follows:

Nos.

 

 Muḥyī al-Dīn 

 Modern 

1

354;22,\(50^{\circ }\)

354;\(20{,}4^{\circ }\)

2

24;53,1

24;52,17

3

311;41,28

311;36,54

In the following, Muḥyī al-Dīn’s values for the lunar latitude and the longitude of its ascending node at the time of the eclipse no. 3 are compared with the corresponding modern data; cf. Sect. 3.2, (28) and (30).

Col. 7 shows the observed altitudes of some bright stars which were ordinarily used in order to determine the durations and times of the phases of the lunar eclipses. The position with respect to the horizon of a given celestial body may be given by means of its altitude plus its direction with respect to the meridian line; e.g., “\(51^{\circ }\) East” means an altitude of \(51^{\circ }\) at a given instant while it is located east of the meridian. An important note here is that in the case of the eclipse no. 1, the directions Mūḥyī al-Dīn cites for the measured altitudes do not express the direction of the star with respect to the meridian, but with reference to the lunar disk. Otherwise, the altitudes should have been expressed as \(51^{\circ }\) East for Regulus and \(17^{\circ }\) East for Spica at, respectively, the start and end of totality.

Based on what our author says (fol. 67v), these were the eclipses that he “dealt with observing them with the extreme accuracy,” and thus, he could rely on his observations and be confident about the correctness of the data obtained from them. In the period of his observations, nine other lunar eclipses were observable at their maximum phases from Maragha, and Muḥyī al-Dīn might have witnessed them as well.

3 Muḥyī al-Dīn’s lunar measurements

In Talkhīṣ V, chapter 1, Muḥyī al-Dīn reviews the situations of lunar motions in longitude, in anomaly, and in latitude, their periods, and explains the reason why ancient astronomers used lunar eclipses for measuring them (a recapitulation of Almagest IV, 1–3). In chapter 2, he suggests the equivalence of eccentric and epicyclic hypotheses (Almagest IV, 5) and gives the magnitudes of the radius of the lunar epicycle computed by Hipparchus, Ptolemy, and himself. In chapter 3, Ptolemy’s first (or Hipparchus’) model of the moon consisting of an epicycle rotating on a zero-eccentricity inclined deferent which intersects the ecliptic in the two orbital nodes is introduced. Our author, of course, mentions that the lunar motions cannot be explained by the aid of only an epicyclic hypothesis, but it needs to take the eccentric hypothesis into account as well (introductory remark in Almagest IV, 6). In chapter 4, our author computes the radius of the moon’s epicycle from the trio of lunar eclipses observed at the Maragha observatory (Table 1 and below, Sect. 3.1) (corresponding to Almagest IV, 6). In chapters 5 and 6, by comparing his third lunar eclipse and that of October 20, 134 observed by Ptolemy at Alexandria, he determines the rates of the lunar mean motions in longitude and in anomaly and that of the retrograde motion of the nodal line of the lunar orbit (below, Sect. 3.2) (Almagest IV, 7 and 9). In chapter 7, he computes the mean positions of the moon and the longitude of its ascending node at the epoch, i.e., for the end of the year 600 Yazdigird (= mean noon of January 17, 1232, JDN 2171062, at Maragha), from those in his eclipse no. 3 (Almagest IV, 8 and 9) and then constructs the tables of the lunar mean motions (Almagest IV, 4). In chapter 8, the second anomaly of the moon, which is related to its elongation from the sun, and then Ptolemy’s second lunar model based on an eccentric with the movable center to account for this anomaly are explained (Almagest V, 2 and 3). In chapter 9, our author computes the eccentricity of the now inclined eccentric deferent of the moon based on an observation done at Maragha in April 20, 1264 when the moon was near its last mean quadrature (below, Table 2 and Sect. 3.3) (Almagest V, 4). In chapter 10, he describes the idea of prosneusis (inḥirāf or muḥādhāt), that is, the point on the apsidal line of the lunar eccentric, in which the diameter passing through the lunar mean epicyclic apogee and perigee is directed is displaced from the earth’s center by the amount of eccentricity toward the lunar eccentric perigee. Our author measures the value of the displacement through an observation performed on August 29, 1264 when the moon was close to mean octant (below, Table 3 and Sect. 3.4) and verifies that it is equal to the eccentricity (Almagest V, 5). In chapter 11, our author instructs how to calculate trigonometrically the equations resulting from the lunar anomalies, constructs the tables for their components, and explains the procedure of computing the true ecliptical coordinates of the moon from the tables of the mean motions and equations (Almagest V, 6–9). The final parts of chapters 9 and 10 are specified to our author’s computations of the inclination of the moon’s eccentric from the last two observations (see below, Sect. 3.5). The book V ends with chapter 12 that explains the schemata of the four orbs of the moon (Ptolemy’s Planetary Hypotheses II).Footnote 23

Table 2 Muḥyī al-Dīn’s lunar observation no. 4

A general overview of the contents of Talkhīṣ V shows that although Muḥyī al-Dīn describes and re-quantifies the Ptolemaic lunar model step-by-step through his own observations in the same way as Ptolemy did this, in fact, he has, a priori, the Ptolemaic ready-to-use model in his mindFootnote 24 and now wants, to a larger degree, to renew the computation of its underlying parameters and, to a lesser degree, to test it (especially, in the case of prosneusis). Figure 1 illustrates the Ptolemaic lunar model, its parameters and equations, and the conventional symbols used for referring to them. They will be explained further in the rest of the paper.

Fig. 1
figure 1

Ptolemy’s lunar model and the components of its equations: \(P=\hbox {Prosneusis};\,T = \hbox {Earth}\); Lunar eccentric of radius \(EC=R\) with center \(E;\,{\varvec{e}} = PT = TE= \hbox {Eccentricity}\); Lunar epicycle of radius \(MC=r\) with center \(C;\,\bar{{A}}= \hbox {Mean epicyclic apogee}\); \(A = \hbox {True epicyclic apogee}\);

figure c
\(=\) Mean longitude, ;
figure d
\(=\) True longitude in the plane of the eccentric, \(=\) Mean motion in longitude with respect to
figure e
; \(MC\bar{{A}}\) \(=\) Mean anomaly, \(\bar{{\alpha }}\); MCA \(=\) True anomaly, \(\alpha ;\,\omega _{a}\,=\,\) Mean motion in anomaly with respect to \(P\bar{{A}};\,\bar{{\eta }}\) \(=\) Mean elongation; Longitude of the ascending node of the eccentric \(=\)
figure f
(Convention: ); \(i\) \(=\) Inclination of the eccentric to the ecliptic; \(\beta \) \(=\) Ecliptical latitude; \(q\) \(=\) Equation of center; \(p_\mathrm{A}\) \(\,=\,\) Epicyclic equation at the eccentric apogee; \(p_{\Pi }\) \(\,=\,\) Epicyclic equation at the eccentric perigee. The tabular equation values and the calculation of the true longitude and latitude: \(c_{3} = q(2\bar{{\eta }}) \rightarrow \alpha = \bar{{\alpha }}\pm c_{3}\); \(c_{4} = p_\mathrm{A}(\alpha )\); \(c_{5} = p_{\Pi }(\alpha )-p_\mathrm{A}(\alpha )\); The coefficient of the interpolation: \(c_{6}(2\bar{{\eta }})\); \(p(\alpha ) = c_{4}+c_{5}\times c_{6}\); ; Argument of latitude: . Equation of the inclined eccentric: ; True ecliptical longitude: ; and

3.1 The measurement of the radius \(r\) of the lunar epicycle

In Almagest IV, 6, Ptolemy proposed a mathematical method to determine the radius \(r\) of the moon’s epicycle in terms of the radius of its deferent \(R = 60\) from the data obtained from the observations of three lunar eclipses.Footnote 25 Mūḥyī al-Dīn’s method in chapter 4 (fols. 69r–70v) is essentially that of Ptolemy; however, the application of the sine function makes the steps shorter and the whole procedure somewhat easier-to-reconstruct.

Assume that, in Fig. 2a, b, the points \(A,\,B\), and \(C\) show the position of the moon on its epicycle in the eclipses nos. 1, 2, and 3, respectively (Fig. 2a, b are copies of the diagrams drawn by our author in the manuscript, fol. 70v).Footnote 26

Fig. 2
figure 2

a and b The positions of the Moon on its epicycle in the three lunar eclipses observed by al-Maghribī: no. 1: \(A\), no. 2: \(B\), and no. 3: \(C\). Reproduced based on the diagram drawn by al-Maghribī on fol. 70v

We know the times of the three eclipses since the epoch (cf. Col. 3 of Table 1). Thus, the time intervals between two successive eclipses are

 

\(\Delta t\)

From eclipse no. 1 \(\rightarrow \) no. 2

8 years 33 days 1;55 h

From eclipse no. 2 \(\rightarrow \) no. 3

3 years 292 days 3;47 h

Then, the differences in the lunar mean anomaly \(\Delta \bar{{\alpha }}\) and in its mean longitude \(\Delta \bar{{\hbox {\char 106}}}\) are

 

\(\Delta \bar{{\alpha }}\)

\(\Delta \bar{{\hbox {\char 106}}}\)

From eclipse no. 1 \(\rightarrow \) no. 2

61;57,\(26^{\circ }\)

30;57,\(18^{\circ }\)

From eclipse no. 2 \(\rightarrow \) no. 3

123;11,59

277;44,27

Thus, in Fig. 2a, b,

$$\begin{aligned} \hbox {arc}\,\textit{AB}=61;\!57,\!26^{\circ }\quad \hbox {and}\quad \hbox {arc}\,\textit{BC}=123;\!11,\!59^{\circ }. \end{aligned}$$
(1)

The difference in the lunar true longitude between two successive eclipses can be calculated from the true longitude of the sun at the instant of the maximum phase of each eclipse, already listed in Col. 6 of Table 1.

 

\(\Delta \hbox {\char 106}\)

From eclipse no. 1 \(\rightarrow \) no. 2

30;30,\(11^{\circ }\)

From eclipse no. 2 \(\rightarrow \) no. 3

286;48,27

Fig. 3
figure 3

a The positions of the Moon in longitude and in anomaly in the three lunar eclipses observed by al-Maghribī in a lunar “epicycle zero-eccentricity deferent” model (i.e., Hipparchan model). b The transformation of the lunar anomalistic positions in the eclipses nos. 2 and 3 (the points \(B\) and \(C\)) to its orbital position in the eclipse no. 1

In Fig. 3a, the positions of the mean and true moon \((A,\,B,\,C)\) at the times of the three lunar eclipses are shown (drawn to scale). Figure 3b (which is the drawn-to-scale version of the same Fig. 2a, b) is produced through transforming DC and DB (the lines passing through the earth \(D\) and the moon in the eclipses nos. 2 and 3) in such a manner that each of them occupies their true position with respect to the mean moon. Then, it can easily be seen that \(\angle \) ADB and \(\angle \) ADC can be calculated from \(\left| {\Delta \hbox {\char 106}-\Delta \bar{{\hbox {\char 106}}}}\right| \):

$$\begin{aligned} \begin{aligned} \angle \textit{ADB}&= 30{;}57{,}18- 30{;}30{,}11=0{;}27{,}7^{\circ }{,}\\ \angle \textit{BDC}&= 286{;}48{,}27-277{;}44{,}27=9{;}4{,}0^{\circ }. \end{aligned} \end{aligned}$$
(2)

Now, the problem is to find the radius \(TH (= r)\) of the circle \(ABC\) (= the lunar epicycle), so that the chords AB, BC, and AC appear from \(D\) (the earth) under the angles ADB, BDC, and ADC, respectively.

From (1), , then \(\angle \textit{DBE} = \hbox {30;31,36}^{\circ }\). If we assign to ED an arbitrary length equal to 60, then with applying the sine rule to the plane triangle BED (Fig. 2a), we can calculate the length of BE in terms of ED. Our author computed it as

$$\begin{aligned} { BE}=0{;}55{,}54{,}18\qquad \qquad \left[ 0{;}55{,}54{,}1\textit{7}\right] . \end{aligned}$$
(3)

(Hereafter, all numbers are Muḥyī al-Dīn’s; the recomputed numbers are given in brackets and the deviations are indicated in italics.) From (1), arc \(\textit{ABC} = \hbox {185;9,25}^{\circ }\). As a result, arc \(\textit{CA} = \hbox {174;50,35}^{\circ }\). Thus, . From (2), \(\angle \textit{ADC} = \angle \textit{BDC} - \angle \textit{ADB} = \hbox {8;36,53}^{\circ }\). Thus, \(\angle \textit{ECD} = \hbox {78;48,24,30}^{\circ }\). Again, with applying the sine rule to the plane triangle CED, we have:

$$\begin{aligned} { CE}=9{;}10{,}11{,}26\qquad \qquad \left[ 9{;}{ 9{,}41{,}53}\right] \end{aligned}$$
(4)

in terms of \(DE = 60\).

We also have \(\angle { BEC} = \angle { AEB} + \angle { AEC} = \hbox {118;24,0,30}^{\circ }\). We extend the chord EC from \(E\) to the right side and drop the perpendicular BZ that intersects it at \(Z\). Thus, \(\angle { BEZ} = \hbox {61;35,59,30}^{\circ }\), which is indeed, our author says, acute, and \(\angle \) BZE is right. Then, \(\angle { EBZ} = \hbox {28;24,0,30}^{\circ }\).

Now, we want to calculate the length of BC. First, in the triangle BEZ, we calculate the lengths of the lines BZ and EZ:Footnote 27

$$\begin{aligned} \begin{array}{l} { BZ}={ BE}\cdot \hbox { Sin }\angle { BEZ}=0{;}49{,}18{,}29\quad \quad \left[ 0{;}49{,}\textit{10,35}\right] \\ { EZ}={ BE}\cdot \hbox { Sin }\angle { EBZ}=0{;}26{,}35{,}23{,}27\left[ 0{;}26{,}35{,}23{,}\textit{8}\right] . \\ \end{array} \end{aligned}$$

And we obtain, from the above-mentioned value for EZ and (4), \(CZ = EZ + EC = \hbox {9;36,46,49} \,[\hbox {9;36,}\textit{17,16}]\). Then

$$\begin{aligned} BC=\left( {{ BZ}^{2}+{ CZ}^{2}}\right) ^{1/2}=9{;}38{,}43{,}5\qquad \left[ 9{;}38{,}\textit{22,56}\right] . \end{aligned}$$
(5)

Until now, all of the lines have been calculated in terms of \({ DE} = 60\). We desire to express all of the lengths in terms of the radius of the lunar epicycle (circle ABC) taken as \(r = 60\). For this purpose, our author computes:

$$\begin{aligned} \begin{aligned} BC&=\hbox {Crd}\left( {\hbox {arc}\,{ BEC}}\right) =r\cdot \hbox {crd}\left( {\hbox {arc}\,{ BEC}}\right) =2\cdot \hbox {Sin}(\angle { BEZ}) \\&=\hbox {105;33,27,56,52}\qquad \qquad \qquad \qquad \left[ {\hbox {105;33,27,}\textit{41,7}}\right] . \end{aligned} \end{aligned}$$
(6)

Here, the length of BC is in terms of \(r = 60\). Equations (5) and (6) establish the ratio for expressing the lengths of the lines, which were already computed in terms of \({ DE }=60\), in terms of \(r= 60\). We can then determine the length of DE in terms of \(r= 60\) as

$$\begin{aligned} { DE}&= 60\times \left( \hbox {105;33,27,56,52}/\hbox {9;38,43,5}\right) \nonumber \\&= \hbox {10,56;38,14,49}\qquad \qquad \qquad \qquad \qquad \left[ \hbox {10,5}\textit{7;1,5,46} \right] . \end{aligned}$$
(7)

Now, we want to compute the length of the chord AE. In the triangle BCZ:

$$\begin{aligned} \angle { BCZ}=\hbox {Sin}^{-1}\left( {{ BZ}/{ BC}}\right) =4{;}53{,}16^{\circ }\quad \left[ 4{;}5\textit{2,39}^{\circ }\right] . \end{aligned}$$

And, indeed, arc \({ BE}=2\cdot (\angle { BCZ})=9{;}46{,}32^{\circ }\,[9{;}45{,}\textit{18}^{\circ }]\). From (1), arc \({ AE} = \hbox {arc}\, { BE} + \hbox {arc}\,{ AB} = 71{;}43{,}58^{\circ }\,[71{;}4\textit{2,44}^{\circ }]\). We can then calculate the length of the chord AE in terms of \(r = \) 60:

$$\begin{aligned} { AE}=2\cdot \hbox {Sin}\left( \hbox {arc}\,{ AE}/2\right) =\hbox {70;18,27,59} \left[ 70;1\textit{7,24,43,46}\right] . \end{aligned}$$
(8)

From (7) and (8), we can calculate the length of the line AD connecting the moon to the center of the earth at the instant of the maximum phase of the eclipse no. 1:

$$\begin{aligned} AD=AE+DE=12{,}\hbox {6;56,42,48}\qquad \left[ \hbox {12,}\textit{7;18,30,30}\right] . \end{aligned}$$
(9)

With regard to Fig. 2b, by Euclid III, 36,Footnote 28 from (7) and (9):

$$\begin{aligned} YD\cdot DH=AD\cdot DE=\hbox {2,12,35,39;27,22,41}\quad \left[ \hbox {2,12,}\textit{44,14;57,11,9}\right] .\qquad \end{aligned}$$
(10)

By Euclid II, 6,Footnote 29 from (10) and TH \(=\) \(r\) \(=\) 60, we have:

$$\begin{aligned} DT=({ YD}\cdot { DH}+{ TH}^{2})^{1/2}=11{,}\hbox {33;29,52,45}\quad \left[ \hbox {11,33;}\textit{52,10,23}\right] . \end{aligned}$$
(11)

The line DT is the radius of the moon’s deferent and is now known in terms of \(r = 60\). If we assume \(R = DT = 60\), then we can conveniently calculate the length of \(r\) in terms of \(R = 60\) as

$$\begin{aligned} r=(60\times 60)/11{,}\hbox {33;29,52,45}=\hbox {5;11,28}\qquad \left[ \hbox {5;11,}\textit{18}\right] . \end{aligned}$$
(12)

Muḥyī al-Dīn rounds the final result as 5;12. The errors befallen to our author are so small that their effect on the final result would not produce a rounded value other than 5;12. The maximum amount of the difference between the mean and true positions of the moon will then be Sin\(^{-1}\)(5;12) \(\approx \hbox {4;58}^{\circ }\), under the condition that the center of the lunar deferent coincides with that of the earth or, in other words, the moon revolves on a zero-eccentricity deferent (al-falak al-muwāfiq al-markaz). In his earlier zīj, Tāj al-azyāj, our author has 4;\(51^{\circ }\) (corresponding to \(r \approx 5{;}5\)),Footnote 30 which is the value ascribed to Ibn al-A‘lam (d. 985) (see below, Sect. 4.7).

3.2 The measurements of \(\omega _\mathrm{t},\omega _\mathrm{a}\), and

In chapters 5 and 6 (fols. 70v–72r) the procedure of determining the mean angular motions of the moon is described: the mean motion in anomaly, \(\omega _\mathrm{a}\), the mean motion in longitude, \(\omega _\mathrm{t}\), and the velocity of the retrograde motion of the lunar orbital nodes,

figure g

. In doing so, the author made use of the data obtained for the instant of the maximum phase of the eclipse no.3.

In Fig. 2b, we drop the perpendicular TKL from the center \(T\) of the epicycle to the line AE, so that it bisects the line AE at \(K\) and the arc AE at \(L\). Indeed, from (8), \({ KE} =\) 35;9,13,59,30 [35;8,42,21,53]. Then, with the length of DE from (7):

$$\begin{aligned} \textit{DK}=\textit{DE}+\textit{KE}=\hbox {11,31;47,28,48,30}\qquad \qquad \left[ \hbox {11,3}\textit{2;9,48,\,7,53}\right] . \end{aligned}$$
(13)

Applying the sine rule to the plane triangle KTD, with (11) and (13), we have:

$$\begin{aligned} \angle \textit{DTK}=\hbox {Sin}^{-1}(({ DK}/{ DT})\cdot \hbox {Sin}(\angle { TKD})=\hbox {85;58,40}^{\circ }\quad [\hbox {85;58,}\textit{52}^{\circ }]. \end{aligned}$$
(14)

Thus,

$$\begin{aligned} \angle \textit{KDT}=90^{\circ }-\angle \textit{DTK}=\hbox {4;1,20}^{\circ }\qquad \qquad \left[ \hbox {4;1,}\textit{8}^{\circ }\right] \end{aligned}$$
(15)

\(\angle \) KDT is the epicyclic equation of the moon at the instant of the maximum phase of the eclipse no. 1. From (2), \(\angle { ADC} = \angle { BDC}- \angle { ADB} =\hbox {8;36,53}^{\circ }\). Thus, from (15):

$$\begin{aligned} \angle \textit{YDC}=\angle ADC-\angle \textit{KDT}=\hbox {4;35,33}^{\circ }\quad \left[ \hbox {4;35,}\textit{45}^{\circ }\right] , \end{aligned}$$
(16)

which is the epicyclic equation of the moon at the instant of the maximum phase of the eclipse no. 3. From (14): arc \(\textit{YL}=180^{\circ }-\angle \textit{DTK}= \hbox {94;1,20}^{\circ }\quad [\hbox {94;1,}\textit{8}^{\circ }]\); also, we previously computed arc \(AE = 71{;}43{,}58^{\circ }\). Thus,

$$\begin{aligned} \hbox {arc}\,\textit{YA}=\hbox {arc}\,\textit{YL}-\hbox {arc}\,\textit{AE}/2=\hbox {58;9,21}^{\circ }\quad \left[ \hbox {58;9,9}^{\circ }\right] . \end{aligned}$$
(17)

The arc YA is the true lunar anomaly \(\alpha \) (khāṣṣa al-mu‘addala, lit. “adjusted anomaly,” named against mean anomaly \(\bar{{\alpha }}\), khāṣṣa al-wusṭā, which our author will introduce later) at the instant of the maximum phase of the eclipse no. 1. In this way, the true anomaly of the moon at the maximum phases of the other two eclipses, i.e., the arcs YB and YC, respectively, will be determined as follows. From (1), we have:

$$\begin{aligned} \begin{aligned} \hbox {arc}\,\textit{YB}&=\hbox {arc}\,\textit{YA}+\hbox {arc}\,\textit{AB}=\hbox {120;6,47}^{\circ }\qquad \qquad \qquad [\hbox {120;6,}\textit{35}^{\circ }],\\ \hbox {arc}\,\textit{YC}&=\hbox {arc}\,\textit{YA}+\hbox {arc}\,\textit{AB}+\hbox {arc}\, BC=\hbox {243;18,46}^{\circ }[\hbox {243;18,}\textit{34}^{\circ }]. \end{aligned} \end{aligned}$$
(18)

The true lunar anomaly in the eclipse no. 3, i.e., the arc YC, is indeed more than \(180^{\circ }\). Consequently, the lunar epicyclic equation calculated in (16) should be subtracted from its true longitude in order to obtain its mean longitude (i.e., the longitude of the center of the lunar epicycle). From Col. 3 of Table 1, \(\hbox {\char 106}_{\odot }= \hbox {311;41,28}^{\circ }\), and so

figure h

. Then from (16):

(19)

Now, we have the mean longitude of the moon in a well-measured time. In order to determine \(\omega _\mathrm{t}\), a mean longitude

figure i

for a given instant \(t_{0}\) should also be available. \(\omega _\mathrm{t}\) can then be computed from \(\Delta \bar{{\hbox {\char 106}}}/\Delta t\). In doing so, Muḥyī al-Dīn used the data presented by Ptolemy in Almagest IV, 6 for the second of the triple lunar eclipses observed by him at Alexandria (geographical longitude \(L=82^{\circ }\) from the Fortunate Isles, i.e., Canary Islands).Footnote 31 The data are as below:

(20)

Our author converts the time of the maximum phase of this eclipse (counted from the beginning of the Nabonassar era) from the local time of Alexandria to that of Maragha \((L = 62^{\circ })\) by adding 1;20 h:

$$\begin{aligned} t_0 =881\,\hbox {years}\,92\,\hbox {days}\,12{;}20\,\hbox {hours}. \end{aligned}$$

The date of our author’s eclipse no. 3 corresponds to 18 Choiak 2022 Nabonassar. Thus, the time of the maximum phase of this eclipse counted from the beginning of the Nabonassar era is

$$\begin{aligned} t=2021\,\hbox {years}\,107\,\hbox {days}\,14{;}0\,\hbox {hours}. \end{aligned}$$

Therefore, the time difference between the two eclipses is

$$\begin{aligned} \Delta t=1140\,\hbox {years}\,15\,\hbox {days}\,1{;}40\,\hbox {hours}=\hbox {1,55,35,15;4,10}\, \hbox {days}. \end{aligned}$$
(21)

Indeed, from (19) and (20), \(\Delta \bar{{\hbox {\char 106}}}=97{;}35{,}55^{\circ }\,[97{;}35{,}43^{\circ }\)]. Our author calculated that the moon completed 15230 revolutions \(+97{;}35{,}55^{\circ }\,[97{;}35{,}43^{\circ }]\) during the period (21); thus,

$$\begin{aligned}&\qquad \qquad \quad \qquad \omega _\mathrm{t} =\hbox {13;10,35,1,52,46,}45^{\circ }/\hbox {d}\qquad \qquad \left[ \ldots ,\textit{40,32}\right] \end{aligned}$$
(22)

\(({ T}\bar{a}j\,al\hbox {-}azy\bar{a}j:\quad \quad \quad \ldots ,\hbox {36,32,17})\) Footnote 32

In order to determine \(\omega _\mathrm{a}\), we should also have two magnitudes \(\bar{{\alpha }}\) and \(\bar{{\alpha }}_0 \) for the mean anomaly of the moon measured, respectively, in the two times \(t\) and \(t_{0}\) sufficiently far from each other. From (20), it is clear that at the instant of the maximum phase of Ptolemy’s eclipse no. 2, the moon’s double mean elongation (Centrum) was \(2\bar{{\eta }}= 0{;}5{,}36^{\circ }\). By means of interpolation in the Almagest table for the lunar equation of center, our author obtains the equation of center \(q(0{;}5{,}36) = 0{;}50^{\circ }(0{;}49^{\circ })\).Footnote 33 The lunar mean anomaly in the Ptolemaic model is calculated by

$$\begin{aligned} \begin{aligned}&\bar{{\alpha }}=\alpha \mp q(2\bar{{\eta }}) \\&(-\hbox {if}\,\,0<2\bar{{\eta }}<180^{\circ };\,+\,\hbox {if}\,180^{\circ }<2 \bar{{\eta }}<360^{\circ }) \end{aligned} \end{aligned}$$
(23)

Then, the mean anomaly of the moon at the time of Ptolemy’s eclipse no. 2 was

$$\begin{aligned} \bar{{\alpha }}_0 =\hbox {64;38}-\hbox {0;50}=\hbox {63;48}^{\circ } \end{aligned}$$
(24)

Muḥyī al-Dīn gives \(\bar{{\hbox {\char 106}}}_{\odot } = 310{;}20^{\circ }\) and

figure j

[above (19)] for the instant of the maximum phase of his eclipse no. 3. Thus, \(2\bar{{\eta }} \approx 353;32^{\circ }\). Now, by means of interpolation in the table of the lunar equation of center (so-called the “first equation”) calculated on the basis of his new value for the lunar eccentricity (cf. below, Sect. 3.3), the lunar equation of center is derived as \(q(353{;}32) = 0{;}51{,}44^{\circ }\).Footnote 34 Thus, from (18) and (23), the mean anomaly of the moon at the instant of our author’s eclipse no. 3 is

$$\begin{aligned} \bar{{\alpha }}=\hbox {243;18,46}+\hbox {0;51,44}=\hbox {244;10,30}^{\circ }. \end{aligned}$$
(25)

Thus, from (24) and (25), \(\Delta \bar{{\alpha }}= \hbox {180;22,30}^{\circ }\). The moon completed 15101 revolutions around the center of its epicycle \(+\,\hbox {180;22,30}^{\circ }\) in the period (21). Therefore,

$$\begin{aligned}&\qquad \qquad \qquad \qquad \omega _\mathrm{a} =\hbox {13;3,53,42,51,59,0}^{\circ }/\hbox {d}\qquad \qquad \left[ \ldots ,\textit{58,26,20,17} \right] \\&(T\bar{a}j\,al\hbox {-}azy\bar{a}j\,:\quad \quad \quad \ldots ,\hbox {56,9,27,7})\nonumber \end{aligned}$$
(26)
Fig. 4
figure 4

The positions of the lunar disk and the Earth’s shadow with respect to the ascending node of the lunar orbit \((A)\). Redrawn based on Muḥyī al-Dīn’s diagram on fol. 72r

In order to compute the rate of the retrograde motion of the lunar orbital node, , our author first draws Fig. 4 (on folio 72r) which shows the position of the moon at the maximum phase of the eclipse no. 3 with respect to the ascending node \((A)\), to the ecliptic (AB), and to the circle of the earth’s shadow (the bigger circle with center \(B\)). Our author states that the angular apparent diameter of the moon at the time of this eclipse was

figure k

.Footnote 35 According to Almagest V, 14, the apparent radius of the earth’s shadow in the moon’s orbit is

(27)

The magnitude of the eclipse no. 3 was 4/5 (cf. Col. 5 of Table 1). Thus, we have:

(28)

BC is the latitude \(\beta \) of the moon. The modern value for the geocentric latitude of the moon at that moment is \(\beta = +0{;}34{,}52^{\circ }\).Footnote 36 In the triangle \(ABC,\,\angle B = 90^{\circ }\), and \(\angle A\) is the maximum latitude (= the inclination \(i\) of the orbit) of the moon, which is equal to \(5^{\circ }\) (cf. Sect. 3.5). Thus,

$$\begin{aligned} AC=\hbox {6;27,18}^{\circ }\qquad \qquad \qquad \qquad [\hbox {6;27,}\textit{40}^{\circ }]. \end{aligned}$$
(29)

We know that the true longitude of the moon in the eclipse no. 3 was

figure m

; thus, the true longitude of the ascending node

figure n

isFootnote 37

(30)

in fair agreement with the modern value for at the instant of the maximum phase of the eclipse no. 3: . In Ptolemy’s eclipse no. 2 [above (20)]: ; thus, . The ascending node therefore completed 61 revolutions \(+74{;}6{,}8^{\circ } [+74{;}6{,}30^{\circ }]\) in the direction of decreasing longitude in the time interval (21); then,

(31)

In order to determine the lunar mean positions at the epoch, in chapter 7 (fol. 72v), our author computes back to the end of the year 600 Y (mean noon of January 17, 1232 at Maragha) from the eclipse no. 3 with the mean positions already calculated in (19), (25), and (30).

(32)

Now with (22), (26) and (31), Muḥyī al-Dīn constructs his own tables for the lunar mean motions in chapter 7.Footnote 38

3.3 The measurement of the Ptolemaic lunar eccentricity \(e\)

Through Ptolemy’s laborious lunar measurements, our author was well acquainted with the fact that the epicycle hypothesis is not enough in order to account for the moon’s motions at the times other than conjunctions and oppositions. He also knew that the lunar epicyclic equation at mean quadrature (when the moon’s mean elongation from the sun is \(180 \,\pm \, 90^{\circ }\)) is greater than any similar epicyclic position occupied at the other phases and that the moon has the least distance to the earth at quadratures. In order to determine how much greater the epicyclic equation may be at mean quadratures, which also makes possible to measure the lunar eccentricity, the moon should be observed when both (a) it is near mean quadrature and (b) it has an anomaly of about \(95^{\circ }\) to cause its epicyclic equation to be maximum. Our author starts his computations in chapter 8 (fols. 73r–76r) from the values observed for the altitudes of the sun and moon when the moon transited the meridian of Maragha on Sunday, April 20, 1264. At that moment, the moon was near its last mean qudrature (Table 2).

He gave the following quantities for the instant of this observation, by which he computed the moon’s ecliptical coordinates as follows (also see below, Sect. 4.6):

(33)

Footnote 39

   \(\hbox {Time elapsed since sunrise}: \quad \,\, \sim 10.5\,\hbox {min}=\hbox {2;37,20}^{\circ } \left[ \hbox {2;37,45}^{\circ }\right] \) Footnote 40

Our author draws Fig. 5 (fol. 76v) in which AB is an arc of the eastern horizon, CBL, the meridian and ADE, the eastern arc of the ecliptic, the southern pole of which is \(M.\) Thus, \(A\) is the ascendant ( ṭāli‘) and \(D\) is the mid-heaven or the transit degree (darajat al-tawassuṭ) whose longitude is denoted by . CTY is the eastern arc of the celestial equator; thus, the arc TY is the oblique ascension of the arc TA (i.e., \(A_{\varphi }(TA) = TY\)). At the moment of the observation, the apparent moon is at \(Z\), but the true moon is at \(H\). ZH shows the lunar parallax in the vertical/altitude circle. Hence, ZB is the lunar apparent (topocentric) altitude and HB is its true (geocentric) altitude. We draw the orthogonal MHE to the ecliptic \((\angle { HED} = 90^{\circ })\); thus, \(E\) is the true position of moon on the ecliptic and HE is its latitude. With \(D\) as the pole, we draw a great circle passing through \(Y\) and \(M\), which intersects the ecliptic and the meridian, respectively, at \(K\) and \(L\,(\angle { TKY} = 90^{\circ };\,\hbox {arc}\,{ KYM} =90^{\circ })\).

Fig. 5
figure 5

A schematic view of the positions of the Moon, the ecliptic, and the celestial equator with respect to the meridian of Maragha in Muḥyī al-Dīn’s lunar observation no. 4 based on the diagram drawn by him on fol. 76v (the dotted circles are added, not drawn in the original)

In the spherical triangle \({ KYT}\!,\,{ YT} = \hbox {24;31,12} + \hbox {2;37,20} = \hbox {27;8,32}^{\circ }\). \(\angle { KTY}\) is the obliquity of the ecliptic, \(\varepsilon = \hbox {23;30}^{\circ }\). Using the sine rule, we have \({ KY} = \hbox {10;29}^{\circ }\). \({ TC} = { YC} - { YT} = 90 - \hbox {27;8,32} = \hbox {62;51,28}^{\circ }\). Then the right ascension of the mid-heaven is . Interpolating in our author’s table of the right ascension (fol. 34v), we then have:

(34)

The arc DB is the altitude of the mid-heaven: \(h_\mathrm{mid}=\hbox {31;30}^{\circ }\). For the lunar apparent altitude \({ ZB}=h^{\prime }_\mathrm{max} = \hbox {28;34}^{\circ }\), our author calculates the lunar parallax (i.e., the arc HZ) as \(\varPi =\hbox {1;15}^{\circ }\) (cf.  below,  Sect. 4.3). Then the lunar true altitude is HB \(=\) \(h_\mathrm{max} = \hbox {29;49}^{\circ }\). As a result,

$$\begin{aligned} { DH}={ DB}-{ HB}=\hbox {31;30}-\hbox {29;49}=\hbox {1;41}^{\circ }. \end{aligned}$$
(35)

Since \(\angle \,{ TCD} = \angle { YKT} = 90^{\circ }\), we have:

$$\begin{aligned} \angle { EDH}=\angle { CDT}=90^{\circ }-\hbox {arc}\,\,\textit{KY}=\hbox {79;31}^{\circ } \end{aligned}$$
(36)

Then, we can calculate the lunar latitude (the arc EH) using the sine rule to the triangle DEH:

(37)

In order to determine the lunar longitude, we should compute the arc DE. We know arc \(\textit{DE} = 90^{\circ } - \angle \textit{EML}\). Now, in the triangle \(\textit{MHL},\,\textit{MH} = 90^{\circ } - \textit{EH}= \hbox {88;21}^{\circ },\,\textit{LH} = 90^{\circ }- \textit{DH} = \hbox {88;19}^{\circ }\), and \(\angle \textit{HLM} =90^{\circ }\); thus, using the sine rule in the triangle \(\textit{HLM},\angle \,\textit{HML} = \hbox {89;39,11}^{\circ }\,[\hbox {89;40}^{\circ }]\). Therefore, \(DE=\hbox {0;20,49}^{\circ }\,[\hbox {0;20}^{\circ }]\). Now, from (34), the longitude of the moon is calculated as

(38)

The ecliptical coordinates computed by our author, compared with the modern ones, are summarized as follows:

(39)

Our author gives the mean longitudes of the sun and moon for mean noon of April 20, 1264 at Maragha as and

figure p

; then \(\bar{{\eta }}= \hbox {269;38,15}^{\circ }\). Thus, a distance of \(y = 0{;}21{,}45^{\circ }\) should be travelled by both the mean sun and the mean moon until the last mean quadrature occurs when they are located in the angular distance of \(\bar{{\eta }}= 270^{\circ }\) from each other (Fig. 6). We wish to know how long it will take. This is easily calculated from

(40)

\(\omega _\mathrm{t}\) is given in (22) and \(\omega _{\odot } =\hbox {0;59,8,20,8,4,36,38}^{\circ }/\hbox {d}\). Thus,

$$\begin{aligned} \Delta t=0{;}42{,}48^\mathrm{h}\qquad \qquad \qquad \left[ 0{;}42{,}49^\mathrm{h}\right] . \end{aligned}$$

During this time interval, the moon travels

$$\begin{aligned} y_1 =\omega _t.\Delta t=0{;}23{,}29^{\circ } \end{aligned}$$

and the sun,

$$\begin{aligned} y_2 =\omega _\odot .\Delta t=0{;}1{,}44^{\circ } \end{aligned}$$

along the ecliptic. Therefore, on the basis of our author’s results, the time of the last mean quadrature and the mean longitudes of the sun and moon when it took place were

(41)

The results are in fair agreement with the modern values:

As it is obvious, our author’s value for the time of the last mean quadrature has an error of about \(+\)18 min.

Fig. 6
figure 6

The procedure of finding the time \(t^{\prime }\) of the last quarter of the Moon from the known longitudes of the Sun and the Moon in a specific time \(t\)

Our author gives half the hours of daylight as 6;43,\(31^\mathrm{h}\) [true \(\approx \) 6;40\(^\mathrm{h}\)]. Thus, the time of the last mean quadrature is \(6{;}43{,}31 + 0{;}42{,}48 = 7{;}26{,}19^\mathrm{h}\) after sunrise and \(7{;}\hbox {26,19} \,-\, (\hbox {2;37,20} \,\times \, 24/360) \approx 7{;}15{,}50^\mathrm{h}\) after the instant of the observation [above (33)]. The moon travels an arc of 3;59,\(17^{\circ }\) along the ecliptic during 7;15,\(50^\mathrm{h}\).Footnote 41 Thus, from (39), the true longitude of the moon at the instant of the last mean quadrature is

(42)

Therefore, the difference between the lunar true and mean longitudes, (41) and (42), is

(43)

We know that this is the amount of the angle subtended by the lunar epicycle radius at the earth’s center (or the same epicyclic equation of the moon) at the instant of the last mean quadrature. In the end of Sect. 3.1, we have calculated that if the moon revolves on a zero-eccentricity deferent, the radius of the lunar epicycle should always appear under the angle 4;\(58^{\circ }\) from the earth. Thus, the center of the moon’s deferent does not evidently coincide with that of the earth. Our author is well aware of this as well as the fact that the epicyclic equation will catch its maximum amount at mean quadratures.

Fig. 7
figure 7

The measurement of the eccentricity of the Moon in the Ptolemaic lunar model. Redrawn based on the diagram drawn by al-Maghribī on fol. 77r

In order to measure the lunar eccentricity \(e\), our author draws Fig. 7 (or extracts it from Almagest V, 4),Footnote 42 in which the earth is at \(D\). We previously assumed that the lunar deferent is a circle with center \(D\), whose radius AD is taken as \(R = 60\), but it is now known that the center \(C\) of the lunar deferent is displaced from \(D\). Thus, CD is the lunar eccentricity. We want to obtain the magnitude of CD in terms of \(\textit{AD} = R = 60\). Through the Almagest, we know that at mean quadrature, the center of the lunar epicycle is located at the perigee \(B\) of its eccentric. If the moon \((Z)\) has an anomaly (arc EZ) at that time such that the line DZ is tangential to the epicycle, then the epicyclic equation \((\angle \textit{BDZ})\) will be maximum. In the triangle \(\textit{DZB},\,\angle \textit{DBZ} = 180^{\circ }-\angle \textit{ZBE}\), where \(\angle \,\textit{ZBE}\) is the lunar anomaly, our author gives \(\alpha = \hbox {100;29,59}^{\circ }\) for the time of the last mean quadrature [above (41)]; then \(\angle \textit{DBZ} = \hbox {79;30,1}^{\circ }\). And from (43), \(\angle \,\textit{BDZ} =\hbox {7;7,32}^{\circ }\). Thus, \(\angle \,\textit{DZB} = \hbox {93;22,27}^{\circ }\). BZ is the radius of the epicycle, i.e., \(r= \hbox {5;12}\) in terms of \(R = 60\). Using the sine rule results \(\textit{BD} = \hbox {41;51}\). Our author rounds this to the nearest integer number, i.e., \(\textit{BD} = 42\). Thus, \(\textit{AB} = 60 + 42 = 102\). Therefore, the radius of the lunar eccentric deferent, AC, is calculated as 51, and the lunar eccentricity, CD, as

$$\begin{aligned} e=9\qquad \qquad \left[ \hbox {Ptolemy}\left( {\hbox {also adopted in}\,T\!{\bar{a}\!j}\,al\hbox {-}azy{\bar{a}}{ j}}\right) :\,\hbox {10;19} \right] . \end{aligned}$$
(44)

Then, the maximum amount of the lunar epicyclic equation (“second equation”) will be equal to sin\(^{-1}\)(5;12/42) \(\approx \hbox {7;8}^{\circ } [\hbox {7;7}^{\circ }]\). This is the case when at mean quadrature, the line passing through the centers of the earth and moon is tangential to its epicycle. And the difference between the maximum values of the second equation of the moon when the center of its epicycle is located at the eccentric apogee and at the eccentric perigee will be \(\hbox {7;8} - \hbox {4;58} = \hbox {2;10}^{\circ }\) [Ptolemy: \(\hbox {2;39}^{\circ }\)].

3.4 Prosneusis and the mean epicylic apogee in the Ptolemaic lunar model

In chapter 10 (fols. 77v–80r), our author introduces the last component of the Ptolemaic lunar model, i.e., prosneusis. This step is also like the testing of the model. In doing so, he makes use of his observation of the meridian transit of the moon on Friday, August 29, 1264, when the moon was near mean octant (Table 3).

Table 3 Muḥyī al-Dīn’s lunar observation no. 5

The method of the determination of the ecliptical coordinates of the moon at the time of the observation is as described above, Sect. 3.3. In order to compute the longitude of the mid-heaven, our author first gives the solar mean longitude for the time of the observation as

(45)

So , and hence, the right ascension of the solar longitude counted from the head of Capricorn is . The revolution of the celestial sphere in this time interval is . Then (counted from the head of Capricorn). Thus, . Accordingly, \(h_\mathrm{mid} = \hbox {34;52}^{\circ }\). Our author gives the lunar parallax in the vertical circle as \(\varPi = \hbox {1;3}^{\circ }\) (cf. below, Sect. 4.3). Hence,

figure r

and

figure s

. With regard to Fig. 8 which depicts the celestial sphere with respect to the local horizon at the instant of this observation, \(\delta ^{\prime } = \hbox {sin}^{-1}(\hbox {sin}(\hbox {317;35,46}-180)\times \hbox {sin}(\hbox {23;30})) = \hbox {15;35,53}^{\circ }\) [error \(\approx -2^{\prime \prime }\)]. We have \(\mu = 90^{\circ }- \delta ^{\prime }\) (cf. (36) and Fig. 5). Then \(\mu = \hbox {74;24,7}^{\circ }\). Like the procedure already described in Sect. 3.3, the latitude of the moon and the difference \(x\) between its longitude and the mid-heaven are determined by solving the highlighted triangles in Fig. 8; the results are

figure t

and \(x = \hbox {1;20,48}^{\circ } [\hbox {1;21,8}^{\circ }]\). Also, referring to the tables of the lunar mean motions, our author gives the mean and true positions of the moon at the instant of this observation as follows:

(46)
Fig. 8
figure 8

A simple schematic view of the positions of the Moon, the celestial equator, and the ecliptic with respect to the local horizon in Muḥyī al-Dīn’s lunar observation no. 5

Fig. 9
figure 9

The configuration of the Ptolemaic lunar model for measuring the distance of the prosneusis point, \(Y\), from the Earth’s center, \(E\). Redrawn based on the diagram drawn by al-Maghribī on fol. 79v

Now, our author draws Fig. 9 (fol. 79v) illustrating the orbital components of the Ptolemaic lunar model. \(\angle { AEB}\) is the mean double elongation of the moon; from (45) and (46), we have: \(2\bar{{\eta }}= \hbox {137;11,8}^{\circ }\). Then, \(\angle { BEG} = \hbox {42;48,52}^{\circ }\). Also, if \({ AE} = 60\), then \({ DE} = 9\) and \({ BD} = 51\). Thus, using the sine rule in the triangle BDE, we have \(\angle { DBE} = \hbox {6;53,18}^{\circ }\). Also, \(\angle { BDG}=\angle { BEG}-\angle { DBE}=\hbox {35;55,34}^{\circ }\). Applying the sine rule to the triangle BDE, we have:

$$\begin{aligned} { BE} ={ BD}\cdot \hbox {Sin}(\angle BDG)/\hbox {Sin}(\angle AEB)=\hbox {44;1,47} \end{aligned}$$
(47)

From (46), the moon’s epicyclic equation at the time of this observation is

figure u

, and so, as our author mentions, the line passing through the centers of the earth and moon, i.e., EH, is located west of the line EZ. In the triangle BEH, BH is the radius of the lunar epicycle \(r = \hbox {5;12}\) and \(\angle { ZEH} =\hbox {2;24,22}^{\circ }\). Using the sine rule, we have: \(\angle { EHB}=\hbox {20;49,22}^{\circ }\) [error \(\approx +1^{\prime \prime }\)]. Thus,

$$\begin{aligned} \angle { HBZ}=\angle { ZEH}+\angle { EHB}=\hbox {23;13,44}^{\circ } \end{aligned}$$
(48)

This is the lunar anomaly. And it is evidently larger than the mean anomaly [cf. above, (46)]. From this, it results that the origin of the lunar mean motion in anomaly is not the point \(Z\), but the point \(T\) locating west of \(Z\) by the distance of \(\hbox {23;13,44}-\!\!\hbox {13;54,8} = \hbox {9;19,36}^{\circ } (= \angle { TBZ} = \angle { EBY})\) from it. Then, our author draws the line TB and extends it to meet AG at \(Y\). The problem is to verify \({ EY} = { ED}\). If so, the Ptolemaic lunar model is tested successfully. The proof is as follows: in the triangle \({ BEY}, \angle { BEG} =\hbox {42;58,52}^{\circ }\) and \(\angle { EYB} = 180^{\circ }- (\angle { BEG} +\angle { EBY}) = \hbox {127;51,32}^{\circ }\,[\hbox {127;41,32}^{\circ }]\). Then

$$\begin{aligned} { EY}={ BE}\cdot \hbox {Sin}(\angle { EBY})/\hbox {Sin}(\angle { EYB})=\hbox {9;2}\quad \left[ \hbox {9;1}\right] \end{aligned}$$
(49)

which is approximately equal to ED, i.e., the Ptolemaic lunar eccentricity, computed earlier, cf. (44).

3.5 The measurement of the inclination of the lunar deferent (= maximum latitude)

In the end of both chapters 9 (folio. 77v) and 10 (fols. 79v–80r), our author devotes an unnumbered chapter to the calculation of the lunar parallax and orbital inclination from the data presented above. In order to compute the inclination \(i\) of the lunar deferent from the empirical data, we return to Fig. 4. AC is the angular distance of the moon from the node and BC is its latitude at the instant of the observation. \(\angle B = 90^{\circ }\). \(\angle BAC\) is the inclination of the lunar deferent. Our author gives for the time of the observation no. 4 (cf. Table 2) from his table of the motion of the lunar ascending node. Also, from (39),

figure v

; thus,

figure w

. And

figure x

. Applying the sine rule to the triangle ABC, we have:

$$\begin{aligned} i\approx \hbox {5;2}^{\circ }\qquad \qquad \qquad \qquad [\hbox {5;1,8}^{\circ }] \end{aligned}$$
(50)

which in full agreement with the modern value calculated for April 20, 1264 AD.

For the time of the observation no. 5 (cf. Table 3), our author computes from his table. With regard to Fig. 4, from (46):

figure y

and

figure z

. Applying the sine rule to the triangle ABC, we have:

$$\begin{aligned} i\approx 5^{\circ }\qquad \qquad \qquad \qquad \left[ \hbox {4;59,11}^{\circ }\right] \end{aligned}$$
(51)

The modern value for August 29, 1264 is \(i = \hbox {5;11}^{\circ }\).

After computing all of the lunar parameters, our author proceeded to prepare the tables for the equations, all of which are for each \(1^{\circ }\) of argument up to \(180^{\circ }\) (cf. Fig. 1): the table for the “first equation” or the “equation of center”: \(q(2\bar{{\eta }})=c_{3}\) and the “coefficient of the interpolation” due to the distance between the center of the lunar epicycle and that of the earth: \(c_{6}(2\bar{{\eta }})\) (fol. 82r); the table for the “second equation” or the “epicyclic equation at the eccentric apogee”: \(p_\mathrm{A}(\alpha )=c_{4}\) (fol. 82v); the table for the “third equation,”Footnote 43 i.e., the difference between the epicyclic equation at the eccentric perigee and at the eccentric apogee: \(p_{\Pi }(\alpha )-p_\mathrm{A}(\alpha )=c_{5}\) (fol. 83r); and the last lunar equation tabulated is the equation due to the shift of the moon from the inclined eccentric to the ecliptic: \(c_{7}\) (fol. 83v). The table for the lunar latitude is also on fol. 83r. The values of \(c_{7}\) and the moon’s latitude are for the argument of latitude

figure aa

. Cf. Tables 45, and 6. In the Adwār al-anwār, all of the equations are tabulated together (CB: fols. 81v–82r. The table of the latitude is on fol. 87v).Footnote 44

Neither in the Almagest, nor in the Handy Tables,Footnote 45 were the amounts of the equation \(c_{7}\) tabulated. To our best knowledge, a table for it first appeared in Yaḥyā b. Abī Manṣūr’s Zīj al-mumtaḥan.Footnote 46 He and later Ibn Yūnus gave \(\hbox {max}(c_{7}) = 0{;}6{,}0^{\circ }\) for , and \(46^{\circ }\), presumably computed from the value \(i= 4{;}46^{\circ }\).Footnote 47 Al-Maghribī, in chapter 11, calls \(c_{7}\) as “the equation of the inclined sphere of the moon” (ta‘dīl al-falak al-mā’il) or “the equation of the shift” (ta‘dīl al-naql)Footnote 48 (fol. 83v) and explains how the equation to be calculated:

(52)

where \(i = 5^{\circ }\). Accordingly, \(\hbox {max}(c_{7}) = 0{;}6{,}33^{\circ }\) for , while the Muḥyī al-Dīn’s table gives 0;6,\(40^{\circ }\) for , and \(46^{\circ }\). The same table can be found in Khāzinī (Zīj, fol. 135r), the Īlkhānī zīj (C: p. 84), Kamālī (fols. 67r and 243v), Wābkanawī (T: fol. 156r), among others.Footnote 49 Bīrūnī (al-Qānūn, Vol. 2, p. 810), Kāshī (IO: fol. 133v; P: fol. 51v), and Ulugh Beg (P1: fol. 126v; P2: fol. 145r) accurately gave \(\hbox {max}(c_{7}) = 0{;}6{,}33^{\circ }\).

Table 4 An excerpt of Al-Maghribī’s table of the equation of center of the moon
Table 5 An excerpt of Al-Maghibī’s table of the epicyclic equation of the moon
Table 6 An excerpt of Al-Maghribī’s table of the equation of the inclined sphere of the moon
Table 7 Muḥyī al-Dīn’s lunar observation no. 6

3.6 The measurement of the lunar parallax

In Talkhīṣ VI, our author deals with the lunar parallax, the solar and lunar distances from the earth, and the theory of eclipses (corresponding to Almagest V, 11–16, VI). In order to measure the lunar parallax in the circle of altitude, the observation should be made when (a) the moon is near the points of the solstices ( or \(270^{\circ }\)), (b) its ascending node is near the points of the equinoxes ( or \(180^{\circ }\)) to cause the moon to have the maximum northern or southern latitude, and (c) the moon transits the local meridian. Through our author’s period of the observations at Maragha, such a situation occurred in March 1262.Footnote 50 In VI, 2 (fols. 85v–86r), He used an observation made on March 15, 1262 (Table 7).

From the tables of the mean motions, he gives the following mean positions for the instant of this observation:

(53)

and then he proceeds to compute the lunar parallax as follows:

 

Muḥyī al-Dīn

Modern

 

272;16,\(33^{\circ }\)

272;9,\(9^{\circ }\)

 

\(\beta \)

\(-\)4;57,20

\(-\)5;14,13

Declination

\(\delta \)

\(-\)28;25,53 [\(-\)28;26,7]\(^{1}\)

\(-\)28;45,23

Co-latitude

\(90-\varphi \)

52;39,30

52;36,14

Geocentric altitude

\(h_\mathrm{max}\)

24;13,37 [24;13,23]

23;50,51

Apparent altitude

\(h^{\prime }_\mathrm{max}\)

22;48

22;58,41

Parallax

\(\varPi \)

1;25,37 [1;25,23]

0;52,\(10^{2}\)

  1. \({}^{1}\) Our author’s calculation of the lunar declination, instead of taking its amount to be \(-\varepsilon -\beta _\mathrm{max}\), denotes that he by no mean roughly assumed that the longitudinal component of parallax is zero at the instant of the observation
  2. \({}^{2}\) This is, of course, not exactly the value of the parallax, owing to the effect of the atmospheric refraction which increases the observed altitudes and amounts to 0;2,\(0^{\circ }\) for the apparent altitude \(=\) 22;58,\(41^{\circ }\), with considering the weather conditions in this observation: temperature \(=10^{\circ }\) C and the atmospheric pressure \(=\) 850 mbar at Maragha with the elevation \(=\) 1,550 m from the sea level. \(\varPi \) is therefore approximately equal to \(0{;}54{,}10^{\circ }\)

In Talkhīṣ VI, 3 (fols. 86r–87v), using \(h^{\prime }_\mathrm{max} = \hbox {22;48}^{\circ }\) and \(\varPi =\hbox {1;25,37}^{\circ }\), our author found that the moon–earth distance at the instant of this observation was 36;59,53 terrestrial radii (\({}^\mathrm{tr})\). Using \(R = 60, e \approx 9\), and \(r = \hbox {5;12}\), he also calculated that this distance is 37;37,42 in terms of \(R = 60\). All of the dimensions of the lunar model may then be expressed in the unit \({}^\mathrm{tr}\) through multiplying them by the factor of

$$\begin{aligned} 36{;}59{,}53/37{;}37{,}42\approx 0{;}59 \end{aligned}$$
(54)

as Ptolemy held in Almagest V, 13. In Talkhīṣ VI, 4 (fols. 87v–91v), our author constructed the table of the lunar parallax like Almagest V, 18 for the following four limits on the basis of the dimensions computed from his new values for \(e\) and \(r\):

\(\bar{{\eta }}(^{\circ })\)

\(\bar{{\alpha }}(^{\circ })\)

Distance \((^\mathrm{tr})\)

0

0

64;6,48

0

180

53;53,12

90

0

46;24,48

90

180

36;11,12

Then, he instructed the operator how to calculate the lunar parallax from its geocentric altitude, elongation, and anomaly by the aid of the table. The table is given for the steps of \(3^{\circ }\), as in the Handy Table (an extract of this is shown in Table 8).

Table 8 Muḥyī al-Dīn’s table of the lunar parallax (fol. 90r)

In the rest of the book VI, there is nothing else new except three interesting points as follows. Like Ptolemy, Muḥyī al-Dīn held the opinion that the angular diameters of the sun and moon are equal at their greatest distances from the earth. Nevertheless, he found that the minimum apparent diameters of the sun and moon are about 0;31,\(8^{\circ }\), instead of Ptolemy’s value 0;31,\(20^{\circ }\). This is not, of course, an observational achievement, but the result of a remedy of Ptolemy’s computations in Almagest V, 14. Ptolemy calculated the apparent diameter of the moon from the data obtained from the Babylonian observations of the two lunar eclipses on April 21/22, 621 BC and July 16/17, 523 BC, and arrived at 0;31,\(20^{\circ }\) as the minimum value.Footnote 51 Muḥyī al-Dīn realized that on the basis of the data given by Ptolemy, in both the eclipses, the moon was not at its maximum distance from the earth. As a result, 0;31,\(20^{\circ }\) cannot be the minimum amount of the lunar apparent diameter. Based on Ptolemy’s data, in these eclipses, the lunar anomaly was, respectively, \(20^{\circ }\) and \(28^{\circ }\). Simply adopting the mean value \(24^{\circ }\) results that the moon was in the distance of 64;50 \((R = 60)\) from the earth. Thus, the moon’s apparent diameter at its greatest distance from the earth should be equal to \(\hbox {64;50} \times \hbox {0;31,20}/\hbox {65;15}=\hbox {0;31,8}^{\circ }\) (Talkhīṣ, VI, 6: fols. 94r–v). I do not know another medieval astronomer objecting Ptolemy at this point. An indispensable consequence of the value 0;31,\(8^{\circ }\) is that the sun’s greatest distance from the earth is \(1420.5^\mathrm{tr}\) (Talkhīṣ, VI, 7: fols. 95r–v) while Ptolemy has \(1260^\mathrm{tr}\). The last issue that is worth mentioning is the existence of a comprehensive account of the annular solar eclipses (Talkhīṣ, VI, 17: fol. 106r). Some scatter (either incidental or passing) allusions to this phenomenon prior to al-Maghribī can be addressed; e.g., Simplicius (6th ct.), Bīrūnī (11th ct.), and al-Khāzinī (12th ct.), among others.Footnote 52

4 Some technical and historical comments

4.1 Process of measurements

The way in which our author presented his process of observations and computations for measuring the lunar parameters most likely does not cover all of what he in reality did to obtain them. It is quite possible that other observations that he performed (esp. the other nine lunar eclipses that he may have witnessed; see the quotation in the end of Sect. 2), some intervening turns of computation, and/or intermediate results have been discarded. He should have started his final computations after he observed the third lunar eclipse in 1274. The basic parameters \(r,\,\omega _\mathrm{t}\), and could then be computed (Sects. 3.1, 3.2). After doing that, having referred to his recorded observations of 1264 (Tables 2 and 3), he first calculated \(e\) and \(\omega _\mathrm{a}\) and then examined the Ptolemaic model. He most likely dealt with the last computations documented in the Talkhīṣ in the period from August 1274 to December 1276, during which he was also busy with the preparation of the tables of second zīj, the Adwār. Meanwhile, he had thus to work with a preliminary set of parameters which resulted from his earlier unrecorded observations and undocumented computations at Maragha, were taken from his previous zīj, the Tāj al-azyāj, or were borrowed from his predecessors. It seems our author was utilizing his earlier parameters as well as Ptolemy’s.Footnote 53 He refers to his Islamic predecessors very rarely; besides the observations of the autumnal equinoxes by Yaḥyā b. Abī Manṣūr (Baghdad) and by al-Marwarūdhī and Sanad b. ‘Alī (Damascus), which he compared with his autumnal equinox observation of September 15, 1264 in order to determine the length of the tropical year (365;14,30 days),Footnote 54 no further allusion to his Islamic predecessors may be found in the Talkhīṣ.Footnote 55

4.2 Lunar maximum latitude

Our author’s step of measurement devoted to determine the value of the maximum latitude or the inclination of the orbit of the moon \(\beta _\mathrm{max}=i = 5^{\circ }\) (Sect. 3.5) does not seem so reasonable because, in order to measure (Sect. 3.2), the value \(\beta _\mathrm{max} = 5^{\circ }\) has already been used to compute in the lunar eclipse no. 3. Now, using the table of , the same value for has in fact been redeployed in order to compute \(\beta _\mathrm{max}\). Thus, the procedure is indeed circular. It seems our author has only tried to justify why he has used the value \(\beta _\mathrm{max} = 5^{\circ }\) which had been accepted from the antiquity to the medieval period, and he himself did not attempt to measure this value.

In order to determine the moon’s maximum latitude, one has to measure the apparent meridian altitude \(h^{\prime }_\mathrm{max}\) of the moon when its longitude is around \(90^{\circ }\) and its ascending node is near the vernal equinox, because, only under this condition, the lunar parallax will have its minimum amount. Then, the maximum latitude will be obtained as \(\beta _\mathrm{max}=h^{\prime } + \varPi - (90^{\circ } - \varphi + \varepsilon )\).Footnote 56 One attempt made during the medieval Islamic period for measuring \(\beta _\mathrm{max}\) is that of the Banū Mūsā at Baghdad, which has been documented in Bīrunī’s al-Qānūn al-mas‘ūdī:Footnote 57

Date

 

\(h^{\prime }\)

\(\varepsilon \)

\(\varphi \)

\(\varPi \)

\(\beta \)

figure ad

Monday, 28 Ābān 239 Y

Banū Mūsā:

84;\(53^{\circ }\)

23;\(33^{\circ }\)

33;\(20^{\circ }\)

0;\(5^{\circ }\)

4;\(45^{\circ }\)

90-0;\(3^{\circ }\)

11 Dec. 870 AD, JDN 2039170

Modern:

84;56

23;35

33;20

0;5

4;56

\(\sim \)81

The altitude value is expressed as , which gives the impression that the instrument used had maybe been graduated for each \(3^{\prime }\). The input data are relatively correct and even the parallax had been calculated based on a horizontal parallax 0;\(56^{\circ }\) found in Indian sources, which is more accurate than Ptolemy’s 1;\(26^{\circ }\).Footnote 58 Nevertheless, the measured \(\beta \) is not \(\beta _\mathrm{max}\), simply because at the instant of the observation, the moon was not in , but in , and also .

4.3 Lunar parallax in the observations nos. 4 and 5

Another example to show Muḥyī al-Dīn working with pre-existing parameters is the problem of the lunar parallax confronted in the observations nos. 4 and 5. In order to measure the eccentricity as well as to test the Ptolemaic lunar model, one of our author’s input observational data is the amount of the parallax while it can be calculated if and only if the lunar eccentricity, and thus the moon-earth distance are known. In the end of his computations as presented above in Sects. 3.3 and 3.4, our author computed the amounts of the lunar parallax for the instants of the observations nos. 4 and 5 from the distances resulting from the new value \(e= 9\) in order to verify that his input data in both observations are correct. The argument appears to be circular again.

In order to neutralize the effect of parallax on the lunar longitude, the observation should be made when the moon’s longitude equals the culminating point of the ecliptic. In such a situation, the ecliptic will be perpendicular to the lunar altitude circle and thus the longitudinal component of parallax becomes zero. As we have already seen in Sects. 3.3 and 3.4 and it will also be discussed below (cf. Sect. 4.6), our author did not directly measure longitudes, rather he measured the meridian altitude and time, and then converted them to the ecliptical coordinates. As a result, in order to neutralize the effect of parallax along with utilizing our author’s special method, the observation should be made when both the ecliptic is perpendicular to the meridian and the moon is appreciably near the points of the solstices, i.e., when the culminating point of the ecliptic, the mid-heaven, and the longitude of the moon are all equal. This situation occurs in observations like those employed to determine the maximum lunar latitude or parallax (e.g., the observation no. 6). Of course, it should also satisfy the other two conditions mentioned in the beginning of Sect. 3.3. Such a situation occurs very rarely and also gathering all conditions to allow doing such a measurement is very hard to achieve. For instance, in the observation no. 6 (Table 7), the moon was near, but not exactly in and so the ecliptic was not firmly perpendicular to the local meridian. Moreover, at that instant, the moon’s anomaly was \(\alpha \approx 156^{\circ }\), far from the epicyclic quadrature. This observation could thus not serve for such a purpose.

Nevertheless, there may be an explanation for decoding the text at this point. It comes from our author’s style of rounding in the case of the value obtained for the minimum distance between the lunar epicycle center and the earth: he computed BD = 41;51 (Fig. 7) and rounded it to 42 and, as a result, \(e = 9\) is given instead of \(e = \hbox {9;4,30}\,(R = AD = 60)\). This gives impression that he started out the computation from some already-existed values for the lunar parallax to obtain an estimate for, or to find the amplitude of the variation in, \(e\). It may simply be shown that the Ptolemaic value for the lunar parallax in the altitude circle in a situation similar to the observations no. 4 is not more than \(\varPi =\hbox {1;19}^{\circ }\).Footnote 59 Working with the latter value (i.e., more than our author’s value by \(4^{\prime }\)) makes a difference of \(+\hbox {0;3,11}^{\circ }\) in

figure ae

[cf. (38)] and so a difference of \(-\hbox {0;3,11}^{\circ }\) in

figure af

; i.e., 7;4,\(21^{\circ }\) instead of 7;7,\(32^{\circ }\) (cf. (43)). Therefore, \(BD = \hbox {42;9,29} \approx 42\) and hence \(e = \hbox {8;55,16} \approx 9\). (Note that working even with the drastically deviated values like \(\varPi = \hbox {1;0}^{\circ }\) and \(\hbox {1;30}^{\circ }\), making the differences of \(-\hbox {0;0,17}^{\circ }\) and \(+\hbox {0;5,11}^{\circ }\) in

figure ag

, respectively, do not result in a rounded value other than \(e \approx 9\), i.e., 9;5 and 8;49, respectively.) This could make our author confident that \(e\) should be around 9, but he was probably and naturally not certain about its sexagesimal fractions. This appears to be the reason why our author gave the final result only in an integer number. It is deserved to notice that our author was likely aware of the fact that any change in the value of \(e\) by some minutes has a negligible effect on the lunar longitude.

4.4 Equation of time

The mean time intervals between the two eclipses [cf. Sect. 3.1 and 3.2(21)] contain the amounts due to the equation of timeFootnote 60, which must be taken into account in order to compute the true time intervals between them. The longitude values should also be modified by the correction amounts resulting from the equation of time. We have already shown that recalculated for the instant of the maximum phase of the eclipse no. 1 based on our author’s tables coincides precisely with the value given by him (cf. note 22) as well as appreciably with the modern one. Following the same procedure to calculate for the other two eclipses results in the values given by our author (Col. 6 of Table 1). It thus seems that the correction due to equation of time has been neglected in each instance. This is apparently a consequence of the fact that our author did not believe that the equation of time exists. Wābkanawī reports that “if the day is counted from one midday to the next, the difference occurring in the [length] of days is only due to the equation of days [i.e., equation of time] according to the opinion of the majority of astronomers, except Mawlānā [i.e., our master] Muḥyī al-Dīn al-Maghribī. He believed that it does not exist. In his Majisṭī, he has presented a proof for his claim. And [in this case,] the opinion of the majority [of the astronomers] is correct.”Footnote 61 Accordingly, a table of the equation of time is found neither in the Talkhīṣ, nor in the Adwār. Although such a crude opinion indeed appears to be unjustifiable, it may be found at least in one other work from the thirteenth century: Kamāli reports concerning the Zīj al-Mughnī written by a certain Muntakhab al-Dīn Sakkāk (or Hakkāk) of Yazd (a city in central Iran) that its author did not put any difference between the mean and true solar days.Footnote 62

4.5 Instruments

As we have already seen, our author’s observational data are altitudes and times of day. The majority of our author’s meridian altitude measurements, as explicitly mentioned by him in each case, were performed by the aid of the central quadrant of the observatoryFootnote 63 (engraved for each \(0.5^{\prime }\)), and most of the times by a clepsydra (see below).

Our author does not specify the instrument utilized for measuring the altitudes in the observations nos. 4–6. Although four of the large-sized instruments constructed in the observatory were altitude-azimuthal, only one of them, the so-called having the two quadrants, could be used for simultaneous observations of the horizontal coordinates of two celestial objects that appear in any angular distant from each other in the sky, as it is the case with the observations nos. 4 and 5.Footnote 64 We may thus suggest that the instrument “having the two quadrants” was utilized in the observations nos. 4–6, and more likely in other similar cases. Based on the times that our author gives for the observations nos. 4–6 (Tables 23, and 7), it is evident that the moon had yet about one–two degrees of azimuth to travel until it reached the meridian of Maragha. This type of systematic error suggests the occurrence of a misalignment of about one degree toward the east in the meridian line marked on the azimuth circle of the instrument “having the two quadrants.” The error in the altitude of the sun and of the moon in observations nos. 4 and 5 was around \(\pm 10^{\prime }\) and \(\pm 20^{\prime }\), respectively, and that of the moon in observation no. 6 around \(-10^{\prime }\).

Muḥyī al-Dīn frequently referred to the application of a clepsydra or water-clock in his systematic observations. In Persian, the term pangān was used to refer to clepsydra,Footnote 65 which was Arabicized both as bankām and as fankān in the Islamic period; the first was utilized to name “water-clock,” in particular, and the latter was employed to call “clock,” in general. Al-Maghribī, however, mentions the name of the clepsydra as mankām which seems to be a corruption of bankām. Based on the information given by al-Maghribī, one may only speculate about its calibrations, but nothing more is known on its structure. The clepsydra used in al-Maghribī’s observations, of course, appears to have been of a good accuracy, so that it could fix the time intervals with a precision of only a few minutes (in the case of the lunar eclipses: error \(\approx \) +5 min; cf. Sect. 2). It may be mentioned that the use of the clepsydras having compound mechanical components was well established in Chinese astronomy since, at least, the eleventh century.Footnote 66 Due to the verified cultural relations between the two realms of Mongolian empire (i.e., Iran and China) and, especially, considering the fact that the Chinese astronomers (at least, a Fu Mengchi or Fu Muzhai) worked at the Maragha observatory,Footnote 67 perhaps, there was a connection between the clepsydra of the Maragha observatory and the Chinese elaborated technology of making time-measuring devices.

4.6 Al-Maghribī’s method of obtaining the ecliptical coordinates

The observational data achieved were converted to the ecliptical coordinates which served as the input data for the computation (cf. Sects. 3.3 and 3.4). We are not told the reason why our author preferred coping with this relatively lengthy process of doing computations over utilizing an armillary sphere through which he could read off the ecliptical coordinates directly. It is probable that he saw some difficulties in working with the instrument.Footnote 68 Throughout the treatise, the use of the armillary sphere is only mentioned in a passage in VII, 4, which is in fact a quotation from Almagest IX, 2Footnote 69 related to the observations of the planetary conjunctions with the stars. We know that a model of the armillary sphere had more likely been built in the observatory (radius of its ecliptic ring \(\approx \) 200 cm). Muḥyī al-Dīn’s specific treatment produced some restrictions on his measurements. For instance, when dealing with the stellar measurements in the Talkhīṣ, he complains that

“it is not possible for us to observe either Vega (\(\alpha \) Lyrae) or Capella (\(\alpha \) Aurigae), both of which transit the circle of meridian in its northern direction, because there is no northern quadrant [established] on the meridian line in this auspicious, blessed observation[-al program].”Footnote 70

4.7 Historical values

The more important values obtained for the lunar parameters by medieval Islamic astronomers in the Middle East are summarized in Table 9. As it may evidently be seen, some of these astronomers obtained values around Muḥyī al-Dīn’s \(r= 5{;}12\) (corresponding to \(\hbox {max}(c_{4}) = 4{;}58^{\circ }\)). Accordingly, it should not be considered as a sheer novel value (however, the independent result of a new set of observational data). Ibn al-A‘lam’s \(\hbox {max}(c_{4}) = 4{;}51^{\circ }\) is found in Muḥyī al-Dīn’s Tāj al-azyāj.Footnote 71 Although it is possible that he adopted it from Ibn al-A‘lam, it may also be the fruit of an independent observation done in Damascus, like his independently measured value \(\hbox {max}(c_{4}) = \hbox {4;58}^{\circ }\). The existence of other new parameters in the Tāj al-azyāj gives a preference to the latter possibility.

Table 9 The non-Ptolemaic lunar parameters from medieval Islamic astronomy

To my best knowledge, only two Islamic astronomers besides our author presented their observational data of a trio of lunar eclipses and explained how a value for \(r\) could be computed from them: al-Bīrūnī in al-Qānūn al-mas‘ūdī (the lunar eclipses of AD 1003–4)Footnote 72 and al-Kāshī in Khāqānī zīj (the lunar eclipses of AD 1406–7).Footnote 73 Considering the new values for \(e\) in the Islamic period, it may be mentioned that Bīrūnī’s \(e=\hbox {10;51}\) is not a value obtained from independent observations, but is the fruit of a remedy of Ptolemy’s computations in Almagest V, 3 (see below). The other value is \(e = \hbox {10;23}\) adopted in Ulugh Beg’s Sulṭānī zīj. Nevertheless, other than Muḥyī al-Dīn’s, no account of the measurement of \(e\) from independent observational data appears to exist.

[1] and [2] Kamālī, fols. 49r and 229v–230r. He also attributes \(\hbox {max}(c_{4}) = \hbox {4;56}^{\circ }\) to Indians and 5;\(0^{\circ }\) to Buzarjumihr denoting pre-Islamic Persian astronomy (the tradition of the Shāh zīj?).

[3] Ibn Yūnūs, pp. 121/176. From \(\hbox {max}(c_{4}) = \hbox {4;48}^{\circ },\,r= \hbox {5;1,14}\approx \hbox {5;1}\). Ibn Yūnus has \(\hbox {max}(c) = \hbox {7;38,34}^{\circ }\) (the sum of \(c_{4}(98) = \hbox {4;47,34}\) and \(\hbox {max}(c_{5})= c_{5}(98) = \hbox {2;51}\)). Note that these numbers are not in agreement with each other because one simply obtains from \(\hbox {max}(c_{4}) = \hbox {4;48}^{\circ }\) and \(\hbox {max}(c) = \hbox {7;38,34}^{\circ },\,e \approx \hbox {11;7}\) rather than \(e \approx \hbox {10;19}\). It seems that Ibn Yūnus accepted the value \(\hbox {max}(c_{5}) = \hbox {2;51}^{\circ }\) to keep the maximum amount of the lunar epicyclic equation near the Ptolemaic value 7;\(40^{\circ }\) without examining carefully whether or not they are in agreement with each other. See also below, Table 12, for Ibn Yūnus’ values for the lunar mean motions.

[4] Bīrūnī computed \(r = \hbox {5;11,43,36}\) from his observations of the three lunar eclipses occurred in the period of AD 1003–4 (al-Qānūn, Vol. 2, pp. 742–743, misprinted as \(4;\ldots \)) and obtained \(r \approx \hbox {5;13,45}\) from the data preserved by Ptolemy for the three Babylonian eclipses (Almagest IV, 11) (ibid., pp. 736/746, misprinted as 4;18,...and 5;38,..., respectively). He, however, gave \(r = \hbox {5;11,45,17}\) (ibid., p. 747, misprinted as 5;41,...) as his last result, from which he derived \(\hbox {max}(c_{4})=\hbox {4;58,4,38}^{\circ }\) and rounded it to 4;58,\(5^{\circ }\) (ibid., p. 792). His tables are asymmetrical, giving \(\hbox {Min} = \hbox {0;1,55}^{\circ }\) and \(\hbox {Max} = \hbox {9;58,5}^{\circ }\), from which \(\hbox {max}(c_{3}) = \hbox {4;58,5}^{\circ }\) is indeed resulted. Bīrūnī did not attempt to measure the lunar second anomaly and thus its eccentricity. He, who shows the considerable reliance upon the observations of the Banū Mūsā, mentions that it was not possible to the Banū Mūsā to measure carefully the lunar second anomaly, presumably because at the instant of the observation, “the moon was far distant from the qudrature.” Nevertheless, the value of the lunar second anomaly was roughly determined to be \(\hbox {2;40}\pm \hbox {0;48}^{\circ }\). Thus, “since we do not find,” Bīrūnī says, “the amount on which we can rely, we return back to Ptolemy’s computation and scrutinize it in the Almagest.” He examined Ptolemy’s calculations to determine the amount of the second lunar anomaly on the basis of the two observations made by Hipparchus and Ptolemy himself (Almagest V, 3) and obtained a value different from Ptolemy’s, i.e., \(\hbox {max}(c) = \hbox {7;48,8}^{\circ }\), and hence a “non-Ptolemaic” value \(e\approx \hbox {10;51}\) (ibid., pp. 793–794). He then computed \(q_\mathrm{max} = \hbox {13;50,2}^{\circ }\) (ibid., p. 803; the correct amount is 14;\(10^{\circ }\)).Footnote 74 From his asymmetrical table with \(\hbox {Min} = \hbox {1;2,48}^{\circ }\) and \(\hbox {Max} = \hbox {28;50,2}^{\circ },\,q_\mathrm{max} =\hbox {13;53,37}^{\circ }\) resulted, however.

[6] Kāshī, IO: fols. 132v–133r; P: pp. 132/135. His tables gives \(\hbox {max}(c) \approx \hbox {7;42,19}^{\circ }\) (= the sum of \(c_{4}(98) = \hbox {5;2,26}^{\circ }\) and \(c_{5}(98) =\hbox {2;39,53}^{\circ }\)), nearly in agreement with the desired value 7;42,\(27^{\circ }\).

[7] There is a table in Ulugh Beg’s Sulṭānī zīj giving the distance \(\varDelta \) of the moon from the earth when \(\bar{{\eta }}=0\!:\,\varDelta _\mathrm{max}= \hbox {65;12,24}\) and \(\varDelta _\mathrm{min} = \hbox {54;47,36}\), then \(r= \hbox {5;12,24}\) (P1: fol. 131v; P2: fol. 150v). The table for \(c_{3}\) (P1: fol. 128r; P2: fol. 143v) is asymmetrical, giving \(c^{\prime }_{3}(0) =\hbox {13;15,34}^{\circ },\,c^{\prime }_{3}(114) = \hbox {26;31,8}^{\circ }\) and \(c^{\prime }_{3}(246) = 0\). It is obvious that the constant \(k = \hbox {13;15,34}^{\circ }\) has been added to all of the entries of the corresponding symmetrical table, \(c_{3}\), to produce the asymmetrical table: \(c^{\prime }_{3}= c_{3}+k\). Thus, \(\hbox {max}(c_{3})=c_{3}(116) = \hbox {13;15,34}^{\circ }\), and hence \(e \approx \hbox {10;23}\). A re-computation of the table with \(e \approx \hbox {10;23}\) as the underlying parameter produces the results which are in excellent agreement with the entries of the original table (see Table 10; wherever there is a divergence between the tabulated and the corresponding true values, the difference (although all are about a few arc-seconds) is given within parentheses).

Table 10 The table of the lunar equation of center in Ulugh Beg’s Sulṭānī zīj

5 The historical and the modern testing of the times of the lunar synodic phenomena computed from the parameters of the zījes of the Maragha tradition

Table 11 presents the ecliptical coordinates of the moon calculated based on Muḥyī al-Dīn’s tables, i.e., taking the tabulated accumulation of the mean motions and interpolating in the tables of the equations, for a month since the epoch (i.e., from 17 January through February 16, 1232). Table 12 summarizes the epoch values for the mean longitude and mean anomaly of the moon and the longitude of its orbital ascending node as given by al-Maghribī (for mean noon of 5/13/600 Y, 17 January 1232, JDN 2171062, at Maragha; cf. above, (32)) as well as in the Īlkhānī zīj (for mean noon of 1/1/601 Y, 18 January 1232 at Maragha). The lunar mean positions of the Īlkhānī zīj for January 17, 1232 are simply produced by subtracting the daily mean motions given in the zīj from its mean positions at the epoch. The comparison with the modern values obviously shows that both the epoch values for the lunar mean longitude are nearly of the same accuracy (error \(\approx -11^{\prime }\) in the case of Muḥyī al-Dīn and \(-9^{\prime }\) in the case of the Īlkhānī zīj). But the Īlkhānī zīj has a better value for the lunar mean anomaly at the epoch (error \(\approx -23^{\prime })\) than al-Maghribī (error \(\approx +3^{\circ }\,44^{\prime })\). Considering the epoch values for the longitude of the lunar ascending node, al-Maghribī has a bit more accurate value (error \(\approx +7^{\prime })\) than the Īlkhānī zīj (error \(\approx +14^{\prime })\).

Table 11 The ecliptical coordinates of the moon calculated from Muḥyīal-Dīn’s tables of the lunar mean motions and equations for a month since the epoch (17 January 1232)
Table 12 The lunar mean positions at the epoch as given by al-Maghribī and the Īlkhānī zīj in comparison with the modern values

The underlying parameters of the Īlkhānī zīj, as its author clearly says in the prologue,Footnote 75 had been borrowed from the zījes of Ibn al-A‘lam and Ibn Yūnus. Of course, both \(r\) and \(e\) in the Īlkhānī zīj are Ptolemaic,Footnote 76 and thus none of the ‘new’ values observed by Ibn Yūnus and Ibn al-A‘lam (cf. Table 9, nos. 2 and 3) are employed in it. It thus seems that al-Ṭūsī refers to the mean motions adopted in the Īlkhānī zīj. Table 13 summarizes Ibn Yūnus’s solar and lunar mean motions in a Persian/Egyptian year given in the canons of his zīj, the daily mean motions resulting from them (I), and the rounded values tabulated in his zīj (II)Footnote 77 in comparison with the Īlkhānī zīj (III), Ptolemy (IV), and Muḥyī al-Dīn (V). Therefore, the mean motions of the sun and moon in the Īlkhānī zīj appear to have been borrowed from Ibn Yūnus. However, this conclusion needs a further mathematical analysis to be verified completely.Footnote 78

Table 13 The historical values for the mean motions of the sun and moon

(1) Counted from the apogee. (2) The table has \(\hbox {226;46,22}^{\circ }\), but since the table for \(c_{4}\) is asymmetric giving \(c^{\prime }_{4}(0) = +\hbox {7;40}^{\circ }\), it is evident that all of the mean longitudes were decreased by \(\hbox {7;40}^{\circ }\) and then tabulated; thus, \(\hbox {226;46,22} + \hbox {7;40} = \hbox {234;26,22}^{\circ }\). This is in agreement with the tabulated value for the double mean elongation at the epoch, \(\hbox {220;50,31}^{\circ }\), because the Īlkhānī zīj has the solar mean anomaly at the epoch = 215;36,\(15^{\circ }\) and the longitude of the solar apogee at the epoch = 86;24,\(21^{\circ }\) and gives an asymmetric table for the solar equation of center, whose maximum value is \(+\)2;0,\(30^{\circ }\).Footnote 79 Then, the sun’s mean position at the epoch is 304;1,\(6^{\circ }\). Therefore, the moon’s double mean elongation at the epoch is \(2 \times (\hbox {234;26,22} - \hbox {304;1,6}) =\hbox {220;50,31}^{\circ }\). (3) Table has \(\hbox {245;1,27}^{\circ }\) and the table for \(c_{3}\) is asymmetric giving \(c^{\prime }_{3}(0) = +\hbox {13;8}^{\circ }\). It is then known that all of the entries of the table for the lunar mean anomaly were decreased by 13;\(8^{\circ }\) and then tabulated; therefore, \(\hbox {245;1,27} + \hbox {13;8} = \hbox {258;9,27}^{\circ }\).

A good time after the two zījes, i.e., al-Maghribī’s Adwār and the Īlkhānī zīj, appeared, al-Zīj al-muḥaqqaq al-sulṭānī (completed between 1316 and 1324) was written by Shams al-Dīn Muḥammad al-Khwāja Shams al-Munajjim al-Wābkanawī al-Bukhārī at the Maragha observatory.Footnote 80 The period of Wābkanawī’s observations, as he himself says, extended over 40 years. The first observation documented in his zīj is the measurement of the lunar altitude on 3 December 1272, which, as he explicitly mentioned, had been done at Maragha and shows that he was there at least since 1272.Footnote 81 The last observation documented is that of the triple conjunctions of the two superior planets, i.e., Jupiter and Saturn, in 1305–6 (we are not told the place of this observation).Footnote 82 Meanwhile, he mentioned the observation of the annular

eclipse of 30 January 1283 in MughānFootnote 83 and that of the great conjunction of 1286 (the place of the observation was not given).Footnote 84 Based on the explanations given in the prologue of the zīj, these observations were mainly focused on testing the data derived from the various zījes against observations. With regard to his explanations, it appears he paid considerable attention to test the Īlkhānī zīj, which was regarded as the main achievement of the observatory, and Muḥyī al-Dīn’s Adwār against the observations. He gives the numerical results concerning his comparative studies. He finally was convinced that the times of the occurrence of the astronomical phenomena such as conjunctions and oppositions as well as the planetary ecliptical coordinates calculated based on the Īlkhānī zīj did not coincide with the data derived from the observations, and added that, especially in the case of magnitudes and the instants of the eclipses’ phases, heavy disagreements and evident differences were observed.Footnote 85 Conversely, the Adwār al-anwār gave the results in good agreement with the observations, which persuaded him to adopt all of Muḥyī al-Dīn’s new values for the Ptolemaic parameters in his zīj: “we observed all of them [i.e., the previously mentioned phenomena] based on the principles established in this zīj and found the calculated [position and/or time] in agreement with the observed [position and/or time].”Footnote 86 He also strictly criticized the Īlkhānī zīj especially for the reason that its fundamental planetary parameters were adopted from earlier zījes. He referred to Muḥyī al-Dīn’s Adwār as based on “the New Ilkhanid Observations” (i.e., Muḥyī al-Dīn’s own observations) for the sake of making a distinction between it and the Īlkhānī zīj which was assumed to be obtained through the “Ilkhanid Observations” (i.e., the observational program supervised by al-Ṭūsī and performed by his colleagues).Footnote 87 Wābkanawī, as he himself says in his zīj’s introduction, attempted to correct the minor disagreements found in “the principles of the Ilkhānīd observations” (i.e., al-Maghribī’s parameters) with regards to the results which, our author claims, had been obtained from observations during his 40-year career. One of them is the increase in Muḥyī al-Dīn’s value for the mean longitude of the moon by 0;13,\(11^{\circ }\), which is equivalent to a difference of about 24 min in the arrival of the mean moon at a specific longitude between the times computed from al-Maghribī’s and Wābkanawī’s zījes.Footnote 88 As a result, for the synodic phenomena such as new moons or full moons, it is expected that the times computed from Wābkanawī’s zīj precede those obtained from al-Maghribī’s.

That the author has presented such quantitative conclusions is significant and here is an appropriate opportunity to check them by means of testing the values derived from Īlkhānī zīj and al-Maghribī’s Adwār/Talkhīṣ against the true modern values.Footnote 89 In doing so, the times of the new moons for 135 lunations during the 1270s (from December 24, 1269 through November 24, 1280) were computed from the three zījes, Muḥyī al-Dīn’s, Īlkhānī zīj, and Wābkanawī’s, and then the found errors were plotted in the graphs of Fig. 10a–c, respectively.Footnote 90 The mean values of the errors are, respectively, \(+\)18.3, \(+\)21.3, and \(-\)7.3 min. In 85 cases (i.e., 62.5 percent), Wābkanawī has considerably better values than al-Maghribī. Accordingly, Wābkanawī’s modification of al-Maghribī’s value for the mean longitude of the moon seems to have improved the times computed.

Fig. 10
figure 10figure 10

The errors in the times computed for 136 new moons in the 1270s (from December 24, 1269 to November 24, 1280) based on the parameters of a al-Maghribī, b Īlkhānī zīj, and c Wābkanawī. The horizontal lines show the mean values of errors which are about \(+\)18.3, \(+\)21.3, and \(-\)7.3 min, respectively

Table 14 The lunar eclipses observable at their maximum phases from Maragha during the 1270s–1310s

Wābkanawī could test the theoretical values against the observations of the lunar eclipses in a sufficiently long period. He did so, as he claims, during his 40-year career. From the early 1270s to the end of the 1310s, the 15 lunar total eclipses were observable at their maximum phases from Maragha (cf. Table 14). Let us assume that Wābkanawī had observed them. What could he find then? We know that he had access to a clepsydra called Pangān, maybe the same model of which al-Maghribī made use. We already estimated its accuracy to be about 5 min (cf. Sect. 4.5). In his zīj (IV, 15, 8–9),Footnote 91 Wābkanawī mentions the two methods in order to measure the times of the phases of an eclipse: (1) the standard method of computing the time from the altitude of the sun (in the case of a solar eclipse) or the moon and reference stars (in the case of a lunar eclipse) and (2) using the clepsydra. They together, as Wābkanawī emphasized, constituted a method that might reduce the probable errors in measuring time. In Table 14, the times of the maximum phases of these 15 lunar total eclipses calculated based on these three zījes were compared with the true modern values. Comparing al-Maghribī’s times with those given by the Īlkhānī zīj shows that each set have more accurate values for about half number of the eclipses; the mean values of errors are about \(+\)24 and \(+\)30 min, respectively. Wābkanawī has nine values more accurate than the Īlkhānī zīj, while for the two eclipses (i.e., 1302-01-15 and 1320-07-21), the errors of the two zījes (regardless of sign) are equal. Comparing with Muḥyī al-Dīn, Wābkanawī has 11 more accurate values. In the case of Wābkanawī, the mean value of the errors is only \(-\)2 min. Therefore, it can obviously be seen that Wābkanawī’s modification of al-Maghribī’s value for the mean longitude of the moon significantly resulted in reducing errors by a mean value of 22 min. I believe that this statistically suggests that his correction of al-Maghribī’s value for the lunar mean longitude at the epoch was the result of doing observations. The similar conclusion may be drawn from the computation of the annular solar eclipse of January 30, 1283. The error in the time of the maximum phase of this eclipse as computed by Wābkanawī in his zīj for the latitude of Mughān (northwestern Iran, \(\varphi \approx 39^{\circ }\)) in comparison with the modern data is \(-\)4 min while the time computed according to al-Maghribī’s parameter values (i.e., only neglecting Wābkanawī’s modification of al-Maghribī’s value for the lunar mean longitude at the epoch) is +28 min.Footnote 92

6 Concluding remarks

In this paper, we presented Muḥyī al-Dīn al-Maghribī’s determination of the parameters of the Ptolemaic lunar model at the Maragha observatory in the 1270s and 1280s based on the contents of books V and VI of his Talkhīṣ al-majisṭī. As we already mentioned, besides al-Bīrūnī (11th ct.) and al-Kāshī (15th ct.), who documented their determinations of the size of the lunar epicycle and the lunar mean motions, al-Maghribī is the only Islamic astronomer who gave the account of his determination of all of the lunar parameters on the basis of the data obtained from observations. His observations and computations were explained in Sect. 3, and some of their distinct features were commented upon in Sect. 4. The results were compared with the values preserved from other medieval Middle Eastern astronomers (4.7). Al-Maghribī obtained new values for the lunar mean motions (3.2), eccentricity (3.3), and parallax (3.6). The value 5;12 our author found for the size of the epicycle (3.1) dates, at least, back to the early tenth century, and in the case of the inclination of the lunar orbit, he preferred to stay with the ancient value \(5^{\circ }\) (3.5). Our author also tested the Ptolemaic lunar model and verified that the distance between the point of prosneusis and the earth’s center is equal to the eccentricity.

Muḥyī al-Dīn, as the contents of the Talkhīṣ illustrate, was a well-experienced astronomer who knew when and under what conditions he could find what he sought after. For example, the lunar observation no. 6 was done when only three years had been elapsed after laying of the cornerstone of the observatory while its buildings and instruments had not yet been constructed completely; as already discussed (cf. Sect. 3.6 and note 50), the specific situation concerning the positions of the moon in connection with the ecliptic and the position of the ecliptic with respect to the local horizon at the instant of this observation, which satisfied the essential conditions for measuring the lunar parallax, did not occur again at Maragha until nine years later.

We also dealt, as a case study, with Wābkanawī’s attempts for reconciling theory and observation as regard the times of the lunar synodic phenomena computed from the zījes of the Maragha tradition. It was concluded that al-Maghribī’s parameter values resulted in times that agree only a bit better with the true modern values than those computed from the Īlkhānī zīj. But Wābkanawī’s modification of al-Maghribī’s value for the lunar mean longitude appears to make a remarkable improvement on times computed from al-Maghribī’s values for the lunar parameters that were determined at the Maragha observatory.