Plotting Formulas

From Algebra.Com's Help
Revision as of 15:17, 30 June 2005 by 64.94.157.1 (talk)
Jump to: navigation, search

This page discusses our math formula plotting system. For details, see Formula plotting feature guide. The number of features is too numerous to list them all on one page.


Algebra.com has a nice feature where tutors who create their solvers, lessons and answer user questions, can enter simple text and have it drawn as nice mathematical formulas. Unlike the LaTEX based system that is used in Wikipedia, for example in this quadratic equation page, my system is easy to use for any student or school teacher.


Formulas are entered using symbols {{{ and }}} (curly braces). They tell my server that the text you are entering is not simple text, but instead should be drawn as a formula. Example of a formula: {{{ x = sqrt( (y-z)/(y+z) ) = 2 }}}. I have a special page where you can practice entering formulas.


  • Multiplication. You do not need to enter a multiplication sign between a number and symbols: for example, 5+2ax is a perfectly valid formula. Use "*" for explicit multiplication.
  • Exponentiation. "^" is the exponentiation sign. For example, x^2+2x+3 is a legitimate quadratic formula.
  • Division. If you use a / sign (slash symbol), the formula will be drawn with the numerator, line and denominator. If you use a ":" sign (colon symbol), numerator and denominator will be on one line.
  • Graphing. You can draw simple graphs instantly by using a special function called "graph". It has the following arguments:
         graph( xsize, ysize, xmin, xmax, ymin, ymax, func1, func2... )

xsize and ysize are dimensions of the graph in pixels. xmin, xmax, ymin and ymax define the area of the coordinate plane that is being drawn. The list of functions that follow, are expressions involving only one parameter, x.

  • An expression can span several lines. For example:
 graph( 300, 200, 
        -5, 5, -5, 5,
        x-2, 
        x^2-3x
       )

So, format your expressions as you like.