Philosophy:Mathematical fallacy

Short description: Certain type of mistaken proof

In mathematics, certain kinds of mistaken proof are often exhibited, and sometimes collected, as illustrations of a concept called mathematical fallacy. There is a distinction between a simple mistake and a mathematical fallacy in a proof, in that a mistake in a proof leads to an invalid proof while in the best-known examples of mathematical fallacies there is some element of concealment or deception in the presentation of the proof.

For example, the reason why validity fails may be attributed to a division by zero that is hidden by algebraic notation. There is a certain quality of the mathematical fallacy: as typically presented, it leads not only to an absurd result, but does so in a crafty or clever way.[1] Therefore, these fallacies, for pedagogic reasons, usually take the form of spurious proofs of obvious contradictions. Although the proofs are flawed, the errors, usually by design, are comparatively subtle, or designed to show that certain steps are conditional, and are not applicable in the cases that are the exceptions to the rules.

The traditional way of presenting a mathematical fallacy is to give an invalid step of deduction mixed in with valid steps, so that the meaning of fallacy is here slightly different from the logical fallacy. The latter usually applies to a form of argument that does not comply with the valid inference rules of logic, whereas the problematic mathematical step is typically a correct rule applied with a tacit wrong assumption. Beyond pedagogy, the resolution of a fallacy can lead to deeper insights into a subject (e.g., the introduction of Pasch's axiom of Euclidean geometry,[2] the five colour theorem of graph theory). Pseudaria, an ancient lost book of false proofs, is attributed to Euclid.[3]

Mathematical fallacies exist in many branches of mathematics. In elementary algebra, typical examples may involve a step where division by zero is performed, where a root is incorrectly extracted or, more generally, where different values of a multiple valued function are equated. Well-known fallacies also exist in elementary Euclidean geometry and calculus.[4][5]

Howlers

$\displaystyle{ \begin{array}{l} \;\;\; \dfrac {d} {dx} \dfrac{1}{x} \\ = \dfrac {d} {d} \dfrac{1}{x^2} \\ = \dfrac{d\!\!\!\backslash}{d\!\!\!\backslash} \dfrac{1}{x^2} \\ = - \dfrac{1}{x^2} \end{array} }$
Anomalous cancellation in calculus

Examples exist of mathematically correct results derived by incorrect lines of reasoning. Such an argument, however true the conclusion appears to be, is mathematically invalid and is commonly known as a howler. The following is an example of a howler involving anomalous cancellation: $\displaystyle{ \frac{16}{64} = \frac{16\!\!\!/}{6\!\!\!/4}=\frac{1}{4}. }$

Here, although the conclusion 16/64 = 1/4 is correct, there is a fallacious, invalid cancellation in the middle step.[note 1] Another classical example of a howler is proving the Cayley–Hamilton theorem by simply substituting the scalar variables of the characteristic polynomial by the matrix.

Bogus proofs, calculations, or derivations constructed to produce a correct result in spite of incorrect logic or operations were termed "howlers" by Maxwell.[2] Outside the field of mathematics the term howler has various meanings, generally less specific.

Division by zero

The division-by-zero fallacy has many variants. The following example uses a disguised division by zero to "prove" that 2 = 1, but can be modified to prove that any number equals any other number.

1. Let a and b be equal, nonzero quantities
$\displaystyle{ a = b }$
2. Multiply by a
$\displaystyle{ a^2 = ab }$
3. Subtract b2
$\displaystyle{ a^2 - b^2 = ab - b^2 }$
4. Factor both sides: the left factors as a difference of squares, the right is factored by extracting b from both terms
$\displaystyle{ (a - b)(a + b) = b(a - b) }$
5. Divide out (ab)
$\displaystyle{ a + b = b }$
6. Use the fact that a = b
$\displaystyle{ b + b = b }$
7. Combine like terms on the left
$\displaystyle{ 2b = b }$
8. Divide by the non-zero b
$\displaystyle{ 2 = 1 }$
Q.E.D.[6]

The fallacy is in line 5: the progression from line 4 to line 5 involves division by a − b, which is zero since a = b. Since division by zero is undefined, the argument is invalid.

Analysis

Mathematical analysis as the mathematical study of change and limits can lead to mathematical fallacies — if the properties of integrals and differentials are ignored. For instance, a naive use of integration by parts can be used to give a false proof that 0 = 1.[7] Letting u = 1/log x and dv = dx/x, we may write:

$\displaystyle{ \int \frac{1}{x \, \log x} \, dx = 1 + \int \frac{1}{x \, \log x} \, dx }$

after which the antiderivatives may be cancelled yielding 0 = 1. The problem is that antiderivatives are only defined up to a constant and shifting them by 1 or indeed any number is allowed. The error really comes to light when we introduce arbitrary integration limits a and b.

$\displaystyle{ \int_a^b \frac{1}{x \, \log x} \, dx = 1 |_a^b + \int_a^b \frac{1}{x \, \log x} \, dx = 0 + \int_a^b \frac{1}{x \log x} \, dx = \int_a^b \frac{1}{x \log x} \, dx }$

Since the difference between two values of a constant function vanishes, the same definite integral appears on both sides of the equation.

Multivalued functions

Many functions do not have a unique inverse. For instance, while squaring a number gives a unique value, there are two possible square roots of a positive number. The square root is multivalued. One value can be chosen by convention as the principal value; in the case of the square root the non-negative value is the principal value, but there is no guarantee that the square root given as the principal value of the square of a number will be equal to the original number (e.g. the principal square root of the square of −2 is 2). This remains true for nth roots.

Positive and negative roots

Care must be taken when taking the square root of both sides of an equality. Failing to do so results in a "proof" of[8] 5 = 4.

Proof:

Start from
$\displaystyle{ -20 = -20 }$
Write this as
$\displaystyle{ 25-45 = 16-36 }$
Rewrite as
$\displaystyle{ 5^2-5\times9 = 4^2-4\times9 }$
$\displaystyle{ 5^2-5\times9+\frac{81}{4} = 4^2-4\times9+\frac{81}{4} }$
These are perfect squares:
$\displaystyle{ \left(5-\frac{9}{2}\right)^2 = \left(4-\frac{9}{2}\right)^2 }$
Take the square root of both sides:
$\displaystyle{ 5-\frac{9}{2} = 4-\frac{9}{2} }$
$\displaystyle{ 5 = 4 }$
Q.E.D.

The fallacy is in the second to last line, where the square root of both sides is taken: a2 = b2 only implies a = b if a and b have the same sign, which is not the case here. In this case, it implies that a = –b, so the equation should read

$\displaystyle{ 5-\frac{9}{2} = -\left(4-\frac{9}{2}\right) }$

which, by adding 9/2 on both sides, correctly reduces to 5 = 5.

Another example illustrating the danger of taking the square root of both sides of an equation involves the following fundamental identity[9]

$\displaystyle{ \cos^2x=1-\sin^2x }$

which holds as a consequence of the Pythagorean theorem. Then, by taking a square root,

$\displaystyle{ \cos x = \sqrt{1-\sin^2x} }$

Evaluating this when x = π , we get that

$\displaystyle{ -1 = \sqrt{1-0} }$

or

$\displaystyle{ -1 = 1 }$

which is incorrect.

The error in each of these examples fundamentally lies in the fact that any equation of the form

$\displaystyle{ x^2 = a^2 }$

where $\displaystyle{ a \ne 0 }$, has two solutions:

$\displaystyle{ x=\pm a }$

and it is essential to check which of these solutions is relevant to the problem at hand.[10] In the above fallacy, the square root that allowed the second equation to be deduced from the first is valid only when cos x is positive. In particular, when x is set to π, the second equation is rendered invalid.

Square roots of negative numbers

Invalid proofs utilizing powers and roots are often of the following kind:

$\displaystyle{ 1 = \sqrt{1} = \sqrt{(-1)(-1)} = \sqrt{-1}\sqrt{-1}=i \cdot i = -1. }$

The fallacy is that the rule $\displaystyle{ \sqrt{xy} = \sqrt{x}\sqrt{y} }$ is generally valid only if at least one of $\displaystyle{ x }$ and $\displaystyle{ y }$ is non-negative (when dealing with real numbers), which is not the case here.[11]

Alternatively, imaginary roots are obfuscated in the following:

$\displaystyle{ i=\sqrt{-1} = \left(-1\right)^\frac{2}{4} = \left(\left(-1\right)^2\right)^\frac{1}{4} = 1^\frac{1}{4} = 1 }$

The error here lies in the third equality, as the rule $\displaystyle{ a^{bc} = (a^b)^c }$ only holds for positive real a and real b, c.

Complex exponents

When a number is raised to a complex power, the result is not uniquely defined (see Exponentiation § Failure of power and logarithm identities). If this property is not recognized, then errors such as the following can result:

\displaystyle{ \begin{align} e^{2 \pi i} &= 1 \\ \left(e^{2 \pi i}\right)^{i} &= 1^{i} \\ e^{-2 \pi} &= 1 \\ \end{align} }

The error here is that the rule of multiplying exponents as when going to the third line does not apply unmodified with complex exponents, even if when putting both sides to the power i only the principal value is chosen. When treated as multivalued functions, both sides produce the same set of values, being {e2πn | n ∈ ℤ}.

Geometry

Many mathematical fallacies in geometry arise from using an additive equality involving oriented quantities (such as adding vectors along a given line or adding oriented angles in the plane) to a valid identity, but which fixes only the absolute value of (one of) these quantities. This quantity is then incorporated into the equation with the wrong orientation, so as to produce an absurd conclusion. This wrong orientation is usually suggested implicitly by supplying an imprecise diagram of the situation, where relative positions of points or lines are chosen in a way that is actually impossible under the hypotheses of the argument, but non-obviously so.

In general, such a fallacy is easy to expose by drawing a precise picture of the situation, in which some relative positions will be different from those in the provided diagram. In order to avoid such fallacies, a correct geometric argument using addition or subtraction of distances or angles should always prove that quantities are being incorporated with their correct orientation.

Fallacy of the isosceles triangle

The fallacy of the isosceles triangle, from (Maxwell 1959), purports to show that every triangle is isosceles, meaning that two sides of the triangle are congruent. This fallacy was known to Lewis Carroll and may have been discovered by him. It was published in 1899.[12][13]

Given a triangle △ABC, prove that AB = AC:

1. Draw a line bisecting ∠A.
2. Draw the perpendicular bisector of segment BC, which bisects BC at a point D.
3. Let these two lines meet at a point O.
4. Draw line OR perpendicular to AB, line OQ perpendicular to AC.
5. Draw lines OB and OC.
6. By AAS, △RAO ≅ △QAO (∠ORA = ∠OQA = 90°; ∠RAO = ∠QAO; AO = AO (common side)).
7. By RHS,[note 2] △ROB ≅ △QOC (∠BRO = ∠CQO = 90°; BO = OC (hypotenuse); RO = OQ (leg)).
8. Thus, AR = AQ, RB = QC, and AB = AR + RB = AQ + QC = AC.

Q.E.D.

As a corollary, one can show that all triangles are equilateral, by showing that AB = BC and AC = BC in the same way.

The error in the proof is the assumption in the diagram that the point O is inside the triangle. In fact, O always lies on the circumcircle of the △ABC (except for isosceles and equilateral triangles where AO and OD coincide). Furthermore, it can be shown that, if AB is longer than AC, then R will lie within AB, while Q will lie outside of AC, and vice versa (in fact, any diagram drawn with sufficiently accurate instruments will verify the above two facts). Because of this, AB is still AR + RB, but AC is actually AQ − QC; and thus the lengths are not necessarily the same.

Proof by induction

There exist several fallacious proofs by induction in which one of the components, basis case or inductive step, is incorrect. Intuitively, proofs by induction work by arguing that if a statement is true in one case, it is true in the next case, and hence by repeatedly applying this, it can be shown to be true for all cases. The following "proof" shows that all horses are the same colour.[14][note 3]

1. Let us say that any group of N horses is all of the same colour.
2. If we remove a horse from the group, we have a group of N − 1 horses of the same colour. If we add another horse, we have another group of N horses. By our previous assumption, all the horses are of the same colour in this new group, since it is a group of N horses.
3. Thus we have constructed two groups of N horses all of the same colour, with N − 1 horses in common. Since these two groups have some horses in common, the two groups must be of the same colour as each other.
4. Therefore, combining all the horses used, we have a group of N + 1 horses of the same colour.
5. Thus if any N horses are all the same colour, any N + 1 horses are the same colour.
6. This is clearly true for N = 1 (i.e. one horse is a group where all the horses are the same colour). Thus, by induction, N horses are the same colour for any positive integer N. i.e. all horses are the same colour.

The fallacy in this proof arises in line 3. For N = 1, the two groups of horses have N − 1 = 0 horses in common, and thus are not necessarily the same colour as each other, so the group of N + 1 = 2 horses is not necessarily all of the same colour. The implication "every N horses are of the same colour, then N + 1 horses are of the same colour" works for any N > 1, but fails to be true when N = 1. The basis case is correct, but the induction step has a fundamental flaw.

Notes

1. The same fallacy also applies to the following: \displaystyle{ \begin{align} \frac{19}{95} = \frac{19\!\!\!/}{9\!\!\!/5} &= \frac{1}{5} \\ \frac{26}{65} = \frac{26\!\!\!/}{6\!\!\!/5} &= \frac{2}{5} \\ \frac{49}{98} = \frac{49\!\!\!/}{9\!\!\!/8} &= \frac{4}{8} = \frac{1}{2} \end{align} }
2. Hypotenuse–leg congruence
3. George Pólya's original "proof" was that any n girls have the same colour eyes.

References

1. Maxwell 1959, p. 9
2. Maxwell 1959
3. Heath & Heiberg 1908, Chapter II, §I
4. Barbeau, Ed (1991). "Fallacies, Flaws, and Flimflam". The College Mathematics Journal 22 (5). ISSN 0746-8342.
5. Heuser, Harro (1989), Lehrbuch der Analysis – Teil 1 (6th ed.), Teubner, p. 51, ISBN 978-3-8351-0131-9
6. Barbeau, Ed (1990), "Fallacies, Flaws and Flimflam #19: Dolt's Theorem", The College Mathematics Journal 21 (3): 216–218, doi:10.1080/07468342.1990.11973308
7. Frohlichstein, Jack (1967). Mathematical Fun, Games and Puzzles (illustrated ed.). Courier Corporation. p. 207. ISBN 0-486-20789-7.  Extract of page 207
8. Maxwell 1959, Chapter VI, §I.1
9. Maxwell 1959, Chapter VI, §II
10. Nahin, Paul J. (2010). An Imaginary Tale: The Story of "i". Princeton University Press. p. 12. ISBN 978-1-4008-3029-9.  Extract of page 12
11. S.D.Collingwood, ed. (1899), The Lewis Carroll Picture Book, Collins, pp. 190–191
12. Robin Wilson (2008), Lewis Carroll in Numberland, Penguin Books, pp. 169–170, ISBN 978-0-14-101610-8
13. Pólya, George (1954). Induction and Analogy in Mathematics. Mathematics and plausible reasoning. 1. Princeton. p. 120.