Solving equation with under and above right arrow

equationsmath-operators

How can I write my equation this way and size:enter image description here

I could not find something like this arrows that can be written above and under I've tried \underrightarrow but it's not what I need. also having issues to write the whole equation in the shown way.

Best Answer

I'm not good at aligning something, but a bit hardcoding and looks close to Your example:

enter image description here

\documentclass{article}
\usepackage[left=1.5cm,right=1.5cm,
top=1.5cm,bottom=2cm,bindingoffset=0cm]{geometry}
\usepackage{amsmath}
\newcommand{\undlr}[1]{\underrightarrow{{\rule[-4pt]{0pt}{2pt}{#1}}}}
\begin{document}


\begin{minipage}[m]{0.2\linewidth}
\begin{align*}
&c_1-c_2- c_3 &&= -1\\
&c_1+c_2&      &=\hspace{.275cm} 1\\
&c_1    &+ c_2 &=\hspace{.275cm}1
\end{align*}
\end{minipage}
% \hfill
\hspace{-0.5cm}
\begin{scriptsize}
\begin{minipage}[m]{0.2\linewidth}
\begin{align*}
&-\undlr{\rho_1+\rho_2}\hspace{0.3cm} (1/\undlr{2)\rho_2+}\rho_3\\ 
&-\rho_1+\rho_3
\end{align*}
\end{minipage}
\end{scriptsize}
% \hfill
\hspace{-0.5cm}
\begin{minipage}[m]{0.2\linewidth}
\begin{align*}
c_1- &c_2  -  &c_3 &= -1\\
2&c_2 + &c_3 &= \hspace{.275cm}2\\
&  & (3/2)c_3 &= \hspace{.275cm}1
\end{align*}
\end{minipage}
\end{document}

Here's what about the arrows:(will edit in a minute)

enter image description here

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[\overleftarrow{(\alpha+\beta)}\]
\[\overrightarrow{(\eta-\epsilon)}\]
\[\overleftrightarrow{(\mu+\zeta)}\]

\[\underleftarrow{(\alpha+\beta)}\]
\[\underrightarrow{(\eta-\epsilon)}\]
\[\underleftrightarrow{(\mu+\zeta)}\]
\end{document}
Related Question