Results 1 to 3 of 3

Math Help - Lining Up Systems of Equations

  1. #1
    Super Member
    Joined
    May 2009
    Posts
    527

    Lining Up Systems of Equations

    If I have a system of linear equations in three variables, in triangular form, how can I line them up nicely in LaTex?

    This is what I tried doing in a recent post. I used white dots as placeholders. Does anyone know of a more elegant way?
    \begin{aligned}<br />
x&\; +& 4y&\; -& 2z&\; = 1 \\<br />
{\color{white}.}&\; {\color{white}.}& y&\; -& 0.55z&\; = 0.35 \\<br />
{\color{white}.}&\; {\color{white}.}& {\color{white}.}&\; {\color{white}.}& z&\; = 3<br />
\end{aligned}

    And this is the code I typed (I took out the [tex] tags below):
    Code:
    \begin{aligned}
    x&\; +& 4y&\; -& 2z&\; = 1 \\
    {\color{white}.}&\; {\color{white}.}& y&\; -& 0.55z&\; = 0.35 \\
    {\color{white}.}&\; {\color{white}.}& {\color{white}.}&\; {\color{white}.}& z&\; = 3
    \end{aligned}
    TIA.


    01
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Grand Panjandrum
    Joined
    Nov 2005
    From
    someplace
    Posts
    14,972
    Thanks
    4
    Quote Originally Posted by yeongil View Post
    If I have a system of linear equations in three variables, in triangular form, how can I line them up nicely in LaTex?

    This is what I tried doing in a recent post. I used white dots as placeholders. Does anyone know of a more elegant way?
    \begin{aligned}<br />
x&\; +& 4y&\; -& 2z&\; = 1 \\<br />
{\color{white}.}&\; {\color{white}.}& y&\; -& 0.55z&\; = 0.35 \\<br />
{\color{white}.}&\; {\color{white}.}& {\color{white}.}&\; {\color{white}.}& z&\; = 3<br />
\end{aligned}

    And this is the code I typed (I took out the [tex] tags below):
    Code:
    \begin{aligned}
    x&\; +& 4y&\; -& 2z&\; = 1 \\
    {\color{white}.}&\; {\color{white}.}& y&\; -& 0.55z&\; = 0.35 \\
    {\color{white}.}&\; {\color{white}.}& {\color{white}.}&\; {\color{white}.}& z&\; = 3
    \end{aligned}
    TIA.


    01

    \begin{array}{rcrcrcr}x&+&4y&-&2z&=&1\\<br />
&&y&-&0.55z&=&0.35\\<br />
&&&&z&=&3\\<br />
\end{array}

    \begin{array}{rcrcrcr}x&+&4y&-&2z&=&1\\
    &&y&-&0.55z&=&0.35\\
    &&&&z&=&3\\
    \end{array}

    CB
    Follow Math Help Forum on Facebook and Google+

  3. #3
    MHF Contributor
    Opalg's Avatar
    Joined
    Aug 2007
    From
    Leeds, UK
    Posts
    4,041
    Thanks
    7
    \begin{aligned}<br />
x + 4y - \phantom{0.5}2z &= 1\\<br />
y - 0.55z &= 0.35\\<br />
z &= 3<br />
\end{aligned}

    \begin{aligned}
    x + 4y - \phantom{0.5}2z &= 1\\
    y - 0.55z &= 0.35\\
    z &= 3
    \end{aligned}
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 6
    Last Post: November 30th 2011, 02:41 AM
  2. Replies: 3
    Last Post: July 7th 2011, 12:21 PM
  3. Systems of equations
    Posted in the Algebra Forum
    Replies: 1
    Last Post: December 14th 2010, 06:02 PM
  4. systems of equations
    Posted in the Pre-Calculus Forum
    Replies: 1
    Last Post: August 18th 2009, 09:08 PM
  5. systems of equations
    Posted in the Algebra Forum
    Replies: 2
    Last Post: November 3rd 2008, 10:56 AM

Search Tags


/mathhelpforum @mathhelpforum