My Math Forum How do I align equation or simplification?

 LaTex Help Help with LaTex and writing math equations

 July 8th, 2014, 03:37 PM #1 Senior Member     Joined: Jan 2012 Posts: 745 Thanks: 7 How do I align equation or simplification? When posting lines of simplification or equation using latex, how do I align the lines of simplification or equation in a single column such that the equal signs or arrow signs will be on side- left side ? For example, I want align this:$\displaystyle \frac{2a+b}{a^2-ab}-\frac{2b+a}{ab-b^2} =\frac{2a+b}{a(a-b)}-\frac{(2b+a)a}{b(a-b)} =\frac{(2a+b)b}{ab(a-b)}-\frac{(2b+a)a}{ab(a-b)} =\frac{(2a+b)b-(2b+a)a}{ab(a-b)} =\frac{\cancel{2ab}+b^2-\cancel{2ab}+a^2}{ab(a-b)} =\frac{b^2+a^2}{ab(a-b)}$ Last edited by Chikis; July 8th, 2014 at 03:44 PM.
 July 9th, 2014, 02:26 AM #2 Senior Member   Joined: Dec 2013 From: Russia Posts: 327 Thanks: 108 \begin{align*} \frac{2a+b}{a^2-ab}-\frac{2b+a}{ab-b^2} &=\frac{2a+b}{a(a-b)}-\frac{(2b+a)a}{b(a-b)}\\ &=\frac{(2a+b)b}{ab(a-b)}-\frac{(2b+a)a}{ab(a-b)}\\ &=\frac{(2a+b)b-(2b+a)a}{ab(a-b)}\\ &=\frac{\cancel{2ab}+b^2-\cancel{2ab}+a^2}{ab(a-b)}\\ &=\frac{b^2+a^2}{ab(a-b)} \end{align*} Theoretically, this should be surrounded by $...$ or \ [...\ ] or \$...\$, (in LaTeX, the environment align* can be used only in math mode), but on the forum it works like this. The star means not to number the equations. There is also the environment aligned, which can be used as a part of a larger formula. For more display math environments, see Wikibooks.
July 10th, 2014, 11:02 PM   #3
Senior Member

Joined: Jan 2012

Posts: 745
Thanks: 7

Quote:
 Theoretically, this should be surrounded by one of these:$...$ or \ [...\ ] or \$...\$,
When you were tying to align the line of simplification which I gave as an example, why didn't you surround it by one of these :$...$ or \ [...\ ] or \$...\$,,

Last edited by Chikis; July 10th, 2014 at 11:18 PM.

 July 11th, 2014, 01:54 AM #4 Senior Member   Joined: Dec 2013 From: Russia Posts: 327 Thanks: 108 I have no better answer than: the forum software is programmed in such a way as to not require math tags for display equation environments. And that's probably good since it allows users typing less.

 Tags align, equation, simplification

 Thread Tools Display Modes Linear Mode

 Similar Threads Thread Thread Starter Forum Replies Last Post TastyLemons Linear Algebra 0 February 2nd, 2014 09:54 PM Smeg Differential Equations 2 November 12th, 2011 07:25 PM MathForFun Advanced Statistics 1 September 1st, 2009 10:05 PM Delta Algebra 3 May 18th, 2009 12:52 PM arron1990 Calculus 1 December 31st, 1969 04:00 PM

 Contact - Home - Forums - Cryptocurrency Forum - Top