mathjax.org

Equation Editing

OnlineScholar supports standard TeX-styled equation entry using mathjax to display the results.


Quadratic Formula

When a is uneqal to 0, there are exactly two solutions to ax2 + bx + c = 0 and they are

x=b±b24ac2a

source code
 [asciimath]
 --
   x = {-b \pm \sqrt{b^2-4ac} \over 2a}
 --

The Lorenz Equations

x˙=σ(yx)

y˙=ρxyxz

z˙=βz+xy

source code
  [asciimath]
  --
    \dot{x}  = \sigma(y-x)
  --

The Cauchy-Schwarz Inequality

(k=1nakbk) 2(k=1nak2)(k=1nbk2)

source code
 [asciimath]
 --
    ( {\sum_{k=1}^n a_k b_k )\space^{\!\!2 }} \leq
     ( \sum_{k=1}^n a_k^2 ) ( \sum_{k=1}^n b_k^2 )
 --

The probability of getting k heads when flipping n coins is

P(E)=(nk)pk(1p)nk

source code
 [asciimath]
 --
 P(E) = {n \choose k} p^k (1-p)^{ n-k}
 --