Latex For Piazza

Download as pdf or txt
Download as pdf or txt
You are on page 1of 64

Math via LaTeX in Piazza

January 12, 2016


Square roots
Square roots


π
Square roots


π

$$\sqrt{\pi}$$
Square root in a sentence
Square root in a sentence


Here is π in a sentence.
Square root in a sentence


Here is π in a sentence.

Here is $$\sqrt{\pi}$$ in a sentence.


A displayed formula
A displayed formula

Here is a displayed formula


p
π2 + 1

in the middle of text.


A displayed formula

Here is a displayed formula


p
π2 + 1

in the middle of text.

Here is a displayed formula

$$\sqrt{\pi^2+1}$$

in the middle of text.


Fractions
Fractions

x 2 +1
x 2 −1
Fractions

x 2 +1
x 2 −1

$$\frac{x^2+1}{x^2-1}$$
Square roots of big hairy fractions
Square roots of big hairy fractions

q
x 2 +1
x 2 −1
Square roots of big hairy fractions

q
x 2 +1
x 2 −1

$$\sqrt{\frac{x^2+1}{x^2-1}}$$
Integrals
Integrals

R
f (x) dx
Integrals

R
f (x) dx

$$\int f(x)\,dx$$
More definite integrals
More definite integrals

Rb
a f (x) dx = F (b) − F (a)
More definite integrals

Rb
a f (x) dx = F (b) − F (a)

$$\int_a^b f(x)\ dx=F(b) -F(a)$$


Sine and Cosine
Sine and Cosine

sin2 θ + cos2 θ ≡ 1
Sine and Cosine

sin2 θ + cos2 θ ≡ 1

$$\sin^2\theta+\cos^2\theta\equiv1$$
Something more complex
Something more complex

e −πi + 1 = 0
Something more complex

e −πi + 1 = 0

$$e^{-\pi i}+1=0$$
Calculus!
Calculus!

RR
Ωf dx ∧ dy
Calculus!

RR
Ωf dx ∧ dy

$$\iint_\Omega f\ dx\wedge dy$$


More calculus
More calculus

∂2u
∂x∂y
More calculus

∂2u
∂x∂y

$$\frac{\partial^2 u}{\partial x\partial y}$$


Real and complex
Real and complex

Rn ⊂ Cn
Real and complex

Rn ⊂ Cn

$${\mathbb R}^n\subset{\mathbb C}^n$$


Curly brackets
Curly brackets

Ωn ⊂ Ωn+1
Curly brackets

Ωn ⊂ Ωn+1

$$\Omega_n\subset\Omega_{n+1}$$
A set
A set

{x ∈ (0, 1) : x is irrational}
A set

{x ∈ (0, 1) : x is irrational}

$$\{x\in(0,1)\,:\,x\text{ is irrational}\}$$
Sums and products
Sums and products

∞ ∞
X Y z
an z n = (1 − )
bn
n=0 n=0
Sums and products

∞ ∞
X Y z
an z n = (1 − )
bn
n=0 n=0

$$\sum_{n=0}^\infty a_n z^n=


\prod_{n=0}^\infty(1-\frac{z}{b_n})$$
Big parentheses
Big parentheses

 
x 2 −1
x 2 +1
Big parentheses

 
x 2 −1
x 2 +1

$$\left(\frac{x^2-1}{x^2+1}\right)$$
Limits
Limits

sin x
lim =1
x→0 x
Limits

sin x
lim =1
x→0 x

$$\lim_{x\to 0}\frac{\sin x}{x}=1$$


Inequalities
Inequalities

1 < 2 ≤ x 6= y
Inequalities

1 < 2 ≤ x 6= y

$$1<2\le x\ne y$$


Numbered equations

The rest of the examples are for LaTeX outside of Piazza in


something like a paper or thesis.
Numbered equations

The rest of the examples are for LaTeX outside of Piazza in


something like a paper or thesis.

π=3 (1)

Equation 1 is only true in parts of Ohio.


Numbered equations

The rest of the examples are for LaTeX outside of Piazza in


something like a paper or thesis.

π=3 (1)

Equation 1 is only true in parts of Ohio.

\begin{equation}
\label{crazy}
\pi=3
\end{equation}

Equation \ref{crazy} is only true in parts of Ohio.


Theorems
Theorems

Theorem 1

2 is an irrational number.

Isn’t Theorem 1 lovely!


Theorems

Theorem 1

2 is an irrational number.

Isn’t Theorem 1 lovely!

\begin{theorem}
\label{abiggy}
$\sqrt{2}$ is an irrational number.
\end{theorem}

Isn’t Theorem \ref{abiggy} lovely!


References
References

Steve Bell’s best theorem appears in his paper [1].

¯
[1] S. Bell, Unique continuation theorems for the ∂-operator and
applications, J. of Geometric Analysis 3 (1993), 195–224.
References

Steve Bell’s best theorem appears in his paper [1].

¯
[1] S. Bell, Unique continuation theorems for the ∂-operator and
applications, J. of Geometric Analysis 3 (1993), 195–224.

Steve Bell’s best theorem appears in


his paper \cite{best}.

\bibitem{best}
S. Bell,
{\it Unique continuation theorems for the
$\bar\partial$-operator and applications},
J. of Geometric Analysis {\bf 3} (1993),
195--224.

You might also like