# A fun math equation

**URL:** <https://boards.straightdope.com/t/a-fun-math-equation/384799>\
**Category:** Miscellaneous and Personal Stuff I Must Share\
**Created:** [December 19, 2006, 5:30pm UTC](https://boards.straightdope.com/t/a-fun-math-equation/384799 "2006-12-19T17:30:13Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![brewha](https://avatars.discourse-cdn.com/v4/letter/b/91b2a8/32.png) [@brewha](https://boards.straightdope.com/u/brewha)\
**Post date:** [December 19, 2006, 5:30pm UTC](https://boards.straightdope.com/t/a-fun-math-equation/384799/1 "2006-12-19T17:30:13Z")

</div>

Let’s say y=x  
Now multiply both sides by x:  
x_y=x[sup]2[/sup]  
Now subtract a y[sup]2[/sup] from both sides:  
x_y- y[sup]2[/sup]= x[sup]2[/sup]- y[sup]2[/sup]  
Factoring the left side and apply the difference of squares to the right side, we get:  
y(x-y)=(x-y)(x+y)  
dividing the common terms  
y=x+y  
since x=y:  
y=y+y  
y=2y  
Or  
1=2

I had one of my professors stumped on this one for awhile. It’s a fun one to torment math geeks a little.

Yes, there is an explanation for this, but at least spoiler box your answers for awhile so everyone can enjoy.

---

<div class="post-metadata">

**Author:** ![Noone\_Special](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/noone_special/32/2863_2.png) [@Noone\_Special](https://boards.straightdope.com/u/Noone_Special)\
**Post date:** [December 19, 2006, 5:34pm UTC](https://boards.straightdope.com/t/a-fun-math-equation/384799/2 "2006-12-19T17:34:03Z")

</div>

Dividing the common term (x-y) must assume x != y (because if they are, the term is = 0, and it doesn’t matter what y or (x+y) are.) Since in your case you’ve posited that x **does** = y, you shouldn’t be dividing by (x-y)

---

<div class="post-metadata">

**Author:** ![Giles](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/giles/32/60_2.png) [@Giles](https://boards.straightdope.com/u/Giles)\
**Post date:** [December 19, 2006, 5:35pm UTC](https://boards.straightdope.com/t/a-fun-math-equation/384799/3 "2006-12-19T17:35:46Z")

</div>

[SPOILER]  
[QUOTE=brewha]  
dividing the common terms

[/QUOTE]  
There’s the problem: the common term is (x-y), which = 0 since x=y, so you are dividing by zero.[/SPOILER]

---

<div class="post-metadata">

**Author:** ![brewha](https://avatars.discourse-cdn.com/v4/letter/b/91b2a8/32.png) [@brewha](https://boards.straightdope.com/u/brewha)\
**Post date:** [December 19, 2006, 5:38pm UTC](https://boards.straightdope.com/t/a-fun-math-equation/384799/4 "2006-12-19T17:38:57Z")

</div>

Yeah, you both are correct. But it causes most people more than 4-5 min of head scratching to get.

---

<div class="post-metadata">

**Author:** ![Giles](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/giles/32/60_2.png) [@Giles](https://boards.straightdope.com/u/Giles)\
**Post date:** [December 19, 2006, 5:57pm UTC](https://boards.straightdope.com/t/a-fun-math-equation/384799/5 "2006-12-19T17:57:17Z")

</div>

[QUOTE=brewha]  
Yeah, you both are correct. But it causes most people more than 4-5 min of head scratching to get.  
[/QUOTE]

Well, I’ve seen puzzles similar to this before, and about 90% of the time it involves the same kind of error at some stage in the cvalculation. (The next most common problem is taking square roots, where you assume a positive square root, but the problem really requires the other, negative, root.

---

<div class="post-metadata">

**Author:** ![Noone\_Special](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/noone_special/32/2863_2.png) [@Noone\_Special](https://boards.straightdope.com/u/Noone_Special)\
**Post date:** [December 19, 2006, 8:32pm UTC](https://boards.straightdope.com/t/a-fun-math-equation/384799/6 "2006-12-19T20:32:19Z")

</div>

Got to concur with **Giles** on this… it’s the oldest trick in the book. I’m frankly amazed that your math prof. didn’t

1. Know it already – and failing that
2. Pick it up in seconds!

---

<div class="post-metadata">

**Author:** ![Cunctator](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@Cunctator](https://boards.straightdope.com/u/Cunctator)\
**Post date:** [December 19, 2006, 9:33pm UTC](https://boards.straightdope.com/t/a-fun-math-equation/384799/7 "2006-12-19T21:33:54Z")

</div>

[QUOTE=brewha]  
Yeah, you both are correct. But it causes most people more than 4-5 min of head scratching to get.  
[/QUOTE]  
I agree with \*\*Giles \*\* and **Noone Special**. This trick has been around for ages. We were shown it when I was at school in the 70s. I’m surprised that any maths teacher would be stumped by it.

---

<div class="post-metadata">

**Author:** ![gigi](https://avatars.discourse-cdn.com/v4/letter/g/a587f6/32.png) [@gigi](https://boards.straightdope.com/u/gigi)\
**Post date:** [December 19, 2006, 9:41pm UTC](https://boards.straightdope.com/t/a-fun-math-equation/384799/8 "2006-12-19T21:41:23Z")

</div>

It only took me a minute or so, because I saw it…on the Dope!

---

<div class="post-metadata">

**Author:** ![brewha](https://avatars.discourse-cdn.com/v4/letter/b/91b2a8/32.png) [@brewha](https://boards.straightdope.com/u/brewha)\
**Post date:** [December 19, 2006, 9:50pm UTC](https://boards.straightdope.com/t/a-fun-math-equation/384799/9 "2006-12-19T21:50:47Z")

</div>

I may have been misleading, but the professor that was stumped was not a math prof. He was a Mechanical Engineering Prof and certainly knew the math - but I guess he’d never seen this trick.

I hadn’t seen it until my senior year in college, and I was stumped (at least for a little while).

---

<div class="post-metadata">

**Author:** ![JohnT](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/johnt/32/15048_2.png) [@JohnT](https://boards.straightdope.com/u/JohnT)\
**Post date:** [December 19, 2006, 9:55pm UTC](https://boards.straightdope.com/t/a-fun-math-equation/384799/10 "2006-12-19T21:55:14Z")

</div>

> [@](#):
>
> x\*y- y2= x2- y2

Doesn’t that essentially make the equation 0=0?

---

<div class="post-metadata">

**Author:** ![Ruthlez](https://avatars.discourse-cdn.com/v4/letter/r/aeb1de/32.png) [@Ruthlez](https://boards.straightdope.com/u/Ruthlez)\
**Post date:** [December 19, 2006, 10:38pm UTC](https://boards.straightdope.com/t/a-fun-math-equation/384799/11 "2006-12-19T22:38:22Z")

</div>

[QUOTE=brewha]  
Yeah, you both are correct. But it causes most people more than 4-5 min of head scratching to get.  
[/QUOTE]

I’m STILL scratching my head, and it has been past 10 mins. After I post this, i’m peeking at the spoilers.

---

<div class="post-metadata">

**Author:** ![Sunspace](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/sunspace/32/1250_2.png) [@Sunspace](https://boards.straightdope.com/u/Sunspace)\
**Post date:** [December 19, 2006, 10:39pm UTC](https://boards.straightdope.com/t/a-fun-math-equation/384799/12 "2006-12-19T22:39:49Z")

</div>

:: Divide By Zero Error ::  
:: Please Reboot Universe ::

🙂

---

<div class="post-metadata">

**Author:** ![Elendil\_s\_Heir](https://avatars.discourse-cdn.com/v4/letter/e/7cd45c/32.png) [@Elendil\_s\_Heir](https://boards.straightdope.com/u/Elendil_s_Heir)\
**Post date:** [December 20, 2006, 7:33pm UTC](https://boards.straightdope.com/t/a-fun-math-equation/384799/13 "2006-12-20T19:33:50Z")

</div>

The title of this thread is an oxymoron.

---

<div class="post-metadata">

**Author:** ![Noone\_Special](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/noone_special/32/2863_2.png) [@Noone\_Special](https://boards.straightdope.com/u/Noone_Special)\
**Post date:** [December 20, 2006, 7:53pm UTC](https://boards.straightdope.com/t/a-fun-math-equation/384799/14 "2006-12-20T19:53:12Z")

</div>

[QUOTE=Elendil’s Heir]  
The title of this thread is an oxymoron.  
[/QUOTE]  
Why? Why is “Fun Math” incompatible with “Equation?” 😕 😛

---

<div class="post-metadata">

**Author:** ![nivlac](https://avatars.discourse-cdn.com/v4/letter/n/3bc359/32.png) [@nivlac](https://boards.straightdope.com/u/nivlac)\
**Post date:** [December 21, 2006, 4:27am UTC](https://boards.straightdope.com/t/a-fun-math-equation/384799/15 "2006-12-21T04:27:15Z")

</div>

[QUOTE=Noone Special]  
Why? Why is “Fun Math” incompatible with “Equation?” 😕 😛  
[/QUOTE]

I think that you segmented the phrase at the wrong place. I think that **Elendil’s Heirthe** was alluding to the incompatibility between “Fun” and “Math Equation”. But I disagree. Math can be fun, but the solution to this thread’s particular math puzzle is so well known that it was indeed no fun.

---

<div class="post-metadata">

**Author:** ![matt\_mcl](https://avatars.discourse-cdn.com/v4/letter/m/7ab992/32.png) [@matt\_mcl](https://boards.straightdope.com/u/matt_mcl)\
**Post date:** [December 21, 2006, 5:34am UTC](https://boards.straightdope.com/t/a-fun-math-equation/384799/16 "2006-12-21T05:34:31Z")

</div>

For a rollicking good time, you need Euclid’s Theorem. That’s _cute._

---

<div class="post-metadata">

**Author:** ![TJdude825](https://avatars.discourse-cdn.com/v4/letter/t/dec6dc/32.png) [@TJdude825](https://boards.straightdope.com/u/TJdude825)\
**Post date:** [December 21, 2006, 9:09am UTC](https://boards.straightdope.com/t/a-fun-math-equation/384799/17 "2006-12-21T09:09:59Z")

</div>

Take the integral of 1/x, wrt x by integrating by parts. (But I know the answer is ln(x), you say. I know you know that. Just go with me on this.)

u=1/x  
dv=dx

So du=-1/x^2  
and v=x

int(u dv) = u\*v - int(v du)

int(dx/x) = 1 + int(dx/x)  
Subtract that original integral from both sides.  
0=1

[spoiler]The formula SHOULD say

int(u dv) = u\*v - int(v du) + C

Or at least you need to recognize that when you solve int(v du), you need to stick a +C on whatever you get. The point is, don’t forget the +C!!!

In this case, C=-1, so we get 0=0[/spoiler]

---

<div class="post-metadata">

**Author:** ![Santo\_Rugger](https://avatars.discourse-cdn.com/v4/letter/s/e95f7d/32.png) [@Santo\_Rugger](https://boards.straightdope.com/u/Santo_Rugger)\
**Post date:** [December 21, 2006, 10:43am UTC](https://boards.straightdope.com/t/a-fun-math-equation/384799/18 "2006-12-21T10:43:57Z")

</div>

[QUOTE=nivlac]  
I think that you segmented the phrase at the wrong place. I think that **Elendil’s Heirthe** was alluding to the incompatibility between “Fun” and “Math Equation”. But I disagree. Math can be fun, but the solution to this thread’s particular math puzzle is so well known that it was indeed no fun.  
[/QUOTE]

Ok, so I’m pretty new here, but was this a woosh, or did I get double-wooshed?

---

<div class="post-metadata">

**Author:** ![Dead\_Cat](https://avatars.discourse-cdn.com/v4/letter/d/9fc29f/32.png) [@Dead\_Cat](https://boards.straightdope.com/u/Dead_Cat)\
**Post date:** [December 21, 2006, 1:05pm UTC](https://boards.straightdope.com/t/a-fun-math-equation/384799/19 "2006-12-21T13:05:05Z")

</div>

[QUOTE=Pygmy Rugger]  
Ok, so I’m pretty new here, but was this a woosh, or did I get double-wooshed?  
[/QUOTE]  
It was a whoosh.

Unless I’m triple-whooshing you :).

I’d heard of the equation in the OP, too, which can be fun if you show it to someone who hasn’t seen it before. But my favourite is still the derivation of women = all evil :).

---

<div class="post-metadata">

**Author:** ![glee](https://avatars.discourse-cdn.com/v4/letter/g/b5a626/32.png) [@glee](https://boards.straightdope.com/u/glee)\
**Post date:** [December 21, 2006, 1:20pm UTC](https://boards.straightdope.com/t/a-fun-math-equation/384799/20 "2006-12-21T13:20:52Z")

</div>

I saw this in print in the 60’s.

(Sob - I’m old!)

[Next page](https://boards.straightdope.com/t/a-fun-math-equation/384799.md?page=2)
