Amaya and Ben integrated \(( 1 + x ) ^ { 2 }\), with respect to \(x\), using different methods, as follows.
Amaya: \(\quad \int ( 1 + x ) ^ { 2 } \mathrm {~d} x = \frac { ( 1 + x ) ^ { 3 } } { 3 } + c \quad = \frac { 1 } { 3 } + x + x ^ { 2 } + \frac { 1 } { 3 } x ^ { 3 } + c\)
Ben: \(\quad \int ( 1 + x ) ^ { 2 } \mathrm {~d} x = \int \left( 1 + 2 x + x ^ { 2 } \right) \mathrm { d } x = x + x ^ { 2 } + \frac { 1 } { 3 } x ^ { 3 } + c\)
Charlie said that, because these answers are different, at least one of them must be wrong.
Explain whether you agree with Charlie's statement.
You are given that \(a\) is a constant greater than 1 .
Find \(\int _ { 1 } ^ { a } \frac { 1 } { ( 1 + x ) ^ { 2 } } \mathrm {~d} x\), giving your answer as a single fraction in terms of the constant \(a\).
You are given that the area enclosed by the curve \(y = \frac { 1 } { ( 1 + x ) ^ { 2 } }\), the \(x\)-axis and the lines \(x = 1\) and \(x = a\) is equal to \(\frac { 1 } { 3 }\).
Determine the value of \(a\).
In this question you must show detailed reasoning.
Find the exact value of \(\int _ { 0 } ^ { \frac { 1 } { 12 } \pi } \frac { \cos 2 x } { \sin 2 x + 2 } \mathrm {~d} x\), giving your answer in its simplest form.