
In
science
Science is a systematic discipline that builds and organises knowledge in the form of testable hypotheses and predictions about the universe. Modern science is typically divided into twoor threemajor branches: the natural sciences, which stu ...
, a formula is a concise way of expressing information symbolically, as in a mathematical formula or a ''
chemical formula
A chemical formula is a way of presenting information about the chemical proportions of atoms that constitute a particular chemical compound or molecule, using chemical element symbols, numbers, and sometimes also other symbols, such as pare ...
''. 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, ''formulae'' (from the
original Latin).
In mathematics
In
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, a formula generally refers to an
equation
In mathematics, an equation is a mathematical 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 ...
or
inequality relating one
mathematical expression to another, with the most important ones being
mathematical theorems. For example, determining the
volume of a
sphere
A sphere (from Ancient Greek, Greek , ) is a surface (mathematics), surface analogous to the circle, a curve. In solid geometry, a sphere is the Locus (mathematics), set of points that are all at the same distance from a given point in three ...
requires a significant amount of
integral calculus or its
geometrical analogue, the
method of exhaustion. However, having done this once in terms of some
parameter
A parameter (), generally, is any characteristic that can help in defining or classifying a particular system (meaning an event, project, object, situation, etc.). That is, a parameter is an element of a system that is useful, or critical, when ...
(the
radius
In classical geometry, a radius (: radii or radiuses) of a circle or sphere is any of the line segments from its Centre (geometry), center to its perimeter, and in more modern usage, it is also their length. The radius of a regular polygon is th ...
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 often represent mathematical models of real world phenomena, and as such can be used to provide solutions (or approximate solutions) 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 mathematical 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 ...
of a
sine curve
A sine wave, sinusoidal wave, or sinusoid (symbol: ∿) is a periodic wave whose waveform (shape) is the trigonometric sine function. In mechanics, as a linear motion over time, this is '' simple harmonic motion''; as rotation, it correspon ...
to model the
movement of the tides in a
bay, may be created to solve a particular problem. In all cases, however, formulas form the basis for calculations.
Expressions are distinct from formulas in the sense that they don't usually contain
relations like
equality (=) or
inequality (<). Expressions denote a
mathematical object, where as formulas denote a statement about mathematical objects. This is analogous to natural language, where a
noun phrase
A noun phrase – or NP or nominal (phrase) – is a phrase that usually has a noun or pronoun as its head, and has the same grammatical functions as a noun. Noun phrases are very common cross-linguistically, and they may be the most frequently ...
refers to an object, and a whole
sentence refers to a fact. For example,
is an expression, while
is a formula.
However, in some areas mathematics, and in particular in
computer algebra, formulas are viewed as expressions that can be evaluated to ''
true'' or ''
false'', depending on the values that are given to the variables occurring in the expressions. For example
takes the value ''false'' if is given a value less than 1, and the value ''true'' otherwise. (See
Boolean expression)
In mathematical logic
In
mathematical logic
Mathematical logic is the study of Logic#Formal logic, formal logic within mathematics. Major subareas include model theory, proof theory, set theory, and recursion theory (also known as computability theory). Research in mathematical logic com ...
, 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, a
chemical formula
A chemical formula is a way of presenting information about the chemical proportions of atoms that constitute a particular chemical compound or molecule, using chemical element symbols, numbers, and sometimes also other symbols, such as pare ...
is a way of expressing information about the proportions of
atom
Atoms are the basic particles of the chemical elements. An atom consists of a atomic nucleus, nucleus of protons and generally neutrons, surrounded by an electromagnetically bound swarm of electrons. The chemical elements are distinguished fr ...
s 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
Water is an inorganic compound with the chemical formula . It is a transparent, tasteless, odorless, and Color of water, nearly colorless chemical substance. It is the main constituent of Earth's hydrosphere and the fluids of all known liv ...
, specifying that each
molecule
A molecule is a group of two or more atoms that are held together by Force, attractive forces known as chemical bonds; depending on context, the term may or may not include ions that satisfy this criterion. In quantum physics, organic chemi ...
consists of two
hydrogen
Hydrogen is a chemical element; it has chemical symbol, symbol H and atomic number 1. It is the lightest and abundance of the chemical elements, most abundant chemical element in the universe, constituting about 75% of all baryon, normal matter ...
(H) atoms and one
oxygen (O) atom. Similarly, O denotes an
ozone
Ozone () (or trioxygen) is an Inorganic compound, inorganic molecule with the chemical formula . It is a pale blue gas with a distinctively pungent smell. It is an allotrope of oxygen that is much less stable than the diatomic allotrope , break ...
molecule consisting of three oxygen atoms and a net
negative charge.
A
chemical formula
A chemical formula is a way of presenting information about the chemical proportions of atoms that constitute a particular chemical compound or molecule, using chemical element symbols, numbers, and sometimes also other symbols, such as pare ...
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
Ethanol (also called ethyl alcohol, grain alcohol, drinking alcohol, or simply alcohol) is an organic compound with the chemical formula . It is an Alcohol (chemistry), alcohol, with its formula also written as , or EtOH, where Et is the ps ...
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, 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
molecule
A molecule is a group of two or more atoms that are held together by Force, attractive forces known as chemical bonds; depending on context, the term may or may not include ions that satisfy this criterion. In quantum physics, organic chemi ...
s, chemical formulas often employ ways to suggest the structure of the molecule. There are several types of these formulas, including
molecular formulas and
condensed formulas. A molecular formula enumerates the number of atoms to reflect those in the molecule, so that the molecular formula for
glucose
Glucose is a sugar with the Chemical formula#Molecular formula, molecular formula , which is often abbreviated as Glc. It is overall the most abundant monosaccharide, a subcategory of carbohydrates. It is mainly made by plants and most algae d ...
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 is a drawing that shows the location of each atom, and which atoms it binds to.
In computing
In
computing
Computing is any goal-oriented activity requiring, benefiting from, or creating computer, computing machinery. It includes the study and experimentation of algorithmic processes, and the development of both computer hardware, hardware and softw ...
, a formula typically describes a
calculation, 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.
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 corresponding to a given
macrostate:
:
where ''k'' is the
Boltzmann constant, equal to , and ''W'' is the number of
microstates consistent with the given
macrostate.
See also
*
Formula editor
*
Formula unit
*
Law (mathematics)
*
Mathematical notation
*
Scientific law
Scientific laws or laws of science are statements, based on repeated experiments or observations, that describe or predict a range of natural phenomena. The term ''law'' has diverse usage in many cases (approximate, accurate, broad, or narrow ...
*
Chemical symbol
*
Theorem
*
Well-formed formula
References
{{reflist
Mathematical notation
Elementary algebra