In Latex How do you suppress the trailing "dot" after every number in the table of contents

In the contents page of a book I am writing, I get the following:
1.1. Introduction
1.1.1. Preliminary remarks
1.1.1.1. More details
and so on.
I want, for example, 1.1.1. to be just 1.1.1
I have searched the Latex Companion to no avail.
Keith
akhannabyAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Maciej SsysadminCommented:
Redefine your \section, \subsection, \subsubsection commands.
Put in preamble:
\renewcommand{\thesection}{\arabic{section}}
\renewcommand{\thesubsection}{\arabic{section}.\arabic{subsection}}
\renewcommand{\thesubsubsection}{\arabic{section}.\arabic{subsection}.\arabic{subsubsection}}
0
akhannabyAuthor Commented:
oklit
Thanks for that; I've tried what you suggest, but it did not work.
However, your syntax seems to be an improvement on what I had.
I think the problem is embedded in amsbook.  This is the American Mathematical Society version of Latex that is, of course, ideal for maths layouts.  So I'm stuck with that.
I can control the intermediate dots, but cannot get rid of the trailing one in my contents list.  It unnecessarily takes up space and looks ugly.
Would still be grateful for other ideas.
Keith
0
Maciej SsysadminCommented:
Well.. it has to work :)
Please post here (or attach) your latex document (remove all unneeded (for testing purposes) content), so we can try to find out why it doesn't work for you.
0
Newly released Acronis True Image 2019

In announcing the release of the 15th Anniversary Edition of Acronis True Image 2019, the company revealed that its artificial intelligence-based anti-ransomware technology – stopped more than 200,000 ransomware attacks on 150,000 customers last year.

akhannabyAuthor Commented:
Code as requested.
Best of luck
Keith
%% Based on a TeXnicCenter-Template by Gyorgy SZEIDL.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% graphics files are: .eps and .eps

%----------------------------------------------------------
%
\documentclass[10pt,a4paper]{amsbook} %
%\documentclass[10pt,a4paper,reqno]{amsbook} %
%
%----------------------------------------------------------
%

%% For defining all text/page measurements. 170x240mm is the
%% standard thesis page size Ponsen & Looijen require. 124x185mm is
%% simply a text body size that resulted in margins that pleased me.
%% The dvips option will be superseded if pdflatex is used, but is
%% necessary in order to generate a correct PostScript bounding box
%% under standard LaTeX.

\usepackage{geometry}
%\usepackage[vcentering,dvips]{geometry}

\usepackage{amsmath,bm} % was amsbook,bm
\usepackage{amsfonts} %
%\usepackage[Lenny]{sty/fncychapleo} %
\usepackage{bookman} %
\usepackage{helvet} %
\usepackage{amssymb} %
\usepackage{amsthm} %
\usepackage{fix-cm} % metric font sizes
%\usepackage{graphicx,float} %
\usepackage{float} %

\usepackage{graphicx} % added today


%\usepackage[a4,cam]{crop} % places crop marks

\usepackage{times} %
\usepackage{soul} %
\usepackage{subfigure} %
%\usepackage{epsfig} %
\usepackage{color}%
\usepackage{wrapfig} %
%\usepackage{mdwlist}

\usepackage[english]{babel} %
\usepackage[latin1]{inputenc} %
\usepackage{Tabbing} %
\usepackage{setspace} %
\usepackage{tabls} %
\usepackage{picinpar,graphicx} %
\usepackage{ulem} % for underlining

\usepackage[font=normalsize,format=plain,labelfont=bf,up,textfont=it,up]{caption}

\usepackage{titletoc}
\usepackage[rm,it,raggedleft,tiny,compact,]{titlesec}

\usepackage[Lenny]{fncychap} %
\usepackage[svgnames]{xcolor} % added amsbook.cls Goosens

\usepackage{lipsum,framed,color}

%---------------------------------------------------------


%----------------------------------------------------------

%\crop[font=\upshape\mdseries\small\textsf]

%\geometry{papersize={160mm,270mm},total={170mm,270mm}}

\theoremstyle{plain}
\newtheorem{acknowledgement}{Acknowledgement}
\newtheorem{algorithm}{Algorithm}
\newtheorem{axiom}{Axiom}
\newtheorem{case}{Case}
\newtheorem{claim}{Claim}
\newtheorem{conclusion}{Conclusion}
\newtheorem{condition}{Condition}
\newtheorem{conjecture}{Conjecture}
\newtheorem{corollary}{Corollary}
\newtheorem{criterion}{Criterion}
\newtheorem{definition}{Definition}
\newtheorem{example}{Example}
\newtheorem{exercise}{Exercise}
\newtheorem{lemma}{Lemma}
\newtheorem{notation}{Notation}
\newtheorem{problem}{Problem}
\newtheorem{proposition}{Proposition}
\newtheorem{remark}{Remark}
\newtheorem{solution}{Solution}
\newtheorem{summary}{Summary}
\newtheorem{theorem}{Theorem}

\setlength{\FrameRule}{\fboxrule}
\setlength{\FrameSep}{\fboxsep}

\setlength{\unitlength}{1mm}

\setlength\textwidth{127mm} % width of the main text was 127
\setlength\textheight{225mm} % height of the main text 
\setlength\topskip{3mm} % distance from the top of the text body to the baseline of the first line of text 
\setlength{\oddsidemargin}{5mm} %left margin for odd-numbered pages, minus 1 inch; e.g., setting
\setlength{\evensidemargin}{5mm} %left margin for even-numbered pages (minus the default 25mm for two-sided option}
\setlength{\marginparwidth}{0pc} %
\setlength{\marginparsep}{0pc} % 
\setlength{\topmargin}{0mm}
% upper margin to top of head, minus 25mm; setting{-7mm} results in margin of 18mm - top of page to top of head 

\setlength{\headheight}{0mm} % height of head 
\setlength{\headsep}{8mm} % 8mm good distance from the bottom of the headline to the top of text body 

\setlength{\footskip}{5mm} % distance from bottom of text body to bottom of foot text
\setlength{\parindent}{0mm} %
\setlength{\parskip}{0mm} %

\setcounter{secnumdepth}{4} %controls level of number sections: (3) would be 5.4.7

\setcounter{section}{10000} % was 1

\setcounter{tocdepth}{3}


% The \makeatletter command temporarily defines »@« as a normal character to enable changes to internal LaTeX macros outside packages (STY) or classes (CLS). With \makeatother this process is reversed and the »@« is set to its original character category (other). The »@« is used to protect the internal LaTeX macros. Hence you should be very careful when using these two commands.


% topnumber Counter specifying the maximum number of floats allowed at the top of the page (the default number is 2). % This can be changed with the \setcounter command.

%bottomnumber Counter specifying the maximum number of floats allowed at the bottom of the page (the default number is %1). This can be changed with \setcounter.

% totalnumber Counter specifying the maximum number of floats allowed on a single page (the default number is 3). This can be changed with \setcounter.

% \topfraction Maximum fraction of the page that can be occupied by floats at the top of the page (e.g., 0.2 means 20% can be floats; the default value is 0.7). This can be changed with \renewcommand.

% \bottomfraction Maximum fraction of the page that can be occupied by floats at the bottom of the page (the default value is 0.3). This can be changed with \renewcommand.

% \textfraction Minimum fraction of a normal page that must be occupied by text (the default value is 0.2). This can be changed with \renewcommand.

% \floatpagefraction Minimum fraction of a float page that must be occupied by floats, thus limiting the amount of blank space allowed on a float page (the default value is 0.5). This can be changed with \renewcommand.

% \floatsep Rubber length specifying the vertical space added between floats appearing at the top or the bottom of a page (the default is 12pt plus 2pt minus 2pt for 10pt and 11pt document sizes, and 14pt plus 2pt minus 4pt for 12pt document sizes). This can be changed with \setlength.

% \textfloatsep Rubber length specifying the vertical space added between floats, appearing at the top or the bottom of a page, and the text (the default is 20pt plus 2pt minus 4pt). This can be changed with \setlength.

% \intextsep Rubber length specifying the vertical space added below and above a float that is positioned in the middle of text when the h option is given (the default is similar to \floatsep). This can be changed with \setlength.


% \topfigrule Command to produce a separating item (by default, a rule) between floats at the top of the page and the text. It is executed immediately before placing the \textfloatsep that separates the floats from the text. Like the \footnoterule, it must not occupy any vertical space.


% Alter some LaTeX defaults for better treatment of figures:
    % See p.105 of "TeX Unbound" for suggested values.
    % See pp. 199-200 of Lamport's "LaTeX" book for details.
    %   General parameters, for ALL pages:
    \renewcommand{\topfraction}{0.9}	% max fraction of floats at top was 0.9
    \renewcommand{\bottomfraction}{0.8}	% max fraction of floats at bottom
    %   Parameters for TEXT pages (not float pages):
    \setcounter{topnumber}{2}
    \setcounter{bottomnumber}{2}
    \setcounter{totalnumber}{2}     % 2 may work better
  % \setcounter{dbltopnumber}{2}    % for 2-column pages
  % \renewcommand{\dbltopfraction}{0.9}	% fit big float above 2-col. text
    \renewcommand{\textfraction}{0.25}	% allow minimal text w. figs
    %   Parameters for FLOAT pages (not text pages):
    \renewcommand{\floatpagefraction}{0.7}	% require fuller float pages was 0.7
	% N.B.: floatpagefraction MUST be less than topfraction !!
  % \renewcommand{\dblfloatpagefraction}{0.7}	% require fuller float pages
		\renewcommand{\labelenumi}{\Roman{enumi}.}
		\renewcommand{\labelenumii}{\Roman{enumi}. \alph{enumii}}


\definecolor{Red}{rgb}{0.6,0.3,0.3} % works by inserting \color{colorname}
\definecolor{DarkRed}{rgb}{0.6,0.1,0.1}
\definecolor{Green}{rgb}{0.0,0.4,0.0}
\definecolor{DarkGreen}{rgb}{0.0,0.2,0.0}
\definecolor{Blue}{rgb}{0.3,0.3,0.6}
\definecolor{Orange}{rgb}{0.6,0.6,0.2}
\definecolor{DarkBlue}{rgb}{0.0,0.0,0.40}
\definecolor{PaleCream}{rgb}{0.98,0.98,0.95}
\definecolor{shadecolorfig}{rgb}{0.98,0.98,0.95}
\definecolor{shadecolortext}{rgb}{0.98,0.98,0.95}

% \itemize variations
\setlength{\itemsep}{10pt}
\setlength{\parskip}{0pt}
\setlength{\parsep}{0pt}


\makeindex

%The \makeatletter command temporarily defines »@« as a normal character
% entry batch below to begin from Goosens
 \makeatletter % effective - belonging to amsbook.cls Goosens below
%%%%% This is copied from deep inside amsbook.cls
 \def\@seccntformat#1{ %
  \protect\textup{\protect\@secnumfont
    \csname the#1\endcsname
%    \protect\@secnumpunct
  \enspace}} % <---affects all levels - space between the number and text
  
\makeatother %cancels \makeatletter


\makeatletter % (*) star here removes from contents list - these are for text
 
\newcommand\Ls{\@startsection{section}{1} %Left justified section always level 1
 {0pt}{-\baselineskip}{.3\baselineskip} %
 {\color{DarkBlue}\raggedright\itshape\large\bfseries}}

\newcommand\Lss{\@startsection{subsection}{2} %Left justified subsection
 {20pt}{-\baselineskip}{.2\baselineskip} %was {20pt} shifts Lss 20pt in text
 {\color{DarkBlue}\raggedright\itshape\large\bfseries}}
 
\newcommand\Lsss{\@startsection{subsubsection}{3} %Left justified subsub
 {0pt}{-\baselineskip}{0.3\baselineskip} %was .25\baselineskip(amount of vertical space before next text)
 {\color{DarkBlue}\raggedright\itshape\large\bfseries}}
 
\newcommand\Lssss{\@startsection{paragraph}{4} %Left justified subsub
 {0pt}{-\baselineskip}{0.05\baselineskip} %
 {\color{DarkBlue}\raggedright\itshape\large\bfseries}}

\makeatother

% The following control numbering ``dot'' etc l.m.n

%\renewcommand\thechapter{\arabic{chapter}} % Chapter

%\renewcommand\thesection{\thechapter.\arabic{section}} % Ls
%\renewcommand{\thesection}{\arabic{section}} % Ls

%\renewcommand\thesubsection{\thesection.\arabic{subsection}} % Lss
%\renewcommand{\thesubsection}{\arabic{section}.\arabic{subsection}} % Lss


%\renewcommand\thesubsubsection{\;\thesubsection.\alph{subsubsection}} % Lsss
%\renewcommand{\thesubsubsection}{\arabic{section}\arabic{subsection}\arabic{subsubsection}} % Lsss


%\renewcommand\theparagraph{\thesubsubsection.\alph{paragraph}} % Lssss
%\renewcommand{\theparagraph}{\arabic{section}\arabic{subsection}\arabic{subsubsection}} % Lsss


\renewcommand\thechapter{\arabic{chapter}} % Chapter
\renewcommand{\thesection}{\arabic{section}} % Ls
\renewcommand{\thesubsection}{\arabic{section}\arabic{subsection}} % Lss
\renewcommand{\thesubsubsection}{\arabic{section}\arabic{subsection}\arabic{subsubsection}} % Lsss
\renewcommand{\theparagraph}{\arabic{section}\arabic{subsection}\arabic{subsubsection}\arabic{paragraph}} % Lssss







\makeatletter

\renewcommand\section{\@startsection{section}{1} %
{0pt}{-\baselineskip}{0.2\baselineskip} % 0.2
{\color{DarkBlue}\raggedright\itshape\Large\bfseries}}

\renewcommand\subsection{\@startsection{subsection}{2} %
  {20pt}{-\baselineskip}{.2\baselineskip} %
 {\color{DarkBlue}\raggedright\itshape\large\bfseries}}

\renewcommand\subsubsection{\@startsection{subsubsection}{3} %
  {20pt}{-\baselineskip}{.1\baselineskip} %
 {\color{DarkBlue}\raggedright\itshape\large\bfseries}}

\renewcommand\paragraph{\@startsection{paragraph}{4} %
  {25pt}{-\baselineskip}{0.1\baselineskip} %
 {\color{DarkBlue}\raggedright\itshape\large\bfseries}}

%\renewcommand\subparagraph{\@startsection{subparagraph}{4} %Left justified
%  {55pt}{-\baselineskip}{0.05\baselineskip}%
% {\color{DarkBlue}\raggedright\itshape\large\bfseries}}

\makeatother

% the following pertains to table layout
\newcommand\T{\rule[0pt]{9pt}{0pt}} % [ ] adds vert space; first +ve just'n to right; second puts gap below line
\newcommand\TP{\rule[0pt]{3pt}{0pt}} % [ ] adds vert space; first +ve just'n to right; second puts gap below line
\newcommand\B{\rule[0pt]{12pt}{-20pt}} % [ ] adds vert space; first +ve just'n to right; second puts gap below line
\newcommand{\HRule}{\rule{\linewidth}{0.25mm}}


\newcommand\TT{\rule[0pt]{12pt}{0pt}} % [ ] adds vert space; first +ve just'n to right; second puts gap below line
\newcommand\BB{\rule[0pt]{6pt}{-20pt}} % [ ] adds vert space; first +ve just'n to right; second puts gap below line

\newcommand\BC{\rule[10pt]{16pt}{-20pt}} % [ ] adds vert space; first +ve just'n to right; second puts gap below line
\newcommand{\HRuler}{\rule{\linewidth}{0.0mm}}

% all from Goosens prior to begin{document}


%--------------------------------------------------------------------------------------------------------
%--------------------------------------------------------------------------------------------------------
%--------------------------------------------------------------------------------------------------------


% begin_begin_begin_begin_begin_begin_begin_begin_begin_begin_begin_begin_begin_begin_begin

% You can apply the size tags -- Format menu, Font size submenu --
% {\tiny tiny}, {\scriptsize scriptsize}, {\footnotesize
% footnotesize}, {\small small}, {\normalsize normalsize}, {\large
% large}, {\Large Large}, {\LARGE LARGE}, {\huge huge} and {\Huge
% Huge}.

% Sans-serif, with no tails on the uprights sf \textsf{text} 
% Monospace (fixed-width or typewriter) tt \texttt{text} 



\begin{document} %Start of document

\frontmatter %Title etc.

\fontsize{36}{42}\selectfont
\fontsize{100}{120}\selectfont

%\title[Short Title]{\vspace{15mm} \Huge After \,SODUKO \\ and \\ the CROSSWORD \\ \vspace{2mm} 
%\huge \upshape{progress \,to} \\ \vspace{2mm} 
%\Huge\itshape {serious \,MATHEMATICS}  \\ \vspace{15mm} 
%\LARGE\itshape{A truely sympathetic treatment of this difficult subject \\ - written for the non-mathematician}}

\title[Short Title]{\vspace{15mm} \Huge REFRESH \,your \,interest \\ \vspace{2mm} 
\huge \upshape{in \,serious} \\ \vspace{1mm} 
\Huge {MATHEMATICS}  \\ \vspace{15mm} 
\LARGE\itshape {A truly sympathetic treatment making access \\ \vspace{2mm} to this subject a reality for MILLIONS \\  }}

%\title[Short Title]{\vspace{15mm} \Huge Serious \,MATHEMICS \\ \vspace{2mm} 
%\huge \upshape{written for} \\ \vspace{0mm} 
%\Huge {Leisure \,and \,Pleasure}  \\ \vspace{15mm} 
%\LARGE\itshape {A truly sympathetic treatment making access \\ \vspace{2mm} to this subject a reality for MILLIONS %\\  }}



%\title[Short Title]{\vspace{15mm} \Huge The \,\itshape {SECRETS} \\ \vspace{3mm} 
%\huge \upshape{of \,understanding } \\ \vspace{3mm} 
%\Huge\itshape {MATHEMATICS}  \\ \vspace{15mm} 
%\LARGE\itshape{A truely sympathetic treatment of this difficult subject \\ for students, professionals and for 
%leisure }}

\author[Dr A K Hannaby]{ \vspace{25mm} \LARGE Dr A K Hannaby \ PhD, \,FIMA, \,FIMechE }


%\subjclass{ \noindent \vspace{120mm} Mathematics and Engineering}

\setstretch{1.2}

\dedicatory{ \vspace{30mm} \Large Extremely \,thorough \,explanations \,of \,popular \,topics \\
in \,Mathematics \,from \,school \,to \,degree \,level \\
with \,many \,graded, \,worked \,examples \\ 
and \,exercises\,-\,complete \,with \,answers }


\setstretch{1.2}

\begin{abstract}
This is a sample document which shows the most important features
of the AMS Book or Monograph Article class.
\end{abstract}

\maketitle



%Format \chapter toc entry. Chapter
\titlecontents{chapter}[0pt]{\addvspace{0.5pc}\normalfont\mdseries}
%{\MakeUppercase{\appendixname} \thecontentslabel :\hspace{1em}} % hspace ?
{\MakeUppercase{\appendixname} \thecontentslabel \hspace{-0.1em}} % hspace ?
{\vspace{2pt}}{\titlerule*[0.1pt]{}\filright\contentspage} % vspace puts space below


%Format \section toc entry. Section Ls
%\titleformat*{\section}{\normalfont\scshape}{\S\,\oldstylenums{section}}{3pt}{}
\titleformat*{\section}{\normalfont\scshape} %was \titleformat*{ }

\titlecontents{section}[5pt]{\addvspace{0.1pc}}{\contentslabel{22em}}{} % section[8pt] slides all R 8pt
{\titlerule*[0.05pt]{}\contentspage}

%Format \subsection toc entry. Subsection Lss
\titlecontents{subsection}[32pt]{\addvspace{-0.1pc}}{\contentslabel{3em}}{} % was 40pt and 4em
{\titlerule*[0.1pt]{}\contentspage}


%Format \subsubsection toc entry.  Subsubsection Lsss
\titlecontents{subsubsection}[66pt]{\addvspace{-0.25pc}}{\contentslabel{4em}}{} %was 74pt and 4em
{\titlerule*[4em]{}\contentspage}

%Format \subsubsection toc entry.  Subsubsection Lsss
\titlecontents{paragraph}[72pt]{\addvspace{-0.25pc}}{\contentslabel{4em}}{} %was 74pt and 4em
{\titlerule*[4em]{}\contentspage}









\newpage
\mainmatter %Start of numbered chapters, etc.

%\StartShownPreambleCommands

\setstretch{1.2}

\fboxrule=0.5pt
\fboxsep=2.5mm %1pt=25.4/72mm


\tableofcontents

\listoffigures

\chapter*{Preface}{\noindent
\addcontentsline{toc}{chapter}{Preface} 
\begin{raggedright}\setstretch{0.95}
\noindent {\textit{Reasons for writing this book} \\
 answered that have previously rarely even been posed. \\
\noindent\textit{Who can benefit from this book} \\
The material is presented in a way that should be understandable and enjoyable to students of both Mathematics and Mechanical Engineering, and also to many mainstream professionals who either wish to consolidate their earlier understanding, or take up the subjects as a fresh interest - perhaps on a continued professional development basis. }\\ 
\noindent\textit{Pre-requisite knowledge} \\
 the book. \\ 
\noindent\textit{Arrangement of material within the book} \\
 author has experienced many instances where the omission of such steps can lead to errors. \\
\end{raggedright} \vspace{3pt}
\noindent\textit{Author} \\
\noindent Dr A K Hannaby \\
\noindent $30^{\,th}$ September 2010 }

\newpage

\newcommand\figbox[1]{%
  \begin{center}%
    \fcolorbox{Green}{shadecolorfig}{%
      \begin{minipage}[t]{\dimexpr\textwidth-2\fboxsep-2\fboxrule}%
        #1%
      \end{minipage}}%
  \end{center}}

\newcommand\textbox[1]{%
  \begin{center}%
    \fcolorbox{Green}{shadecolortext}{%
      \begin{minipage}[t]{\dimexpr\textwidth-2\fboxsep-2\fboxrule}%
        #1%
      \end{minipage}}%
  \end{center}}


%\textbox{
%    \begin{minipage}{120mm} % 120mm is the width of the minipage
%textbox equations are linear because the variable involved in them is pr to to to to to power $1$ precisely, \,as %distinct from, to to to to to to to to
%\end{minipage}}

%\textbox{\color{DarkGreen}
%    \begin{minipage}{120mm}
%textbox equations are linear because the variable involved in them is pr to to to to to power $1$ precisely, \,as %distinct from, to to to to to to to to
%\end{minipage}}


\setstretch{1.2}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Chapter TWO ANALYSIS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\chapter{Analysis: the idea of limit, series, continuity, convergence\,/\,divergence}
\label{sec:seriesexpansions}


\Ls{Introduction}
\label{sec:summationofseries}

\Lss{The concept of the limiting value of a function}

\noindent We write \;\; $\displaystyle{\mathop {\lim }\limits_{x\to a}\,\left\{f(x)\right\}=l}$ \;\; to mean \;\; ``$f(x)$ \,tends to the limit \,$l$ \;as \;$x\rightarrow a$'' \vspace{4pt}

\noindent assuming, \,of course, \,that such a limit \,$l$ \,does exist. \vspace{6pt}


\Lsss{A very simple example of a limit}
\label{sec:simplelimit}

\noindent Consider the simple case \;\; $\displaystyle{\mathop {\lim }\limits_{x\to 2}\,\left\{x^2-5\right\}}$ \vspace{6pt}

\noindent We first use an informal intuitive approach\,\ldots \; we imagine \,$x$ \,approaching the value of \,''$2$'' \,by working out \,$x^2-5$, \vspace{3pt}

\noindent first from below, \,starting with, say \,$x=1.9$ \vspace{3pt}

\hspace{35mm} $1.9^2-5$ $ \rightarrow$ \; $3.61-5$ \;or \;$-1.39$ \vspace{2pt}

\hspace{39.3mm} $x=1.99$ \; $\rightarrow$ \; $-1.0399$ \vspace{2pt}

\hspace{37.6mm} $x=1.999$ \; $\rightarrow$ \; $-1.00399$ \vspace{2pt}

\hspace{36mm} $x=1.9999$ \; $\rightarrow$ \; $-1.00039999$ \vspace{4pt}

\noindent and then from above, \,starting with \,$x=2.1$ \vspace{2pt}

\hspace{37mm} $2.1^2-5$ $ \rightarrow$ \; $4.41-5$ \;or \;$-0.59$ \vspace{2pt}

\hspace{39.3mm} $x=2.01$ \; $\rightarrow$ \; $-0.9599$ \vspace{2pt}

\hspace{37.6mm} $x=2.001$ \; $\rightarrow$ \; $-0.995999$ \vspace{2pt}

\hspace{36mm} $x=2.0001$ \; $\rightarrow$ \; $-0.99959999$ \vspace{6pt}

\newpage

\noindent In this example, \,the function smoothly approaches the limiting value of \,$-1$ \,as \,$x$ \,approaches the value of \,$2$, \,both from below and from above. \vspace{6pt}

\noindent On the above evidence alone, we say that \;$\displaystyle{\mathop {\lim }\limits_{x\to 2}\,\left\{x^2-5\right\}}$ \;exists \,and takes the value of \,$-1$ \vspace{3pt}

\noindent The function value at \,$x=2$ \,also happens to be \,$-1$ \vspace{6pt}


\noindent There are three separate issues involved here\,: \vspace{0pt}

\begin{enumerate}

\item \hspace{4mm} The limit of the function as \,$x$ \,approaches \,$2$ \,from below \,(from the left);

\item \hspace{4mm} The limit of the function as \,$x$ \,approaches \,$2$ \,from above \,(from the right);

\item \hspace{4mm} The value of the function precisely at \,$x=2$ \vspace{4pt}

\end{enumerate}

\noindent The reason why both \,$left$ \,and \,$right$ \,limits \,and the function value are equal, \,is because the function is \,\emph{well-behaved} \,- \,the function is continuous in the neighbourhood of \,$x=2$






\Lsss*{A less obvious example of a limit}

\noindent There are many instances where taking a limit is not so obvious; \,consider \; $\displaystyle{\mathop {\lim }\limits_{x\to 0}\,\left\{\frac{sin\,x}{x}\right\}}$ \vspace{6pt}

\noindent We have shown in our detailed treatment of trigonometric functions of small angles in para.\,\ref{sec:radianmeasureimportant}, \,that providing an angle \,$\delta\,\theta$ \,is measured in radians, \vspace{6pt}

\hspace{27mm} $\mathop {\lim }\limits_{\delta \theta\to 0} \displaystyle{\frac{{sin\,\delta \theta}}{\delta \theta}}\,=\,1$\,; \;\;\; thus \;\;\; $\mathop {\lim }\limits_{x \to 0} \displaystyle{\frac{{sin\,x}}{x}\,=\,1}$ \vspace{6pt}

\noindent the variable involved in taking the limit is, \,of course, \,of no consequence. \vspace{6pt}

\noindent It is natural to think of \,$x$ \,here as being small and $positive$ \,(so that \,$x$ \,is diminishing), and the limit is being taken \,''from the right''. \vspace{6pt}

\noindent We can emphasize this limitation by writing \;$\mathop {\lim }\limits_{\,x \to 0^{+}} \displaystyle{\frac{{sin\,x}}{x}}=1$ \vspace{6pt}

\noindent But the same is true if \,$x$ \,is small and \,$negative\ldots$ \;\; by letting \;$z=-x$ \,($z$ \,now \,$positive$), \,and reminding ourselves that\,: \; $sin(-z)=-sin\,z$ \;we can write \vspace{6pt}

\hspace{25mm} $\mathop {\lim }\limits_{\,x \to 0^{-}} \displaystyle{\frac{{sin\,x}}{x}\,=\,\mathop {\lim }\limits_{\,z \to 0^{+}} \frac{{sin(-z)}}{-z}\,=\,\mathop {\lim }\limits_{\,z \to 0^{+}} \frac{{sin\,z}}{z}=1}$ \vspace{6pt}

\noindent and so the limit applies whether we are approaching $zero$ from the $left$ or from the $right$. \vspace{3pt}

\noindent However\,, \;$\displaystyle{\frac{{sin\,x}}{x}}$ \;is not defined at \,$x=0$\,, \;being of the form \;$\displaystyle{\frac{\,0}{\,0}}$ \vspace{3pt}

\setstretch{1.45}
\noindent
\textbox{ 
    \begin{minipage}{120mm}
\color{DarkGreen}
\noindent Notice that any quotient \;$\displaystyle{\frac{\,a}{\,b}}$ \;is taken to be such that \;$\displaystyle{\frac{\,a}{\,b}\times b=a}$ \;and if \,$b\!=\!0$\,, \,then the result will always be \,$0$ \,whatever the value of \,$a$; \,hence the value of the quotient is then indeterminate.
\end{minipage}}
\setstretch{1.2}
\vspace{6pt}

\noindent This is therefore a case where the limit of a function exists at a point, even though the function is undefined at that point. \vspace{6pt}


\Lsss*{Another important form of quotient and an example of a limit}

\vspace{3pt}\noindent Consider \;\; $\mathop {\lim }\limits_{x \to 4}\left\{\displaystyle{\frac{x^2-16}{x-4}}\right\}$  \vspace{6pt}

\noindent We can write \;\; $\displaystyle{\frac{{x^2-16}}{x-4}\,\equiv\,\frac{{(x-4)(x+4)}}{x-4}}$ \vspace{6pt} 

\noindent but we cannot cancel the common factor \,$(x-4)$, \;unless we stipulate: \,$x-4\neq 0$ \vspace{6pt}

\noindent otherwise, we again would have \;$\displaystyle{\frac{\,0}{\,0}}$ \vspace{6pt}

\noindent However, \,providing \;$x\neq 4$\,, \,we can write \; $\displaystyle{\frac{{x^2-16}}{x-4}\,=\,x+4}$ \vspace{6pt}

\hspace{18mm} and hence \hspace{4mm} $\mathop {\lim }\limits_{x \to 4}\displaystyle{\frac{{x^2-16}}{x-4}\,=\,\mathop {\lim }\limits_{x \to 4}{\left\{x+4\right\}}\,=\,8}$ \vspace{9pt}

\noindent Hence this limit does exist, \,but the function is not defined at \,$x\!=\!4$


\Lss{The concept of \,$\infty$ \,(infinity)}

\noindent If \,$x$ \,becomes large and positive, \,the function \,$\displaystyle{\frac{\,1}{\,x}}$ \;becomes small and positive. \;By taking \,$x$ \,sufficiently large\,, \,$\displaystyle{\frac{\,1}{\,x}}$ \;can be made as small as we wish. \vspace{3pt}

\noindent We say that \; $\displaystyle{\frac{\,1}{\,x}}$ \,tends to \,$zero$ \;as \;$x$ \,tends to \,$\infty$\,, \;and we can write \;$\mathop {\lim }\limits_{x \to \infty}\displaystyle{\frac{\,1}{\,x}}\,=\,0$ \vspace{6pt}

\noindent It might appear that, by relating $zero$ to $\infty$ via the function $\displaystyle{\frac{1}{x}}$\,, \;this might constitute a definition of \,$\infty$. \; This is not so, \,since for example \,$\mathop {\lim }\limits_{x \to \infty}\displaystyle{\frac{\,1}{\,x^2}}\,=\,0$ \;also. \vspace{9pt}

\noindent It is perfectly permissible, \,however, \,to view of the concept of \,$\infty$ \,as: \,''that positive number which is \,$as \;large \;as \;you \;wish \;it \;to \;be$''. \; The same is true for the concept of \,$-\infty$\,; \,it is: \,''that negative number which is \,$as \;large \;as \;you \;wish \;it \;to \;be$, \,but this time, \,$negative$''.



\Ls{The formal definition of the limiting value of a function}

\noindent Formally, we say \;$f(x)\rightarrow l$ \; if, \,for any given number \,$\epsilon>0$ \,$however\,small$, \,we can find a corresponding number \,$\eta>0$ \,such that \vspace{6pt}

\hspace{22mm} $\left|f(x)-l\right|<\epsilon$ \; for all \;$x$ \;for which \; $\left|x-a\right|<\eta$ \vspace{9pt}

\noindent In this context, the value of \,$a$ \,is considered to be a constant \,(the value of \,$x$ \,where the limit is to be taken), \,and the condition: \;$\left|x-a\right|<\eta$ \;defines a neighbourhood of \,$a$. \;The smaller we take \,$\eta$ \,to be, \,the tighter will be the neighbourhood. \vspace{6pt}

\noindent This is quite a difficult concept and, \,as we will be using it later, \,it will be helpful if we look in detail at a specific example.


\end{document}

Open in new window

0
Maciej SsysadminCommented:
Oh.. I misunderstood what you need. Now I can see that you want to remove this dot from numbers in tables of contents.

Try below:
\renewcommand{\tocsection}[3]{\indentlabel{\ignorespaces#1 #2\quad}#3}
\renewcommand{\tocsubsection}[3]{\indentlabel{\ignorespaces#1 #2\quad}#3}
\renewcommand{\tocchapter}[3]{\indentlabel{\ignorespaces#1 #2\quad}#3}
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
akhannabyAuthor Commented:
Really appreciated.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Page Layout Software

From novice to tech pro — start learning today.