Puzzles
Powerful quadratics
Find all real solutions to
$$(x^2-7x+11)^{(x^2-11x+30)}=1.$$
Show answer
Hide answer
If \(x^2-7x+11=1\) or \(x^2-11x+30=0\), then this is one. The solutions to these are \(x=2,5,\) and \(6\).
It could also be one if \(x^2-7x+11=-1\) and \(x^2-11x+30\) is even. This happens when \(x=3\) or \(4\).
Therefore all the solutions to this are \(x=2,3,4,5\) or \(6\).
Two tangents
Find a line which is tangent to the curve \(y=x^4-4x^3\) at 2 points.
Show answer
Hide answer
At \(x=a\), \(y=a^4-4a^2\) and \(\frac{dy}{dx}=4a^3-12a^2\). Therefore the equation of the tangent at \(x=a\) will be \(y=(4a^3-12a^2)x+8a^3-3a^4\).
Taking this away from \(y=x^4-4x^3\) gives \(y=x^4-4x^3-(4a^3-12a^2)x-8a^3+3a^4\). We can now look at where this curve is tangent to \(y=0\) and look for a value of \(a\) that makes it tangent at two points.
If this curve is tangent to the \(x\)-axis at \(x=b\), then it will have a repeated root at \(x=b\). We know it is tangent at \(x=a\), so dividing \(x^4-4x^3-(4a^3-12a^2)x-8a^3+3a^4\) by \((x-a)\) twice gives \(x^2+(2a-4)x+3a^2-8a\). We want this to have a repeated root, hence the discriminant, \((2a-4)^2-4(3a^2-8a)\), must be 0.
Solving this gives \(a=1\pm\sqrt3\).
Therefore the equation of the line is \(y=-8x-4\).
Blackboard sums
The numbers 1 to 20 are written on a blackboard. Each turn, you may erase two numbers, \(a\) and \(b\) and write the sum \(a+b\) in their place. You continue until only one number remains.
What is the largest number you can make?
Show answer & extension
Hide answer & extension
After each turn, the total of the numbers written on the board remains the same. Therefore the sum of the numbers is always the same: 210
Extension
The numbers 1 to 20 are written on a blackboard. Each turn, you may erase two numbers, \(a\) and \(b\) and write the product \(a\times b\) in their place. You continue until only one number remains.
What is the largest number you can make?
Hat check
Three logicians, A, B and C, are wearing hats. Each has a strictly positive integer written on it. The number on one of the hats is the sum of the numbers on the other two.
The logicians say:
A: I don't know the number on my hat.
B: The number on my hat is 15.
Which numbers are on hats A and C?
Show answer
Hide answer
Each of the logicians can see two numbers and knows that her number is either the sum of or the difference between these numbers.
The only way in which A could've known her number was if B and C had the same number (as the difference would be 0, not positive). So after A speaks, B knows that B\(\not=\)C.
There are two ways in which B could know her number: (1) if A=C, or (2) if the information revealed by A removed one of the options.
(1) is not possible, as this would mean that B is the sum of A and C and therefore even (but 15 is odd.
Therefore (2) must have happened. Learning B\(\not=\)C removed one of B's options, so B=C must have been one of B's options. This is only possible if A=2C, giving B's options as being equal to C or 3C.
As B cannot be C, B must therefore be 3C, so the numbers are: A=10, B=15, C=5.
Combining multiples
In each of these questions, positive integers should be taken to include 0.
1. What is the largest number that cannot be written in the form \(3a+5b\), where \(a\) and \(b\) are positive integers?
2. What is the largest number that cannot be written in the form \(3a+7b\), where \(a\) and \(b\) are positive integers?
3. What is the largest number that cannot be written in the form \(10a+11b\), where \(a\) and \(b\) are positive integers?
4. Given \(n\) and \(m\), what is the largest number that cannot be written in the form \(na+mb\), where \(a\) and \(b\) are positive integers?
Show answer & extension
Hide answer & extension
1. 7
2. 11
3. 90
First, if \(n\) and \(m\) share a common factor other than 1, there will be no largest number: any number that is not a multiple of the common factor will be impossible to make.
If \(n\) and \(m\) are coprime, then considered the remainders when the multiples of \(n\) are divided by \(m\). For example, if \(n=3\) and \(m=7\):
Multiple | Remainder |
0 | 0 |
3 | 3 |
6 | 6 |
9 | 2 |
12 | 5 |
15 | 1 |
18 | 4 |
21 | 0 |
Once a number with a given remainder is reached, then all other numbers with that remainder can be reached by repeatedly adding \(m\). Once \(mn\) is reached, the remainders column will repeat itself. Before \(mn\), all remainders will appear (this can be shown by showing that there are \(m\) rows which much all have different remainders). Hence above \(mn\) all numbers can be made.
In the 3,7 example, the last remainder to be hit is 4. The highest number that cannot be made will be the highest number with remainder 4 that is less than 18 (when remainder 4 is hit).
In general, the last remainder will be hit at \(mn-n\). The number before this with the same remainder will be \(mn-n-m\). This will be the highest number that cannot be made.
Extension
Given \(n\), \(m\) and \(k\), what is the largest number that cannot be written in the form \(na+mb+kc\), where \(a\), \(b\) and \(c\) are positive integers?
Cross diagonal cover problem
Draw with an \(m\times n\) rectangle, split into unit squares. Starting in the top left corner, move at 45° across
the rectangle. When you reach the side, bounce off. Continue until you reach another corner of the rectangle:
How many squares will be coloured in when the process ends?
Show answer
Hide answer
$$\mathrm{lcm}(m-1,n-1)+1 - \frac12\left(\frac{\mathrm{lcm}(m-1,n-1)}{m-1}-1\right)\left(\frac{\mathrm{lcm}(m-1,n-1)}{n-1}-1\right)$$
Lots of ones
Is any of the numbers 11, 111, 1111, 11111, ... a square number?
Show answer
Hide answer
No. If one of them were a square number, then its square root must end in 1 or 9 (as this is the only way to make the final digit a one). So the square root is of the form \(10n\pm1\).
$$111...1=(10n\pm1)^2$$$$=100n^2\pm20n+1$$
$$=10(10n^2\pm2n)+1$$
If \(10(10n^2\pm2n)+1\) is of the form 111...1, then \(10n^2\pm2n\) is also of the form 111...1 (as it has just had the final 1 taken off). But \(10n^2\pm2n\) is even and 111...1 is odd, so this is not possible.
An integral
What is
$$\int_0^{\frac\pi2}\frac1{1+\tan^a(x)}\,dx?$$
Show answer & extension
Hide answer & extension
Surprisingly, the value of the integral does not depend on \(a\). To show this, first use \(\tan(x)=\frac{\sin(x)}{\cos(x)}\) on both integrals:
$$I_1=\int_0^{\frac\pi2}\frac1{1+\tan^a(x)}\,dx
$$$$=\int_0^{\frac\pi2}\frac{\cos^a(x)}{\cos^a(x)+\sin^a(x)}\,dx$$
$$I_2=\int_0^{\frac\pi2}\frac1{1+\cot^a(x)}\,dx
$$$$=\int_0^{\frac\pi2}\frac{\sin^a(x)}{\cos^a(x)+\sin^a(x)}\,dx$$
Now consider \(I_1+I_2\):
$$I_1+I_2 = \int_0^{\frac\pi2}\frac{\cos^a(x)+\sin^a(x)}{\cos^a(x)+\sin^a(x)}\,dx$$$$=\int_0^{\frac\pi2}1\,dx$$$$=\frac\pi2$$
By substituting \(u=\tfrac\pi4-x\) into \(I_2\), it can be shown that \(I_1 = I_2\).
Therefore \(I_1=\tfrac\pi4\).
Extension
What is
$$\int_0^{\frac\pi2}\frac1{1-\tan^a(x)}\,dx?$$