Tag Archives: linguistics

Syntax Trees in Mathematicians’ Brains

Understanding the quadratic formula

In my last post I wrote about how a student’s pattern recognition mechanism can go awry in applying the quadratic formula.

The template for the quadratic formula says that the solution of a quadratic equation of the form ${ax^2+bx+c=0}$ is given by the formula

$\displaystyle x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}$

When you ask students to solve ${a+bx+cx^2=0}$ some may write

$\displaystyle x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}$

instead of

$\displaystyle x=\frac{-b\pm\sqrt{b^2-4ac}}{2c}$

That’s because they have memorized the template in terms of the letters ${a}$, ${b}$ and ${c}$ instead of in terms of their structural meaning — $ {a}$ is the coefficient of the quadratic term, ${c}$ is the constant term, etc.

The problem occurs because there is a clash between the occurrences of the letters “a”, “b”, and “c” in the template and in the equation to solve. But maybe the confusion would occur anyway, just because of the ordering of the coefficients. As I asked in the previous post, what happens if students are asked to solve $ {3+5x+2x^2=0}$ after having learned the quadratic formula in terms of ${ax^2+bx+c=0}$? Some may make the same kind of mistake, getting ${x=-1}$ and ${x=-\frac{2}{3}}$ instead of $ {x=-1}$ and $ {x=-\frac{3}{2}}$. Has anyone ever investigated this sort of thing?

People do pattern recognition remarkably well, but how they do it is mysterious. Just as mistakes in speech may give the linguist a clue as to how the brain processes language, students’ mistakes may tell us something about how pattern recognition works in parsing symbolic statements as well as perhaps suggesting ways to teach them the correct understanding of the quadratic formula.

Syntactic Structure

“Structural meaning” refers to the syntactic structure of a mathematical expression such as ${3+5x+2x^2}$. It can be represented as a tree:

(1)

This is more or less the way a program compiler or interpreter for some language would represent the polynomial. I believe it corresponds pretty well to the organization of the quadratic-polynomial parser in a mathematician’s brain. This is not surprising: The compiler writer would have to have in mind the correct understanding of how polynomials are evaluated in order to write a correct compiler.

Linguists represent English sentences with syntax trees, too. This is a deep and complicated subject, but the kind of tree they would use to represent a sentence such as “My cousin saw a large ship” would look like this:

Parsing by mathematicians

Presumably a mathematician has constructed a parser that builds a structure in their brain corresponding to a quadratic polynomial using the same mechanisms that as a child they learned to parse sentences in their native language. The mathematician learned this mostly unconsciously, just as a child learns a language. In any case it shouldn’t be surprising that the mathematicians’s syntax tree for the polynomial is similar to the compiler’s.

Students who are not yet skilled in algebra have presumably constructed incorrect syntax trees, just as young children do for their native language.

Lots of theoretical work has been done on human parsing of natural language. Parsing mathematical symbolism to be compiled into a computer program is well understood. You can get a start on both of these by reading the Wikipedia articles on parsing and on syntax trees.

There are papers on students’ misunderstandings of mathematical notation. Two articles I recently turned up in a Google search are:

Both of these papers talk specifically about the syntax of mathematical expressions. I know I have read other such papers in the past, as well.

What I have not found is any study of how the trained mathematician parses mathematical expression.

For one thing, for my parsing of the expression $ {3+5x+2x^2}$, the branching is wrong in (1). I think of ${3+5x+2x^2}$ as “Take 3 and add $ {5x}$ to it and then add ${2x^2}$ to that”, which would require the shape of the tree to be like this:

I am saying this from introspection, which is dangerous!

Of course, a compiler may group it that way, too, although my dim recollection of the little bit I understand about compilers is that they tend to group it as in (1) because they read the expression from left to right.

This difference in compiling is well-understood.  Another difference is that the expression could be compiled using addition as an operator on a list, in this case a list of length 3.  I don’t visualize quadratics that way but I certainly understand that it is equivalent to the tree in Diagram (1).  Maybe some mathematicians do think that way.

But these observations indicate what might be learned about mathematicians’ understanding of mathematical expressions if linguists and mathematicians got together to study human parsing of expressions by trained mathematicians.

Some educational constructivists argue against the idea that there is only one correct way to understand a mathematical expression.  To have many metaphors for thinking about math is great, but I believe we want uniformity of understanding of the symbolism, at least in the narrow sense of parsing, so that we can communicate dependably.  It would be really neat if we discovered deep differences in parsing among mathematicians.  It would also be neat if we discovered that mathematicians parsed in generally the same way!


Send to Kindle

Studying math using linguistics

The Handbook and part of the abstractmath website involve studying math from the point of view of linguistics.  I thought I was all by myself until K. L. O’Halloran’s book came out:

O’Halloran, K. L. (2005), Mathematical Discourse: Language, Symbolism And Visual Images. Continuum International Publishing Group.

She is a semioticist.

Now another new book also looks at math from a linguistic point of view, this time in connection with how mathematical discourse works in other languages:

Barton, Bill (2009), The Language of Mathematics: Telling Mathematical Tales. Springer.

It is described in Reidar Mosvold’s math ed blog.

By the way, lots of books and articles that use phrases such as “the language of math” are not written from a linguistics point of view at all.

Send to Kindle

Shape note singers use illegal vowels

According to the rules of English phonetics, certain vowel sounds cannot occur in an open syllable – a syllable that does not end in a consonant. Among these are the vowels we used to call the “short” vowels in school – the vowel sounds in pat, pet, pit, pot, put and putt. Other vowel sounds, such as those in made, need and mode, can occur in open syllables, witness may, me and no. I can’t give references for this claim since my linguistics books are in Ohio and I am in Wisconsin.

It sounds to me that traditional Sacred Harp singers in the south use the sound of the vowel in “pet”, or perhaps “pat”, to pronounce the indefinite article “a” and the vowel in the definite article “the”. This is intriguing. Could they be preserving the old sound of the vowel in those words before it became schwa? There is precedent for preserving sounds in singing that have been lost in speaking, for example in French: “Frère Jacques” is four syllables in the song and two in speech.

I wish I could give a link to a recording that shows this phenomenon with the articles. I listened to some of the videos of southern singings on YouTube but the sound quality is too bad to be evidence. I am posting this on the shape note mailing list asking whether other singers agree with my observations and whether anyone knows convincing examples of recordings with this pronunciation.

Schwa is written “ə” in linguistics. It is the sound of many unaccented vowels in English, for example the first vowel in “about”. By the way, many American southerners, including me, have a second schwa-like sound in many words that in midwestern speech are pronounced with the usual schwa. It is a very short sound like the “i” in “pit”. The only minimal pair I can think of for my speech is “carrot / caret” (I thought about it for a whole ten minutes). The spelling is only partly correlated with the sound – I use the i-colored schwa in “senate” and “minute” (the 60th of an hour) but the regular schwa in “venal” and “sinus”.

Send to Kindle