12

Background

The students in my country are supposed to be able to work with and answer questions about functions at the age of around 15. This is asserted in the standard mathematics curriculum for middle school students.

Personally, I think the definition of a function is extremely abstract and technical. Of course, I understand its importance in higher mathematics, but we are not only preparing kids to become mathematicians. Additionally, the definition of a function is rather cumbersome, and I have trouble stating it clearly at any level.

I question why we put so much emphasis on the concept of a "function" while we could be broadening our scope a bit to all relations between variables. As an example, the equation of a circle does not fall directly under the "function" category. Why does the term "function" even need to be taught to most children?

Most of the text books only deal with linear functions, quadratic functions, and 1/x.

Question

Why should or shouldn't we teach functions to 15 year olds?

Improve
  • 1,881
  • 14
  • 24
  • 7
    I share your view that it is difficult to teach functions due to the abstractness of the concept, kids struggle a lot with it. But the questions as posed seem to invite opinion-based answers. I suppose you could improve the question by phrasing it as "why do we teach/emphasize functions (per the abstract definition)" – cesaruliana Apr 18 '21 at 22:25
  • 17
    Should we also stop teaching them sets because their definition is difficult? – user5402 Apr 18 '21 at 22:59
  • The notion of a mapping between sets is, to me, easier to understand than a "function," even though they are the same. Then "into" and "onto" are not so difficult to grasp. – Joseph O'Rourke Apr 18 '21 at 23:24
  • 8
    Of course you don't discuss functions as sets of ordered pairs. Instead you do examples, $f(x) = 3x-2$ or "a rotation of the plane". At some point you talk about trigonometric functions. – Gerald Edgar Apr 19 '21 at 00:15
  • 1
    @GeraldEdgar Why do we "of course" not discuss functions as sets of ordered pairs? By rotation of a plane do you essentially mean f(x) = Rx, where R is a rotation matrix? – Improve Apr 19 '21 at 10:32
  • @user5402 I am not sure if there is a lot of focus on teaching the definition of a set in our curriculum. I cannot recall anyone really attempting to define a set for me until I started university. Sure, we may have worked a bit with intersections or unions, but I don't think we really focused on them being sets as opposed to say multisets. – Improve Apr 19 '21 at 10:36
  • 4
    "we could be broadening our scope a bit to all relations between variables" This is a slippery slope. You can always broaden the scope to something a bit more general and it's easy to think it will be trivial when you already understand the material. "Why does the term "function" even need to be taught to most children?" This can be flipped around: Why should relations be taught to most children when most of them will only ever use functions? – DKNguyen Apr 19 '21 at 20:17
  • 2
    @Improve 15 years old are in grade 9 or 10; If you never taught them functions, how will you explain that $x=\frac{0.5}{\sin}$ isn't the solution of $\sin x=0.5$ ? that $\cos(a+b)\neq \cos a+\cos b$ ?... – user5402 Apr 19 '21 at 22:29
  • 8
    I can think of two definitions for a function right off the top of my head. The simple one is a set of ordered pairs, which is not hard to teach or grasp for students who know how to graph points on a Cartesian plane. The more challenging one might be teaching functions as a subset of a the cartesian cross product between two sets. My point being that the phrase "the definition of a function" in the question has got me a bit uncertain about what exactly you're asking about teaching. Personally I don't think 12 is too young for functions. – Todd Wilcox Apr 20 '21 at 04:49
  • 3
    @user5402 Sadly, some advocate that children should never be taught sets because it is against their religion (I can't tell you how surprised I was to read that in a religious home school textbook). – Todd Wilcox Apr 20 '21 at 04:53
  • @user5402 I am not sure if this is very different from $\sqrt{a+b} \neq \sqrt{a} + \sqrt{b}$. However your example may be trickier since it may look like multiplication, while the case of the square root does not. – Improve Apr 20 '21 at 08:21
  • 1
    How would you propose teaching derivation and integration without functions? How do you propose teaching them basic physics without derivation and integration? – jcaron Apr 20 '21 at 08:57
  • I'm really curious what exact definition is used for function in your country's middle school math curriculum that makes it so abstract and technical. At least for me, systems of equations (or even basic equations) were much harder to absorb than functions that you can graph by hand and see clearly what's going on. – xngtng Apr 20 '21 at 09:00
  • @jcaron I guess I propose teaching them functions before teaching them derivation and integration. However you don't learn derivation or integration unless you specifically choose those subjects in high school (age 16-19). – Improve Apr 20 '21 at 09:09
  • @zhantongz The government doesn't really specify. – Improve Apr 20 '21 at 09:11
  • @Improve What about (presumably conforming) textbooks, or in common practice? "linear functions, quadratic functions, and 1/x" alone don't really require much about the higher mathematical sides of functions. – xngtng Apr 20 '21 at 09:20
  • @zhantongz From what I recall they basically treat them the same as formulas. I can recall one textbook explicitly mentioning that there is a unique value associated to every x via f. From my recollection, none of them really talk about the domains and codomains. – Improve Apr 20 '21 at 10:06
  • @Improve how does one teach basic physics (speed, acceleration...) without derivation and integration? Don’t know how things are done in the US but in France until 2019 one picked a branch (scientific, human sciences...) around 16 and anybody in the scientific branch (about 40%) would learn about functions and derivation age 16-17 and integration age 17-18. They changed things a lot on 2019, not quite sure how it works now. – jcaron Apr 20 '21 at 11:22
  • @jcaron I guess we don't really talk much about acceleration until someone chooses physics as a subject at the age of 16-19. Before that I presume one can talk about change in velocity and change in distance without needing to talk about what a function is. Do they learn about functions before they pick branches in France? – Improve Apr 20 '21 at 11:42
  • Here are some very non-technical functions: 1) Anne has a bunch of lollipops and shares them with her friends. Each boy gets one, each girl gets two lollipops. 2) All five kids in the Smith family get a monthly allowance. Each gets twice as many Euros as their respective age in years. – henning Apr 20 '21 at 11:47
  • @Improve As far as I know, no, functions are only taught from age 16 if you are in the scientific branch. At age 15 (which is before they pick a branch) they learn series, recurrence, quadratic equations... – jcaron Apr 20 '21 at 11:59
  • @jcaron Many physics problems can be dealt with without calculus. In Russia physics is a five-year mandatory course starting in 7th grade (13-14 years old). Mechanics, thermodynamics, electricity and magnetism, radioactivity - lots of things can be done with power functions, logs, systems of equations, trigonometry and vectors. The U.S. has two versions of AP physics: algebra-based and calculus-based. – Rusty Core Apr 20 '21 at 15:16
  • As far as "the definition of a function" goes, even once you pick your formalism, you're still not quite done. There's at least one A-level exam board in the UK that allows partial functions in its definition of functions, for example. – user3482749 Apr 20 '21 at 16:26
  • 2
    @ToddWilcox I graduated from a catholic school and taught in many religious schools but I never heard of this. How are sets against religion? – user5402 Apr 20 '21 at 20:24
  • 1
    This is not a chat room; please go to a chat room if you want to talk about religion and set theory. – Chris Cunningham Apr 21 '21 at 15:02

7 Answers7

37

In the U.S. Common Core standards, functions are supposed to be introduced in the 8th grade, i.e., around age 13-14. So arguably age 15 is a year or two behind where they ought to be.

The standard for the 8th grade says:

Understand that a function is a rule that assigns to each input exactly one output.

So honestly that really doesn't seem like a hugely complicated idea to introduce.

Consider that things called "functions" will, at this point or very soon, be all around the students. They are intrinsic to:

  • Mathematics
  • Computer programming
  • Standard office software like Excel

Therefore it seems highly reasonable to give them the general concept at this time or earlier.

If motivation for why it's important is required, then you should provide that. As a first stab I can usually say something like: It's easier to deal with a process when we know it has just one result, rather than possibly many. (In the back of my head I'm thinking about things like 1-to-1 vs. 1-to-many relationships in a database, and the very different ways we have to handle that.)

Daniel R. Collins
  • 25,342
  • 70
  • 121
  • 22
    Do USA standards really determine when pupils all over the world ought to learn things? – Tommi Apr 19 '21 at 05:16
  • 20
    @Tommi: Feel free to provide additional data points. – Daniel R. Collins Apr 19 '21 at 13:26
  • 15
    Your choice of words implies that the USA standard tell what pupils "ought" to know. The second sentence in your post. Other examples would not change this. – Tommi Apr 19 '21 at 16:25
  • 13
    @Tommi: You're ignoring the word "arguably" which indicates a tentative hypothesis based on preliminary available data. Again, feel free to add your own answer with more data or research-based results. I'll be leaving this answer as-is for community voting. – Daniel R. Collins Apr 19 '21 at 16:39
  • 3
    For comparison, Russian algebra/pre-calc program. All topics are mandatory. Geometry is a separate subject. Basics of logic are included in geometry and algebra. – Rusty Core Apr 19 '21 at 17:08
  • 3
    Excel (and programming) is a very good point. The concept of functions IMO is important to mathematical thinking and general problem-solving skills, not just to become mathematicians. – xngtng Apr 20 '21 at 09:18
  • 2
    The point about Excel is especially timely, now that Excel has only recently introduced the worksheet function LAMBDA as inspired by Church's lambda-calculus.Then came LISP and the1960's foundational work of John McCarthy in AI. The functional focus of "lambda abstraction" has been present in languages such as Python and Java for years, before being embraced as a standard Excel function. – user52817 Apr 20 '21 at 15:07
  • Comments are not for extended discussion; this conversation has been moved to chat. – Chris Cunningham Apr 20 '21 at 18:18
  • 2
    @RustyCore I don't watch every discussion, but when a user flags comments, I come in and see if I can improve the situation. Feel free to post in meta about janitorial work on comment chains if you wish; this comment thread isn't the place for this either. I'm not sure what discrimination you are worried about but I'm happy to improve after a constructive discussion in meta if there is one to be had. – Chris Cunningham Apr 21 '21 at 14:12
  • 4
    When making the connection to computer science / programming, beware that the word "function" is widely misused as a synonym for "procedure", and only a subset of procedures actually qualify as true functions. – Ben Voigt Apr 21 '21 at 17:03
  • 3
    I find it tedious when people pounce on any statement with an American based viewpoint (even one as judiciously articulated as this answer) and decide to make it a point of contention. – Kirk Woll Apr 21 '21 at 23:46
  • 1
    Functions are far and away the most abstract idea that students encounter in high school and long experience teaching calculus and linear algebra suggests that one of the principal reasons university studens struggle in these classes is not understanding the function concept (the composition of functions being particularly problematic, and not understanding it underlying trouble with the chain rule, change of variables in integrales, change of basis, etc.). This is also one of the reasons that it needs to be taught slowly and well in high school. – Dan Fox Apr 24 '21 at 12:08
27

I think "function" is one of those notions that can be presented in different ways to people at different ages and who have different levels of ambition in math. This is similar to the notion of a "set," which I was taught in school ca. age 5 or 6 in an age-appropriate way, but then learned about at a different level in college.

At a basic level, there is not much to say about functions that is very difficult or complicated:

  1. A function takes an input and gives an output.
  2. We usually write the function to the left of its input: $\sin x$, $f(x)$. But sometimes we use other types of notation, such as $|x|$.
  3. Strictly speaking, a function is supposed to have one well-defined output, which makes it like a function on a calculator. By this definition, the square root is not a function, but we can make it into a function by specifying the positive root, or we can relax our notion of "function" to include multi-valued functions.

When students get to the point where they're drawing graphs of functions, they can be told that rule 3 is the vertical line test. Notions like inverting a function, composition of functions, one-to-one functions, and so on do not have to be introduced early on. I don't see the point of introducing non-obvious terminology at this stage, such as domain, range, and so on. I would not take a typical class of 15 year olds and start teaching them how to notate the composition of functions, nor would I belabor the fact that a function cannot always be written down as a formula.

  • 8
    I was taught that "the square root" is a function because it was defined as the positive square root. – user253751 Apr 19 '21 at 16:41
  • 7
    I was taught functions between 13 or 15 so we could graph equations, but the mathy mathy part about functions like mapping did not come until later. Mathematicians sometimes forget that you don't need everything at the start. Imagine being introduced to Pi as an infinite series. – DKNguyen Apr 19 '21 at 20:14
  • @user253751: That is one way to teach it. It tends to be more common today, but was less common in the past. –  Apr 19 '21 at 21:23
  • "Strictly speaking, a function is supposed to have one well-defined output,...". I don't think you need to say this. It is part of (1). Take the square root example. If I say "Let $f$ be the function that assigns to a positive real number $x$, the real number $y$ such that $y^{2} = x$", then that's not a function, not because (3) doesn't hold, but because that rule simply doesn't give an output. – Peter Apr 19 '21 at 22:41
  • 4
    @Peter I disagree. Pretend that I am a machine. You say "3", I say "2", you say "3", I say "1". I have given an "output" in each case. – Improve Apr 20 '21 at 08:25
  • @Improve: Indeed, you have inconsistency, which points out a flaw in the answer's definition. But lack of repeatability is not the same as multi-valued. It could be affected by its external environment (impure), it could maintain internal state (memory), it could be non-deterministic (random) -- all these break repeatability just as much as a multi-valued function such as square-root can. – Ben Voigt Apr 21 '21 at 17:00
  • @user253751: that is the standard definition of the square root and what is taught in most countries. – Dan Fox Apr 24 '21 at 12:09
16

Functions are far broader and more applicable than you give them credit for. Consider the following:

Country or state Capital Elevation (in meters)
Bolivia Sucre 2783
Ecuador Quito 2763
Colombia Bogata 2619
Eritrea Asmara 2363
Ethiopia Addis Ababa 2362
Mexico Ciudad de Mexico 2216
New Mexico Santa Fe 2152
Wyoming Cheyenne 1856
Colorado Denver 1613
Nevada Carson City 1462
Utah Salt Lake City 1308
Montana Helena 1262

Your students would be able to determine the elevation of Quito or the capital of Wyoming by interpreting that table far earlier than 15, and they're evaluating functions in order to do it. The only other thing you need to do is show them an example of where a table fails to be useful.

January 31
February 28
February 29
March 31
April 30

Again, much younger students would be able to describe why that table is deficient. So a function is a "math thing" that unambiguously associates exactly one output to any input. From there, you go on to talking about how we typically use it in mathematics, to evaluate an expression with one or more variables.

Chris Cunningham
  • 21,474
  • 6
  • 63
  • 148
Matthew Daly
  • 5,619
  • 1
  • 12
  • 45
  • 1
    As you say, they don't need to know the abstract concept of a function to be able to read tables. I am aware that lots of things are functions, but to me that doesn't justify focusing on defining functions to $15$ year olds. Why don't we just as well formulate and define group actions? When learning the clock we don't emphasize that it is a $\mathbb{Z}$-set. When learning about symmetries of the plane we don't emphasize that they form a group. In physics we don't say that energy and time are $\mathbb{R}$-torsors. In all of these cases kids are still able to use the related properties. – Improve Apr 19 '21 at 14:25
  • Both tables illustrate functions: Quito has elevation 2763 meters, and January has 31 days. I don't find this kind of functions that cannot be defined with a formula, useful for teaching functions. Even a simple linear function representing distance traveled as a function of time allows finding distance for any time simply by plugging it into the formula, the elevation table does not allow that. A travel distance function represents a physical process, uniform motion, while a bunch of altitudes are just numbers that do not allow to generalize. American texbooks are full of stuff like this. – Rusty Core Apr 19 '21 at 16:07
  • 9
    @RustyCore: The table serves to emphasize that a function is a set of ordered pairs. You would be surprised by the number of high school students who believe a function is some kind of complicated abstract algebra thing with an "x" in it. – Kevin Apr 19 '21 at 16:49
  • 4
    @RustyCore The second table does not represent a "function". (How many days in February?) I think that's one of the clearest illustrations I've seen for why two outputs for one input might be problematic. – user3067860 Apr 19 '21 at 17:37
  • @user3067860, Doh! Two Februaries, I was not attentive enough. Thanks. – Rusty Core Apr 19 '21 at 17:40
  • @RustyCore Lousy Smarch weather! – Thierry Apr 19 '21 at 18:27
  • @RustyCore neither a focus on only algebraic formulas, or a focus on only lookup tables, is sufficient to convey what functions are really about. But both are examples that do help to get there. What you're describing are not merely functions but functions with extra properties. Of course continuity etc. are extremely important properties, but they can't really be introduced without having a notion of more general functions. In fact, starting from a special case like polynomials is highly misleading in that is suggests that everything is differentiable and the derivatives get ever simpler. – leftaroundabout Apr 20 '21 at 18:07
  • @leftaroundabout functions are basically (sometimes infinite) tables. Algebraic formulas are just a way to define functions, and not every function is algebraic (the elevation example isn't algebraic, for instance). – Christopher King Apr 21 '21 at 14:35
  • @PyRulez sure, but how do you visualise an over-countably infinite table? My point is that a function really needs to be understood as an algorithm. The table picture doesn't get that across very well. Algebraic expressions are an example of algorithm, albeit an overly specific one. – leftaroundabout Apr 21 '21 at 19:16
9

Some abstraction is perfect for children. Mitsumasa Anno was a Japanese writer of children's books and he had many innovative approaches to introduction functions. This is from Anno's Math Games II. You can even see the introduction of function inverse.

enter image description here

user52817
  • 10,688
  • 17
  • 46
  • 2
    (+1) British curriculums indeed introduce functions via "function machines", essentially flowcharts that take an input and produce an output. The notion of an inverse function is introduced by reversing the steps of the flowchart. This version of "function" is taught at a lower age, but introducing notation for functions usually takes place around ages 13-16. For an example of teaching material using the "function machine", see https://www.bbc.co.uk/bitesize/guides/zt2scj6/revision/2 – Silverfish Apr 20 '21 at 17:31
  • 3
    "You can even see the introduction of function inverse." Maybe you can, but I have absolutely zero idea what's going on in that picture! (I've seen a book by Anno and liked it, so I believe you that he introduces functions nicely.) – Thierry Apr 21 '21 at 02:02
  • 3
    @Thierry what I see, going from right to left <--, is a function that takes a symmetrical object--perhaps a top or a loaf of bread--cuts it in half along a vertical plane of symmetry, and then flattens the color to gray. The "magic" is going left to right-->, where the child conjures up and creates with their imagination an object for the bottom right. Of course different people see different things and there is no "right answer" and this is what makes Anno's approach fun for people of all ages. – user52817 Apr 21 '21 at 02:55
  • @user52817 Ha! Well now I see it. I suppose when you have the whole book in front of you it's easier to see what he's doing; with just the one page I only got as far as agreeing with the man in the second picture that his massive left sleeve is indeed impressive, and he's right to be proud of it. – Thierry Apr 21 '21 at 20:34
  • 1
    So why is the dude in the bottom right not holding his miso soup bowl as he ought to? – Will Apr 22 '21 at 00:05
  • @Will Because that's what the child is supposed to work out from the previous two pictures. – nick012000 Apr 22 '21 at 04:37
  • 2
    @nick012000 Probably, yes; but I feel maybe that should be made a bit more explicit with a question mark in the bottom right or something, instead of a dude staring seemingly confused into the black void of the magic machine. At first I felt like I was supposed to figure out why the grey miso bowl fragment caused the magic machine to malfunction... A whole lot of irrelevant distraction and potential confusion in an attempt to convey an inherently straightforward mathematical concept IMO. – Will Apr 22 '21 at 05:57
7

If 10-11 year olds can learn programming (which some have done even before Scratch was a thing), then it's hardly a leap at all to suggest that 15 year olds can learn functions since they are a common element of programming languages.

Every student is going to be different and some are going to be better at math than others, but I think this notion that there is some predefined linear order of teaching math is a little misguided. Even the most intimidating concepts, such as quaternions, can be taught with the right approach, something that surprises me every time with e.g. 3Blue1Brown's videos.

Just because any given subject in math has all sorts of crazy depth to it and endless connections to other mathematical concepts, there is still a ton of value in just the surface level concepts. You don't need to teach in-depth category theory to teach functions when a basic understanding of domain and range is enough to solve the problems at hand.

Beefster
  • 179
  • 2
  • 3
    Some of us learned programming at an early age using BASIC on now ancient machines. – J W Apr 22 '21 at 09:50
  • 1
    In practice, very few 10-11 year olds learn programming. It is also debatable whether being able to use scratch or basic or something similar really constitutes knowing how to program, or helps learn what is necessary to program in languages such as Python or C. Precisely what is lacking is abstraction. – Dan Fox Apr 24 '21 at 12:12
  • 1
    @DanFox C is an old-school imperative language, its most complicated concept is of a pointer, and pointer arithmetic as well as explicit memory allocation are the most error-prone areas. Scratch has concepts and features many languages do not have, like subscribing and broadcasting messages, events, or multithreading. – Rusty Core Apr 24 '21 at 16:12
  • 1
    @DanFox it's true that few 10-11 year olds learn programming, but the point here is that there really isn't a specific prerequisite age for learning these kinds of concepts. Approaching any topic from the right angle gives the ability to teach just about anything. – Beefster Apr 26 '21 at 15:33
3

We shouldn't need to teach functions to 15 year olds, because ideally they should have already learned programming since primary school, including mathematical and general functions and inverse functions. Programming, including demos, games and robotics, is the best motivator to learn math in my opinion.

Sam Watkins
  • 221
  • 1
  • 4
  • 5
    I think one thing we need to deal with is the reality that many children don't learn programming in primary school (or even secondary school). For many, it's a brand new subject at university. That said, I guess it varies from country to country. – J W Apr 22 '21 at 09:54
  • 1
    But then they should really learn a functional programming language in primary school, not C, right? – Michael Bächtold May 08 '21 at 07:05
  • Not necessarily, just explain the difference between "pure functions" and procedures with side effects. That said, C is not a great choice for primary school. Did someone suggest to teach C to primary school children? It's possible but you'd better give them a nice set of non-pure functions to play with, for graphics / robotic or what have you. – Sam Watkins May 13 '21 at 04:59
3

Most of pre 1900 mathematics can be done without the modern function concept. Hints that this was actually the case can be found in this hsm question Who first considered the $f$ in $f(x)$ as an object in itself, and who decided to call it a function? or if you skim through Leonard Eulers books on differentiation and integration (you'll have to look very hard to ever find an $f(x)$).

So for the mathematics most people will ever learn in a modern curriculum, instead of using functions, one could express almost anything of interest just using variable quantities and equations between them. For instance, instead of writing $f(x)=x^2$ you could just write $y=x^2$ and continue from there. That's implicitly what's still happening when students are taught the modern function concept at the age of 15: teachers introduce it but rarely use it in isolation later on. Just like in many programming languages we can use $f(x)$ but we'll never need (or be able) to use $f$ as an object itself. This indirect use of $f$ probably makes it harder for students to understand what the fuss is all about.

Also mathematicians pre 1900 where much more lax about the idea of a unique value of the dependent variable corresponding to a given value of the independent one, which is why for instance we still talk of an "implicit function" when we discuss the equation of the circle. So they had the broader perspective you mention.

In summary I doubt that people need to learn the modern definition with 15.

Michael Bächtold
  • 2,039
  • 1
  • 17
  • 23
  • 1
    Programming languages that treat functions as first class objects allow expressing algorithms in a more compact and more generic form, just like mathematical formulas. – Rusty Core May 08 '21 at 17:07