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.
History
Normalized notation
Any real number can be written in the form in many ways: for example, 350 can be written as or or .
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 (1 ≤ |m| < 10). Thus 350 is written as . 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 ). 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).
Engineering notation
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, can be read as "twelve-point-five nanometres" and written as , while its scientific notation equivalent would likely be read out as "one-point-two-five times ten-to-the-negative-eight metres".
Significant figures
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 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 would become if it had five significant digits. If the number were known to six or seven significant figures, it would be shown as or . Thus, an additional advantage of scientific notation is that the number of significant figures is unambiguous.
Estimated final digits
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 , which is shorthand for . However it is still unclear whether the error (5.1 × 10−37 in this case) is the maximum possible error, standard error, or some other confidence interval.
E notation
Most calculators and many computer programs present very large and very small results in scientific notation, typically invoked by a key labelled (for exponent), (for enter exponent) or depending on vendor and model. Because superscripted exponents like 107 cannot always be conveniently displayed, the letter E (or e) is often used to represent "times ten raised to the power of" (which would be written as ) and is followed by the value of the exponent; in other words, for any real number m and integer n, the usage of "mEn" would indicate a value of m × 10n. In this usage the character e is not related to the mathematical constant e or the exponential function ex (a confusion that is unlikely if scientific notation is represented by a capital E). Although the E stands for exponent, the notation is usually referred to as (scientific) E notation rather than (scientific) exponential notation. The use of E notation facilitates data entry and readability in textual communication since it minimizes keystrokes, avoids reduced font sizes and provides a simpler and more concise display, but it is not encouraged in some publications.
Examples and other notations
Since its first version released for the IBM 704 in 1956, the Fortran language has used E notation for floating point numbers. It was not part of the preliminary specification as of 1954.
The E notation was already used by the developers of SHARE Operating System (SOS) for the IBM 709 in 1958.
In most popular programming languages, (or ) is equivalent to , and would be written (e.g. Ada, Analytica, C/C++, Fortran, MATLAB, Scilab, Perl, Java, Python, Lua, JavaScript, and others).
After the introduction of the first pocket calculators supporting scientific notation in 1972 (HP-35, SR-10) the term decapower was sometimes used in the emerging user communities for the power-of-ten multiplier in order to better distinguish it from "normal" exponents. Likewise, the letter "D" was used in typewritten numbers. This notation was proposed by Jim Davidson and published in the January 1976 issue of Richard J. Nelson's Hewlett-Packard newsletter 65 Notes for HP-65 users, and it was adopted and carried over into the Texas Instruments community by Richard C. Vanderburgh, the editor of the 52-Notes newsletter for SR-52 users in November 1976.
The displays of LED pocket calculators did not display an "E" or "e". Instead, one or more digits were left blank between the mantissa and exponent (e.g. 6.022 23, such as in the Hewlett-Packard HP-25), or a pair of smaller and slightly raised digits reserved for the exponent was used (e.g. 6.022 23, such as in the Commodore PR100).
Fortran (at least since FORTRAN IV as of 1961) also uses "D" to signify double precision numbers in scientific notation.
Similar, a "D" was used by Sharp pocket computers PC-1280, PC-1470U, PC-1475, PC-1480U, PC-1490U, PC-1490UII, PC-E500, PC-E500S, PC-E550, PC-E650 and PC-U6000 to indicate 20-digit double-precision numbers in scientific notation in BASIC between 1987 and 1995.
Some newer FORTRAN compilers like DEC FORTRAN 77 (f77), Intel Fortran, Compaq/Digital Visual Fortran or GNU Fortran (gfortran) support "Q" to signify quadruple precision numbers in scientific notation.
MATLAB supports both letters, "E" and "D", to indicate numbers in scientific notation.
The ALGOL 60 (1960) programming language uses a subscript ten "10" character instead of the letter E, for example: 6.0221023.
The use of the "10" in the various Algol standards provided a challenge on some computer systems that did not provide such a "10" character. As a consequence Stanford University Algol-W required the use of a single quote, e.g. 6.022'+23, and some Soviet Algol variants allowed the use of the Cyrillic character "ю" character, e.g. 6.022ю+23.
Subsequently, the ALGOL 68 programming language provided the choice of 4 characters: , or . By examples: or 6.0221023.
Decimal Exponent Symbol is part of the Unicode Standard, e.g. . It is included as to accommodate usage in the programming languages Algol 60 and Algol 68.
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③".
The TI-83 series and TI-84 Plus series of calculators use a stylized E character to display decimal exponent and the 10 character to denote an equivalent ×10^ operator.
The Simula programming language requires the use of (or for long), for example: (or ).
The Wolfram Language (utilized in Mathematica) allows a shorthand notation of . (Instead, denotes the mathematical constant e).
Use of spaces
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.
Further examples of scientific notation
An electron's mass is about . In scientific notation, this is written (in SI units).
The Earth's mass is about . In scientific notation, this is written .
The Earth's circumference is approximately . In scientific notation, this is . In engineering notation, this is written . In SI writing style, this may be written .
An inch is defined as exactly . Quoting a value of shows that the value is correct to the nearest micrometre. An approximated value with only two significant digits would be instead. As there is no limit to the number of significant digits, the length of an inch could, if required, be written as (say) instead.
Hyperinflation is a problem that is caused when too much money is printed with regards to there being too few commodities, causing the inflation rate to rise by 50% or more in a single month; currencies tend to lose their intrinsic value over time. Some countries have had an inflation rate of 1 million percent or more in a single month, which usually results in the abandonment of the country's currency shortly afterwards. In November 2008, the monthly inflation rate of the Zimbabwean dollar reached 79.6 billion percent; the approximated value with three significant figures would be %.
Converting numbers
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 scientific
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 in normalized scientific notation, the decimal separator would be moved 6 digits to the left and × 106 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.
Scientific to decimal
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 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 .
Exponential
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.
Basic operations
Given two numbers in scientific notation,
and
Multiplication and division are performed using the rules for operation with exponentiation:
and
Some examples are:
and
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:
An example:
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 1001b in binary (=9d) 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 (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, 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×210 (kibi), 1B20 for 1×220 (mebi), 1B30 for 1×230 (gibi), 1B40 for 1×240 (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.
See also
Exponentiation (exponential notation)
Binary prefix
Positional notation
Variable scientific notation
Engineering notation
Floating-point arithmetic
ISO 31-0
ISO 31-11
Significant figure
Suzhou numerals are written with order of magnitude and unit of measurement below the significand
RKM code
International scientific vocabulary
References
External links
Decimal to Scientific Notation Converter
Scientific Notation to Decimal Converter
Scientific Notation in Everyday Life
An exercise in converting to and from scientific notation
Scientific Notation Converter
Scientific Notation chapter from Lessons In Electric Circuits Vol 1 DC free ebook and Lessons In Electric Circuits series.
Mathematical notation
Measurement
Numeral systems