New Reply

Typesetting multi-line equations

 
Share Thread Thread Tools
Mar11-13, 06:35 AM   #1
 
Recognitions:
Gold Membership Gold Member

Typesetting multi-line equations


I have a question on how to properly typeset a series of inequalities or approximate equalities when the LHS does not change. Take for example
[tex]
f(x) = \sin(x) \\
\quad \approx x - \frac{x^3}{3!} \\
\quad = x - \frac{x^3}{6}
[/tex]
What I did there is that I took it as if it was one long line,
[tex]
f(x) = \sin(x) \approx x - \frac{x^3}{3!} = x - \frac{x^3}{6}
[/tex]
that is split and stacked. Is this the correct way to do it? Or is it assumed that the LHS repeats, i.e.,
[tex]
f(x) = \sin(x) \\
f(x) \approx x - \frac{x^3}{3!} \\
f(x) = x - \frac{x^3}{6}
[/tex]
in which case the last line is incorrect?
 
PhysOrg.com
PhysOrg
mathematics news on PhysOrg.com

>> Mathematicians analyze social divisions using cell phone data
>> Can math models of gaming strategies be used to detect terrorism networks?
>> Mathematician proves there are infinitely many pairs of prime numbers less than 70 million units apart
Mar11-13, 07:49 AM   #2
 
I would for clarity use the aproximately equals in the last equation and repeat the LHS.

Why?

Because as you're composing your solution steps you might need to insert a step and by not explicitly typing the LHS for each line means confusion will set in especially if you're reviewing your work weeks or months later for a test.
 
Mar11-13, 07:58 AM   #3
 
Recognitions:
Gold Membership Gold Member
Quote by jedishrfu View Post
I would for clarity use the aproximately equals in the last equation and repeat the LHS.
What I don't like about your approach is that once you introduce a [itex]\approx[/itex], there are no more [itex]=[/itex], so that it is not obvious if additional approximations are made.

There is also a problem when the LHS is itself very long.
 
Mar11-13, 08:11 AM   #4

Math 2012
 
Recognitions:
Science Advisor Science Advisor

Typesetting multi-line equations


My basic "rules" would be
(1) never write anything that is actually wrong.
(2) assume the reader at least knows enough to follow the mathematical argument.

So in the OP, all the options are OK, except for the last line $$f(x) = x - \frac{x^3}{6}$$ which just plain wrong.

In a more complicated situation you might need to spell out a detail like "and since 3! = 6 we get" ...
 
Mar12-13, 01:00 PM   #5
 
Recognitions:
Gold Membership Gold Member
Quote by AlephZero View Post
(2) assume the reader at least knows enough to follow the mathematical argument.
I like that
 
New Reply
Thread Tools


Similar Threads for: Typesetting multi-line equations
Thread Forum Replies
Multi-line Equation Problem in Latex Math & Science Software 30
Latex Multi-Line with a sqrt Math & Science Software 2
Parametric equation for a tangent line (multi vars) Calculus & Beyond Homework 6
How can I control the size of a multi-line equation? Math & Science Software 14
Multi-line Equation in Latex Math & Science Software 2