Template:Short description Template:About Template:Redirect Template:Use dmy dates Template:Use list-defined references

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.

Decimal notation Scientific notation
Template:Val Template:Val
Template:Val Template:Val
Template:Val Template:Val
Template:Val Template:Val
Template:Val Template:Val
Template:Val Template:Val
Template:Val Template:Val
Template:Val Template:Val

In scientific notation, nonzero numbers are written in the form Template:Block indent 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.<ref name="Calio_2017"/> 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.

HistoryEdit

Template:See also For performing calculations with a slide rule, standard form expression is required. Thus, the use of scientific notation increased as engineers and educators used that tool. See Slide rule#History.

StylesEdit

Normalized notationEdit

{{#invoke:Labelled list hatnote|labelledList|Main article|Main articles|Main page|Main pages}} Any real number can be written in the form Template:Gaps in many ways: for example, 350 can be written as Template:Val or Template:Val or Template:Val.

In normalized scientific notation (called "standard form" in the United Kingdom), the exponent n is chosen so that the absolute value of m remains at least one but less than ten (Template:Nowrap). Thus 350 is written as Template:Val. This form allows easy comparison of numbers: numbers with bigger exponents are (due to the normalization) larger than those with smaller exponents, and subtraction of exponents gives an estimate of the number of orders of magnitude separating the numbers. It is also the form that is required when using tables of common logarithms. In normalized notation, the exponent n is negative for a number with absolute value between 0 and 1 (e.g. 0.5 is written as Template:Val). The 10 and exponent are often omitted when the exponent is 0. For a series of numbers that are to be added or subtracted (or otherwise compared), it can be convenient to use the same value of m for all elements of the series.

Normalized scientific form is the typical form of expression of large numbers in many fields, unless an unnormalized or differently normalized form, such as engineering notation, is desired. Normalized scientific notation is often called exponential notation – although the latter term is more general and also applies when m is not restricted to the range 1 to 10 (as in engineering notation for instance) and to bases other than 10 (for example, Template:Gaps).

Engineering notationEdit

{{#invoke:Labelled list hatnote|labelledList|Main article|Main articles|Main page|Main pages}} Engineering notation (often named "ENG" on scientific calculators) differs from normalized scientific notation in that the exponent n is restricted to multiples of 3. Consequently, the absolute value of m is in the range 1 ≤ |m| < 1000, rather than 1 ≤ |m| < 10. Though similar in concept, engineering notation is rarely called scientific notation. Engineering notation allows the numbers to explicitly match their corresponding SI prefixes, which facilitates reading and oral communication. For example, Template:Val can be read as "twelve-point-five nanometres" and written as Template:Val, while its scientific notation equivalent Template:Val would likely be read out as "one-point-two-five times ten-to-the-negative-eight metres".

E notation Edit

Explicit notation E notation
Template:Val Template:Codett
Template:Val Template:Codett
Template:Val Template:Codett
Template:Val Template:Codett
Template:Val Template:Codett
Template:Val Template:Codett
Template:Val Template:Codett
Template:Val Template:Codett

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 107 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 Template:Nowrap for a decimal significand m and integer exponent n means the same as Template:Nowrap. For example [[Avogadro constant|Template:Val]] is written as <syntaxhighlight lang="text" class="" style="" inline="1">6.022E23</syntaxhighlight> or <syntaxhighlight lang="text" class="" style="" inline="1">6.022e23</syntaxhighlight>, and [[Planck length|Template:Val]] is written as <syntaxhighlight lang="text" class="" style="" inline="1">1.6E-35</syntaxhighlight> or <syntaxhighlight lang="text" class="" style="" inline="1">1.6e-35</syntaxhighlight>. While common in computer output, this abbreviated version of scientific notation is discouraged for published documents by some style guides.<ref name="Edwards_2009"/><ref>Template:Cite book</ref>

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 1956.<ref name="Fortran"/> The E notation was already used by the developers of SHARE Operating System (SOS) for the IBM 709 in 1958.<ref name="DiGri-King_1958"/> Later versions of Fortran (at least since FORTRAN IV as of 1961) also use "D" to signify double precision numbers in scientific notation,<ref name="UH-Manoa"/> and newer Fortran compilers use "Q" to signify quadruple precision.<ref name=FortranQ/> 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.0221023.<ref name="Naur_1960"/><ref name="Savard_2005"/> 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,<ref name="Bauer-Becker-Graham_1968"/> and some Soviet ALGOL variants allowed the use of the Cyrillic letter "ю", e.g. <syntaxhighlight lang="text" class="" style="" inline="1">6.022ю+23</syntaxhighlight>Template:Citation needed. Subsequently, the ALGOL 68 programming language provided a choice of characters: <syntaxhighlight lang="text" class="" style="" inline="1">E</syntaxhighlight>, <syntaxhighlight lang="text" class="" style="" inline="1">e</syntaxhighlight>, <syntaxhighlight lang="text" class="" style="" inline="1">\</syntaxhighlight>, <syntaxhighlight lang="text" class="" style="" inline="1">⊥</syntaxhighlight>, or 10.<ref name="Algol_1973"/> The ALGOL "10" character was included in the Soviet GOST 10859 text encoding (1964), and was added to Unicode 5.2 (2009) as Template:Unichar.<ref name="Unicode"/>

Some programming languages use other symbols. For instance, Simula uses <syntaxhighlight lang="text" class="" style="" inline="1">&</syntaxhighlight> (or <syntaxhighlight lang="text" class="" style="" inline="1">&&</syntaxhighlight> for long), as in <syntaxhighlight lang="text" class="nowrap" style="" inline="1">6.022&23</syntaxhighlight>.<ref name="SIMULA_1986"/> Mathematica supports the shorthand notation <syntaxhighlight lang="text" class="nowrap" style="" inline="1">6.022*^23</syntaxhighlight> (reserving the letter <syntaxhighlight lang="text" class="" style="" inline="1">E</syntaxhighlight> for the mathematical constant e).

Template:Anchor

File:Avogadro's number in e notation.jpg
A Texas Instruments 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.<ref name="TI_1973_SR-10"/> To enter numbers in scientific notation calculators include a button labeled "EXP" or "×10x", 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, <syntaxhighlight lang="text" class="" style="" inline="1">6.022D23</syntaxhighlight>); these gained some currency in the programmable calculator user community.<ref name="Decapower"/> The letters "E" or "D" were used as a scientific-notation separator by Sharp pocket computers released between 1987 and 1995, "E" used for 10-digit numbers and "D" used for 20-digit double-precision numbers.<ref name="Sharp"/> The Texas Instruments TI-83 and TI-84 series of calculators (1996–present) use a small capital E for the separator.<ref name="TI-83"/>

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 × 103 would be written as "6.022③".<ref name="Whitaker_1962"/>

Significant figuresEdit

{{#invoke:Labelled list hatnote|labelledList|Main article|Main articles|Main page|Main pages}} A significant figure is a digit in a number that adds to its precision. This includes all nonzero numbers, zeroes between significant digits, and zeroes indicated to be significant. Leading and trailing zeroes are not significant digits, because they exist only to show the scale of the number. Unfortunately, this leads to ambiguity. The number Template:Val is usually read to have five significant figures: 1, 2, 3, 0, and 4, the final two zeroes serving only as placeholders and adding no precision. The same number, however, would be used if the last two digits were also measured precisely and found to equal 0 – seven significant figures.

When a number is converted into normalized scientific notation, it is scaled down to a number between 1 and 10. All of the significant digits remain, but the placeholding zeroes are no longer required. Thus Template:Val would become Template:Val if it had five significant digits. If the number were known to six or seven significant figures, it would be shown as Template:Val or Template:Val. Thus, an additional advantage of scientific notation is that the number of significant figures is unambiguous.

Estimated final digitsEdit

It is customary in scientific measurement to record all the definitely known digits from the measurement and to estimate at least one additional digit if there is any information at all available on its value. The resulting number contains more information than it would without the extra digit, which may be considered a significant digit because it conveys some information leading to greater precision in measurements and in aggregations of measurements (adding them or multiplying them together).

Additional information about precision can be conveyed through additional notation. It is often useful to know how exact the final digit or digits are. For instance, the accepted value of the mass of the proton can properly be expressed as Template:Val, which is shorthand for Template:Val. However it is still unclear whether the error (Template:Val in this case) is the maximum possible error, standard error, or some other confidence interval.

Use of spacesEdit

In normalized scientific notation, in E notation, and in engineering notation, the space (which in typesetting may be represented by a normal width space or a thin space) that is allowed only before and after "×" or in front of "E" is sometimes omitted, though it is less common to do so before the alphabetical character.<ref name="Samples"/>

Further examples of scientific notationEdit

  • An electron's mass is about Template:Val.<ref name="CODATA2014Full"/> In scientific notation, this is written Template:Val.
  • The Earth's mass is about Template:Val.<ref name="Luzum_2011"/> In scientific notation, this is written Template:Val.
  • The Earth's circumference is approximately Template:Val.<ref name="Lide_2000"/> In scientific notation, this is Template:Val. In engineering notation, this is written Template:Val. In SI writing style, this may be written Template:Val (Template:Val).
  • An inch is defined as exactly Template:Val. Using scientific notation, this value can be uniformly expressed to any desired precision, from the nearest tenth of a millimeter Template:Val to the nearest nanometer Template:Val, or beyond.
  • Hyperinflation means that too much money is put into circulation, perhaps by printing banknotes, chasing too few goods. It is sometimes defined as inflation of 50% or more in a single month. In such conditions, money rapidly loses its value. Some countries have had events of inflation of 1 million percent or more in a single month, which usually results in the rapid abandonment of the currency. For example, in November 2008 the monthly inflation rate of the Zimbabwean dollar reached 79.6 billion percent (470% per day); the approximate value with three significant figures would be Template:Val %,<ref name="Kadzere_2008"/><ref name="BBC"/> or more simply a rate of Template:Val.

Converting numbersEdit

Converting a number in these cases means to either convert the number into scientific notation form, convert it back into decimal form or to change the exponent part of the equation. None of these alter the actual number, only how it's expressed.

Decimal to scientificEdit

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 × 10n; to the right, × 10−n. To represent the number Template:Val in normalized scientific notation, the decimal separator would be moved 6 digits to the left and × 106 appended, resulting in Template:Val. The number Template:Val would have its decimal separator shifted 3 digits to the right instead of the left and yield Template:Val as a result.

Scientific to decimalEdit

Converting a number from scientific notation to decimal notation, first remove the × 10n on the end, then shift the decimal separator n digits to the right (positive n) or left (negative n). The number Template:Val would have its decimal separator shifted 6 digits to the right and become Template:Val, while Template:Val would have its decimal separator moved 3 digits to the left and be Template:Val.

ExponentialEdit

Conversion between different scientific notation representations of the same number with different exponential values is achieved by performing opposite operations of multiplication or division by a power of ten on the significand and an subtraction or addition of one on the exponent part. The decimal separator in the significand is shifted x places to the left (or right) and x is added to (or subtracted from) the exponent, as shown below.

Template:Block indent

Basic operationsEdit

Given two numbers in scientific notation, <math display="block">x_0=m_0\times10^{n_0}</math> and <math display="block">x_1=m_1\times10^{n_1}</math>

Multiplication and division are performed using the rules for operation with exponentiation: <math display="block">x_0 x_1=m_0 m_1\times10^{n_0+n_1}</math> and <math display="block">\frac{x_0}{x_1}=\frac{m_0}{m_1}\times10^{n_0-n_1}</math>

Some examples are: <math display="block">5.67\times10^{-5} \times 2.34\times10^2 \approx 13.3\times10^{-5+2} = 13.3\times10^{-3} = 1.33\times10^{-2}</math> and <math display="block">\frac{2.34\times10^2}{5.67\times10^{-5}} \approx 0.413\times10^{2-(-5)} = 0.413\times10^{7} = 4.13\times10^6</math>

Addition and subtraction require the numbers to be represented using the same exponential part, so that the significand can be simply added or subtracted: Template:Block indent

Next, add or subtract the significands: <math display="block">x_0 \pm x_1=(m_0\pm m_1)\times10^{n_0}</math>

An example: <math display="block">2.34\times10^{-5} + 5.67\times10^{-6} = 2.34\times10^{-5} + 0.567\times10^{-5} = 2.907\times10^{-5}</math>

Other bases Edit

While base ten is normally used for scientific notation, powers of other bases can be used too,<ref name="TI_1974_SR-22"/> base 2 being the next most commonly used one.

For example, in base-2 scientific notation, the number 1001b in binary (=9d) is written as Template:Nowrap or Template:Nowrap using binary numbers (or shorter Template:Nowrap if binary context is obvious).Template:Citation needed In E notation, this is written as Template:Nowrap (or shorter: 1.001E11) with the letter "E" now standing for "times two (10b) 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",<ref name="HP16C-Lib"/> a shorthand notation originally proposed by Bruce Alan Martin of Brookhaven National Laboratory in 1968,<ref name="Martin_1968"/> as in Template:Nowrap (or shorter: 1.001B11). For comparison, the same number in decimal representation: Template:Nowrap (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 Template:Nowrap or shorter 1.001B3.<ref name="HP16C-Lib"/>

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×210 (kibi), 1B20 for 1×220 (mebi), 1B30 for 1×230 (gibi), 1B40 for 1×240 (tebi)).

Similar to "B" (or "b"<ref name="HP16C-Add"/>), the letters "H"<ref name="HP16C-Lib"/> (or "h"<ref name="HP16C-Add"/>) and "O"<ref name="HP16C-Lib"/> (or "o",<ref name="HP16C-Add"/> or "C"<ref name="HP16C-Lib"/>) are sometimes also used to indicate times 16 or 8 to the power as in 1.25 = Template:Nowrap = 1.40H0 = 1.40h0, or 98000 = Template:Nowrap = 2.7732o5 = 2.7732C5.<ref name="HP16C-Lib"/>

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.<ref name="Rationale_2003_C"/> 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.<ref name="Rationale_2003_C"/><ref name="printf_2013"/><ref name="Beebe_2017_Hex"/> 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.<ref name="C++17"/> Apple's Swift supports it as well.<ref name="Swift_2017"/> It is also required by the IEEE 754-2008 binary floating-point standard. Example: 1.3DEp42 represents Template:Nowrap.

Engineering notation can be viewed as a base-1000 scientific notation.

See alsoEdit

  • Positional notation
  • ISO/IEC 80000 – an international standard which guides the use of physical quantities and units of measurement in science
  • Suzhou numerals – a Chinese numeral system formerly used in commerce, with order of magnitude written below the significand
  • RKM code – a notation to specify resistor and capacitor values, with symbols for powers of 1000

ReferencesEdit

Template:Reflist

External linksEdit

Template:Sister project