Derivating a sum weird result. wtf

  • Thread starter Thread starter sh86
  • Start date Start date
  • Tags Tags
    Sum Weird
sh86
Messages
19
Reaction score
0
Hey I was doing a standard derivative problem but I ran into something somewhat strange. Check it out:

\frac{d}{dx}\sum_{i=1}^xx=\frac{d}{dx}x^2=2x

Okay, simple enough..but what if I write it like this?

\frac{d}{dx}\sum_{i=1}^xx=\frac{d}{dx}(x+x+...+x)=1+1+...+1=x.

Why am I getting two different answers?
 
Physics news on Phys.org
x^2 \neq \sum^x x. This definition of x^2 does not make sense. d/dx does not just apply to whole numbers for x. It applies to all real numbers of x.
 
In that defintion for x^2 which you have as a sum. x is not a variable, it's the last term of your series.
 
Defennder said:
x^2 \neq \sum^x x. This definition of x^2 does not make sense. d/dx does not just apply to whole numbers for x. It applies to all real numbers of x.

I don't get it. Are you saying that because x is the upper bound of the summation that means it's limited to nonnegative integers and because of that, you can't take the derivative?

rock.freak667 said:
In that defintion for x^2 which you have as a sum. x is not a variable, it's the last term of your series.

How's it not a variable? I looked up the definition on Mathworld.com:
A variable is a symbol on whose value a function, polynomial, etc., depends.

and x can take on different values (0, 1, 2, etc.) and the function f(x)=\sum_{i=1}^x x depends on it.
 
Derivatives are defined for functions of a continuous variable. Since x is a discrete, integer variable in your summation, it doesn't make any sense to differentiate with respect to x here.

If you don't understand my answer, I'll ask you this question: what is that sum for, say, x=3.5?
 
Another way of looking at it: in x+ x+ x+ x+\cdot\cdot\cdot+ x, "x times", the "x times" is itself a function of x- this can't be treated like you would x added to itself a fixed number of times. Just as the derivative of x^x is nothing like the derivative of x^n for fixed n.
 
Just to add something to Halls's post, you can get round the fact that the x above the summation sign 'ought' to be an integer, by replacing it with, say, floor(x). But the analysis you use in your argument doesn't allow for the fact that the upper summation limit varies with x - you differentiated within the summation sign, but ignored the x (or floor(x)) appearing above it.
 
Back
Top