In
science, a formula is a concise way of expressing information symbolically, as in a mathematical formula or a ''
chemical formula''. The informal use of the
term ''formula'' in science refers to the
general construct of a relationship between given quantities.
The plural of ''formula'' can be either ''formulas'' (from the most common
English plural noun form) or, under the influence of
scientific Latin
Contemporary Latin is the form of the Literary Latin used since the end of the 19th century. Various kinds of contemporary Latin can be distinguished, including the use of New Latin words in taxonomy and in science generally, and the fuller e ...
, ''formulae'' (from the
original Latin).
In mathematics
In
mathematics
Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
, a formula generally refers to an
equation
In mathematics, an equation is a formula that expresses the equality of two expressions, by connecting them with the equals sign . The word ''equation'' and its cognates in other languages may have subtly different meanings; for example, in ...
relating one
mathematical expression to another, with the most important ones being
mathematical theorems. For example, determining the
volume of a
sphere requires a significant amount of
integral calculus or its
geometrical
Geometry (; ) is, with arithmetic, one of the oldest branches of mathematics. It is concerned with properties of space such as the distance, shape, size, and relative position of figures. A mathematician who works in the field of geometry is ca ...
analogue, the
method of exhaustion. However, having done this once in terms of some
parameter (the
radius for example), mathematicians have produced a formula to describe the volume of a sphere in terms of its radius:
:
Having obtained this result, the volume of any sphere can be computed as long as its radius is known. Here, notice that the volume ''V'' and the radius ''r'' are expressed as single letters instead of words or phrases. This convention, while less important in a relatively simple formula, means that mathematicians can more quickly manipulate formulas which are larger and more complex. Mathematical formulas are often
algebraic,
analytical or in
closed form.
In a general context, formulas are often a manifestation of mathematical model to real world phenomena, and as such can be used to provide solution (or approximated solution) to real world problems, with some being more general than others. For example, the formula
:
is an expression of
Newton's second law, and is applicable to a wide range of physical situations. Other formulas, such as the use of the
equation
In mathematics, an equation is a formula that expresses the equality of two expressions, by connecting them with the equals sign . The word ''equation'' and its cognates in other languages may have subtly different meanings; for example, in ...
of a
sine curve
A sine wave, sinusoidal wave, or just sinusoid is a mathematical curve defined in terms of the ''sine'' trigonometric function, of which it is the graph. It is a type of continuous wave and also a smooth periodic function. It occurs often in ma ...
to model the
movement of the tides in a
bay
A bay is a recessed, coastal body of water that directly connects to a larger main body of water, such as an ocean, a lake, or another bay. A large bay is usually called a Gulf (geography), gulf, sea, sound (geography), sound, or bight (geogra ...
, may be created to solve a particular problem. In all cases, however, formulas form the basis for calculations.
Expressions are distinct from formulas in that they cannot contain an equals sign (=). Expressions can be likened to
phrases the same way formulas can be likened to
grammatical sentences.
In mathematical logic
In
mathematical logic, a formula (often referred to as a ''
well-formed formula'') is an entity constructed using the symbols and formation rules of a given
logical language. For example, in
first-order logic,
:
is a formula, provided that
is a unary function symbol,
a unary predicate symbol, and
a ternary predicate symbol.
Chemical formulas
In
modern chemistry
Chemistry is the science, scientific study of the properties and behavior of matter. It is a natural science that covers the Chemical element, elements that make up matter to the chemical compound, compounds made of atoms, molecules and ions ...
, a
chemical formula is a way of expressing information about the proportions of
atoms that constitute a particular
chemical compound, using a single line of chemical
element symbols,
numbers, and sometimes other symbols, such as parentheses, brackets, and plus (+) and minus (−) signs. For example, H
2O is the chemical formula for
water, specifying that each
molecule consists of two
hydrogen (H) atoms and one
oxygen (O) atom. Similarly, O denotes an
ozone molecule consisting of three oxygen atoms and a net
negative charge.
A
chemical formula identifies each constituent
element by its
chemical symbol, and indicates the proportionate number of atoms of each element.
In
empirical formulas, these proportions begin with a key element and then assign numbers of atoms of the other elements in the compound—as ratios to the key element. For molecular compounds, these ratio numbers can always be expressed as whole numbers. For example, the empirical formula of
ethanol may be written C
2H
6O, because the molecules of ethanol all contain two carbon atoms, six hydrogen atoms, and one oxygen atom. Some types of ionic compounds, however, cannot be written as empirical formulas which contains only the whole numbers. An example is
boron carbide
Boron carbide (chemical formula approximately B4C) is an extremely hard boron–carbon ceramic, a covalent material used in tank armor, bulletproof vests, engine sabotage powders,
as well as numerous industrial applications. With a Vickers hard ...
, whose formula of CB
n is a variable non-whole number ratio, with n ranging from over 4 to more than 6.5.
When the chemical compound of the formula consists of simple
molecules, chemical formulas often employ ways to suggest the structure of the molecule. There are several types of these formulas, including
molecular formulas and
condensed formula
The structural formula of a chemical compound is a graphic representation of the molecular structure (determined by structural chemistry methods), showing how the atoms are possibly arranged in the real three-dimensional space. The chemical bondi ...
s. A molecular formula enumerates the number of atoms to reflect those in the molecule, so that the molecular formula for
glucose is C
6H
12O
6 rather than the glucose empirical formula, which is CH
2O. Except for the very simple substances, molecular chemical formulas generally lack needed structural information, and might even be ambiguous in occasions.
A
structural formula
The structural formula of a chemical compound is a graphic representation of the molecular structure (determined by structural chemistry methods), showing how the atoms are possibly arranged in the real three-dimensional space. The chemical bondi ...
is a drawing that shows the location of each atom, and which atoms it binds to.
In computing
In
computing, a formula typically describes a
calculation
A calculation is a deliberate mathematical process that transforms one or more inputs into one or more outputs or ''results''. The term is used in a variety of senses, from the very definite arithmetical calculation of using an algorithm, to th ...
, such as addition, to be performed on one or more variables. A formula is often implicitly provided in the form of a
computer instruction such as.
: ''Degrees Celsius'' = (5/9)*(''Degrees Fahrenheit'' - 32)
In computer
spreadsheet software, a formula indicating how to compute the value of a
cell, say ''A3'', could be written as
: ''=A1+A2''
where ''A1'' and ''A2'' refer to other cells (column A, row 1 or 2) within the spreadsheet. This is a shortcut for the "paper" form ''A3 = A1+A2'', where ''A3'' is, by convention, omitted because the result is always stored in the cell itself, making the stating of the name redundant.
Units
Formulas used in science almost always require a choice of units.
[{{Cite book , isbn = 978-1466571143 , title = CRC Handbook of Chemistry and Physics, 94th Edition , editor1-last = Haynes , editor1-first= William M. , year = 2013 , orig-year = 1914 , publisher = CRC Press , location = Boca Raton ] Formulas are used to express relationships between various quantities, such as temperature, mass, or charge in physics; supply, profit, or demand in economics; or a wide range of other quantities in other disciplines.
An example of a formula used in science is
Boltzmann's entropy formula. In
statistical thermodynamics, it is a probability equation relating the
entropy ''S'' of an ideal gas to the quantity ''W'', which is the number of
microstates
A microstate or ministate is a sovereign state having a very small population or very small land area, usually both. However, the meanings of "state" and "very small" are not well-defined in international law.Warrington, E. (1994). "Lilliputs ...
corresponding to a given
macrostate
In statistical mechanics, a microstate is a specific microscopic configuration of a thermodynamic system that the system may occupy with a certain probability in the course of its thermal fluctuations. In contrast, the macrostate of a system refe ...
:
:
(1) S= k ln W
where ''k'' is
Boltzmann's constant equal to 1.38062 x 10
−23 joule/kelvin, and ''W'' is the number of
microstate
A microstate or ministate is a sovereign state having a very small population or very small land area, usually both. However, the meanings of "state" and "very small" are not well-defined in international law.Warrington, E. (1994). "Lilliputs ...
s consistent with the given
macrostate
In statistical mechanics, a microstate is a specific microscopic configuration of a thermodynamic system that the system may occupy with a certain probability in the course of its thermal fluctuations. In contrast, the macrostate of a system refe ...
.
See also
*
Formula editor
*
Formula unit
*
Mathematical notation
*
Scientific law
*
Symbol (chemical element)
Chemical symbols are the abbreviations used in chemistry for chemical elements, functional groups and chemical compounds. Element symbols for chemical elements normally consist of one or two letters from the Latin alphabet and are written with th ...
*
Theorem
*
Well-formed formula
References
Mathematical notation
Elementary algebra