TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

A visual proof that a^2 – b^2 = (a + b)(a – b)

731 pointsby beardyw5 months ago

30 comments

sebtron5 months ago
If you like this, there is a whole book full of visual proofs [1]. See also wikipedia [2].<p>A few years ago I re-drew a bunch of these in latex with my PhD advisor and another colleague [3]. We planned to print them as posters and hang them for a Pi day event that unfortunately never happened because the pandemic broke out.<p>[1] <a href="https:&#x2F;&#x2F;www.amazon.com&#x2F;Proofs-without-Words-Exercises-Classroom&#x2F;dp&#x2F;0883857006" rel="nofollow">https:&#x2F;&#x2F;www.amazon.com&#x2F;Proofs-without-Words-Exercises-Classr...</a><p>[2] <a href="https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;Proof_without_words" rel="nofollow">https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;Proof_without_words</a><p>[3] <a href="https:&#x2F;&#x2F;www.antonellaperucca.net&#x2F;didactics&#x2F;proof-without-words.pdf" rel="nofollow">https:&#x2F;&#x2F;www.antonellaperucca.net&#x2F;didactics&#x2F;proof-without-wor...</a>
评论 #42429433 未加载
评论 #42429312 未加载
FartyMcFarter5 months ago
This reminds me of this video about why we need to be very careful when inspecting visual proofs: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=VYQVlVoWoPY" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=VYQVlVoWoPY</a> (it includes a &quot;proof&quot; that pi equals exactly 4).<p>In this case, as someone else pointed out below, this proof has unjustified assumptions in it (at least it assumes that b &lt; a).
评论 #42426541 未加载
评论 #42425099 未加载
评论 #42423592 未加载
评论 #42423767 未加载
评论 #42423578 未加载
评论 #42423974 未加载
评论 #42424666 未加载
评论 #42424677 未加载
评论 #42427113 未加载
评论 #42423796 未加载
konschubert5 months ago
Here is a visual proof for the Pythagorean theorem:<p><a href="https:&#x2F;&#x2F;www.dbai.tuwien.ac.at&#x2F;proj&#x2F;pf2html&#x2F;proofs&#x2F;pythagoras&#x2F;pythagoras&#x2F;pythagoras3.gif" rel="nofollow">https:&#x2F;&#x2F;www.dbai.tuwien.ac.at&#x2F;proj&#x2F;pf2html&#x2F;proofs&#x2F;pythagoras...</a><p>I find this much more &quot;useful&quot; since the Pythagorean theorem isn&#x27;t immediately intuitive to me.<p>As for the proof in the original post, it seems really redundant to me. it follows from a (b+c) = ab + ac.<p>And while building intuition for this distributive property of multiplication is <i>extremely essential</i> when teaching maths, I feel that the intuition for why this is true is better built without leaning on geometry.
评论 #42435568 未加载
评论 #42429161 未加载
评论 #42424521 未加载
jrmg5 months ago
Be careful: with visual ‘proofs’ you can end up believing something like this: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Missing_square_puzzle" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Missing_square_puzzle</a>.
评论 #42424580 未加载
评论 #42424553 未加载
sahmeepee5 months ago
A similar method is handy for some mental arithmetic involving squares, e.g. it&#x27;s easy to calculate 1005² because it&#x27;s 1000² plus two added blocks of 5 x 1000, plus a small 5² block, so 1,010,025. Going the other way, 995² is 1000² minus those same two 5 x 1000 blocks, plus 5², so 990,025.<p>(Edited due to formatting fail!)
评论 #42424264 未加载
trescenzi5 months ago
As one of the bad at geometry good at algebra people this blows my mind. I cannot even begin to comprehend how this shows, even for these specific boxes, the math works. But I can very clearly feel the relatedness of multiplication which makes the algebra work.<p>That’s not to say the example is bad, or good, more to marvel at how differently people think.
评论 #42423838 未加载
评论 #42423657 未加载
评论 #42423655 未加载
ujikoluk5 months ago
That seems to show that there exist a and b such that the equality holds. But not that it holds for all a and b.
评论 #42423526 未加载
评论 #42423540 未加载
评论 #42423528 未加载
jfengel5 months ago
Futility Closet used to have a charming and fascinating podcast. I miss it. I&#x27;m glad that he&#x27;s still writing the blog.
评论 #42426533 未加载
ndsipa_pomu5 months ago
I enjoy some of the Mathologer YouTube videos and they often show some great visual proofs:<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=DjI1NICfjOk" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=DjI1NICfjOk</a> (Fermat&#x27;s sum of two squares)<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=rr1fzjvqztY" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=rr1fzjvqztY</a> (Ptolemy&#x27;s theorem)<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=yk6wbvNPZW0" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=yk6wbvNPZW0</a> (Irrational numbers)
amai5 months ago
Have a look at <a href="https:&#x2F;&#x2F;www.matematicasvisuales.com&#x2F;english&#x2F;index.html" rel="nofollow">https:&#x2F;&#x2F;www.matematicasvisuales.com&#x2F;english&#x2F;index.html</a> .<p>It shows many nice visualizations. Amongst others it shows my my favorite proof of the Pythagorean Theorem<p><a href="https:&#x2F;&#x2F;www.matematicasvisuales.com&#x2F;english&#x2F;html&#x2F;geometry&#x2F;triangulos&#x2F;pythagorasbaravalle.html" rel="nofollow">https:&#x2F;&#x2F;www.matematicasvisuales.com&#x2F;english&#x2F;html&#x2F;geometry&#x2F;tr...</a>
hi415 months ago
This is so beautiful! I could have never imagined this. I learnt this formula by rote when I was in school. Didn’t realize that it had a geometric equivalent. Same thing with differentiation and integration. Couldn’t understand. Learnt that too by rote. Is there a geometric equivalent for most formulas if not all? Is there a website?
评论 #42424441 未加载
评论 #42423790 未加载
评论 #42423697 未加载
评论 #42424460 未加载
评论 #42423679 未加载
gsf_emergency5 months ago
Contrasting takes of Sophie Germain&#x27;s quote from the page <i>Who invented Diagrammatic Algebra</i><p><a href="https:&#x2F;&#x2F;mathoverflow.net&#x2F;questions&#x2F;168888&#x2F;who-invented-diagrammatic-algebra" rel="nofollow">https:&#x2F;&#x2F;mathoverflow.net&#x2F;questions&#x2F;168888&#x2F;who-invented-diagr...</a><p>E.g.<p>&gt;6 points: <i>I&#x27;d say God invented it.</i> – Fernando Muro Commented Jun 3, 2014 at 6:38<p>Approved answer: Arthur Cayley. (Inspired by Sophie?)<p>&gt;<i>I believe diagrammatic algebra started with 19th century invariant theorists</i>
评论 #42428988 未加载
dvh5 months ago
But weren&#x27;t the multiplication and addition rules set such that this visual proof holds true? Not the other way around.
评论 #42424891 未加载
评论 #42424797 未加载
flufluflufluffy5 months ago
I love this, giving an intuition about something that is usually taught by rote memorization. I also love how it makes all the math nerds and pedants uneasy xD Man like, of course you need to be careful. You need to be careful about unintentional assumptions in logical proofs too. It’s a cool little creative visualization.
gregfjohnson5 months ago
This same identity can be used to provide geometric intuition as to why i*i must equal -1. This is shown in the diagrams at the bottom of <a href="http:&#x2F;&#x2F;gregfjohnson.com&#x2F;complex&#x2F;" rel="nofollow">http:&#x2F;&#x2F;gregfjohnson.com&#x2F;complex&#x2F;</a>.
dtj11235 months ago
I&#x27;m finding this kind of strange because when I first came across this identity, I couldn&#x27;t make any sense of it until I&#x27;d mentally visualised this exact sequence of images. Now I&#x27;m wondering how everyone else did it.
taeric5 months ago
A fun book I have is Proofs Without Words (<a href="https:&#x2F;&#x2F;www.amazon.com&#x2F;gp&#x2F;aw&#x2F;d&#x2F;1470451867" rel="nofollow">https:&#x2F;&#x2F;www.amazon.com&#x2F;gp&#x2F;aw&#x2F;d&#x2F;1470451867</a>). Tons of neat diagrams like this.
评论 #42424919 未加载
评论 #42424154 未加载
kbutler5 months ago
This is best considered an illustration, rather than a proof, as it fails for any of the following:<p>a=0 and b is non-zero<p>b&gt;a (result is negative. If you swap the variables, you have to imagine the area is a negative area)<p>either variable is negative
评论 #42423945 未加载
评论 #42424061 未加载
评论 #42426119 未加载
quantum_state5 months ago
would think the point of algebra is to mechanize quantitative reasoning … trying to cast algebra operations in geometry may not be the most productive …
geniium5 months ago
That&#x27;s so amazing! I wish I saw this at school while learning these by heart like a dumb student.
kelnos5 months ago
I&#x27;m a little disappointed at the focus here on how it&#x27;s hard or impossible to visualize when b&lt;a or when either a or b is negative.<p>That&#x27;s not the point. To me, it&#x27;s useful to already know that an algebraic proof of that equation exists, but to see it work out visually. I don&#x27;t need to see it worked out visually for every single possible value for this to be helpful for understanding.<p>It also nicely illustrates how algebra and geometry are linked. And that multiplication is geometrically taking you from 1 dimension to 2.
loadingcmd5 months ago
A good reminder. This was taught in the elementary school along with (a + b)^2,
评论 #42423824 未加载
tessierashpool95 months ago
that&#x27;s a bit ridiculous - isn&#x27;t it. also there are similar magic math proofs designed to lead the onlooker astray by miniscule inaccuracies and suddenly it follows that 1 = 0.
notorandit5 months ago
We need to introduce these simple demonstrations in math courses.
评论 #42423637 未加载
评论 #42424182 未加载
评论 #42424119 未加载
tim3335 months ago
I wonder to what extent you can do that in physics?
bawana5 months ago
But why is spacetime distance (x^2 - t^2)^.5
fghorow5 months ago
s&#x2F;proof&#x2F;demonstration&#x2F; and be done with the arguments.<p>Intuitive but formally wrong is still good for intuition.
评论 #42424056 未加载
评论 #42424164 未加载
alex-lx5 months ago
aha, I tried teaching my son this thing by the exactly same method a few days ago.
pn3k05 months ago
oh my heart! this is very pleasant
Dban15 months ago
Now I want to see visual proof of Euler&#x27;s Identity: e^(iπ) = -1