Teaching Kids Programming – Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent)


Teaching Kids Programming: Videos on Data Structures and Algorithms

How to Prove √2 Is Irrational — Two Methods (Proof by Contradiction & Geometric Infinite Descent)

Introduction

The statement “√2 is irrational” means there are no integers tex_b654ca431b2a3d18daeaa53847edcec0 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) and tex_76b8eb0b69ffda7f30716a72c97dd1f5 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) with tex_4ae810f2ff09becf972e5912e6255fda Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) such that tex_8d4f4c5def8fb52d5408771bcb61e468 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent).

Method 1 — Proof by Contradiction

Assume, for contradiction, that tex_31734485e6bf2b107dbe89d0fd0e3f0c Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) is rational. Then there exist integers tex_b654ca431b2a3d18daeaa53847edcec0 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) and tex_824050b200fea5fc271b9f63ce2baed2 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) with tex_76b8eb0b69ffda7f30716a72c97dd1f5 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) and tex_4ae810f2ff09becf972e5912e6255fda Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) such that

tex_980243d9ce9220aa69f299ce3e14dbf7 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent)

Squaring both sides gives:

tex_13dcb384c302f4ccd5e193d28912e4fb Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent)

From tex_ad6a0e8b8998b5834824e47ba411f046 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) we see that tex_67a924feafa4976da91dac66766725a9 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) is even, so tex_b654ca431b2a3d18daeaa53847edcec0 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) must be even. Write tex_ec34c414eb16f50c1d2c0792dd645c9b Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) for some integer tex_120ffb3d17fc9571a8abd39890756589 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent).

Substitute back:

tex_9d05c169bf7975a02dbb90bd5aeabe0f Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent)

Thus tex_bd9310b69e06ac7390e9cc74bbd7db17 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) is even, so tex_824050b200fea5fc271b9f63ce2baed2 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) is even.

Therefore both tex_b654ca431b2a3d18daeaa53847edcec0 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) and tex_824050b200fea5fc271b9f63ce2baed2 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) are even, contradicting the assumption that tex_4ae810f2ff09becf972e5912e6255fda Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent). This contradiction shows the assumption was false; hence tex_31734485e6bf2b107dbe89d0fd0e3f0c Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) is irrational.

Method 2 — Geometric Infinite Descent (Median / Perpendicular Construction) geometric construction and argument

right-triangle-square-root-2-irrelation-proof2 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent)

isosceles right triangle to prove sqr root of 2 is irrational

Consider an isosceles right triangle tex_143d5e2c01c8b273ad682969c6e9b803 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) with right angle at tex_8836cccfb4dc81ae7baa34c13b62576f Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent), legs tex_b3f607311131bf739382f68fa6b85b9d Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) and hypotenuse tex_60f14d50f9283515c8621ed80df53569 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent), so tex_1d3834aae21822117d3fc6a8e843bde8 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent).

Let tex_27b2b8798afcfc6096a12b5d6a8df788 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) be the midpoint of tex_6622d4f839e3613bf0c3f80cb1a4215a Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent), and draw the line through tex_27b2b8798afcfc6096a12b5d6a8df788 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) perpendicular to the hypotenuse tex_7916dcf8d22a660f79272f3a23ba57eb Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent), meeting tex_7916dcf8d22a660f79272f3a23ba57eb Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) at tex_3f754c4e1afb8c63ccd2f9b54dd75faf Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent).

Then tex_91c4a1e823c369e13ca5905c04c95623 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) is an isosceles right triangle similar to tex_143d5e2c01c8b273ad682969c6e9b803 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent). Denote the small triangle’s hypotenuse and leg by tex_828c48f3f2737be7ca102fd77f46bace Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) and tex_6f9844eda6e3f3aa83eaa825e8d1e28d Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent).

tex_e87e1351c67d1806b4b79feee43102b6 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent), confirming tex_fe0274c9e92df0b010d8c11aa13b04b2 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent).

The crucial point is similarity (a fixed scale), not literal subtraction of whole sides. The small triangle is a constant fraction of the original.

From the tex_45088393058e6222680f79611ae00118 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent), takes the middle point tex_36addd868a9dbfdf04bf8e19d0e4f2a2 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent), and draw a perpendicular line to the hypotenuse tex_7ed5e6eaec77bb6aa684cab6942b77c2 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent). So the tex_91c4a1e823c369e13ca5905c04c95623 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) is similar to tex_cdadcb5cb077d56020162a9ff493e3c8 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent). We use the repeative subtraction to compute the tex_d26f965719da3464b743d09779dcae45 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent). tex_8c2461d8586be742e906c2553a99dad2 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) because tex_111a42a1773bf4888f6f0a1b27b13235 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) is equal to tex_4e1dc02ad84a71931e04d0dc88656cae Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent), Thus tex_95ae4666a710c50251293e0fca1d3fc5 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent).

Then tex_4650e423af1f3d0f0e550f1146372bee Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent). Thus: tex_1ebaa3aa38690f423c5c6497d739ba5b Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) which is tex_141992c8f76cdaa47031425aeec14c53 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) where tex_665e670349f484322d5a7d77de1d0cc1 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) is tex_cf76776446b2de32a697b2fa3c5471f5 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) and tex_5a7579c821aec6ee655636d3014d133c Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) is tex_2f8036da62ea1903cb18482f8a365341 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent). And we can continue this process infinity as the tex_715bb8cfc43e3ac7cb3f6d65a8470abd Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) is similar to tex_d668df754bab3bdcdfbca533d7457117 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent).

Hence every time you repeat the same construction (take the midpoint of a triangle leg and draw the perpendicular to the hypotenuse), you obtain a new isosceles right triangle similar to the original with all side lengths multiplied by a factor tex_02f4c130a05a4c170e643aa09a7dba7d Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent). Thus the hypotenuse and legs shrink geometrically by a fixed factor at each step.

This produces the infinite-descent contradiction in the integer setting: if you started with integer side lengths satisfying tex_abe24c4474a18ff94ed16f3924fae783 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent), the construction (or the equivalent integer-preserving midpoint-of-hypotenuse → midpoint-of-tex_0294dee5a23abed977a23f7cfd61e531 Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) construction that yields a strictly smaller positive integer solution of the same Diophantine equation. Repeating indefinitely would produce an infinite strictly decreasing sequence of positive integers, which is impossible. Therefore no such integer solution exists and tex_31734485e6bf2b107dbe89d0fd0e3f0c Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) is irrational.

Conclusion

Both methods prove that tex_31734485e6bf2b107dbe89d0fd0e3f0c Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) cannot be written as a ratio of integers.

  • Method 1 (proof by contradiction) uses parity to show any assumed fraction in lowest terms leads to both numerator and denominator being even.
  • Method 2 (geometric infinite descent) uses a similarity construction inside an isosceles right triangle to produce a smaller integer solution, contradicting minimality.

Either argument gives a clear, rigorous proof that tex_31734485e6bf2b107dbe89d0fd0e3f0c Teaching Kids Programming - Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) is irrational.

2607 words
Last Post: Turn Your Raspberry Pi into a Family Network Drive: 2TB WD Hard Drive Setup for Kids’ Macs
Next Post: Detecting Compile-time vs Runtime in C++: if consteval vs std::is_constant_evaluated()

The Permanent URL is: Teaching Kids Programming – Two Ways to Prove Square Root of Two is Irrational (proof by contradiction and geometric infinite descent) (AMP Version)

Leave a Reply