Editing 2687: Division Notation

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 19: Line 19:
 
The expression on the third line, A/B, is the way division is usually written in software code. The four simple arithmetic operations in programming usually are +, -, *, /. This line was not in the [[media:division_notation_2x.png|first version]] of the comic. This is most commonly seen in regular mathematics as it somewhat saves space, and is easy to type with the slash key. Additionally, it uses standard {{w|ASCII}} characters instead of sophisticated notation. A notable exception is {{w|APL_(programming_language)|APL}}, which uses an idiosyncratic character set modeled after traditional arithmetic.
 
The expression on the third line, A/B, is the way division is usually written in software code. The four simple arithmetic operations in programming usually are +, -, *, /. This line was not in the [[media:division_notation_2x.png|first version]] of the comic. This is most commonly seen in regular mathematics as it somewhat saves space, and is easy to type with the slash key. Additionally, it uses standard {{w|ASCII}} characters instead of sophisticated notation. A notable exception is {{w|APL_(programming_language)|APL}}, which uses an idiosyncratic character set modeled after traditional arithmetic.
  
The expression on the fourth line, <sup>A</sup>/<sub>B</sub>, is how division is usually written by hand{{Actual citation needed}}. It is nearly identical to the fraction notation that follows, but the diagonal line allows each number to be bigger while still fitting into a single line of text. The third line's representation is the best approximation of this line's notation on a computer, without using more obscure Unicode characters. The Unicode character set can be used to accurately represent division as on the fourth line in plain text, using a small set of precomposed fractions (⅔, ⅕, etc.), regular numerals and [https://unicode-explorer.com/c/2044 U+2044 FRACTION SLASH] (e.g. 22⁄7, provided font support exists), or superscript and subscript numerals (e.g. ²²/₇, or ²²⁄₇ with the fraction slash). Using any of these requires a greater knowledge of Unicode, and the know-how (and, possibly, patience) to type them, so it is likely that only a Unicode enthusiast would type division like this, rather than an alternate or equivalent format such as <sup>22</sup>/<sub>7</sub> as rendered in HTML.
+
The expression on the fourth line, <sup>A</sup>/<sub>B</sub>, is how division is usually written by hand{{Actual citation needed}}. It is nearly identical to the fraction notation that follows, but the diagonal line allows each number to be bigger while still fitting into a single line of text. The third line's representation is the best approximation of this line's notation on a computer, without using more obscure Unicode characters. The Unicode character set can be used to accurately represent division as on the fourth line in plain text, using a small set of precomposed fractions (⅔, ⅕, etc.), regular numerals and [https://unicode-explorer.com/c/2044 U+2044 FRACTION SLASH] (e.g. 22⁄7, provided font support exists), or superscript and subscript numerals (e.g. ²²/₇, or ²²⁄₇ with the fraction slash). Using any of these requires a greater knowledge of Unicode, and the know-how (and, possibly, patience) to type them, so it is likely that only a Unicode enthusiast would type division like this.
  
 
The fifth notation is the way division is written in science and intermediate and higher mathematics: <table style="display: inline-table; line-height: 0.75em; vertical-align: middle; font-size:10pt; text-size-adjust: none;"><tr><td><u>A</u></td></tr><tr><td>B</td></tr></table>, i.e. the dividend on the top of the expression, over the divisor on the bottom with a horizontal line separating them. This is how a {{w|Fraction|fraction}} would be written. It has the advantage of clearly separating the numerator and denominator when they are longer expressions, such as polynomials, without needing to add parentheses. This format is mostly used in written and professionally typeset math, as it can't be typed without something like {{w|MathML}}, {{w|LaTeX}} or HTML tables.
 
The fifth notation is the way division is written in science and intermediate and higher mathematics: <table style="display: inline-table; line-height: 0.75em; vertical-align: middle; font-size:10pt; text-size-adjust: none;"><tr><td><u>A</u></td></tr><tr><td>B</td></tr></table>, i.e. the dividend on the top of the expression, over the divisor on the bottom with a horizontal line separating them. This is how a {{w|Fraction|fraction}} would be written. It has the advantage of clearly separating the numerator and denominator when they are longer expressions, such as polynomials, without needing to add parentheses. This format is mostly used in written and professionally typeset math, as it can't be typed without something like {{w|MathML}}, {{w|LaTeX}} or HTML tables.

Please note that all contributions to explain xkcd may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see explain xkcd:Copyrights for details). Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel | Editing help (opens in new window)