1. Home
  2. Docs
  3. Overview
  4. Using Math symbols in questions

Using Math symbols in questions

In our plugin you can use something called LaTeX to create math questions in a web page environment. Our plugin fully supports LaTeX. This format can be used in the Add Question or Edit Question text areas. It can be used with or without other text. There are many kinds of math questions that can be used such as fractions, exponents, and square roots. There can also be more advanced math such as powers and indices.

KEY SYMBOLS

There are many key symbols that are used when creating Math with LaTeX.

\[some math in here\]  –   This is a basic example of the format used when creating math. We have to use the \ and the [ ] to indicate that we want to use math with LaTeX.

The following math is used with the \ and [ ] to print out a correct looking formula.

  • \frac  –  This is used to create fractions. For example,

\[\frac{x+y}{y-z}\]   =     math1

  • \sqrt –  This is used to make square roots. For example,

\[sqrt{\frac{a}{b}\]   =   math2

  • \left and \right  – This is used to create the brackets surrounding the fraction below. For example,

\[$$\left(\frac{x^2}{y^3}\right)$$\]   =     math3

  • ^  –  This is used when wanting to use powers or raise an equation up to show powers. For example,

\[x^{2n}\]  =   math4

  • _   – The underscore is used when you want to use indices or to lower something. For example,

n_i   =   math5

OTHER EXAMPLES

So, this equation:  \[c_a^bsqrt[n]{ab}\] equals what is in the equation below.

latexpic

Here is an example of another question:

This math question:    \[k_{n+1} = n^2 + k_n^2 – k_{n-1}\] equals

latexpicformula

Another good source of information to help put together math questions and to find more ways LaTeX  can be used can be found here.