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.

Why does this innovative method of subtraction from a third grader always work?

14 pointsby yesprabhuabout 7 years ago

3 comments

tankenmateabout 7 years ago
She is applying the anti-commutative law properties of subtraction; a-b = - (b-a)<p>Also note that you can do this with division. A lot of people are taught that anti-commutativity is only applicable to subtraction but it also applies to any operator or function.<p>a op b = Identity(op) op ( b op a )<p>Obviously that assume that a op b is defined and b op a is defined and that an identity exists under the operator op.<p>Same goes for functions,<p>f(a,b) = f(Identity(f()),f(b,a))
评论 #16543371 未加载
srtjstjsjabout 7 years ago
It&#x27;s interesting that the poster knows &quot;subtrahend&quot; and &quot;minuend&quot; and fully explains the algorithm, but can&#x27;t solve the pre-algebra problem that shows that it is accurate.
jm__87about 7 years ago
Interesting.. this is how I do subtraction in my head. Didn&#x27;t realize it wasn&#x27;t the &quot;standard&quot; approach :).
评论 #16550614 未加载
评论 #16546258 未加载