HOME

TheInfoList



OR:

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 ...
, the sign of a
real number In mathematics, a real number is a number that can be used to measure a continuous one- dimensional quantity such as a duration or temperature. Here, ''continuous'' means that pairs of values can have arbitrarily small differences. Every re ...
is its property of being either positive, negative, or 0. Depending on local conventions, zero may be considered as having its own unique sign, having no sign, or having both positive and negative sign. In some contexts, it makes sense to distinguish between a positive and a negative zero. In mathematics and physics, the phrase "change of sign" is associated with exchanging an object for its
additive inverse In mathematics, the additive inverse of an element , denoted , is the element that when added to , yields the additive identity, 0 (zero). In the most familiar cases, this is the number 0, but it can also refer to a more generalized zero el ...
(multiplication with
−1 In mathematics, −1 (negative one or minus one) is the additive inverse of 1, that is, the number that when added to 1 gives the additive identity element, 0. It is the negative integer greater than negative two (−2) and less than  0. ...
, negation), an operation which is not restricted to real numbers. It applies among other objects to vectors, matrices, and complex numbers, which are not prescribed to be only either positive, negative, or zero. The word "sign" is also often used to indicate binary aspects of mathematical or scientific objects, such as odd and even ( sign of a permutation), sense of orientation or rotation ( cw/ccw), one sided limits, and other concepts described in below.


Sign of a number

Number A number is a mathematical object used to count, measure, and label. The most basic examples are the natural numbers 1, 2, 3, 4, and so forth. Numbers can be represented in language with number words. More universally, individual numbers can ...
s from various number systems, like
integers An integer is the number zero (0), a positive natural number (1, 2, 3, ...), or the negation of a positive natural number (−1, −2, −3, ...). The negations or additive inverses of the positive natural numbers are referred to as negative in ...
, rationals,
complex number In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the for ...
s,
quaternion In mathematics, the quaternion number system extends the complex numbers. Quaternions were first described by the Irish mathematician William Rowan Hamilton in 1843 and applied to mechanics in three-dimensional space. The algebra of quater ...
s,
octonion In mathematics, the octonions are a normed division algebra over the real numbers, a kind of Hypercomplex number, hypercomplex Number#Classification, number system. The octonions are usually represented by the capital letter O, using boldface or ...
s, ... may have multiple attributes, that fix certain properties of a number. A number system that bears the structure of an
ordered ring In abstract algebra, an ordered ring is a (usually commutative) ring ''R'' with a total order ≤ such that for all ''a'', ''b'', and ''c'' in ''R'': * if ''a'' ≤ ''b'' then ''a'' + ''c'' ≤ ''b'' + ''c''. * if 0 ≤ ''a'' and 0 ≤ ''b'' th ...
contains a unique number that when added with any number leaves the latter unchanged. This unique number is known as the system's additive
identity element In mathematics, an identity element or neutral element of a binary operation is an element that leaves unchanged every element when the operation is applied. For example, 0 is an identity element of the addition of real numbers. This concept is use ...
. For example, the integers has the structure of an ordered ring. This number is generally denoted as Because of the
total order In mathematics, a total order or linear order is a partial order in which any two elements are comparable. That is, a total order is a binary relation \leq on some set X, which satisfies the following for all a, b and c in X: # a \leq a ( re ...
in this ring, there are numbers greater than zero, called the ''positive'' numbers. Another property required for a ring to be ordered is that, for each positive number, there exists a unique corresponding number less than whose sum with the original positive number is These numbers less than are called the ''negative'' numbers. The numbers in each such pair are their respective
additive inverse In mathematics, the additive inverse of an element , denoted , is the element that when added to , yields the additive identity, 0 (zero). In the most familiar cases, this is the number 0, but it can also refer to a more generalized zero el ...
s. This attribute of a number, being exclusively either ''zero'' , ''positive'' , or ''negative'' , is called its sign, and is often encoded to the real numbers , , and , respectively (similar to the way the
sign function In mathematics, the sign function or signum function (from '' signum'', Latin for "sign") is a function that has the value , or according to whether the sign of a given real number is positive or negative, or the given number is itself zer ...
is defined). Since rational and real numbers are also ordered rings (in fact ordered fields), the ''sign'' attribute also applies to these number systems. When a minus sign is used in between two numbers, it represents the binary operation of subtraction. When a minus sign is written before a single number, it represents the
unary operation In mathematics, a unary operation is an operation with only one operand, i.e. a single input. This is in contrast to ''binary operations'', which use two operands. An example is any function , where is a set; the function is a unary operation ...
of yielding the
additive inverse In mathematics, the additive inverse of an element , denoted , is the element that when added to , yields the additive identity, 0 (zero). In the most familiar cases, this is the number 0, but it can also refer to a more generalized zero el ...
(sometimes called ''negation'') of the operand. Abstractly then, the difference of two number is the sum of the minuend with the additive inverse of the subtrahend. While is its own additive inverse (), the additive inverse of a positive number is negative, and the additive inverse of a negative number is positive. A double application of this operation is written as . The plus sign is predominantly used in algebra to denote the binary operation of addition, and only rarely to emphasize the positivity of an expression. In common numeral notation (used in
arithmetic Arithmetic is an elementary branch of mathematics that deals with numerical operations like addition, subtraction, multiplication, and division. In a wider sense, it also includes exponentiation, extraction of roots, and taking logarithms. ...
and elsewhere), the sign of a number is often made explicit by placing a plus or a minus sign before the number. For example, denotes "positive three", and denotes "negative three" (algebraically: the additive inverse of ). Without specific context (or when no explicit sign is given), a number is interpreted per default as positive. This notation establishes a strong association of the minus sign "" with negative numbers, and the plus sign "+" with positive numbers.


Sign of zero

Within the convention of
zero 0 (zero) is a number representing an empty quantity. Adding (or subtracting) 0 to any number leaves that number unchanged; in mathematical terminology, 0 is the additive identity of the integers, rational numbers, real numbers, and compl ...
being neither positive nor negative, a specific sign-value may be assigned to the number value . This is exploited in the \sgn-function, as defined for real numbers. In arithmetic, and both denote the same number . There is generally no danger of confusing the value with its sign, although the convention of assigning both signs to does not immediately allow for this discrimination. In certain European countries, e.g. in Belgium and France, is considered to be ''both'' positive and negative following the convention set forth by
Nicolas Bourbaki Nicolas Bourbaki () is the collective pseudonym of a group of mathematicians, predominantly French alumni of the École normale supérieure (Paris), École normale supérieure (ENS). Founded in 1934–1935, the Bourbaki group originally intende ...
. In some contexts, such as
floating-point representation In computing, floating-point arithmetic (FP) is arithmetic on subsets of real numbers formed by a '' significand'' (a signed sequence of a fixed number of digits in some base) multiplied by an integer power of that base. Numbers of this for ...
s of real numbers within computers, it is useful to consider signed versions of zero, with
signed zero Signed zero is zero with an associated sign. In ordinary arithmetic, the number 0 does not have a sign, so that −0, +0 and 0 are equivalent. However, in computing, some number representations allow for the existence of two zeros, often denoted by ...
s referring to different, discrete number representations (see
signed number representations In computing, signed number representations are required to encode negative numbers in binary number systems. In mathematics, negative numbers in any base are represented by prefixing them with a minus sign ("−"). However, in RAM or CPU reg ...
for more). The symbols and rarely appear as substitutes for and , used in
calculus Calculus is the mathematics, mathematical study of continuous change, in the same way that geometry is the study of shape, and algebra is the study of generalizations of arithmetic operations. Originally called infinitesimal calculus or "the ...
and
mathematical analysis Analysis is the branch of mathematics dealing with continuous functions, limit (mathematics), limits, and related theories, such as Derivative, differentiation, Integral, integration, measure (mathematics), measure, infinite sequences, series ( ...
for one-sided limits (right-sided limit and left-sided limit, respectively). This notation refers to the behaviour of a function as its real input variable approaches along positive (resp., negative) values; the two limits need not exist or agree.


Terminology for signs

When is said to be neither positive nor negative, the following phrases may refer to the sign of a number: * A number is positive if it is greater than zero. * A number is negative if it is less than zero. * A number is non-negative if it is greater than or equal to zero. * A number is non-positive if it is less than or equal to zero. When is said to be both positive and negative, modified phrases are used to refer to the sign of a number: * A number is strictly positive if it is greater than zero. * A number is strictly negative if it is less than zero. * A number is positive if it is greater than or equal to zero. * A number is negative if it is less than or equal to zero. For example, the
absolute value In mathematics, the absolute value or modulus of a real number x, is the non-negative value without regard to its sign. Namely, , x, =x if x is a positive number, and , x, =-x if x is negative (in which case negating x makes -x positive), ...
of a real number is always "non-negative", but is not necessarily "positive" in the first interpretation, whereas in the second interpretation, it is called "positive"—though not necessarily "strictly positive". The same terminology is sometimes used for functions that yield real or other signed values. For example, a function would be called a ''positive function'' if its values are positive for all arguments of its domain, or a ''non-negative function'' if all of its values are non-negative.


Complex numbers

Complex numbers are impossible to order, so they cannot carry the structure of an ordered ring, and, accordingly, cannot be partitioned into positive and negative complex numbers. They do, however, share an attribute with the reals, which is called ''
absolute value In mathematics, the absolute value or modulus of a real number x, is the non-negative value without regard to its sign. Namely, , x, =x if x is a positive number, and , x, =-x if x is negative (in which case negating x makes -x positive), ...
'' or ''magnitude''. Magnitudes are always non-negative real numbers, and to any non-zero number there belongs a positive real number, its
absolute value In mathematics, the absolute value or modulus of a real number x, is the non-negative value without regard to its sign. Namely, , x, =x if x is a positive number, and , x, =-x if x is negative (in which case negating x makes -x positive), ...
. For example, the absolute value of and the absolute value of are both equal to . This is written in symbols as and . In general, any arbitrary real value can be specified by its magnitude and its sign. Using the standard encoding, any real value is given by the product of the magnitude and the sign in standard encoding. This relation can be generalized to define a ''sign'' for complex numbers. Since the real and complex numbers both form a field and contain the positive reals, they also contain the reciprocals of the magnitudes of all non-zero numbers. This means that any non-zero number may be multiplied with the reciprocal of its magnitude, that is, divided by its magnitude. It is immediate that the quotient of any non-zero real number by its magnitude yields exactly its sign. By analogy, the can be defined as the quotient and its The sign of a complex number is the exponential of the product of its argument with the imaginary unit. represents in some sense its complex argument. This is to be compared to the sign of real numbers, except with e^= -1. For the definition of a complex sign-function. see below.


Sign functions

When dealing with numbers, it is often convenient to have their sign available as a number. This is accomplished by functions that extract the sign of any number, and map it to a predefined value before making it available for further calculations. For example, it might be advantageous to formulate an intricate algorithm for positive values only, and take care of the sign only afterwards.


Real sign function

The sign function or signum function extracts the sign of a real number, by mapping the set of real numbers to the set of the three reals \. It can be defined as follows: \begin \sgn : & \Reals \to \ \\ & x \mapsto \sgn(x) = \begin -1 & \text x < 0, \\ ~~\, 0 & \text x = 0, \\ ~~\, 1 & \text x > 0. \end \end Thus is 1 when is positive, and is −1 when is negative. For non-zero values of , this function can also be defined by the formula \sgn(x) = \frac = \frac, where is the
absolute value In mathematics, the absolute value or modulus of a real number x, is the non-negative value without regard to its sign. Namely, , x, =x if x is a positive number, and , x, =-x if x is negative (in which case negating x makes -x positive), ...
of .


Complex sign function

While a real number has a 1-dimensional direction, a complex number has a 2-dimensional direction. The complex sign function requires the magnitude of its argument , which can be calculated as , z, = \sqrt = \sqrt. Analogous to above, the complex sign function extracts the complex sign of a complex number by mapping the set of non-zero complex numbers to the set of unimodular complex numbers, and to : \ \cup \. It may be defined as follows: Let be also expressed by its magnitude and one of its arguments as then \sgn(z) = \begin 0 &\text z=0\\ \dfrac = e^ &\text. \end This definition may also be recognized as a normalized vector, that is, a vector whose direction is unchanged, and whose length is fixed to unity. If the original value was R,θ in polar form, then sign(R, θ) is 1 θ. Extension of sign() or signum() to any number of dimensions is obvious, but this has already been defined as normalizing a vector.


Signs per convention

In situations where there are exactly two possibilities on equal footing for an attribute, these are often labelled by convention as ''plus'' and ''minus'', respectively. In some contexts, the choice of this assignment (i.e., which range of values is considered positive and which negative) is natural, whereas in other contexts, the choice is arbitrary, making an explicit sign convention necessary, the only requirement being consistent use of the convention.


Sign of an angle

In many contexts, it is common to associate a sign with the measure of an
angle In Euclidean geometry, an angle can refer to a number of concepts relating to the intersection of two straight Line (geometry), lines at a Point (geometry), point. Formally, an angle is a figure lying in a Euclidean plane, plane formed by two R ...
, particularly an oriented angle or an angle of rotation. In such a situation, the sign indicates whether the angle is in the
clockwise Two-dimensional rotation can occur in two possible directions or senses of rotation. Clockwise motion (abbreviated CW) proceeds in the same direction as a clock's hands relative to the observer: from the top to the right, then down and then to ...
or counterclockwise direction. Though different conventions can be used, it is common 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 ...
to have counterclockwise angles count as positive, and clockwise angles count as negative. It is also possible to associate a sign to an angle of rotation in three dimensions, assuming that the
axis of rotation Rotation or rotational/rotary motion is the circular movement of an object around a central line, known as an ''axis of rotation''. A plane figure can rotate in either a clockwise or counterclockwise sense around a perpendicular axis intersect ...
has been oriented. Specifically, a
right-handed In human biology, handedness is an individual's preferential use of one hand, known as the dominant hand, due to and causing it to be stronger, faster or more Fine motor skill, dextrous. The other hand, comparatively often the weaker, less dext ...
rotation around an oriented axis typically counts as positive, while a left-handed rotation counts as negative. An angle which is the negative of a given angle has an equal arc, but the opposite axis. Alexander Macfarlane (1894) "Fundamental theorems of analysis generalized for space", page 3
link via Internet Archive
/ref>


Sign of a change

When a quantity ''x'' changes over time, the
change Change, Changed or Changing may refer to the below. Other forms are listed at Alteration * Impermanence, a difference in a state of affairs at different points in time * Menopause, also referred to as "the change", the permanent cessation of t ...
in the value of ''x'' is typically defined by the equation \Delta x = x_\text - x_\text. Using this convention, an increase in ''x'' counts as positive change, while a decrease of ''x'' counts as negative change. In
calculus Calculus is the mathematics, mathematical study of continuous change, in the same way that geometry is the study of shape, and algebra is the study of generalizations of arithmetic operations. Originally called infinitesimal calculus or "the ...
, this same convention is used in the definition of the
derivative In mathematics, the derivative is a fundamental tool that quantifies the sensitivity to change of a function's output with respect to its input. The derivative of a function of a single variable at a chosen input value, when it exists, is t ...
. As a result, any increasing function has positive derivative, while any decreasing function has negative derivative.


Sign of a direction

When studying one-dimensional displacements and motions in
analytic geometry In mathematics, analytic geometry, also known as coordinate geometry or Cartesian geometry, is the study of geometry using a coordinate system. This contrasts with synthetic geometry. Analytic geometry is used in physics and engineering, and als ...
and
physics Physics is the scientific study of matter, its Elementary particle, fundamental constituents, its motion and behavior through space and time, and the related entities of energy and force. "Physical science is that department of knowledge whi ...
, it is common to label the two possible directions as positive and negative. Because the
number line A number line is a graphical representation of a straight line that serves as spatial representation of numbers, usually graduated like a ruler with a particular origin point representing the number zero and evenly spaced marks in either dire ...
is usually drawn with positive numbers to the right, and negative numbers to the left, a common convention is for motions to the right to be given a positive sign, and for motions to the left to be given a negative sign. On the Cartesian plane, the rightward and upward directions are usually thought of as positive, with rightward being the positive ''x''-direction, and upward being the positive ''y''-direction. If a displacement
vector Vector most often refers to: * Euclidean vector, a quantity with a magnitude and a direction * Disease vector, an agent that carries and transmits an infectious pathogen into another living organism Vector may also refer to: Mathematics a ...
is separated into its
vector component In mathematics, physics, and engineering, a Euclidean vector or simply a vector (sometimes called a geometric vector or spatial vector) is a geometric object that has magnitude (or length) and direction. Euclidean vectors can be added and scal ...
s, then the horizontal part will be positive for motion to the right and negative for motion to the left, while the vertical part will be positive for motion upward and negative for motion downward. Likewise, a negative
speed In kinematics, the speed (commonly referred to as ''v'') of an object is the magnitude of the change of its position over time or the magnitude of the change of its position per unit of time; it is thus a non-negative scalar quantity. Intro ...
(rate of change of displacement) implies a
velocity Velocity is a measurement of speed in a certain direction of motion. It is a fundamental concept in kinematics, the branch of classical mechanics that describes the motion of physical objects. Velocity is a vector (geometry), vector Physical q ...
in the opposite direction, i.e., receding instead of advancing; a special case is the radial speed. In 3D space, notions related to sign can be found in the two normal orientations and
orientability In mathematics, orientability is a property of some topological spaces such as real vector spaces, Euclidean spaces, surfaces, and more generally manifolds that allows a consistent definition of "clockwise" and "anticlockwise". A space is o ...
in general.


Signedness 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 ...
, an integer value may be either signed or unsigned, depending on whether the computer is keeping track of a sign for the number. By restricting an integer variable to non-negative values only, one more bit can be used for storing the value of a number. Because of the way integer arithmetic is done within computers, signed number representations usually do not store the sign as a single independent bit, instead using e.g.
two's complement Two's complement is the most common method of representing signed (positive, negative, and zero) integers on computers, and more generally, fixed point binary values. Two's complement uses the binary digit with the ''greatest'' value as the ''s ...
. In contrast, real numbers are stored and manipulated as floating point values. The floating point values are represented using three separate values, mantissa, exponent, and sign. Given this separate sign bit, it is possible to represent both positive and negative zero. Most programming languages normally treat positive zero and negative zero as equivalent values, albeit, they provide means by which the distinction can be detected.


Other meanings

In addition to the sign of a real number, the word sign is also used in various related ways throughout mathematics and other sciences: * Words ''
up to Two Mathematical object, mathematical objects and are called "equal up to an equivalence relation " * if and are related by , that is, * if holds, that is, * if the equivalence classes of and with respect to are equal. This figure of speech ...
sign'' mean that, for a quantity , it is known that either or for certain . It is often expressed as . For real numbers, it means that only the
absolute value In mathematics, the absolute value or modulus of a real number x, is the non-negative value without regard to its sign. Namely, , x, =x if x is a positive number, and , x, =-x if x is negative (in which case negating x makes -x positive), ...
of the quantity is known. For
complex numbers In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the form a ...
and vectors, a quantity known up to sign is a stronger condition than a quantity with known magnitude: aside and , there are many other possible values of such that {{math, 1={{!''q''{{! = {{!''Q''{{! . * The sign of a permutation is defined to be positive if the permutation is even, and negative if the permutation is odd. * In
graph theory In mathematics and computer science, graph theory is the study of ''graph (discrete mathematics), graphs'', which are mathematical structures used to model pairwise relations between objects. A graph in this context is made up of ''Vertex (graph ...
, a
signed graph In the area of graph theory in mathematics, a signed graph is a graph in which each edge has a positive or negative sign. A signed graph is balanced if the product of edge signs around every cycle is positive. The name "signed graph" and the no ...
is a graph in which each edge has been marked with a positive or negative sign. * In
mathematical analysis Analysis is the branch of mathematics dealing with continuous functions, limit (mathematics), limits, and related theories, such as Derivative, differentiation, Integral, integration, measure (mathematics), measure, infinite sequences, series ( ...
, a
signed measure In mathematics, a signed measure is a generalization of the concept of (positive) measure by allowing the set function to take negative values, i.e., to acquire sign. Definition There are two slightly different concepts of a signed measure, de ...
is a generalization of the concept of measure in which the measure of a set may have positive or negative values. ** The concept of
signed distance In mathematics and its applications, the signed distance function or signed distance field (SDF) is the orthogonal distance of a given point ''x'' to the boundary of a set Ω in a metric space (such as the surface of a geometric shape), with t ...
is used to convey ''side'', inside or out. ** The ideas of
signed area In mathematics, the signed area or oriented area of a region of an affine plane is its area with orientation specified by the positive or negative sign, that is "plus" () or "minus" (). More generally, the signed area of an arbitrary surface r ...
and signed volume are sometimes used when it is convenient for certain areas or volumes to count as negative. This is particularly true in the theory of
determinant In mathematics, the determinant is a Scalar (mathematics), scalar-valued function (mathematics), function of the entries of a square matrix. The determinant of a matrix is commonly denoted , , or . Its value characterizes some properties of the ...
s. In an (abstract) oriented vector space, each ordered basis for the vector space can be classified as either positively or negatively oriented. * In a
signed-digit representation In mathematical notation for numbers, a signed-digit representation is a positional numeral system with a set of signed digits used to encode the integers. Signed-digit representation can be used to accomplish fast addition of integers becau ...
, each digit of a number may have a positive or negative sign. * In
physics Physics is the scientific study of matter, its Elementary particle, fundamental constituents, its motion and behavior through space and time, and the related entities of energy and force. "Physical science is that department of knowledge whi ...
, any
electric charge Electric charge (symbol ''q'', sometimes ''Q'') is a physical property of matter that causes it to experience a force when placed in an electromagnetic field. Electric charge can be ''positive'' or ''negative''. Like charges repel each other and ...
comes with a sign, either positive or negative. By convention, a positive charge is a charge with the same sign as that of a
proton A proton is a stable subatomic particle, symbol , Hydron (chemistry), H+, or 1H+ with a positive electric charge of +1 ''e'' (elementary charge). Its mass is slightly less than the mass of a neutron and approximately times the mass of an e ...
, and a negative charge is a charge with the same sign as that of an
electron The electron (, or in nuclear reactions) is a subatomic particle with a negative one elementary charge, elementary electric charge. It is a fundamental particle that comprises the ordinary matter that makes up the universe, along with up qua ...
.


See also

*
Percent sign The percent sign (sometimes per cent sign in British English) is the symbol used to indicate a percentage, a number or ratio as a fraction (mathematics), fraction of 100. Related signs include the permille (per thousand) sign and the Basis p ...
*
Plus–minus sign The plus–minus sign or plus-or-minus sign () and the complementary minus-or-plus sign () are symbols with broadly similar multiple meanings. *In mathematics, the sign generally indicates a choice of exactly two possible values, one of which i ...
* Positive element *
Signedness In computing, signedness is a property of data types representing numbers in computer programs. A numeric variable is ''signed'' if it can represent both positive and negative numbers, and ''unsigned'' if it can only represent non-negative num ...
*
Symmetry in mathematics Symmetry occurs not only in geometry, but also in other branches of mathematics. Symmetry is a type of invariance: the property that a mathematical object remains unchanged under a set of operations or transformations. Given a structured obje ...


References

*