Basic Formulae Flashcards

1
Q

How do you create a subscript in Latex?

A

An underscore

a_1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How do you group characters together to appear in a superscript, subscript or any tagged element?

A

Group them using a parentheses (curly brackets)

a^{n+1}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How would you add both a subscript and a superscript to an Latex element?

A

Use the appropriate tags, one after the other

n_{k+1}^2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How do you add superscripts to superscripts?

A

Nest the parentheses

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What’s the latex code for a dot product ?

( as in 6 times 7 using a dot or

A dot V for matrices)

A

\cdot

Example:

5\cdot6=30

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What’s the Latex code for a multiplication X symbol?

A

\times

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What’s the Latex code for a root symbol?

A

\sqrt[n]{expression}

where n is the nth root. If you leave out n, you will generate the sqrt symbol.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What’s the Latex code for a plus or minus symbol?

A

/pm

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the Latex code for a fraction?

A

\frac{expression in the numerator}{expression in the denominator}

Example:

\frac{n+2}{n-1}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the Latex code for a fraction that will appear in-line?

A

\dfrac{expr}{expr}

Example:

This equation $ \dfrac{5}{n-1} $ is an example

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How do you put Latex in in-line mode to display an equation?

A

Use one of the following delimiters:

( … )

[… ]

$ … $

\begin{math} … \end{math}

They all work and the choice is a matter of taste.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How do you put Latex in Display Mode to show equations?

A

Use one of the following sets of brackets:

  1. [… ],
  2. \begin{displaymath} … \end{displaymath} or
  3. \begin{equation} … \end{equation}
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What package is required in Latex to display many math formulas?

A

amsmath

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How do you include the amsmath package in a Latex document?

A

In the preamble of the document include the code:

\usepackage{amsmath}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How do you write a multi-line equation in Latex?

A

Use the multline tag:

\begin{multline*}

p(x) = 3x^6 + 14x^5y + 590x^4y^2 + 19x^3y^3\

  • 12x^2y^4 - 12xy^5 + 2y^6 - a^3b^3

\end{multline*}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How do you control whether an equation is numbered or not?

A

If you don’t want an equation or multiline equation numbered, add an asterisk to the tag.

Examples:

\begin{equation*} … \end{equation*}

\begin{multiline*} … \end{multiline*}

17
Q

How do you add a line-break to a Latex eqation?

A

In multiline mode, put a double backslash where you want the line to break

\

18
Q

How do you get equations to align vertically in Latex

A

The \align tag:

\begin{align}

a_1& =b_1+c_1\

a_2& =b_2+c_2-d_2+e_2

\end{align}

19
Q

When using the \align tag, how do you define where the equations should align?

A

Include an ampersand (&) in each equation at the alignment point.

20
Q

What types of matrice tags are available in the ansmath package?

A
  1. \matrix ( no brackets )
  2. \bmatrix ( square brackets )
  3. \Bmatrix ( curly brackets )
  4. \pmatrix ( round brackets )
  5. \vmatrix ( lines on either side of matrix )
  6. \Vmartix ( double lines on either side of the matrix)
21
Q

How do you separate the entries in a matrix in amsmath

A

Use & between entries in the same row and

end each row with a double backslash \