\documentclass[a4paper,12pt]{article}

\usepackage[margin=1in]{geometry}
\usepackage[utf8]{inputenc}
\usepackage{amsmath,amstext,amssymb}
\usepackage[francais]{babel}
\usepackage[thicklines]{cancel}
\usepackage[shortlabels]{enumitem}
\usepackage{fancyhdr}
\usepackage{multicol}
\usepackage{framed}

%\everymath{\displaystyle}
\setlength{\parindent}{0in}

\usepackage{tikz, pgf}
\usepackage{multicol}
\usepackage[thicklines]{cancel}
\usepackage[upright]{fourier}
\usepackage{tkz-linknodes}
\usepackage{multirow}
\usepackage{array}
\usepackage[shortlabels]{enumitem}

\usepackage[utf8]{inputenc}
\usepackage{amsmath,amstext,amssymb}
\usepackage[francais]{babel}
\usepackage{tikz, pgf}
\usepackage{multicol}
\usepackage{tcolorbox}
\usepackage{mathenv}
\usetikzlibrary{arrows,positioning,shapes,fit,calc}

\pgfdeclarelayer{background}
\pgfsetlayers{background,main}

\usetikzlibrary{calc, intersections, arrows,decorations.pathmorphing,backgrounds,positioning,fit, chains, matrix}

\newcommand{\tikzmark}[1]{\tikz[overlay,remember picture] \node (#1){};}
\newcommand{\myline}{thick}
\newcommand{\myunit}{1 cm}
\tikzset{
dot/.style={
        circle,
        inner sep=1pt,
        fill,
        label={#1},
        name=#1,
        color=black
    },    
dgreen/.style={green!50!black},
dred/.style={red!80!black},
dblue/.style={blue!80!black},
dorange/.style={orange!80!black},
dbrown/.style={brown!50!black},
nline/.style={\myline, black},
bline/.style={\myline, dblue},
rline/.style={\myline, dred},
gline/.style={\myline, dgreen},
hline/.style={thick, black},
oline/.style={\myline, dorange},
brline/.style={\myline, dbrown},
vline/.style={\myline, violet},
}

\definecolor{qqqqff}{rgb}{0,0,1}

\newcommand{\gn}[1]{\textcolor{blue!80!black!}{#1}}
\newcommand{\gr}[1]{\textcolor{green!50!black}{#1}}
\newcommand{\gw}[1]{\textcolor{red!80!black!}{#1}}
\newcommand{\go}[1]{\textcolor{orange!80!black}{#1}}
\newcommand{\gv}[1]{\textcolor{violet}{#1}}
\newcommand{\gbr}[1]{\textcolor{brown!50!black}{#1}}


\newcommand{\notes}[3][\empty]{%
	  \foreach \n in {1,...,#2}{%
	        \ifthenelse{\equal{#1}{\empty}}
	            {\rule{#3}{0.5pt}\\}
	            {\rule{#3}{0.5pt}\vspace{#1}\\}
	        }
	}
\newcommand{\inotes}[3][\empty]{%
	  \foreach \n in {1,...,#2}{%
	        \ifthenelse{\equal{#1}{\empty}}
	            {\rule{#3}{0.5pt}\\}
	            {\rule{#3}{0.5pt}\vspace{#1}}
	        }
	}

\usetikzlibrary{calc, intersections, arrows,decorations.pathmorphing,backgrounds,positioning,fit, chains, matrix}
  \tikzstyle{mathbox} = [inner sep=0pt, anchor=base]


\newcommand{\MP}[2]{\begin{minipage}{0.49\textwidth}\begin{tikzpicture}{#1}\end{tikzpicture}\end{minipage} \begin{minipage}{0.49\textwidth}{#2}\end{minipage}}

\newcommand{\Vect}[1]{$\overrightarrow{#1}$}
\newcommand{\Vecs}[1]{\overrightarrow{#1}}

\newcommand{\Norm}[1]{||\overrightarrow{#1}||}

\newcount\colveccount
\newcommand*\colvec[1]{
        \global\colveccount#1
        \begin{pmatrix}
        \colvecnext
}
\def\colvecnext#1{
        #1
        \global\advance\colveccount-1
        \ifnum\colveccount>0
                \\
                \expandafter\colvecnext
        \else
                \end{pmatrix}
        \fi
}


\tikzset{
dot/.style={
        circle,
        inner sep=1pt,
        fill,
        label={#1},
        name=#1,
        color=black
    },    
dgreen/.style={green!50!black},
dred/.style={red!80!black},
dblue/.style={blue!80!black},
dorange/.style={orange!80!black},
dbrown/.style={brown!50!black},
nline/.style={\myline, black},
bline/.style={\myline, dblue},
rline/.style={\myline, dred},
gline/.style={\myline, dgreen},
hline/.style={thick, black},
oline/.style={\myline, dorange},
brline/.style={\myline, dbrown},
vline/.style={\myline, violet},
}

\def\firstcircle{(-1.2,0.2) circle (2cm)}
\def\secondcircle{(1.2,0.2) circle (2cm)}

\pagestyle{fancy}
\fancyhf{}
 
\lhead{Mathématiques}
\rhead{Equations et Inéquations}
\cfoot{\thepage}

\title{{Intervalles réels}}
\date{}

\begin{document}

\begin{center}
\Large\textbf{Exercices sur les intervalles}\\
\end{center}

\vspace{0.2cm}

Dessiner les ensembles de solution suivants sur les axes et donnez la notation en intervalle:\\[0.2cm]

\begin{enumerate}
\item $-6 < x < 4$
\def\max{11}
\def\min{-11}
\begin{center}
\begin{tikzpicture}[scale=0.5]
\draw[->] (-11,0) -- coordinate (x axis mid) (11,0) node[right]{$\mathbb{R}$};
\foreach \x in {-10, -5, ..., 10}
     		\draw (\x,1pt) -- (\x,-3pt)
			node[anchor=north] {\x};

\end{tikzpicture}\end{center}

S = \\

Les nombres suivants font-ils partie de cet intervalle:
\begin{multicols}{2}
\begin{enumerate}
\item $-\frac{55}{9}$ ? 
\item 0 ?
\item $\pi$?
\item 9?
\end{enumerate}
\end{multicols}

\item $0 \leq x \leq 6$
\def\max{11}
\def\min{-11}
\begin{center}
\begin{tikzpicture}[scale=0.5]
\draw[->] (-11,0) -- coordinate (x axis mid) (11,0) node[right]{$\mathbb{R}$};
\foreach \x in {-10, -5, ..., 10}
     		\draw (\x,1pt) -- (\x,-3pt)
			node[anchor=north] {\x};

\end{tikzpicture}\end{center}

S = \\

Les nombres suivants font-ils partie de cet intervalle:
\begin{multicols}{2}
\begin{enumerate}
\item $-\frac{55}{9}$ ? 
\item 0 ?
\item $\pi$?
\item 9?
\end{enumerate}
\end{multicols}

\item $-\pi \leq x < 9$
\def\max{11}
\def\min{-11}
\begin{center}
\begin{tikzpicture}[scale=0.5]
\draw[->] (-11,0) -- coordinate (x axis mid) (11,0) node[right]{$\mathbb{R}$};
\foreach \x in {-10, -5, ..., 10}
     		\draw (\x,1pt) -- (\x,-3pt)
			node[anchor=north] {\x};

\end{tikzpicture}\end{center}

S = \\

Les nombres suivants font-ils partie de cet intervalle:
\begin{multicols}{2}
\begin{enumerate}
\item $-\frac{55}{9}$ ? 
\item 0 ?
\item $\pi$?
\item 9?
\end{enumerate}
\end{multicols}

\item $ -5 < x \leq 9$
\def\max{11}
\def\min{-11}
\begin{center}
\begin{tikzpicture}[scale=0.5]
\draw[->] (-11,0) -- coordinate (x axis mid) (11,0) node[right]{$\mathbb{R}$};
\foreach \x in {-10, -5, ..., 10}
     		\draw (\x,1pt) -- (\x,-3pt)
			node[anchor=north] {\x};

\end{tikzpicture}\end{center}

S = \\

\clearpage
Les nombres suivants font-ils partie de cet intervalle:
\begin{multicols}{2}
\begin{enumerate}
\item $-\frac{55}{9}$ ? 
\item 0 ?
\item $\pi$?
\item 9?
\end{enumerate}
\end{multicols}

\item $ -5 \leq x < 9$
\def\max{11}
\def\min{-11}
\begin{center}
\begin{tikzpicture}[scale=0.5]
\draw[->] (-11,0) -- coordinate (x axis mid) (11,0) node[right]{$\mathbb{R}$};
\foreach \x in {-10, -5, ..., 10}
     		\draw (\x,1pt) -- (\x,-3pt)
			node[anchor=north] {\x};

\end{tikzpicture}\end{center}

S = \\

Les nombres suivants font-ils partie de cet intervalle:
\begin{multicols}{2}
\begin{enumerate}
\item $-\frac{55}{9}$ ? 
\item 0 ?
\item $\pi$?
\item 9?
\end{enumerate}
\end{multicols}

\item $ x \geq 0$
\def\max{11}
\def\min{-11}
\begin{center}
\begin{tikzpicture}[scale=0.5]
\draw[->] (-11,0) -- coordinate (x axis mid) (11,0) node[right]{$\mathbb{R}$};
\foreach \x in {-10, -5, ..., 10}
     		\draw (\x,1pt) -- (\x,-3pt)
			node[anchor=north] {\x};

\end{tikzpicture}\end{center}

S = \\

Les nombres suivants font-ils partie de cet intervalle:
\begin{multicols}{2}
\begin{enumerate}
\item $-\frac{55}{9}$ ? 
\item 0 ?
\item $\pi$?
\item 9?
\end{enumerate}
\end{multicols}


\item $ x < 0$
\def\max{11}
\def\min{-11}
\begin{center}
\begin{tikzpicture}[scale=0.5]
\draw[->] (-11,0) -- coordinate (x axis mid) (11,0) node[right]{$\mathbb{R}$};
\foreach \x in {-10, -5, ..., 10}
     		\draw (\x,1pt) -- (\x,-3pt)
			node[anchor=north] {\x};

\end{tikzpicture}\end{center}

S = \\

Les nombres suivants font-ils partie de cet intervalle:
\begin{multicols}{2}
\begin{enumerate}
\item $-\frac{55}{9}$ ? 
\item 0 ?
\item $\pi$?
\item 9?
\end{enumerate}
\end{multicols}

\end{enumerate}


\end{document}
