The percentage of students taking intermediate or advanced mathematics at school has declined significantly. Why is this happening and why does it matter? asks Chris Tisdale.