Rendering Mathematical expressions

Modified on Wed, 18 Mar at 12:46 AM

TABLE OF CONTENTS



SEQTA allows for complex mathematical expressions to be shown, by utilising a framework called LaTex. By inputting simple code, the maths expressions can be rendered correctly. Further details and examples can be found here: https://guides.gradescope.com/hc/en-us/articles/22236676385165-Writing-Formulas-and-Equations-LaTeX-for-Assignments


Below is a quick guide to the possibilities within SEQTA

Basic operations:

The plus (+), minus (-), division (/), equals (=), less-than (<), and greater-than (>) symbols have the usual meaning.

To denote multiplication, use \cdot (a centred dot) or \times for an "x".

For less-than-or-equal, use \le; for greater-than-or-equal, use \ge.

Square roots:

Generate square roots using the \sqrt{…} command, or nth roots using \sqrt[n]{…}.

For example, z=\sqrt{x^2+y^2}.

Super- and sub-scripts:

Use a caret (^) for a superscript and an underscore (_) for a subscript. If the super- or sub-script contains more than one character, enclose all the characters in curly braces, as in 2^{x+y}.

Fractions:

Use \frac{x}{y} to typeset fractions; in this example, x is the numerator and y the denominator.

Sums and integrals:

The symbols for sums and integrals are \sum and \int, respectively. To set summation and integration limits, use sub- and superscripts, as in \sum_{k=1}^n k = \frac{n(n+1)}{2}.

Limits:

\lim produces the "lim" symbol, and a subscript on this is the expression below it. For example, \lim_{x\to\infty}f(x)=0. In this example, \to produces an arrow, and \infty produces the "infinity" symbol. You can also use \limsup, \liminf, \sup (supremum), \inf (infinimum), \max and \min.

Operators:

Use \sin, \cos, \log, \ln, \exp, \arctan, etc. instead of simply typing the text "sin". This ensure that the proper spacing and font is used.

Greek letters and other special characters:

For lower-case, use \epsilon, \delta, \nu, etc. For upper-case, capitalize the appropriate symbol; for example, \Delta.

Parentheses:

The symbol pairs ( ), [ ], \{ \} (note the backslashes!) generate round, square, and curly parentheses in normal size. To have parentheses that grow in size as appropriate, precede the left brace with \left, and the right brace with \right. For example, \left| \sum_{i=1}^n a_ib_i\right| \le \left(\sum_{i=1}^n a_i^2\right)^{1/2} \left(\sum_{i=1}^n b_i^2\right)^{1/2}.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article