Scientific notation
≈ 11 min read
Names in other languages
No names in other languages are held for this entry yet.
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
Scientific notation is a way of expressing numbers that are too large or too small to be conveniently written in decimal form, since to do so would require writing out an inconveniently long string of digits. It may be referred to as scientific form or standard index form, or standard form in the United Kingdom. This base ten notation is commonly used by scientists, mathematicians, and engineers, in part because it can simplify certain arithmetic operations. On scientific calculators, it is usually known as "SCI" display mode. In scientific notation, nonzero numbers are written in the form or m times ten raised to the power of n, where n is an integer, and the coefficient m is a nonzero real number (usually between 1 and 10 in absolute value, and nearly always written as a terminating decimal). The integer n is called the exponent and the real number m is called the significand or mantissa. The term "mantissa" can be ambiguous where logarithms are involved, because it is also the traditional name of the fractional part of the common logarithm. If the number is negative then a minus sign precedes m, as in ordinary decimal notation. In normalized notation, the exponent is chosen so that the absolute value (modulus) of the significand m is at least 1 but less than 10. Decimal floating point is a computer arithmetic system closely related to scientific notation.
Scientific notation is a way of expressing numbers that are too large or too small to be conveniently written in decimal form, since to do so would require writing out an inconveniently long string of digits. It may be referred to as scientific form or standard index form, or standard form in the United Kingdom. This base ten notation is commonly used by scientists, mathematicians, and engineers, in part because it can simplify certain arithmetic operations. On scientific calculators, it is usually known as "SCI" display mode. In scientific notation, nonzero numbers are written in the form or m times ten raised to the power of n, where n is an integer, and the coefficient m is a nonzero real number (usually between 1 and 10 in absolute value, and nearly always written as a terminating decimal). The integer n is called the exponent and the real number m is called the significand or mantissa. The term "mantissa" can be ambiguous where logarithms are involved, because it is also the traditional name of the fractional part of the common logarithm. If the number is negative then a minus sign precedes m, as in ordinary decimal notation. In normalized notation, the exponent is chosen so that the absolute value (modulus) of the significand m is at least 1 but less than 10. Decimal floating point is a computer arithmetic system closely related to scientific notation.
E notation
Calculators and computer programs typically present very large or small numbers using scientific notation, and some can be configured to uniformly present all numbers that way. Because superscript exponents, like the ⟨ 7 ⟩ in 10 7 , can be inconvenient to display or type, the letter "E" or "e" (for "exponent") is often used to represent "times ten raised to the power of", so that the notation for a decimal significand m and integer exponent n means the same as . For example is written as or , and is written as or . Sometimes the positive power is explicitly shown ( or ). While common in computer output, this abbreviated version of scientific notation is discouraged for published documents by some style guides. Most popular programming languages – including Fortran, C/C++, Python, and JavaScript – use this "E" notation, which comes from Fortran and was present in the first version released for the IBM 704 in 19561. The E notation was already used by the developers of SHARE Operating System (SOS) for the IBM 709 in 1958. Later versions of Fortran (at least since FORTRAN IV as of 1961 ) also use "D" to signify double precision numbers in scientific notation, and newer Fortran compilers use "Q" to signify quadruple precision. The MATLAB programming language supports the use of either "E" or "D". The ALGOL 60 (1960) programming language uses a subscript ten " 10 " character instead of the letter "E", for example: 6.022 10 23 . This presented a challenge for computer systems which did not provide such a character, so ALGOL W (1966) replaced the symbol by a single quote, e.g. 6.022'+23 , and some Soviet ALGOL variants allowed the use of the Cyrillic letter "ю", e.g. . Subsequently, the ALGOL 68 programming language provided a choice of characters: , , , , or 10 . The ALGOL " 10 " character was included in the Soviet GOST 10859 text encoding (1964), and was added to Unicode 5.2 (2009) as . Some programming languages use other symbols. For instance, Simula uses (or for long), as in . Mathematica supports the shorthand notation (reserving the letter for the mathematical constant e). TI-84 Plus calculator display showing the Avogadro constant to three significant figures in E notation The first pocket calculators supporting scientific notation appeared in 1972. To enter numbers in scientific notation calculators include a button labeled "EXP" or "×10 x ", among other variants. The displays of pocket calculators of the 1970s did not display an explicit symbol between significand and exponent; instead, one or more digits were left blank (e.g. 6.022 23 , as seen in the HP-25), or a pair of smaller and slightly raised digits were reserved for the exponent (e.g. 6.022 23 , as seen in the Commodore PR100). In 1976, Hewlett-Packard calculator user Jim Davidson coined the term decapower for the scientific-notation exponent to distinguish it from "normal" exponents, and suggested the letter "D" as a separator between significand and exponent in typewritten numbers (for example, ); these gained some currency in the programmable calculator user community. The letters "E" or "D" were used as a scientific-notation separator by Sharp pocket computers released between 19871 and 1995, "E" used for 10-digit numbers and "D" used for 20-digit double-precision numbers. The Texas Instruments TI-83 and TI-84 series of calculators (1996–present) use a small capital E for the separator. In 1962, Ronald O. Whitaker of Rowco Engineering Co. proposed a power-of-ten system nomenclature where the exponent would be circled, e.g. 6.022 × 10 3 would be written as "6.022③". First, move the decimal separator point sufficient places, n, to put the number's value within a desired range, between 1 and 10 for normalized notation. If the decimal was moved to the left, append × 10 n ; to the right, × 10 −n . To represent the number in normalized scientific notation, the decimal separator would be moved 6 digits to the left and × 10 6 appended, resulting in . The number would have its decimal separator shifted 3 digits to the right instead of the left and yield as a result. Converting a number from scientific notation to decimal notation, first remove the × 10 n on the end, then shift the decimal separator n digits to the right (positive n) or left (negative n). The number would have its decimal separator shifted 6 digits to the right and become , while would have its decimal separator moved 3 digits to the left and be . x_0=m_0\times10^{n_0} and x_1=m_1\times10^{n_1} Multiplication and division are performed using the rules for operation with exponentiation: x_0 x_1=m_0 m_1\times10^{n_0+n_1} and \frac{x_0}{x_1}=\frac{m_0}{m_1}\times10^{n_0-n_1} Some examples are: 5.67\times10^{-5} \times 2.34\times10^2 \approx 13.3\times10^{-5+2} = 13.3\times10^{-3} = 1.33\times10^{-2} and \frac{2.34\times10^2}{5.67\times10^{-5}} \approx 0.413\times10^{2-(-5)} = 0.413\times10^{7} = 4.13\times10^6 Addition and subtraction require the numbers to be represented using the same exponential part, so that the significand can be simply added or subtracted: Next, add or subtract the significands: x_0 \pm x_1=(m_0\pm m_1)\times10^{n_0} An example: 2.34\times10^{-5} + 5.67\times10^{-6} = 2.34\times10^{-5} + 0.567\times10^{-5} = 2.907\times10^{-5}
Other bases
While base ten is normally used for scientific notation, powers of other bases can be used too, base 2 being the next most commonly used one. For example, in base-2 scientific notation, the number 1001 b in binary (=9 d ) is written as or using binary numbers (or shorter if binary context is obvious). In E notation, this is written as (or shorter: 1.001E11) with the letter "E" now standing for "times two (10 b ) to the power" here. In order to better distinguish this base-2 exponent from a base-10 exponent, a base-2 exponent is sometimes also indicated by using the letter "B" instead of "E", a shorthand notation originally proposed by Bruce Alan Martin of Brookhaven National Laboratory in 1968, as in (or shorter: 1.001B11). For comparison, the same number in decimal representation: (using decimal representation), or 1.125B3 (still using decimal representation). Some calculators use a mixed representation for binary floating point numbers, where the exponent is displayed as decimal number even in binary mode, so the above becomes or shorter 1.001B3. This is closely related to the base-2 floating-point representation commonly used in computer arithmetic, and the usage of IEC binary prefixes (e.g. 1B10 for 1×2 10 (kibi), 1B20 for 1×2 20 (mebi), 1B30 for 1×2 30 (gibi), 1B40 for 1×2 40 (tebi)). Similar to "B" (or "b" ), the letters "H" (or "h" ) and "O" (or "o", or "C" ) are sometimes also used to indicate times 16 or 8 to the power as in 1.25 = = 1.40H0 = 1.40h0, or 98000 = = 2.7732o5 = 2.7732C5. Another similar convention to denote base-2 exponents is using a letter "P" (or "p", for "power"). In this notation the significand is always meant to be hexadecimal, whereas the exponent is always meant to be decimal. This notation can be produced by implementations of the printf family of functions following the C99 specification and (Single Unix Specification) IEEE Std 1003.1 POSIX standard, when using the %a or %A conversion specifiers. Starting with C++11, C++ I/O functions could parse and print the P notation as well. Meanwhile, the notation has been fully adopted by the language standard since C++17. Apple's Swift supports it as well. It is also required by the IEEE 754-2008 binary floating-point standard. Example: 1.3DEp42 represents . Engineering notation can be viewed as a base-1000 scientific notation.
Text derived from https://en.wikipedia.org/w/index.php?oldid=1375591964 under CC BY-SA 4.0; modifications have been made.
References
- ↩Wikipedia “Scientific notation” release date (×2) · confidence 0.95 revision URL