File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programming Diversions and the fly likes Puzzle..find out the fallacy...(interesting) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Other » Programming Diversions
Bookmark "Puzzle..find out the fallacy...(interesting)" Watch "Puzzle..find out the fallacy...(interesting)" New topic
Author

Puzzle..find out the fallacy...(interesting)

Rambo Prasad
Ranch Hand

Joined: Feb 23, 2006
Posts: 628
Consider the equattion X+X+X...(X TIMES)..
2+2=2^2
3+3+3=3^2

similarly x+x+x+x...(x times)=x^2

Now Differentiate on both side with respect to x
1+1+1...x times = 2x
=x=2x
=>1 =2

What is the mistake here??any idea?
[ March 13, 2006: Message edited by: Rambo Prasad ]

Helping hands are much better than the praying lips
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39548
    
  27
The equality is not true (or rather, is not defined) for numbers that are not integers. And since differentiation is defined only for continuous functions -which the one on the LHS is not- it can't be applied here.


Ping & DNS - updated with new look and Ping home screen widget
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

Another explanation:
x^2 might be a notation for a function x^2.
But you use it as a value (x^2=x | x=1).
Then you mix both notations, but you may not differentiate a value.


http://home.arcor.de/hirnstrom/bewerbung
Rambo Prasad
Ranch Hand

Joined: Feb 23, 2006
Posts: 628
Ulf Dittmer

great!correct answer
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Puzzle..find out the fallacy...(interesting)
 
Similar Threads
Fun: Try this out
Problem with method to evaluate e^-(x^2)
Triangles!
Things I know.
tricky and stupid LOL