← Back to 清史稿

卷46 志二十一 时宪二 推步算術

Volume 46 Treatises 21: Calendar 2, Tui Bu Suan Shu

Chapter 46 of 清史稿 · Draft History of Qing
← Previous Chapter
Chapter 46
Next Chapter →
1
Treatise 21
2
Shixian Calendar 2
3
Computational Methods for Calendrical Astronomy
4
The new calendrical methods rely on plane triangles, spherical triangles, and ellipses. Here we summarize their essentials, show the principles behind their formulation, confirm the numbers used in practice, and collect sixteen methods in all for this chapter.
5
A plane triangle is formed where three straight lines meet. The lines are its sides, and the space between two sides is the angle. There is the right angle, equal to one quarter of a full circle, as in angle A of triangle ABC. There is the acute angle, less than a quarter circle, as in angles B and C. There is the obtuse angle, greater than a quarter circle, as in angle E of triangle DEF. Diagram not yet available
6
Every angle, whatever its measure, has a corresponding set of eight trigonometric lines. They are the sine, versed sine, secant, and tangent—the four functions for a given angle and for its complement to ninety degrees; if AB is the principal arc, then CB is the complementary arc. Sine BE, versed sine AE, secant GD, tangent GA; cosine BF, coversed sine CF, cosecant HD, cotangent HC. If RS is the principal arc, then TS is the complement: sine SC, versed sine RC, cosine SD, coversed sine TD, cosecant FE, cotangent TE. When the principal arc exceeds ninety degrees there is no direct secant or tangent; one borrows the secant and tangent of the supplementary construction instead. If the principal arc is exactly ninety degrees, there is no complement: the radius itself is the sine, and the radius is also the versed sine; secant, tangent, and all four complementary functions vanish as well.
7
Tradition fixed the full circle at 360 degrees; one quarter, called a quadrant, is 90 degrees. Each degree divides into sixty minutes, each minute into sixty seconds, and each second into sixty micro-units. The circle's radius was first set at 100,000, later raised to 10,000,000. The eight lines are computed for every degree and minute and laid out in tables. In triangle calculation within ninety degrees, to obtain a given line for a given angle, one looks it up in the table. To find an angle, one matches the value against the table. Beyond ninety degrees, to use sine, secant, tangent, or any of the four complementary functions, one subtracts the angle from 180° and looks up the remainder in the table. For the versed sine, add the radius to the cosine. Once a line is known, to recover the angle one matches it in the table and names the complement to 180° when appropriate.
8
Diagram not yet available
9
Plane triangles are solved by five methods:
10
First, to find an unknown angle from a known side: set the known side as the first term, the sine of the known opposite angle as the second, and the other known side as the third; multiply the second and third and divide by the first to obtain the sine of the unknown angle. In the figure, AB is the known side, angle D the known opposite angle, BD the other known side, and angle A the unknown opposite angle. The principle is to combine two successive proportions into one. In the figure, BD is to the radius as BC is to the sine of angle D. First set the radius as the first term, the sine of angle D as the second, and BD as the third; the fourth term is the perpendicular BC. Once BC is known, AB is to the radius as BC is to the sine of angle A. Then set AB as the first term, BC as the second, and the radius as the third; the fourth term is the sine of angle A. Combining the two steps yields a single proportion: AB as the first term, the sine of angle D as the second, and BD as the third; the fourth term is the sine of angle A, after canceling the intermediate perpendicular. Because a division would follow anyway, it is better to omit the intermediate multiplication. BC in the combined second term would be multiplied by the third and then divided out again, so BC can be dropped. The radius in the combined third term would be multiplied by the second while the radius in the first term divides; these cancel, so the radius drops out entirely. Hence one may proceed directly: AB as first term, sine of angle D as second, BD as third; the fourth term is the sine of angle A.
11
Second, to find an unknown side from a known angle: set the sine of the known angle as the first term, the known opposite side as the second, and the sine of the other known angle as the third; the fourth term is the unknown side. This is the converse of the first method and is self-evident when read in reverse.
12
Third, given two sides and the included angle, to find the other two angles: set the sum of the adjacent sides as the first term, their difference as the second, take half the exterior angle (180° minus the known angle) and its tangent as the third; the fourth term is the tangent of the half-difference. Look up the angle in the table; added to the half exterior angle, this gives the angle opposite the slightly longer adjacent side; subtracted from it, the remainder is the angle opposite the slightly shorter adjacent side. The first part of the principle concerns plane triangles. The three angles of a triangle always sum to a semicircle (180°). In triangle ABC, the altitude AD divides it into two right triangles. A right angle is half of a rectangle whose corners are all 90°. A right triangle's acute angles bisect such a rectangle diagonally: whatever one exceeds 45°, the other falls short by the same amount—this follows necessarily from a straight cut. Hence the angle at A on the right must combine with angle B to make 90°, and that on the left with angle C to make 90°. Each right triangle plus angle D sums to 180°; together they reconstitute the original acute triangle. Remove angle D, and the three angles of the whole triangle still sum to 180°. Thus, given one angle, even if the other two are unknown individually, their sum must equal 180° minus the known angle. The second part lies in the proportion of similar triangles. In triangle CGE, given sides CE and CG and angle C. Extend CE to CA and connect CG as AW; their sum is one term. Mark D on CG so that CD equals CE; their difference is the other term. Draw auxiliary line ED; since CE equals CD, the two interior angles at ED are equal—each is half the exterior angle at C, matching the construction at A. The exterior angle at E is half the excess of angle E over angle G in the original triangle—the half exterior angle. ED is to the radius as AE is to the tangent of the half exterior angle at D. Radius and tangent always meet at a right angle, as do the two chords drawn within the circle at AE and ED. Draw DI parallel to AE; ED is still to the radius as DI is to the tangent of the half-difference angle at E. Triangles WAE and WDI share a line WAD and parallel sides AE and DI, so they are necessarily similar. Hence AW as first term, WD as second, tangent of the half exterior angle as third; the fourth term is the tangent of the half-difference, DI.
13
Fourth, given two angles and the included side, to find the third angle: add the two known angles and subtract from 180°. This follows directly from the case of two sides and an included angle.
14
Fifth, given three sides, to find an angle: with the longest side as base, multiply the sum and difference of the other two sides and divide by the longest; half the sum of this quotient and the base gives the greater segment, half the difference the lesser. Set the middle side as first term, the greater base segment as second, radius as third; the fourth is the cosine of the angle opposite the shortest side. Alternatively, set the shortest side as first, the lesser base segment as second, radius as third; the fourth is the cosine of the angle opposite the middle side. The principle rests on the Pythagorean relation among squares of sides and on the comparison of two squared areas. In the figure, AC (middle) and AB (shortest) are hypotenuses of right triangles; the longest side BC is split at D into legs DC and DB, with altitude AD as the common upright. The sum of the squares of leg and upright equals the square of the hypotenuse; since AD is shared, the excess of AC² over AB² equals the excess of DC² over DB². The difference of two squares always equals the product of the sum and difference of their roots. In the figure, the large square minus the small square leaves a gnomon-shaped region between them. Rearrange the pieces into a rectangle whose length is the sum of the two roots; and whose width is the difference of the two roots. Thus in triangle ABC, AC plus AB is the sum, AC minus AB the difference. Their product equals the product of the sum and difference of DC and DB. Dividing by BC yields the difference directly. Halve the sum and difference to obtain DC and DB; then CA and BA are to the radius as DC and DB are to the cosines of the angles at B and A.
15
Of these five methods, four require no computation and one cannot be resolved by computation alone. In finding an angle from a side, if the two known sides are equal, the unknown angle equals the known opposite angle. In finding a side from an angle, if the two known angles are equal, the unknown side equals the known opposite side. For two sides and an included angle, if the known sides are equal, each unknown angle is exactly half the exterior angle. For three sides, if two are equal, the base segment is half the third side; if all three are equal, each angle is 60°—none of these require calculation. In finding an angle from a side, if the known side opposite the known acute angle is the shorter, but if the other known side is longer, the angle opposite it may be acute or obtuse and cannot be determined by calculation alone. Any remaining unknown sides or angles in a problem are found by applying the other methods in turn.
16
A spherical triangle is formed where three great circles meet; its sides are also measured in degrees. A side of 90° is complete; less than 90° is small; more than 90° is large. Its acute, obtuse, and right angles follow the same definitions as in plane triangles. There are seven computational methods:
17
First, to find an unknown angle from a known side: set the sine of the known side as first term, the sine of the known opposite angle as second, and the sine of the other known side as third; the fourth term is the sine of the unknown angle. Here too the principle is to combine two proportions into one. In spherical triangle ABC, given sides AB and CB and angle C, find angle A. Drop the perpendicular arc BE; radius is to sin C as sin BC is to sin BE. Set radius as first term, sin C as second, sin BC as third; the fourth term is sin BE. Once sin BE is known, sin AB is to sin BE as radius is to sin A. Then set sin AB as first term, sin BE as second, radius as third; the fourth term is sin A. Multiplication and division cancel each other, so intermediate steps may be omitted.
18
Second, to find an unknown side from a known angle: set the sine of the known angle as first term, the sine of the known opposite side as second, and the sine of the other known angle as third; the fourth term is the sine of the unknown side. This is the converse of the first method and is self-evident when read in reverse.
19
Third, given two sides and an included angle (acute or obtuse), find the unknown side. Set the radius as first term, the cosine of the known angle as second, and the tangent of either known side as third; the fourth term is taken as a tangent value. Look up the angle in the table, subtract it from the other known side, and the remainder is the segment arc. Then set the cosine of the angle just found as first term, the cosine of the first side used as second, and the cosine of the segment as third; the fourth term is the cosine of the unknown side. If the included angle is obtuse, when the segment is large, the unknown side is small; when the segment is small, the unknown side is large. If the included angle is acute, when the segment is small, the unknown side is small; when the segment is large, the unknown side is large. The principle is to reduce three proportions to two. In spherical triangle ACD, given sides AC and AD and angle A, drop the perpendicular arc BC; radius is to cos A as tan AC is to tan AB. One preliminary calculation makes the method clear. With AD split at B to give segment DB, cos AB is to the radius as cos AC is to cos BC. First set cos AB as first term, radius as second, cos AC as third; the fourth term is cos BC. Once cos BC is known, the radius is to cos BD as cos BC is to cos DC. Then set radius as first term, cos BD as second, cos BC as third; the fourth term is cos DC. Again, multiplication and division cancel, so the abbreviated form is used. When the included angle is a right angle, multiply the cosines of the two known sides and divide by the radius to obtain the cosine of the unknown side directly. If both known sides are greater or both less than 90°, the unknown side is small; if one is small and one large, the unknown side is large.
20
Fourth, given two angles and the included side, find the third angle. Treat angles as sides and the side as an angle, and solve by the converse method; look up the value, then take its complement; both the forward lookup and the complement involve subtracting from 180°.
21
Fifth, given two sides opposite two known angles (acute or obtuse), find the unknown side and angle. Set the radius as first term, the cosine of either known angle as second, and the tangent of the side opposite the other known angle as third; look up the resulting tangent in the table. Repeat with the other known angle and side to obtain a second arc measure. If both known angles are acute or both obtuse, add the two arc measures; if one is acute and one obtuse, subtract them; either way yielding the unknown side. Then apply the first method to find the unknown angle from the unknown side. If the other known angle is obtuse, when the side opposite the first angle used exceeds the second arc found, the unknown angle is obtuse; when it is less, the unknown angle is acute. If the other known angle is acute, when the side opposite the first angle is less than the second arc found, the unknown angle is obtuse; when it is greater, the unknown angle is acute. The principle depends on whether the perpendicular arc falls inside or outside the triangle, and on how acute and obtuse angles, side magnitudes, and spherical orientation correspond. In triangle ABC, angles A and B are both acute and face each other, so the perpendicular arc CD falls inside the triangle. In triangle FCG, angles F and G are both obtuse and face each other, so the perpendicular arc EC also falls inside. In triangle GCB, angles G and B are one acute and one obtuse; the perpendicular arc CD is drawn from outside and lies outside the triangle. When inside, the base is split into two segments whose arcs should be added to recover the full base. When outside, the two segment arcs overlap the base extension and should be subtracted to obtain the base. The correspondence of acute, obtuse, and side magnitude follows the same logic, as the diagrams show. If one of the known angles is a right angle, one of the arc measures found is itself the unknown side, which is self-evident.
22
Sixth, given three sides, to find an angle: multiply the sines of the adjacent sides as first term, the square of the radius as second, and the difference of their versed sines (for the difference arc minus the opposite side) as third; the fourth term is the versed sine of the angle sought. The principle is again to combine two proportions into one. In spherical triangle ARB, to find angle A, its versed sine is CD. Set sin AB as first term, radius as second, and the difference of versed sines for the difference arc and opposite side as third; the fourth term is RN. Then set sin AR as first term, RN as second, radius as third; the fourth term is CD, the versed sine of angle A. The versed sine of angle A may likewise be found by the abbreviated form after canceling terms.
23
Seventh, for an acute or obtuse spherical triangle, to find a side: treat the angle as a side and solve for it in reverse; then take the result as a side; both steps involve subtracting from 180°. The principle lies in a secondary triangle: in ABC, the measure of angle A equals arc DE; its complement to 180° equals arc EF, which must equal a side of the secondary triangle—for the constructions at B and A each make arc AB a right angle. A single arc AB meeting two other arcs at right angles forces both to be 90°—such is the geometry of spherical triangles. With those arcs at 90°, removing the overlap shows the complementary relations; the corresponding arcs in the secondary figure match accordingly. The complementary angles of one triangle become the sides of the secondary triangle, and vice versa; hence the reverse procedure yields the side sought. If the triangle has a right angle, set the sine of one acute angle as first term, the cosine of the other as second, and the radius as third; the fourth term is the cosine of the side opposite the remaining angle. This too rests on the secondary triangle, with the right angle and one acute angle as its angles and the other acute angle adjusted by a quadrant as the opposite side—a slightly different formulation.
24
Among these seven methods, only cases where acute, obtuse, and magnitude cannot be determined from sides and angles alone are omitted, as calendrical problems do not require them. Any remaining unknowns in these seven cases are found by applying the other methods in turn.
25
An ellipse is a figure whose diameter is long at the ends and short at the sides. It must however satisfy the defining property before it can be computed. To construct it: fix two foci with pins, loop a thread around them and a pencil, and trace the curve as the pencil moves. Rotating the thread about the pins produces the ellipse. With foci A, F, and W as in the figure, the ellipse is drawn; the major semiaxes are along the long diameter, the minor along the short, with the focal distance and its double as shown. The distance from A to W equals one semiaxis, as does that from F to W; and the sum of any two such distances always equals the major axis. With the thread at any point S on the curve, AS and SF differ in length but their sum is constant. The distance from focus to curve equals the major semiaxis as hypotenuse, the focal distance as one leg, and the minor semiaxis as the other; given any two, the third follows from the Pythagorean relation. To find the area: set 400,000,000 as the first term, π (3.14159265) as the second, and the product of the major and minor diameters as the third; the fourth term is the ellipse's area. The mean proportional semiaxis is the square root of the product of the major and minor semiaxes. From focus A, a line sweeps from one vertex rightward to another point on the curve; the sector between them has both an area and a corresponding angle.
26
Angle and area may be found from each other by four methods:
27
First, to find area from angle: set the radius as first term, the sine of the known angle as second, and twice the focal distance as third; the fourth gives the perpendicular at the end of the double focal distance. Again set radius as first, cosine of the angle as second, and twice the focal distance as third; the fourth is the boundary line; square the perpendicular leg at the double focal distance. Add the drawn line to the sum of two radii equal to the major diameter to get the sum of leg and hypotenuse; dividing yields their difference. Half the sum of sum and difference gives the hypotenuse; subtract from the major diameter to obtain the other leg. Set radius as first, sine of the angle as second, and the leg just found as third; the fourth is the next side in the construction. Set the minor diameter as first, major diameter as second, and the previous side as third; the fourth is the next segment. Set the major semiaxis as first, radius as second, and the segment as third; the fourth is a sine value, from which the angle is read in the table. Set 180° in seconds as first term, half the circumference (π) as second, and the angle in seconds as third; the fourth is the proportional arc length. Set radius as first, major semiaxis as second, and proportional arc as third; half the product gives the area of the corresponding circular sector. Set major semiaxis as first, minor as second, and the sector area as third; the fourth is the corresponding elliptical sector area. Halve the product of the focal distance and the constructed side, subtract from the elliptical sector area, and obtain the area between the two radii. The method rests on the figure together with plane and spherical trigonometry and is extremely rigorous.
28
Second, to find angle from area: square the leg found by subtracting the focal distance from the major semiaxis as first term, square the mean proportional semiaxis as second, and the given sector area as third; the fourth is the corresponding mean-area. Dividing the ellipse's area into 360 parts and using the area per degree as divisor yields the angle between the two radii, by similar-figure proportion. Because two constructed lines are nearly equal while the third differs only slightly, they may be treated as equal for approximation. If a radius to the center is drawn, the difference is too large for the approximation; the full method must be used, treating the nearly equal lengths as one value.
29
Third, to find one area from another known area: divide the known area by the area per degree to obtain its angular measure. Treat that measure as an angle at the end of the double focal distance. Set radius as first, sine of that angle as second, and twice the focal distance as third; the fourth is the perpendicular from the focus. Again set radius as first, cosine as second, and twice the focal distance as third; the fourth is the segment arc. Square the leg; subtract the segment from the major diameter for the sum of leg and hypotenuse; dividing yields their difference. Half the sum of sum and difference gives the next constructed line. Set the new line as first, the perpendicular as second, radius as third; the fourth is a sine, whose angle added to the first angle gives the combined angle. Apply the angle-to-area method for the combined angle, subtract the known area, apply area-to-angle to the remainder, and add the angles to obtain the total angle sought.
30
使
Fourth, to find one angle from another: convert the known area to an angular measure by the previous method. Treat that measure as an angle at the ellipse's center. Set the minor semiaxis as first term, major semiaxis as second, and tangent of the assumed angle as third; the fourth is the tangent of the constructed angle. Look up the angle in the table; at the end of the double focal distance draw a line so that a constructed angle matches the tangent angle; extend it so that a segment equals another radius, making the extended line equal to the major diameter. Draw another line to form a triangle; use the tangent method for the exterior angle, double the result for one angle of the sector, and add the angle at the focal end to obtain the total angle sought. The principle is that the constructed angle exceeds the area-derived angle by a small correction angle. This value may substitute for the supplementary calculation elsewhere, as the discrepancy is slight.
31
In all four methods, the radius refers to the value 10,000,000 from the trigonometric table.
← Previous Chapter
Back to Chapters
Next Chapter →