In 1706 John Machin, an English private tutor of mathematics, worked out to 100 decimal places, by hand, a record at the time. The formula people had was , which is correct but hopeless: after a billion terms it is still wrong in the ninth decimal place. Machin used a line of his own instead:
and with it nine terms (seven of one series, two of another) give ten decimal places.
So here is this unit’s question: why is Machin’s line true, and why is it so much faster? To answer it you need the functions that turn a ratio back into an angle, the inverse circular functions, and the rule for adding two of them. The answer comes at the end of 9.4.
Machin’s 100 digits: Wikipedia, “Machin-like formula”; the billion and the nine terms are counted in this unit’s checks.
9.1 Inverse circular functions
What you need
Angles in radians ( radians = 180°), the ratios of any angle and the signs in the four quadrants Grade 9: Grade 9 Optional Math, 2.4, the formulas for sin (A ± B), tan (A ± B) and 2A Grade 10: Grade 10 Optional Math, Unit 7, and what an inverse function is Grade 11: Unit 3, 3.2: exists only when f is one-to-one, and its graph is the mirror image of f’s in the line y = x.
Many angles, one ratio
A ramp rises 1 m over a slope 2 m long. Its angle θ has , so . That step, from the ratio back to the angle, is what your calculator does when you press SHIFT and then sin.
But too, and so do , and infinitely many more. The sine is not one-to-one, so it has no inverse as it stands. For the ramp, only 30° makes sense; for a function, we must agree on one answer every time.
The way out is the same as for , whose inverse is defined by taking only x ≥ 0: restrict the domain to a piece where the function is one-to-one and still takes every one of its values once. For the sine the piece chosen is : on it the sine rises steadily from −1 to 1, and it contains the acute angles, which is where the ramp’s 30° lives.
The inverse sine
The inverse sine of x, written , is the angle in whose sine is x:
Its domain is [ −1, 1] (the values a sine can take) and its range is . The one angle it gives is the principal value; the restricted range is the principal value branch.
So , , and (not , which is outside the branch).
They are called circular functions because an angle in radians is an arc of the unit circle: is the arc whose sine is x. That is why many books and every programming language write it arcsin x, and as arccos x. Both are right; NEB and this unit write .
The other five
Each circular function is cut down the same way, to a piece that takes every value once and contains the acute angles, . For the cosine that piece must be , since on the cosine gives each value between 0 and 1 twice and no negative value at all.
| Function | Domain | Range (principal values) |
|---|---|---|
| [ −1, 1] | ||
| [ −1, 1] | ||
| (−∞, −1] ∪ [1, ∞) | ||
| (−∞, −1] ∪ [1, ∞) |
An easy way to remember them: sin, tan and cosec take angles on the right half of the circle, from to ; cos, cot and sec take the upper half, from 0 to . Each leaves out the angles where it is undefined: tan at , at 0 and , at , at 0.
The principal value of is:
Pick an answer to see why.
Which of these has no value?
Pick an answer to see why.
A ratio of an inverse
needs no calculator. Let : an angle in the branch with , so (positive sine) an acute angle. Draw a right triangle with opposite side 3 and hypotenuse 5; the third side is 4. So . The branch decides the signs: is never negative, because the angle is in , where cosines are positive.
9.2 Graphs of inverse circular functions
If (a, b) is on the graph of y = sin x, with a in the branch, then sin a = b, so , and (b, a) is on the graph of . Swapping the coordinates is reflecting in the line y = x. So the graph of an inverse circular function is the mirror image in y = x of its circular function’s principal branch, and nothing more is needed to draw it.
(Figure 9.1) runs from to , through O. It is increasing, and odd (symmetric about the origin), as the sine is on its branch. Where the sine is flat, at , its mirror image stands upright: meets its ends with a vertical tangent, which is why its derivative Grade 11: Unit 18 blows up at x = ±1.
(Figure 9.2) runs from down to (1, 0), crossing the Y-axis at . It is decreasing, and neither odd nor even, but symmetric about the point : that symmetry is (9.3).
(Figure 9.3) is defined for every x. It is increasing and odd, and as x → ∞ it rises towards without reaching it: the tangent’s vertical asymptotes have become the horizontal asymptotes . A road’s gradient of 1 in 10 is an angle ; however steep a road, its angle stays under 90°.
(Figure 9.4) falls from near (far left) to near 0 (far right), with asymptotes y = 0 and . (Figure 9.5) is in two pieces, x ≤ −1 and x ≥ 1: from (1, 0) it rises towards , and from it falls towards as x → −∞, never reaching it. is drawn in the exercise (question 7).
The graph of is the mirror image in the line y = x of:
Pick an answer to see why.
Which graph has the horizontal asymptotes and ?
Pick an answer to see why.
9.3 Properties of inverse circular functions
Undoing, and when it doesn’t undo
For an inverse function, and , each where it is defined. Here that becomes
and the same for the others, each on its own branch. The first is true for every allowed x. The second is a trap: , not . The answer is always back inside the branch (Figure 9.6).
Negative values
- Let , so cos θ = x with (the definition).
- Then (allied angles).
- And , inside the branch (from 1).
- So :
For the sine, sin (−θ) = − sin θ and −θ stays in , so the minus comes straight out. In all:
The right-half functions are odd; the upper-half ones give the supplement.
Reciprocals
If , then with θ in , so . The same for the secant:
The last has a because gives an obtuse angle for a negative x while gives a negative one.
Complementary pairs
- Let , −1 ≤ x ≤ 1: sin θ = x, .
- Then (complementary angles).
- From 1, : inside ’s branch.
- So , that is
(the second and third the same way). In a right triangle the two acute angles add up to : if one has sine x, the other has cosine x.
If , then is:
Pick an answer to see why.
One inverse in terms of another
Any inverse can be written as any other, by drawing the triangle. If with 0 < x < 1, the triangle has opposite x, hypotenuse 1, adjacent , so
The form holds for all |x| < 1, since and share the same half of the circle; the form only for x ≥ 0 (for a negative x the left side is negative and the right side is not).
Double and triple angles
Put x = tan θ and the multiple-angle formulas of Grade 10 become formulas for inverses. For |x| ≤ 1:
- Let ; then (since |x| ≤ 1), and x = tan θ.
- (Grade 10’s formula).
- 2θ is in , ’s branch (from 1).
- So .
In the same way, with the condition that keeps each multiple angle inside its branch:
| Identity | Holds for |
|---|---|
| −1 ≤ x ≤ 1 | |
| x ≥ 0 | |
| −1 < x < 1 | |
| 0 ≤ x ≤ 1 | |
9.4 Sum and difference of inverse functions
Two inverse tangents
- Let and : tan A = x, tan B = y, both angles in .
- (compound angles, xy ≠ 1).
- If xy < 1, then A + B lies in , the branch. (For x, y > 0: xy < 1 means , so . The other cases are alike.)
- So :
If xy > 1 the sum has left the branch: for x, y > 0 add to the right side, for x, y < 0 subtract . (.) And if xy = 1 with x, y > 0, the sum is exactly : .
Two inverse sines, and two inverse cosines
- Let , , with 0 ≤ x, y ≤ 1: A, B in , and , (positive there).
- .
- exactly when (then sin A ≤ cos B); then A + B is in ’s branch.
(The cosine ones from cos (A ± B), with A + B in and, for the difference, A ≥ B.)
equals:
Pick an answer to see why.
Back to Machin
Why the line is true. Use the double-angle form twice (each time the value is less than 1):
- .
- .
- Now the difference rule (xy > −1): .
- Top and bottom times 119 × 239: .
- So . ✓
(Step 2 shows where 239 comes from: is just over , since is just over 1, and is the small angle that takes it back.)
Why it is fast. Machin put and into Madhava’s series. Each term of the first is about of the one before, so each adds almost one and a half correct digits; each term of the second is about of the one before, almost five digits. For 100 digits Machin needed about 70 terms of the first and 20 of the second: long, careful division by hand, but possible. The plain series at x = 1 would need more terms than there are atoms in the universe.
Formulas of the same kind (sums of inverse tangents of small fractions, each proved by exactly the rule of this section) were still used for records in the computer age: Yasumasa Kanada’s 1.24 trillion digits in 2002 used two of them, each checking the other.
Exercise
Choose the correct option
The domain of is:
Pick an answer to see why.
The principal values of lie in:
Pick an answer to see why.
is:
Pick an answer to see why.
equals:
Pick an answer to see why.
Which of these is not true for every x in its domain?
Pick an answer to see why.
equals:
Pick an answer to see why.
equals:
Pick an answer to see why.
If , then x is:
Pick an answer to see why.
equals:
Pick an answer to see why.
exactly when:
Pick an answer to see why.
, with 10 in radians, equals:
Pick an answer to see why.
Short questions
- a.Write the domain and range of , and sketch its graph. (2 marks)
- b.Find the principal values of , and . (3 marks)
Hint
Answer
Prove that . (5 marks)
Hint
Answer
- a.Prove that for x > −1. (3 marks)
- b.Hence find . (2 marks)
Hint
Answer
Solve . (5 marks)
Hint
Answer
- a.Prove that for x ≥ 0. (3 marks)
- b.Hence show that . (2 marks)
Hint
Answer
If , prove that x + y + z = xyz. (5 marks)
Hint
Answer
- a.Draw the graph of from the graph of , and state its domain, range and asymptote. (3 marks)
- b.Find and . (2 marks)
Hint
Answer
Long question
- a.Draw the graph of from the graph of y = cos x, and state its domain, its range and its values at x = −1, 0, 1. (3 marks)
- b.Use the graph, then algebra, to show that . (2 marks)
- c.Solve . (3 marks)
Hint
Answer
Project work
Printable PDFs
- Study notes 3 pages
- Worksheet 5 pages Answer key
- Harder practice questions 2 pages Answer key
Practice every question in the book, and keep track of the ones you miss →
Where these facts come from
- John Machin’s formula and his 100 digits of , published by William Jones in Synopsis Palmariorum Matheseos (1706); Euler’s and Hutton’s lines, “known to Machin 1706”; Kanada’s 1.24 trillion digits in 2002 with Takano’s and Størmer’s formulas (the opening, 9.4): Wikipedia, “Machin-like formula”, read November 2026.
- Madhava of Sangamagrama (1350–1425), his series for the arctangent and , and Gregory’s rediscovery (9.4): MacTutor, “Madhava of Sangamagrama”; Gregory (1671) and Leibniz (1673): Wikipedia, “Leibniz formula for π”; Machin a private tutor of mathematics in 1706: MacTutor, “John Machin”.
- What
asin,acosandatan2return (9.1): Python documentation,mathmodule, read November 2026. - Definitions and ranges checked against OpenStax, Precalculus 2e, 6.3 “Inverse Trigonometric Functions” (CC BY 4.0).
- The unit’s item and project work: CDC, Secondary Education Curriculum 2078, Mathematics, Grades 11–12, 2.1, learning outcome 2.1 and sample projects 5 and 6; the marks and the model question: CDC, Specification Grid 2078, Mathematics, Grade 11; IOE, BE/BArch Entrance Syllabus 2083, Mathematics 3.2.
Found a mistake? Please tell us.
