On a previous page, you learned the Musa numerals and signs. On this page, we'll discuss the symbols needed to express basic arithmetic.
In English, we use + to separate numbers being added together, but when we enclose a total in a larger expression, we have to surround it with parentheses or brackets, as in [4+3]. In Musa, we simply enclose the addends - numbers or larger formulas - to indicate that they should be added together, with dots separating the expressions. The brackets for addition are low, with slanted bottoms like a boat:
|||[4 + 3]|
|||[4 + 3 + 2]|
To indicate subtraction, we replace the space with the subtraction separator before the number(s) being subtracted. You can subtract individual numbers or expressions no matter where they are in the sequence, even first.
|||[4 - 3]|
|||[4 - 3 + 2]|
|||[4 - 3 - 2]|
|||[-4 + 3 - 2]|
Multiplication works just like addition, except that the brackets for multiplication are high, with slanted tops like a roof:
|||(4 × 3)|
|||(4 × 3 × 2)|
Finally, division replaces the space with the division separator before the divisor. As with subtraction, you can divide individual numbers anywhere in the sequence.
|||(4 ÷ 3)|
|||(4 ÷ 3 ÷ 2)|
|||(÷ 4 × 3 × 2)|
These four operations can be combined without fear of ambiguity (and without precedence rules).
|([4 - 3] ÷ [2 + 1])|
And here's a version where the brackets have all been connected above and below the line of digits to make the grouping very explicit.
On the last page, you saw how to write powers like 3² with a simple Break uniting a low base and a high power, in that order. That works fine if the base and exponent are both simple expressions like x² or √x.
But if either is more complicated, we use a different notation for exponentiation. It features opening and closing brackets and a separator between base and exponent. There are two versions: one when the base comes first, and the other when the exponent comes first. In both cases, the high brackets go over the base, and the low brackets go under the exponent.
| base exponent || exponent base |
Because it's always clear which is exponent and which is base, it can be used in cases where the exponent can't be written high, for example when it's a variable or an expression.
Here's a complicated example: the quadratic formula. I've used the letters p t k to represent the coefficients of the quadratic px² + tx + k = 0, whose roots are the solutions to the formula. The second version is in connected form, which you should find easier to read: there are lines from the separator going over the base and under the exponent, and the three brackets are all connected.
|-t + √(t² - 4pk)
|(It's not correct to use ± before the root, since both square roots are added - one of them just happens to be negative.)|
Logarithms use almost the same notation, as you might imagine. The base and logarithm are connected by a wave that goes over the base and under the logarithm, using the same three brackets. The difference is that logarithms are also enclosed in spaces (dots), to distinguish them from exponents:
| base logarithm || logarithm base |
The two symbols are used as signs to spell +i and −i, the two square roots of -1. Roman notation considers them to be factors, but Musa considers them to be signs, a slightly sparer notation. By tradition, we consider to represent −i, but it doesn't matter.
These signs are used both as prefixes in front of imaginary numbers, and as infixes connecting the imaginary part of a complex number:
|||6 + 9i||||6 - 9i|
|||-6 + 9i||||-6 - 9i|
( means the same as .)
As with the Roman alphabet, Musa uses words within expressions to spell the names of constants, variables and functions. Placeholder variables, as used for example in the quadratic formula above, are usually written with a single consonant, but names can be any length, and should be separated from numbers. Unlike most computer languages, Musa doesn't include digits in names, since they'd be read as vowels.
Here are some examples of well-known constants:
Units of measurement are always written before numbers, separated by a dot (which implies multiplication), and not plural. For example, kg 1°81 is how we write 81 kilograms.
Measurements usually use magnitude notation: they're real numbers, not integers. Note the relationship between the exponent and the metric prefixes: could be rewritten . Compound unit names may include the reciprocal sign for division, or a power:
|||88 square meters|
|||90 km / hour|
Functions not only have names; they also have arguments, parameters being passed to the function. For example, the trigonometric functions sin(α) cos(α) tan(α) all require an angle α. In Musa, we write the angle right after the function name - with no space - inside tandem brackets.
By the way, angles are expressed in Musa as fractions of a full circle, not as radians or degrees. One full circle is called 1 Torit, abbreviated To. For example, an angle of π radians or 180° would simply be a Musa angle of ½ Torit, written or . The arguments to the trig functions are in Torits, so they already have the 2π built in. Instead of writing cos(π/3) = 1/2, we would write cos(1/6) = 1/2.
(Even thought the words tangent and cosine are written with aspirated letters in English, and the a is æ, these functions are abbreviated with unaspirated letters and a central a, as in Latin, and the same is true of other functions, so that they are consistent across languages.)
When there are multiple arguments, we use dots between them:
|||max(p, t, k)|
|||pop(cat, black, Salem)|
|(a hypothetical function returning the number of specified animals of a specified color in a specified place)|
|||nested functions: age(queen(England))|
|||exit() - a nullary function|
Musa function notation is also used in many cases which Roman notation handles idiosyncratically, each with its own notation. For example, the combinatorial function n choose k is abbreviated for "choose".
Sets, arrays, and tuples use the same brackets, with dots between elements. For example, we might say that the set of Heegner domains is:
|[1 2 3 7 11 19 43 67 163]|
In natural arithmetic, there are only positive numbers (including zero). The operators all use double (repeated) signs.
A double negative sign indicates the absolute value of a number (the number without the sign):
||-23| = +23|||9.77||
A double subtraction sign indicates the difference between the two numbers, which is always positive. For example, we say that New York is the same distance from San Francisco as San Francisco is from New York, not its negative.
The two Modulo functions - quotient and modulus - are a variant of division. The main use of these functions is to perform conversions of numbers from one form into another: into integers, real numbers, or multiples of a modulus. The number being divided is called the dividend and the number of divisions is called the divisor. The result of quot is called the quotient, and the result of mod is called the remainder.
If the dividend and divisor are both natural numbers (positive integers, including zero), then the quotient and remainder are also both natural numbers, and the following three properties hold:
For example, consider 7÷4. Using normal (real) division, the result is 1.75, and if you multiply the divisor by the quotient, you get the dividend: 7 = 4 × 1.75. But using modular division, the quotient would be 1 with a remainder of 3, and 7 = 4 × 1 + 3.
|7 quot 4 = 1||7 mod 4 = 3|
When the dividend and divisor aren't both natural numbers, the results are more complicated, but the same three properties always hold. When the divisor is negative, so is the remainder. When the dividend or divisor is real, so is the remainder. When the divisor is 1, the remainder is the fractional part of the number: 0 ≤ r < 1. When the divisor is zero, so is the quotient but not the remainder (and the division is valid)!
The two operations are used more often than you might think, for example for dates and times, or to separate numbers into integer+fraction, or real+imaginary, or larger+smaller than an arbitrary size. For instance, if you want to know how many 8-packs of hot dog buns you'll need for five 6-packs of hot dogs, it's (5×6) quot -8 (the divisor is negative so the remainder is negative: leftover buns).
Musa offers symbols for nine equalities, all written between spaces (unlike ). They all include a level accent.
The equals sign looks the same in Musa as it does in English:
|2 + 3 = 5|
If the first number is greater than the second, we write:
|2 + 3 > 4|
Likewise, if the first number is less than the second, we write:
|2 + 3 < 6|
These last two are combined to form the symbol for unequal, that is, not equal:
|2 + 3 ≠ 4|
They're turned over to form symbols for greater than or equal to and less than or equal to:
|2 + 3 ≥ m||2 + 3 ≤ n|
These last two are combined in the order ≥≤ to form the symbol for approximate equality, which is sometimes used as a general symbol for ambiguity.
|√2 ≈ 1.414|
The same two symbols are combined in the opposite order ≤≥ to form the symbol for equivalence, which means "not equal, but equivalent in some quality". For example, this is the relationship between the two square roots of negative 1. It might be used outside of arithmetic to match corresponding items, e.g. English cat ↔ French chat.
|+i ∼ -i|
Finally, there is a symbol for assignment or definition, which means "the value of the expression on the left is being assigned to the item on the right", or "the item on the right is being defined by the value on the left", or they're equal by definition, always. It's simply two equal signs: ==. Note that the order is reversed with respect to most computer languages, where n := 5 means the value 5 is being assigned to the variable n. In Musa, we would calculate the value first, and indicate the destination after the symbol.
|5 → n|
To recap, here are all the symbols (with zero standing for all the digits):
|||division||||greater or equal|
|||function arguments, sets||||less or equal|
That's all you need to write numbers and formulas in Musa!
If you're interested, the link at right below leads to a set of pages describing another number system, the balanced dozenal or Janus numbers, and a metric system based on them. They are an example of a very different numeric "language" that the Musa script enables. But you don't have to learn them to use Musa, any more than you need to learn Zulu or Inuktitut to write English in Musa.
|< Numerals||Janus Numbers >|
|© 2002-2021 The Musa Academyfirstname.lastname@example.org||21jan21|