binbagsss
- 1,291
- 12
How do you write each line of long division in LaTeX on here ?
Thanks
Thanks
The discussion centers on how to represent long division in LaTeX, exploring various methods and examples for formatting each line of the division process. The scope includes technical explanations and practical applications of LaTeX for mathematical notation.
Participants have not reached a consensus on a single method for writing long division in LaTeX, as multiple approaches and resources are presented without clear agreement on the best solution.
Some participants express concerns about alignment and formatting, indicating that the solutions may depend on specific use cases or preferences in presentation style.
This has been my solution:binbagsss said:How do you write each line of long division in LaTeX on here ?
Thanks
(Sorry, for the sub-optimal alignment.)
##(x^3+2x+1) : (x-a) \rightarrow x^2##
##-[(x-a)\cdot x^2] = -x^3+ax^2##
##\text{+________________________}##
##ax^2 + 2x +1 / : (x-a) \rightarrow ax##
##-[(x-a)\cdot ax] = -ax^2+a^2x##
##\text{+________________________}##
##2x+a^2x+1 / :(x-a) \rightarrow (2+a^2)##
##-[(x-a)\cdot (2+a^2)] = -2x+2a-a^2x+a^3##
##\text{+________________________}##
##2a+a^3+1##