\begin{proof}
We are given that there exists a quadrilateral $ABCD$ on a sphere. Let us create a line segment $AC$ that divides our quadrilateral into two triangles. Thus, $\angle{A}$ and $\angle{C}$ have been divided by our line segment $AC$. Let the portion of $\angle{A}$ and $\angle{C}$ on the same side of $AC$ as $B$ be called $\angle{A_1}$ and $\angle{C_1}$. Also, Let the portion of $\angle{A}$ and $\angle{C}$ on the same side of $AC$ as $D$ be called $\angle{A_2}$ and $\angle{C_2}$. Therefore,
\begin{align*}
\left|ABCD|\right &=\left|\Delta{ABC}|+|\Delta{ACD}|\right\\
\ &= \left p^2(\angle{A_1}+\angle{B}+\angle{C_1}-\pi)+p^2(\angle{A_2}+\angle{C_2}+\angle{D}-\pi)\right\\
\ &= \left p^2(\angle{A_1}+\angle{B}+\angle{C_1}+\angle{A_2}+\angle{C_2}+\angle{D}-2\pi)\right.
\end{align*}
However, \[\angle{A_1}+\angle{A_2}=\angle{A}\] and \[\angle{C_1}+\angle{C_2}=\angle{C}\] \[\left|ABCD|\right=\left p^2(\angle{A}+\angle{B}+\angle{C}+\angle{D}-2\pi)}\right\].
To generalize furthur the area of any $n$-sided polygon on the sphere is as follows, \[\left{Area of an N-sided Polygon}\right=\left(sum of the angles-(n-2)\pi\right\]
\end{proof}
This is code that is producing the missing delimiter error, it says the problem is occurring somewhere with the align environment. Anyone have suggestions?
\right|and not|\right. – Sigur Nov 20 '15 at 14:17