Typesetting multi-line equations

  • Thread starter Thread starter DrClaude
  • Start date Start date
  • Tags Tags
    Typesetting
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 2K views
Messages
8,478
Reaction score
5,699
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) \\<br /> \quad \approx x - \frac{x^3}{3!} \\<br /> \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) \\<br /> f(x) \approx x - \frac{x^3}{3!} \\<br /> f(x) = x - \frac{x^3}{6} [/tex]
in which case the last line is incorrect?
 
Physics news on Phys.org
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.
 
jedishrfu said:
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.
 
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" ...
 
AlephZero said:
(2) assume the reader at least knows enough to follow the mathematical argument.

I like that :smile: