Competences in mathematics is largely about conducting and following mathematical reasoning. An important area is algebraic reasoning. The aim of this project was to develop mathematics teaching to improve students' reasoning on algebraic expressions at different levels in primary and upper secondary school.