0

how to write the range of variable for this example 1 equation has 2 range up and down with equation at centre

i need to write the equation as n the figure attached plz someone help me out in writting the equattion with the ranges as in the example attached thank you

  • Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. – Zoxume Apr 22 '16 at 16:50
1

You can use an array environment:

\[
  u_i(a_1, x_2, x_3) - u_i(-a_1, x_2, x_3) = 2a_1\varepsilon_{i1}^0
  \qquad
  \begin{array}{c}
    -a_2 \leq x_2 \leq a_2 \\
    -a_3 \leq x_3 \leq a_3
  \end{array}
\]
1

See, it this MWE gives what you like to achieve:

\documentclass{article}
\usepackage{mathtools}

\begin{document}
    \begin{align*}
u_i(a_1,x_2,x_3) - u_i(-a_1,x_2,x_3) = 2a_1\varepsilon_{i1}^0 
    &\quad  \begin{aligned}
                    -a_2\leq x_2 & \leq a_2\\
                    -a_2\leq x_2 & \leq a_2
            \end{aligned}   \\
u_i(a_1,x_2,x_3) - u_i(-a_1,x_2,x_3) = 2a_1\varepsilon_{i1}^0
    &\quad  \begin{aligned}
                    -a_2\leq x_2 & \leq a_2\\
                    -a_2\leq x_2 & \leq a_2
            \end{aligned}
    \end{align*}
\end{document}

enter image description here

  • Why \lefts and \rights only for the first u_i terms? – Zoxume Apr 22 '16 at 17:06
  • . ah, they are forgotten ... fro some other test, I will erase it. – Zarko Apr 22 '16 at 17:08
  • There is an extra \ left in the first math line causing a \). Can’t fix it myself because edits are permitted for at least 6 characters. – Zoxume Apr 22 '16 at 17:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.