Professional Documents
Culture Documents
Learning Mathematics Through Programming PDF
Learning Mathematics Through Programming PDF
Aalborg University, Research Lab: ICT and Design for Learning, Copenhagen, Denmark, misfeldt@learning.aau.dk
In this paper, we explore the potentials for learning countries (such as Estonia and France) programming
mathematics through programming by a combination is placed in direct curricular connection to mathe-
of theoretically derived potentials and cases of practi- matics, whereas in others (England, and Sweden)
cal pedagogical work. We propose a model with three programming is related more to a design and engi-
interdependent learning potentials as programming neering agenda. However, in all cases the focus is not
which can: (1) help reframe the students as producers on developing general “humanistic” skills with tech-
of knowledge and artifacts, (2) support abstraction and nology, rather it is on thinking in algorithms, writing
encapsulation, and (3) promote thinking in algorithms. programs, and developing technology. In other coun-
Programming is a topic that has recently gained inter- tries such curricular changes are being discussed and
est in primary and lower secondary education levels tested on a small scale. Hence, it makes sense to take
in various countries, and hence a specific analysis of a closer look at the arguments that have previously
the potentials in relation to mathematics is paramount. been proposed for utilising programming in mathe-
Analyzing two cases, we suggest a number of ways in matics education. In this paper, we will modestly at-
which didactical attention to epistemic mediation can tempt to describe these arguments, however in order
support learning mathematics. to compare and combine previous thoughts on this
topic we will employ the instrumental approach to the
Keywords: Programming, Constructionism, APOS theory, use of Information and Communication Technology
Algorithmic thinking, instrumental approach. (ICT) in mathematics education. The instrumental ap-
proach was developed in a French didactical tradition
to meet the challenge that computer algebra systems
INTRODUCTION posed to mathematics education and it has in the last
decade become a European mainstream framework
Programming and mathematics are often thought of for addressing ICT in mathematics education.
as strongly connected activities. Partly because of
their shared genes – the first computers were con- In this paper, we investigate the mathematical learn-
ceptualized and build by mathematicians – but also ing potentials in programming activities by a com-
because programmers attend to logic, procedures, bination of literature and empirical observations in
and functions in order to obtain their goals. Over classroom settings. Furthermore we explore if the
the years a number of projects in mathematics ed- instrumental approach can be activated in order to
ucation aimed at utilizing programming to obtain study these potentials empirically. We will describe
mathematical learning goals with the students. The some of the main intellectual projects and frameworks
earliest of these projects tended to collapse in main- in mathematics education that used programming as
stream implementation due a complex combination of a means to obtain mathematical learning goals. We
lacking technological readiness of the school system, suggest classifying these projects in three clusters;
teacher competences, and more principal didactical (1) viewing students as producers, (2) supporting ab-
difficulties with connecting programming activities stract thinking, and (3) developing algorithmic think-
to accepted mathematical curricular goals. ing. Using the instrumental approach as theoretical
framework we describe two educational situations
Recently, several countries have included basic pro- utilizing pupils’ programming activities in order to
gramming in the national curriculum. In some of these learn mathematics.
2525
Learning mathematics through programming: An instrumental approach to potentials and pitfalls (Morten Misfeldt and Stine Ejsing-Duun)
schematic aspects of concept formation is similar to tion. Hence algorithmic thinking is strongly related
Skemp’s relational understanding (1971). This rather to mathematical thinking but emphasizes specific and
general learning theory of mathematical concept for- slightly different aspects than other types of mathe-
mation relates to the use of computers because they matical thinking.
can significantly empower and enrich the concrete
numerical calculations that are – in this conception – Before we introduce classroom examples exemplify-
the necessary foundation for concept formation. ing these learning potentials, we will introduce the
instrumental approach that we use as a general theo-
Process approach to mathematics: retical framework for the use of ICT for mathematics
Algorithmic thinking teaching. This framework will be used to analyze the
The ability to think in algorithms and procedures is cases and create a connected description of the differ-
promoted as an important learning goal in mathemat- ent learning potentials.
ics. Algorithmic thinking describes students’ ability
to work with algorithms understood as systematic THE INSTRUMENTAL APPROACH
descriptions of problem-solving and construction
strategies, cause-effect relationships, and events. The instrumental approach (Guin, Ruthven, &
A recipe is a good example of an algorithm: (1) Add Trouche, 2005) addresses students’ use of technology
all dry ingredients together. (2) Stir. (3) Add 2/3 cup of when learning mathematics from the perspective of
the water and stir. (4) If the dough is steady, then stir appropriating digital tools for solving mathematical
for 2 minutes. Otherwise, go to step (3) and add more tasks. It builds on (Verillon & Rabardel, 1995), and
water. Algorithmic thinking is about being able to views computational artifacts as mediating between
develop, execute, and make machines to perform such user and goal (Rabardel & Bourmaud, 2003). The
algorithms. Donald Knuth (1985) views algorithms approach presupposes a continuation and dialectic
as a crucial phenomenon constituting the intersec- between design and use, in the sense that a pupil’s
tion between computer science and mathematics. He goal-directed activity is shaped by his use of a tool (this
traces the study of algorithms to the mathematical process is often referred to as instrumentation), and
masterpiece Al Kwarizm from the 9th century (Katz, simultaneously the goal-directed activity of the pupil
1993). Knuth defines algorithms as follows (Knuth, reshapes the tool (this process is often referred to as
1985, p. 170): instrumentalization) (Rabardel & Bourmaud, 2003, p.
673). In students’ work with technology the distinction
I tend to think of algorithms as encompassing between epistemic mediations and pragmatic media-
the whole range of concepts dealing with well-de- tions (Guin et al., 2005; Rabardel & Bourmaud, 2003)
fined processes, including the structure of data operationalize the difference between learning with
that is being acted upon as well as the structure technology and just using technology to solve tasks.
of the sequence of operations being performed; Epistemic mediations relate to goals internal to the
some other people think of algorithms merely user – affecting his or her conception of, overview of,
as miscellaneous methods for the solution of or knowledge about something Rabardel & Bourmaud
particular problems, analogous to individual (2003) use the example of a microscope, and Lagrange
theorems in mathematics. (in Guin et al., 2005, ch. 5) refers to experimental uses
of computers) and pragmatic mediations related to
Hence algorithms, according to Knuth, consist of both goals outside of the user – making a change in the
a recipe and the actual objects dealt with by the recipe. world (Rabardel & Bourmaud use the example of a
Knuth analyzes the difference between mathematical hammer, Lagrange (in Guin et al., 2005, ch. 5) refers
thinking and algorithmic thinking. He finds that a to the mathematical technique of “pushing buttons”).
first approximation algorithmic thinking relates to Finally, Rabardel & Bourmaud (p. 669) introduce sensi-
(1) representation, (2) reduction, (3) abstract reason- tivity to a broader conception of the orientation of the
ing, (4) information structures, and (5) algorithms. mediation. Instrumented mediations can be directed
Mathematical thinking can, according to Knuth, relate towards (a combination of ) the objects of an activi-
to all of these, however other aspects are also pres- ty (the solution of a task), other subjects (classmates,
ent such as (a) formula manipulation, (b) behavior of the teacher), and oneself (as a reflective or heuristic
functions, (c) dealing with infinity, and (d) generaliza- process). Hence the theoretical framework consists of
2526
Learning mathematics through programming: An instrumental approach to potentials and pitfalls (Morten Misfeldt and Stine Ejsing-Duun)
2527
Learning mathematics through programming: An instrumental approach to potentials and pitfalls (Morten Misfeldt and Stine Ejsing-Duun)
choice to create a “what kind of math do I need in order Use rotation and units. Make a square
to make my game” crash course, deliberately focusing by controlling the other orally.
the pupils’ attention on the mathematical aspects of
creating arrow control and scoring systems. Pupils work together in pairs. They try to control each
other. Zack and his teammate come over to the teacher
Thinking in algorithms and are frustrated. Zack says that he does not know
The second example we initially see as relating to al- which way to turn when she just says “turn 90° de-
gorithmic thinking, but also to using programming grees”. His teammate complains that he “just lies down
as a way to support later abstraction and reification. on the floor” instead of moving around. The teacher
The activity is introductory (just after the teacher has talks with them about being precise and setting an
introduced the course structure and learning objec- x- and y-axis on the floor.
tives). In plenary, the pupils and the teacher program
a small cardboard figure that the teacher has set up This example shows how pupils struggle with trans-
on the whiteboard. They decide to call him ‘Puff ’. The lating programming the figure on the whiteboard,
teacher challenges the pupils by asking how to make which has two dimensions, to programming each
Puff do various things and the following dialogue other in three dimensions. Zack understood that the
happened (translated from field notes): language should be precise, but he also teases on pur-
pose. Several pupils have this kind of negotiation with
Teacher: Puff can only speak mathematics. How mathematical concepts (turning, coordinate system,
can I make him go right? etc.), but some are also getting away with just saying
Zack: Go right. “turn 90 degrees right/clockwise” without their part-
Teacher: He does not know how far he should go. ners correcting them. Those who are being controlled
Marc: Go 2 centimeters to the right. sometimes find that if they follow the instructions
Teacher: Yes, but unfortunately he does not know they end up walking into things, especially as the
centimeter on the screen. units are not precisely specified. Most use one step
Austin: Displace two units to the right. as a unit, some are using one foot as a unit.
Teacher: Yes, units he understands. But he does
not know what right is. By having pupils translate the programming activi-
Ann: You must move to a coordinate. ty to a classroom situation the teacher promotes re-
Oliver: If he should go to the left, then: Go -3. flection on the relationship between spatiality and
Ann: Could you get him to go to a coordinate? algorithms. Another consequence of having pupils
Teacher: Yes, he would go there–but he would mediate programs by playing roles is that they get an
then fly around. understanding of what precision means. After this
introduction the pupils described programming as
The teacher demonstrates her point by moving the a mathematical language that you ‘speak’. From an
cardboard figure from one point to another instead of instrumental perspective, the pupils here aim at af-
sliding between points. She then shows how moving fecting other subjects directly through programming
with a positive number makes Puff go right and neg- and it has the effect that they negotiate what a good
ative number, as suggested by Oliver, will make him algorithm is and what it means to be precise in such
move left. After some discussion the teacher raises instructions. It is a classical point that learning to
another issue: program can benefit from attempting both to act as
the creator of algorithms and as the performer (this is
Teacher: They [the sprites in Hopscotch] are ego– described as “playing turtle” by Papert, 1980). But it is
they see the world from their own noses. interesting that the pupils’ negotiation of the instruc-
How do you think he can go downwards? tions is resolved by the teacher through introducing
Girl: I am just guessing...can he rotate de- mathematical concepts (the 2-dimensional coordinate
grees? system). The teacher consistently introduces the solu-
Teacher: Yes he can. tions to pupils’ problems in mathematical terms; this
Zack: Rotate 90° clockwise. seems like a strong didactical strategy that supports
Teacher: Now, you have to try programming each the pupils talking and thinking about mathematics
other. Give each other a rule and a signal. when they work.
2528
Learning mathematics through programming: An instrumental approach to potentials and pitfalls (Morten Misfeldt and Stine Ejsing-Duun)
THE CHALLENGE OF MAINTAINING this teacher turns to mathematical concepts and prin-
AN EPISTEMIC FOCUS ciples as part of the way forward for the pupils. In
that sense our analysis suggest that the potentials for
In this section, we will discuss whether the mathe- learning mathematics through programming, as pre-
matics learning potentials that have previously been viously described in the literature, depends largely
suggested in the literature about programming and on the teacher’s approach and didactical principles.
mathematics education can be viewed as genuine
mathematics learning potentials in the sense that they REFERENCES
involve epistemic mediations towards mathematical
concepts. It is obvious from the cases that the pupils Ainley, J., Pratt, D., & Hansen, A. (2006). Connecting Engagement
need help with mathematical concepts when they try and Focus in Pedagogic Task Design. British Educational
to appropriate a programming language to develop Research Journal, 32(1), 23–38.
their games. The two examples show how such situ- Buckingham, D. (2005). The media literacy of children and young
ations can facilitate the engagement with classical people: a review of the research literature. London, UK:
mathematical concepts such as numbers, the coordi- OFCOM.
nate system, and orientation/angles. In both cases the Churchhouse, R. F., & International Commission on
pupils interact with the teacher, each other, and games Mathematical Instruction. (1986). The Influence of com-
developed by others in order to handle the challenges. puters and informatics on mathematics and its teaching.
But one can discuss whether the overall pragmatic Cambridge, NY: Cambridge University Press.
purpose of improving their skills with Hopscotch and Cobb, P., Stephan, M., McClain, K., & Gravemeijer, K. (2001).
potentially making a better game support or hinder Participating in Classroom Mathematical Practices.
the pupils’ epistemic focus on mathematical concepts. Journal of the Learning Sciences, 10(2), 113–163.
The analysis shows that it is – in these specific cases – Glasersfeld, E. von (1995). Radical constructivism: a way of
not reasonable to disregard this as only a pragmatic knowing and learning. London, UK: Falmer Press.
mediation with little educational value. But this could Guin, D., Ruthven, K., & Trouche, L. (2005). The didactical chal-
very well have been the case if the teacher had not lenge of symbolic calculators turning a computational
been so careful in attracting the pupils’ attention to device into a mathematical instrument. New York, NY:
explicit and relevant mathematical ideas. However, Springer.
the pupils also bring in mathematical ideas (for in- Holm Sørensen, B., Audon, L., & Levinsen, K. (2010). Skole 2.0.
stance, about angles) without being prompted by the Århus, Denmark: Klim.
teacher. Hence it would be meaningful to investigate Hoyles, C., & Noss, R. (1992). Learning mathematics and logo.
further how the classroom norms and shared ideas Exploring with Logo Series. Cambridge, MA: The MIT Press.
about mathematics (the sociomathematical norms Katz, V. J. (1993). A history of mathematics: an introduction.
discussed by Cobb, Stephan, McClain, & Gravemeijer, New York, NY: HarperCollins.
2001) affect the mathematical value of introducing Knuth, D. E. (1985). Algorithmic Thinking and Mathematical
programming. Thinking. Amermathmont The American Mathematical
Monthly, 92(3), 170–181.
By using the instrumental approach it is apparent Levinsen, K., Sørensen, B. H., Tosca, S., Ejsing-Duun, S., &
that pupils’ epistemic relation to mathematics is nec- Karoff, H. S. (2014). Research and Development Projects
essary for programming to be successful in mathe- with ICT and students as learning designers in Primary
matics education. We see several ways that this epis- Schools: A methodological challenge. In Proceedings of
temic relation can be strengthened or hindered. The the 4th International Conference on Design for Learning:
teacher did acknowledge and talk about the different Expanding the field. Stockholm, Sweden: Stockholm
goal-levels of an activity; this allowed her to talk di- University.
rectly about mathematical goals, even though these Nardi, B. A. (1996). Context and consciousness activity theory
where sub-goals of the larger goal of creating a good and human-computer interaction. Cambridge, MA: The MIT
game. Constantly focusing attention on mathemati- Press.
cal concepts as problem solvers and conflict settlers Papert, S. (1980). Mindstorms : children, computers, and power-
were also actively applied by the teacher, especially ful ideas. New York, NY: Basic Books.
when the pupils programmed each other. When the Papert, S. (2000). What’s the big idea? Toward a pedagogy of
pupils are either negotiating or in cognitive conflict, idea power. IBM Systems Journal, 39(3–4), 720–729.
2529
Learning mathematics through programming: An instrumental approach to potentials and pitfalls (Morten Misfeldt and Stine Ejsing-Duun)
2530