The distant island of Amphibia is populated by speaking frogs and toads. They spend much of their time in little groups, making statements to themselves. Toads always tell the truth and frogs always lie. In each of the following four scenes from Amphibian life decide which characters mentioned are frogs and which are toads, explaining your reasoning carefully:
A quartic polynomial \(f(x)\) with real coefficients is such that the equation \(f(x) = 0\) has exactly three distinct roots, which are all real. Show that just one of these roots is also a root of \(f'(x) = 0\). If \(f(x) = x^4 + 2x^3 - 3x^2 - 4x + a\) (where \(a\) is a constant) satisfies these conditions, show that there is only one possible value for \(a\), and find it.
Show that every odd square leaves remainder 1 when divided by 8, and that every even square leaves remainder 0 or 4. Deduce that a number of the form \(8n + 7\), where \(n\) is a positive integer, cannot be expressed as a sum of three squares.
Consider the \(2 \times 2\) complex matrices $$A = \begin{pmatrix} i & 0 \\ 0 & -i \end{pmatrix} \quad \text{and} \quad B = \begin{pmatrix} 0 & 1 \\ -1 & 0 \end{pmatrix}.$$ List all the matrices which may be obtained from \(A\) and \(B\) by matrix multiplication, and show that they form a non-commutative group \(G\) of order 8. [You may assume the associativity of matrix multiplication.] By considering the elements in \(G\) whose square is the identity, or otherwise, determine whether \(G\) is isomorphic to the group of symmetries of a square.
Let \(p_r, q_r\) (\(r = 1, 2, \ldots\)) be two sequences such that \(p_r = q_{r+1} - q_r\) for all \(r \geq 1\). Evaluate \(\sum_{r=1}^N p_r\). Hence or otherwise evaluate
A room has a square horizontal ceiling of side \(a\), and vertical walls of height \(h\). A spider is located at distance \(h\) below the ceiling at the intersection of two walls, moving along the walls and ceiling it moves to a point on the intersection of the other two walls, also at distance \(h\) below the ceiling. Find the length of its shortest path for all possible values of \(h/a\).