Free software brings affordability, transparency to mathematics

December 6, 2007
The Sage logo

The Sage logo. Credit: William Stein

Until recently, a student solving a calculus problem, a physicist modeling a galaxy or a mathematician studying a complex equation had to use powerful computer programs that cost hundreds or thousands of dollars. But an open-source tool based at the University of Washington won first prize in the scientific software division of Les Trophées du Libre, an international competition for free software.

The tool, called Sage, faced initial skepticism from the mathematics and education communities.

"I've had a surprisingly large number of people tell me that something like Sage couldn't be done – that it just wasn't possible," said William Stein, associate professor of mathematics and lead developer of the tool. "I'm hearing that less now."

Open-source software, which distributes programs and all their underlying code for free, is increasingly used in everyday applications. Firefox, Linux and Open Office are well-known examples.

But until recently, nobody had done the same for the everyday tools used in mathematics. Over the past three years, more than a hundred mathematicians from around the world have worked with Stein to build a user-friendly tool that combines powerful number-crunching with new features, such as collaborative online worksheets.

"A lot of people said: 'Wow, I've been waiting forever for something like this,'" Stein said. "People are excited about it."

Sage can take the place of commercial software commonly used in mathematics education, in large government laboratories and in math-intensive research. The program can do anything from mapping a 12-dimensional object to calculating rainfall patterns under global warming.

The idea began in 2005, when Stein was an assistant professor at Harvard University.

"For about 10 years I had been really unhappy with the state of mathematical software," Stein said. The big commercial programs – Matlab, Maple, Mathematica and Magma – charge license fees. The Mathematica Web page, for example, charges $2,495 for a regular license. For another program, a collaborator in Colombia was quoted about $550, a special "Third World" discount price, to buy a license to use a particular tool, Stein said.

The frustrations weren't only financial. Commercial programs don't always reveal how the calculations are performed. This means that other mathematicians can't scrutinize the code to see how a computer-based calculation arrived at a result.

"Not being able to check the code of a computer-based calculation is like not publishing proofs for a mathematical theorem," Stein said. "It's ludicrous."

So Stein began a year and a half of frenzied work in which he created the Sage prototype, combining decades' worth of more specialized free mathematical software and filling in the gaps.

"I worked really, really hard on this, and didn't sleep much for a year. Now I've relaxed. There are a lot more people helping out," Stein said. "It seems like everyone in the field has heard of Sage now, which is surreal."

Among those helping is a team of five UW undergraduate students who work part-time on the code – everything from writing new formulas to improving the Google-ish graphical interface. (Even when Sage runs on an individual computer, not over the Internet, you use a Web browser to enter commands.)

Regular meetings, named "Sage days," bring together volunteer developers. The fourth Sage day, held in Seattle in June, drew about 30 people. The sixth Sage day was held last month in Bristol, England. Forty-one people attended talks and many participated in coding sprints. Dozens of other people around the world contribute through Sage's online discussion boards.

Last month, Stein and David Joyner, a mathematics professor at the U.S. Naval Academy in Annapolis, Md., published a letter in the Notices of the American Mathematical Society in which they argue that the mathematical community should support and develop open-source software.

Soon Sage will face off against the major software companies in physical space. In early January, thousands of mathematicians will gather in San Diego for the joint meeting of the American Mathematical Society and the Mathematical Association of America. In the exhibition hall, Stein has paid the first-timers' rate of $400 to rent a booth alongside those of the major mathematical software companies, where he and students will hand out DVDs with copies of Sage.

"I think we can be better than the commercial versions," he said. "I really want it to be the best mathematical software in the world."

The Sage project page is at http://www.sagemath.org .

Source: University of Washington

4.8 /5 (93 votes)  

Filter


Move the slider to adjust rank threshold, so that you can hide some of the comments.


Display comments: newest first

googleplex
Dec 07, 2007

Rank: 5 / 5 (1)
I wish someone would create a free internet library of research papers.
I wouldn't care if they had some discrete advertising to fund it. As long access to research papers was free.
Something like the US patent office would be a good model.
The benefits to mankind of freely distributing the information far out value the fees generated from controlling the distribution.
Futhermore the project should bring together research into a wiki style collection. This would help to link papers/researchers and co-ordinate research.
The entire education system is really messed up.
Rank 4.8 /5 (93 votes)
Tags

Relevant PhysicsForums posts
  • Young Diagrams
    created6 hours ago
  • transforming from polar to parametric functions
    created6 hours ago
  • Validity of proof method -- error in book?
    created7 hours ago
  • Finding intersections
    createdFeb 11, 2012
  • Interpreting a function based on it's equation.
    createdFeb 11, 2012
  • I found this. What is it?
    createdFeb 11, 2012
  • More from Physics Forums - General Math

More news stories

A frank discussion of the power law and linking correlation to causation

(PhysOrg.com) -- Michael Stumpf a mathematics professor at Imperial College in London, and Mason Porter a lecturer at Oxford have teamed together to write and publish a perspective piece in Science regarding the in ...

Other Sciences / Mathematics

created Feb 10, 2012 | popularity 5 / 5 (5) | comments 11 | with audio podcast report

US workers are 'giving away the store,' costing firms billions

Nearly 70 percent of the nation's service employees give away free goods and services – from hamburgers to cable TV – costing companies billions of dollars a year, according to a groundbreaking study.

Other Sciences / Economics & Business

created Feb 09, 2012 | popularity 3 / 5 (5) | comments 11

Employers feel no love for unscrupulous practice of 'service sweethearting'

A new study led by two Florida State University marketing professors finds that some frontline service employees who are rewarded for hikes in customer loyalty and satisfaction also may engage in "service ...

Other Sciences / Economics & Business

created Feb 10, 2012 | popularity 3.3 / 5 (3) | comments 10

New insights into how to correct false knowledge

The abundance of false information available on the Internet, in movies and on TV has created a big challenge for educators.

Other Sciences / Social Sciences

created Feb 07, 2012 | popularity 4.9 / 5 (7) | comments 9 | with audio podcast

Neanderthal demise due to many influences, including cultural changes: study

As an ice age crept upon them thousands of years ago, Neanderthals and modern human ancestors expanded their territory ranges across Asia and Europe to adapt to the changing environment.

Other Sciences / Archaeology & Fossils

created Feb 07, 2012 | popularity 4.4 / 5 (5) | comments 8 | with audio podcast


Scientists discover molecular secrets of 2,000-year-old Chinese herbal remedy

For roughly two thousand years, Chinese herbalists have treated Malaria using a root extract, commonly known as Chang Shan, from a type of hydrangea that grows in Tibet and Nepal. More recent studies suggest that halofuginone, ...

New method to examine batteries -- MRI from the inside

There is an ever-increasing need for advanced batteries for portable electronics, such as phones, cameras, and music players, but also to power electric vehicles and to facilitate the distribution and storage of energy derived ...

A mitosis mystery solved: How chromosomes align perfectly in a dividing cell

Although the process of mitotic cell division has been studied intensely for more than 50 years, Whitehead Institute researchers have only now solved the mystery of how cells correctly align their chromosomes during symmetric ...

Google might launch Drive for cloud storage soon

(PhysOrg.com) -- Google's next big move, according to the Wall Street Journal, is a cloud storage service called Drive. Hardly first to the plate, Google is simply catching up to introducing its cloud reposi ...

Lab study raises questions over nano-particle impact

Tests involving chickens have raised questions about the impact on health from engineered nano-particles, the ultra-fine grains commonly used in drugs and processed foods, scientists said on Sunday.

Starve a virus, feed a cure? Findings show how some cells protect themselves against HIV

A protein that protects some of our immune cells from the most common and virulent form of HIV works by starving the virus of the molecular building blocks that it needs to replicate, according to research published online ...