This is an inline equation z + y = x 3 and this is a display equation: i = 1 n i = n ( n + 1 ) 2