2

I removed slides that worked, checked that they compiled properly and include here all the slides that didn't work (checked individually as well).

\documentclass[17pt]{beamer}
\usepackage{amsmath}
\usepackage{verbatim}
\usepackage[utf8]{inputenc}
\usepackage[OT1]{fontenc}
\usepackage{graphicx}
\usebackgroundtemplate

\begin{document}
\sffamily \bfseries

\begin{frame}
\frametitle{Limit of a Rational Polynomial Function}\pause
begin{itemize}
\item Let us find $\lim_{x \to \2} \frac {3x^{2}-x-10} {x^{2}-4}$
\end{itemize}
\end{frame}

\begin{frame}
\frametitle{Limit of a Rational Polynomial Function}\pause
begin{itemize}
\item To understand limits of functions
\end{itemize}
$\lim_{x \to \2} \frac {3x^{2}-x-10} {x^{2}-4} = 2.75$
\end{frame}

\begin{frame}
\frametitle{Limit of a Discontinuous Function}\pause
Let us find $\lim_{x \to \0} f(x) = \[   \left\{
\begin{array}{11}
          $(2x+3) & x \leq 0$ \\
          $3(x+1) & x $>$ 0$ \\
          \end{array}
          \right. \]
and $\lim_{x \to \1} f(x) = \[   \left\{
\begin{array}{11}
          $(2x+3) & x \leq 0$ \\
          $3(x+1) & x $>$ 0$ \\
          \end{array}
          \right. \]
\end{frame}

\begin{frame}
\frametitle{Limit of a Discontinuous Function}\pause
Let us find $\lim_{x \to \0} f(x) = \[   \left\{
\begin{array}{11}
          $(2x+3) & x \leq 0$ = 3 \\
          $3(x+1) & x $>$ 0$ \\
          \end{array}
          \right. \]
and $\lim_{x \to \1} f(x) = \[   \left\{
\begin{array}{11}
          $(2x+3) & x \leq 0$ = 6 \\
          $3(x+1) & x $>$ 0$ \\
          \end{array}
          \right. \]
\end{frame}

\begin{frame}
\frametitle{Assignment}\pause
\begin{itemize} [<+-|alert@+>] 
\item Find $\lim_{x \to \2} (x^{3}-2x^{2})/(x^{2}-5x+6)$
\item Evaluate $\lim_{x \to \0} \frac {sin 4x} {sin 2x}$
\end{itemize}
\end{frame}

\end{document}
Troy
  • 13,741
  • 1
    array entries are in math mode, remove all the $ inside te array. Conversely the 11th slide is missing a $ to end the mathematics – David Carlisle Apr 25 '18 at 15:48
  • 1
    the OP's missing an $ in the item of the 11th slide. And aren't the line breaks in the arrays after the last entry superfluous? – naphaneal Apr 25 '18 at 15:53
  • Where you hit return depends on what you're using to compile. If it's the command line, you can just hit return. With TeXworks on my Mac, there's a textfield below the message where you can enter text/hit return. – Teepeemm Apr 25 '18 at 15:54
  • Actually the $ is there in the Latex file, just didn't copy it over here. – Vidhya Iyer Apr 25 '18 at 15:54
  • 3
    Generally, it helps us if you can cut your file down to the shortest file that should work but still has an error, and then copy and paste the entire file to your question. In slide 11, you have begin{itemize}. Is that really \begin{itemize}? – Teepeemm Apr 25 '18 at 15:56

1 Answers1

2

Some of the errors:

  • begin{itemize} -> \begin{itemize}

  • \2 -> 2, same for \1 and \0

  • as David Carlisle already said in his comment, array is already in math mode, you don't need to use $...$.

  • the alignment of the array should be ll not 11

  • don't nest display math environments (\[...\]) inside math mode

  • sin should be \sin

  • \usepackage{graphicx} and \usebackgroundtemplate are superfluous

  • not a tex error as such, but (2x+3) x≤0=6 looks misleading. Also cases may be better suited as an array


\documentclass[17pt]{beamer}
\usepackage{amsmath}
\usepackage{verbatim}
\usepackage[utf8]{inputenc}
\usepackage[OT1]{fontenc}
\usepackage{graphicx}
\usebackgroundtemplate

\begin{document}
\sffamily \bfseries

\begin{frame}
\frametitle{Limit of a Rational Polynomial Function}\pause
\begin{itemize}
\item Let us find $\lim_{x \to 2} \frac {3x^{2}-x-10} {x^{2}-4}$
\end{itemize}
\end{frame}

\begin{frame}
\frametitle{Limit of a Rational Polynomial Function}\pause
\begin{itemize}
\item To understand limits of functions
\end{itemize}
$\lim_{x \to 2} \frac {3x^{2}-x-10} {x^{2}-4} = 2.75$
\end{frame}

\begin{frame}
\frametitle{Limit of a Discontinuous Function}\pause
Let us find \[\lim_{x \to 0} f(x) = \left\{
\begin{array}{ll}
          (2x+3) & x \leq 0 \\
          3(x+1) & x > 0 \\
          \end{array}
          \right. \]
and \[\lim_{x \to 1} f(x) = \left\{
\begin{array}{ll}
          (2x+3) & x \leq 0 \\
          3(x+1) & x > 0 \\
          \end{array}
          \right. \]
\end{frame}

\begin{frame}
\frametitle{Limit of a Discontinuous Function}\pause
Let us find \[\lim_{x \to 0} f(x) = \left\{
\begin{array}{ll}
          (2x+3) & x \leq 0 = 3 \\
          3(x+1) & x > 0 \\
          \end{array}
          \right. \]
and \[\lim_{x \to 1} f(x) = \left\{
\begin{array}{ll}
          (2x+3) & x \leq 0 = 6 \\
          3(x+1) & x > 0 \\
          \end{array}
          \right. \]
\end{frame}

\begin{frame}
\frametitle{Assignment}\pause
\begin{itemize} [<+-|alert@+>] 
\item Find $\lim_{x \to 2} (x^{3}-2x^{2})/(x^{2}-5x+6)$
\item Evaluate $\lim_{x \to 0} \frac {\sin 4x} {\sin 2x}$
\end{itemize}
\end{frame}

\end{document}
  • @Teepeemm I added a sentence about that. Thanks for the hint! – samcarter_is_at_topanswers.xyz Apr 25 '18 at 18:29
  • Thanks to all of you who have answered and a special thanks to samcarter and Teepeemm for the detailed answer that I could compare with my errors and for the hint Teepeemm is supposed to have dropped. The file compiled! I am a complete novice here for Latex, no computer science background whatsoever. I have Lamport's reference manual but it's a little daunting to learn from. Any advice on what would be useful (Latex for dummies?)? – Vidhya Iyer Apr 26 '18 at 16:18
  • @VidhyaIyer see https://tex.stackexchange.com/questions/11/what-are-good-learning-resources-for-a-latex-beginner – samcarter_is_at_topanswers.xyz Apr 26 '18 at 16:22
  • thanks, just downloaded some of the resources, will start going through them, especially for upcoming topics: differentiaton, integration and statistics. – Vidhya Iyer Apr 27 '18 at 17:43