math-minimal-distance-to-cubic-function.tex 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. \documentclass[a4paper,oneside,DIV15,BCOR12mm]{scrbook}
  2. \usepackage{amssymb, amsmath} % needed for math
  3. \usepackage{mathtools} % \xRightarrow
  4. \usepackage[utf8]{inputenc} % this is needed for umlauts
  5. \usepackage[english]{babel} % this is needed for umlauts
  6. \usepackage[T1]{fontenc} % this is needed for correct output of umlauts in pdf
  7. \usepackage[margin=2.5cm]{geometry} %layout
  8. \usepackage{hyperref} % links im text
  9. \usepackage{braket} % needed for \Set
  10. \usepackage{parskip}
  11. \usepackage[colorinlistoftodos]{todonotes}
  12. \usepackage{pgfplots}
  13. \pgfplotsset{compat=1.7,compat/path replacement=1.5.1}
  14. \usepackage{tikz}
  15. \usepackage[framed,amsmath,thmmarks,hyperref]{ntheorem}
  16. \usepackage{framed}
  17. \usepackage{nicefrac}
  18. \usepackage{siunitx}
  19. \usepackage{csquotes} % enquote
  20. \usepackage{microtype} % better document formatting
  21. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  22. % Define theorems %
  23. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  24. \theoremstyle{break}
  25. \setlength\theoremindent{0.7cm}
  26. \theoremheaderfont{\kern-0.7cm\normalfont\bfseries}
  27. \theorembodyfont{\normalfont} % nicht mehr kursiv
  28. \def\mdr{\ensuremath{\mathbb{R}}}
  29. \newcommand{\sgn}{\text{sgn}}
  30. \renewcommand{\qed}{\hfill\blacksquare}
  31. \newframedtheorem{theorem}{Theorem}
  32. \newframedtheorem{lemma}[theorem]{Lemma}
  33. \newtheorem{plaindefinition}{Definition}
  34. \newenvironment{definition}{\begin{plaindefinition}}{\end{plaindefinition}}
  35. \newenvironment{definition*}{\begin{plaindefinition*}}{\end{plaindefinition*}}
  36. \newtheorem{example}{Example}
  37. \theoremstyle{nonumberplain}
  38. \newtheorem{proof}{Proof:}
  39. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  40. \title{Minimal distance from a point to polynomial functions of degree 3 or less}
  41. \author{Martin Thoma}
  42. \hypersetup{
  43. pdfauthor = {Martin Thoma},
  44. pdfkeywords = {minimal distance, polynomial, function, degree 3, cubic, spline},
  45. pdftitle = {Minimal distance from a point to polynomial functions of degree 3 or less}
  46. }
  47. \def\mdr{\ensuremath{\mathbb{R}}}
  48. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  49. % Begin document %
  50. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  51. \begin{document}
  52. \pagenumbering{roman}
  53. \setcounter{page}{1}
  54. \maketitle
  55. \input{introduction}
  56. \tableofcontents
  57. \pagenumbering{arabic}
  58. \setcounter{page}{1}
  59. \input{problem-description.tex}
  60. \input{constant-functions.tex}
  61. \input{linear-functions.tex}
  62. \input{quadratic-functions.tex}
  63. \input{cubic-functions.tex}
  64. \end{document}