5 ms·
The art of transforming mathematical statements in a way that preserves their truth value. That's one guess at it.
by bitwize 13y ago
The art of transforming mathematical statements in a way that preserves their truth value. That's one guess at it.
- agumonkey 13y agoThat's probably not far from the best definition, and also not far from the translation of `algebra` from the original writings, "breaking and combining".
- bitwize 13y agoThe words al-Khwarizmi used -- al-jabr and al-muqabala -- actually meant "restoring" and "balancing", and referred to adding or subtracting some quantity from both sides of an equation. Muslim mathematicians of the day did not deal with negatives, so today we would consider al-jabr and al-muqabala to be variants of the same operation. Nevertheless, the original writings were what suggested to me that the important bit of algebra was doing things to equations to change them into some easily solvable canonical form (al-Khwarizmi's work dealt primarily with quadratics).
- agumonkey 13y agoThanks for this, I blended al-khwarizmi's book title with "Kitāb al-Jamʿ wa-l-tafrīq bi-ḥisāb al-Hind (The Book of Bringing_together and Separating According to the Hindu Calculation)" mentioned in its wikipedia page.
- gizmo686 13y agoBut algebra does not preserve truth values. It guarantees that if you start with a true statement you will end with a true statement. If you begin with a false statement, it is still valid to end with a true statement. Simple examble: 1=2 | false 0 * 1=0 * 2 |Multiply both sides by 0 0=0 | true
- bitwize 13y agoMultiplying both sides by zero yields an equation which is vacuously true, and is not useful for solving the problems algebraists set out to solve.
- bitwize 13y agoSorry, s/vacuously true/tautological/g
- gizmo686 13y agoTrue, but it is still valid algebra. There are other examples where one might turn a false statement into a true statement without doing something as pointless as multipling by zero. A common example is squaring an equation. Consider a system of equation in which it can be shown that x=3. Within this system, the statement x=-3 is false, however the statement x^2=9 is true. Again, this specific example is contrived, but this does come up annoyingly often.
- lutusp 13y agoIf you replace your numerical values with algebraic symbols, you may see the problem with your analysis -- its use of a zero allows 1 to equal 2, as shown in this classic example: http://www.jimloy.com/algebra/two.htm http://www.jimloy.com/algebra/two.htm So multiplying by zero isn't always a legitimate operation. That's why the multiplicative identity is one, not zero.
- gizmo686 13y agoMultiplying both sides by zero is always legitimate (if rarely useful). In the example linked, the error is in dividing by zero. More specifically, in dividing by (a-x). Formally speaking, this operation is only defined when (a-x)!=0. Mutipling by zero is defined for all real numbers.
- lutusp 13y agoThe parallel I was making is that a numerical term invalidated an equation, rendered it meaningless, not that the circumstances were identical.
- ctdonath 13y agoThis touches on a semantic point which confuses many new programming students: in algebra, the "=" is a specification of truth; in programming, the "=" is an operation of assignment. There is a difference, as in "2 * x = x + x", which is perfectly sensible in the former but pointless/absurd in the latter context. Also, "x = 2" in algebra is the notion of "when it is true that x is the same as 2, other truths occur", a different notion than "store value 2 in variable x, then see what the consequences of other operations are." Alas, the nuance is hard to grok until much later in learning both.
- mercutio2 13y agoNit: not "in programming". I would replace that with "when programming in languages with c-style syntax". If only pascal had won that particular syntax battle.