Should we get rid of the “=” sign in mathematics?

Robert Recorde

Probably, since it creates more confusion than it alleviates.

Robert Recorde had a lovely idea in 1557 when he introduced the “=” sign, writing “… bicause noe 2 thynges can be moare equalle.”

x
Studies have demonstrated that students have 3 problems with equality, as in \frac{6-2}{2}=2.

These difficulties are:

Reflexivity: the statement that x=x for all x. Students often see this as wrong because to them it’s nonsensical: the “=” sign is an instruction to do something. What is “2=2″ asking us to do?

Symmetry: the statement that if x=y then y=x. To many students this is simply wrong. For example, 2+3=5 is correct because we did something to 2 and 3 to get 5, but 5=2+3 is wrong because it’s meaningless to them.

Transitivity: if x=y and y=z then x=z. A statement such as \frac{6-2}{2}=2and 2=\frac{20-10}{10} so \frac{6-2}{2}=\frac{20-10}{10} while logically correct is also seen as meaningless by many students because it does not fully involve them using “=” as a production rule – an instruction to do something.

Of course (apart from syntactic identity, such as x-1=x-1 but not x-1=-1+x, which occurs rarely) these are the only properties possessed by equality!

Another  common misuse of “=” as a production rule consists of chains of equal signs between propositions, as in (x+y=2 and x-y=4) = (x+y=2 and 2x=6) = (x+y=2 and x=3) = (x=3 and y=-1)

It’s clear that some people do not see there’s a problem:

  • MathnasiumMiddletown ‏@MiddletownMath It’s a challenge in itself to instill a basic appreciation of #Math in younger students. Messing with = won’t change that.
  • MathnasiumMiddletown ‏@MiddletownMath We acknowledge the study, we just don’t see THAT as a serious problem in day-to-day interaction with kids and #Math!

For a different point of view – and one to which I subscribe – see the video below:

 

Programming languages use equality differently

For example, in the high level language Mathematica, (where variable types do not have to be defined), the statement

x=3

means something quite different to what it normally means in mathematics.

It means to establish a place in memory called “x” and to place “3″ into that place in memory.

The data analysis language R writes this as

x <- 3

which might, at first, take some getting used to, but is really much more explanatory: put “3″ into the place in memory called “x”.

If we  give Mathematica the command “x=3″ it stores the value “3″ in a place in memory called “x”.  So if we now want to check whether x is equal to 7-4, we write:

x == 7-4

The program gives the result “True”.

That is because it did two things: it performed the calculation 7-4 to get a result of 3, then looked to see if the value 3 was stored in the space in memory called “x”.

If we gave the software the command

x-1 == 5+2

it responds with”False” because it looks in memory to find “3″ in the place called “x”, performs a subtraction, performs and addition, and checks whether the result is the same in both cases.

Mathematica, like many programming languages, also has a form of equality written “===” and called “same as” or “identical”. This refers to exact syntactic identity.

So, for example, when we give Mathematica the instruction

4 === 6-2

we get a result of “False”. That is because the left hand side “4″ is not exactly identical in its written form with the left hand side “6-2″.

Similarly, the command

x-1 === -1+x

yields “False”

Why would we ever want such a pedantic meaning for exact literal equality?

On example is when we are performing a large number of calculations, some of which result in “ComplexInfinity” as an answer. If we want to delete these cases from our list of answers we cannot simply ask the software to find the cases x for which “x == ComplexInfinity”. That is because ComplexInfinity” is not a value against which the memory in x can be tested for equality.  So we look, instead for cases x for which “x === ComplexInfnity”. The program looks in memory at x to see if there is a literal sting that reads “ComplexInfinity”. If there is, it deletes that string (provide you asked it to do that).

The point is that “==” allows for semantic interpretations, unlike “===” which demands exact literal syntactic equality.

I have on many occasions “corrected” students who wrote “4-2 -> 2″, but now I’m not so sure.

As a production rule sign “->” is not too bad. It has an arrow of direction, indicating that the left hand side was to be interpreted through an arithmetic procedure and the right hand side asserts this procedure led to the number 2.

This is not a bad thing, and in light of the many confusions in mathematics about “=”, and the more precise use of “=” in computer science, maybe it’s time to ditch Robert Recorde’s ingenious notation? At the very least, we should be more careful about its use.

Children aren’t born knowing about “=” and its use in mathematics. They, if not their teachers, could get used to a more careful use of equality.

{ 0 comments }

Spreadsheets and big data

by Gary Ernest Davis

Many people use spreadsheets for calculation and for storing data.

The tabular format of spreadsheets, the ability to use formulas,  to search the cells, to plot charts, and to change parameters and have plots redraw are compelling features of spreadsheets and have embedded them into popular use.

Spreadsheets are widely use for storing and transmitting data: the tabular layout that allows for sorting by columns is very appealing to  anyone in an organization who collects and needs to disseminate data.

The widely used data analysis and statical software R imports files directly from most spreadsheet formats, so it is very tempting for students of statistics and data analysis to store their data in a spreadsheet. For teaching purposes this does no apparent harm in the short term. However, longer term, the habit of using spreadsheets to store and disseminate data can be very problematic.

Despite the many rows and columns, a spreadsheet can effectively manipulate only a limited amount of data.

Excel 2007 has 17,179,869,184 cells. If each of these cells were filled with data, that would seem to be a large amount of data by anyone’s standards. Imagine that in each of these cells there was only a 0 or a 1. A terabyte of data is 1,000,000,000,000 (a trillion) bytes, so an Excel 2007 spreadsheet filled with o’s and 1′s would hold only about 1.7% of a terabyte of information: it would take about 58 such filled Excel spreadsheets to get a single terabyte of data.

A petabyte of data is 1,000 terabytes. To get this much data from spreadsheets filled with 0′s and 1′s we would need about 58,000 spreadsheets.

So if every single person in the town of Great Yarmouth in the UK had an Excel 2007 spreadsheet filled with 0′s and 1′s we would have about a petabyte of data.

Surely no-one could regularly want to deal with that much data?

But that is just what Big Data sets (and extremely large data sets) contain. In fields such as genomics, meteorology,  internet searching, and finance informatics, petabytes of data are routine.

In fact exabytes of data are not uncommon: an exabyte is 1,000,000 terabytes -  about the equivalent of every single person in a country such Italy as having an Excel 2007 spreadsheet full of data.

But wait, you say: a person in a medium size business, producing a list of employees and job descriptions, for example, doesn’t have to worry about exabytes of data. Surely they can keep on using a spreadsheet to store their data?

The answer is: of course they can and of course they will. Spreadsheets are simply too useful in everyday life to abandon.

Now we have  a problem when we want to amalgamate, or consolidate, the data from many, many thousands of spreadsheets.

How do we handle such data, how do we ensure its integrity and fidelity, how and where do we store it, and how do we analyze it?

One suggestion is to store spreadsheet data in a large spreadsheet format in the cloud that is scalable to handle big data sets. Another is to develop a spreadsheet search engine that could extract semantic information from large collections of spreadsheets.

Spreadsheets are probably not going way anytime soon, because of their useful features for handling small scale data. Yet demands of Big Data steer us to thinking of effective ways of managing the accumulation and consolidation of manifold spreadsheet data sets.

Reference

Jacek Becla1, Daniel Liwei Wang, Kian-Tat Lim, REPORT FROM THE 5th WORKSHOP ON EXTREMELY LARGE DATABASES, Data Science Journal, Volume 11, 23 March 2012 [ Becla_et-al ]

{ 0 comments }

Alexis Wajsbrot

Alexis Wajsbrot is a technical film director specializing in the simulation of  movement of  fluids and textiles.

Sound sexy so far?

Well, here’s some of the projects Alexis has worked on:

Here’s a Vimeo link to some of Alexis’ film effects.

Alexis approximates a moving fluid or textile  by a large number of particles  in a 3-dimensional co-ordinate system.

The software he uses allows him  to choose how the particles move in space – controlling their speed and acceleration.

Another way Alexis simulates a fluid is to dissect  the region of the fluid into a 3-dimensional grid of  voxels (from  volume & pixel). He then uses the mathematics of fluid dynamics to calculate the velocity in each voxel at each time step, to create a realistic fluid motion.

More details of Alexis’ work and Quicktime movies of his simulations can be found at +plus magazine, from which this information was taken.

Finally, here’s Alexis describing some of his work on Red Balloon (en Francais):

{ 0 comments }

So you want to be a data scientist?

May 6, 2012

Well, listen up. Here are some a well known data scientists: What do you need to know, and know how to do to be a data scientist, and hang with these cool folks? First, you need to be able to hack and scrub data – lots and lots of data, usually messy.  To do this [...]

Read the full article →

Why is -3+5=5-3?

May 6, 2012

@MrMathsTeacher tweeted (5/6/2012) “Is 5x-3=7 easy, but -3+5x=7 hard due to the way neg numbers have been taught or because of algebra difficulties, or something else?” @ColleenYoung responded:  ”I think so many are not really familiar with the fact that say -3+5 is the same as 5-3. #mathchat“ A lot of the difficulty for kids in learning mathematics, is [...]

Read the full article →

What can you do with math (except teach)?

May 5, 2012

That’s a good question. Let’s see – here’s what a few folks have done: Jim McElwaine is – wait for it – an avalanche researcher. No kidding, Jim actually researches the mathematics and physics of avalanches. He was one of a team that investigated the 1999 avalanche that killed 12 people in the Swiss alps. [...]

Read the full article →

The Minds of Modern Mathematics – an iPad app

May 4, 2012
Read the full article →

“As teachers this is our paycheck. When we inspire children – that’s what we live for”

May 4, 2012

Mathematics teacher Ben Johnson inspires his students to achieve

Read the full article →

What’s up with pre-calculus?

May 2, 2012

  Pre-calculus is an odd mongrel of a course. It’s name suggests it’s preparation for calculus. The course content, commonly involving polynomials, exponential and logarithmic functions, trigonometry and circular functions, suggests the intent of pre-calculus is indeed preparation for calculus. But there’s something rotten in the state of pre-calculus. Several people responded recently to a [...]

Read the full article →

5 great things about being a maths teacher

May 1, 2012

This is a guest post written by Kimberley McCosh (@spyanki_apso on Twitter) ________________________________________________ 5 great things about being a maths teacher Kimberley McCosh I love maths.  I have had a few jobs before becoming a maths teacher but the urge to teach was always there.  I am a self confessed maths geek and I love nothing [...]

Read the full article →
1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39|40|41|42|43|44|45|46|47|48|49|50|51|52|53|54|55|56|57|58|59|60|61|62|63|64|65|66|67|68|69|70|71|72|73|74|75|76|77|78|79|80|81|82|83|84|85|86|87|88|89|90|91|92|93|94|95|96|97|98|99|100|101|102|103|104|105|106|107|108|109|110|111|112|113|114|115|116|117|118|119|120|121|122|123|124|125|126|127|128|129|130|131|132|133|134|135|136|137|138|139|140|141|142|143|144|145|146|147|148|149|150|151|152|153|154|155|156|157|158|159|160|161|162|163|164|165|166|167|168|169|170|171|172|173|174|175|176|177|178|179|180|181|182|183|184|185|186|187|188|189|190|191|192|193|194|195|196|197|198|199|200|201|202|203|204|205|206|207|208|209|210|211|212|213|214|215|216|217|218|219|220|221|222|223|224|225|226|227|228|229|230|231|232|233|234|235|236|237|238|239|240|241|242|243|244|245|246|247|248|249|250|251|252|253|254|255|256|257|258|259|260|261|262|263|264|265|266|267|268|269|270|271|272|273|274|275|276|277|278|279|280|281|282|283|284|285|286|287|288|289|290|291|292|293|294|295|296|297|298|299|300|301|302|303|304|305|306|307|308|309|310|311|312|313|314|315|316|317|318|319|320|321|322|323|324|325|326|327|328|329|330|331|332|333|334|335|336|337|338|339|340|341|342|343|344|345|346|347|348|349|350|351|352|353|354|355|356|357|358|359|360|361|362|363|364|365|366|367|368|369|370|371|372|373|374|375|376|377|378|379|380|381|382|383|384|385|386|387|388|389|390|391|392|393|394|395|396|397|398|399|400|401|402|403|404|405|406|407|408|409|410|411|412|413|414|415|416|417|418|419|420|421|422|423|424|425|426|427|428|429|430|431|432|433|434|435|436|437|438|439|440|441|442|443|444|445|446|447|448|449|450|451|452|453|454|455|456|457|458|459|460|461|462|463|464|465|466|467|468|469|470|471|472|473|474|475|476|477|478|479|480|481|482|483|484|485|486|487|488|489|490|491|492|493|494|495|496|497|498|499|500|501|502|503|504|505|506|507|508|509|510|511|512|513|514|515|516|517| where to buy cheap coumadin pharm support group without prescription cheap flomax overnight shipping without prescription where to buy cheap tenormin canada without prescription buy generic cefixime usa without prescription buy alesse from india no prescription buy vytorin ca without prescription where to buy generic colchicine online without prescription where to buy generic bupropion canadian pharmacy without prescription buy online alesse coupon no prescription how to buy zovirax online pharmacy no prescription where to buy cheap tegretol uk no prescription buy cheap soloxine online pharmacy without prescription generic motilium nz no prescription generic inderal best price without prescription cheap norvasc uk no prescription how to buy advair coupons no prescriptionpayday loans online no checking account