Trouble spacing in array environment

arraysspacing

I have constructed the following table:

enter image description here

To do so, I used the following code:

begin{equation*}
    \begin{array}{c|ccc|c}
        & & & & \overline{b} \\ \hline
        x_5 & 1 & 0 & 0 & 0 \\
        x_6 & 0 & 1 & 0 & 0 \\
        x_7 & 0 & 0 & 1 & 1\\ \hline
        z & 0 & 0 & 0 & 0
    \end{array}     
    \hspace{2cm}
    \begin{array}{|c|}
    x_1 \\ \hline
    \fbox{$0.5$} \\
    0.5 \\ 
    1 \\ \hline 
    10
    \end{array}
\end{equation*}

But I really would like to add some further spacing in the tables, making it look bigger, i.e., make them look like this:

enter image description here

What change would I have to make to my code to get the result I want? Thanks for any help in advance!

UPDATE. I was able to extend my tables further horizantally using the command \arraycolsep = 12pt. How would one make the lines look darker like in the image I posted? The current state is the following:
enter image description here

Best Answer

You can locally change the value of \arraycolsep:

\documentclass{article}
\usepackage{amsmath,array}

\begin{document}

\begin{equation*}
  \setlength{\arraycolsep}{12pt}
  \newcommand{\FILLER}{\begin{matrix} 0 & 0 & 0 \end{matrix}}
  \begin{array}[t]{c|ccc|c}
  & & & & \bar{b} \\
  \hline
  x_5 & 1 & 0 & 0 & 0 \\
  x_6 & 0 & 1 & 0 & 0 \\
  x_7 & 0 & 0 & 1 & 1\\
  \hline
  z & 0 & 0 & 0 & 0 \\[-0.8\normalbaselineskip]
  & \multicolumn{3}{c|}{\underbrace{\hphantom{\FILLER}}_{w^1}} & \\
  \end{array}
  \qquad
  \setlength{\arraycolsep}{3pt}
  \begin{array}[t]{|ccc|}
  & x_1 & \\
  \hline
  & \multicolumn{1}{|c|}{0.5} & \\
  \cline{2-2}
  & 0.5 & \\ 
  & 1 & \\
  \hline 
  & 10 &
  \end{array}
\end{equation*}

\end{document}

enter image description here

For thicker lines, add something like

\setlength{\arrayrulewidth}{0.8pt}

to get

enter image description here