GeoGebraWeb offers CAS functionality

After some hard work with Simon Weitzhofer, an undergraduate student at Johannes Kepler University, Linz, Austria, we finally published a GeoGebraWeb version which contains a built-in computer algebra system (CAS), “binary the same” to the desktop version of GeoGebra.

Ted Kosan, a pioneer of converting computer algebra systems from different languages to others, was one of the first hard worker in this long story. Ted, the lead developer of MathPiper, also did a great effort on converting YaCAS into Java, back in 2008. Because of Reduce has been open sourced since December 2008, and a Java interface (JLisp) was also available for it, Ted decided to try to convert it to JavaScript by using the Google Web Toolkit “Java to JavaScript” compiler (GWT). His adventure was inspired by Gábor Ancsin, a former web designer, who had surprisingly great results in compiling the GeoGebra source code into JavaScript with GWT. Now Ted’s work is a part of Reduce under the name “JSLisp“, and it is also built into GeoGebra as “GGBReduce“. With Ted’s help we have been using the Java version of Reduce by inserting its bytecode stream for the desktop platform, and finally we were also able to put the same bytecode into GeoGebraWeb as a static text. (In fact, Ted was already finished with his prototype back in May 2011.)

To try it out, the user should simply go to the alpha test page of the web platform version of GeoGebra. Then enter


into the input box, press ENTER, and as another command, enter


In some seconds (depending on the internet connection and the machine speed, and also the browser) the output g(x)=x^2*cos(x)+2x*sin(x) will be shown in the Algebra View on the left. Google Chrome users may want to try to install GeoGebra from the Google webstore as well to make all of this work offline on their workstation, too.

Yes! No magic any longer – a full featured computer algebra system fits in HTML5 and JavaScript. The next step is to do it faster – to offer convenient use for smartphone users as well. A smartphone can be really slow, and have just limited resources, so this sounds another great challenge.

Related Posts

  • GeoGebraWeb – Spreadsheet view and more… GeoGebra is not only available as a desktop application, but in the web browser too. You can try GeoGebraWeb in Chrome (works best): or in other […]
  • Be intuitive Days are passing and the summer conference time is getting closer and closer. In two weeks we (Simon and I) will attend EACA 2012 in Spain, and then CADGME 2012 in Serbia. For both we are […]
  • GeoGebra Chrome App released GeoGebra in the browser. That is our new goal. And not just that. With the collaboration with Google, we have developed the GeoGebra Chrome App. It is basically GeoGebra in the browser […]
  • 4.2 Release Candidate GeoGebra 4.2 will be released soon. 21 developers have contributed to this release, so there are many new and exciting features to explore and enjoy! Here are some of the things you can […]
  • WebRTC is now available for public Concerning this post, in the 23th version of Google Chrome the WebRTC specification is available without any "flag" to modify. What this means to us that the "Capture Image from WebCam" […]
Posted in Development, GGB Tagged with: , , ,
0 comments on “GeoGebraWeb offers CAS functionality
1 Pings/Trackbacks for "GeoGebraWeb offers CAS functionality"
  1. […] I forgot my own introduction in the first post, but maybe it is more important for me that I work in a great team. Balazs already wrote a few […]


About GeoGebra

GeoGebra is free and multi-platform dynamic mathematics software for all levels of education that joins geometry, algebra, tables, graphing, statistics and calculus in one easy-to-use package. It has received several educational software awards in Europe and the USA.

Quick Facts

  • Graphics, algebra and tables are connected and fully dynamic
  • Easy-to-use interface, yet many powerful features
  • Authoring tool to create interactive learning materials as web pages
  • Available in many languages for our millions of users around the world
  • Free and open source software
© 2020 International GeoGebra Institute