topology-continuous-mapping.tex 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. \documentclass[varwidth=true, border=2pt]{standalone}
  2. \usepackage{amsmath,amssymb}
  3. \usepackage{pgfplots}
  4. \usepackage{tikz}
  5. \usepackage{tkz-fct}
  6. \usetikzlibrary{shapes.misc}
  7. \begin{document}
  8. \tikzset{
  9. point/.style={
  10. thick,
  11. draw=gray,
  12. cross out,
  13. inner sep=0pt,
  14. minimum width=4pt,
  15. minimum height=4pt,
  16. },
  17. }
  18. \begin{tikzpicture}
  19. \draw[->] (-0.5,0) -- (1.5,0) node [below] {$\mathbb{R}$};
  20. \foreach \x in {0,...,1}
  21. \draw (\x,0.1) -- (\x,-0.1) node [below] {\x};
  22. \draw[thick,red] (0.07,0.1) -- (0,0.1) -- (0,-0.1) -- (0.07,-0.1) node [below] {};
  23. \draw[thick,red] plot [smooth] coordinates{(0.47,0.1) (0.5,0) (0.47,-0.1)};
  24. \draw[thick,red] (0,0) -- (0.5,0);
  25. \draw[dotted,red] (0,-0.03) -- (0.5,-0.03);
  26. \begin{scope}[shift={(4,0)}]
  27. \draw[thick] (0cm,0cm) circle(1cm);
  28. \draw[thick, red] ([shift={(180:1cm)}]-0.0,0) arc (180:0:1cm);
  29. \draw[red, dotted] ([shift={(180:0.97cm)}]-0.0,0) arc (180:0:0.97cm);
  30. \draw (0:1cm) node[point, label=right:{$0$}] {};
  31. \end{scope}
  32. \coordinate (circleUp) at (2.6, 0.1);
  33. \coordinate (circleDown) at (2.6,-0.1);
  34. \coordinate (numberlineUp) at (1.7, 0.1);
  35. \coordinate (numberlineDown) at (1.7,-0.1);
  36. \path[->] (numberlineUp) edge [bend left] node[label=$f$] {} (circleUp);
  37. \path[<-] (numberlineDown) edge [bend right] node[label=below:$g$] {} (circleDown);
  38. \end{tikzpicture}
  39. \end{document}