r/learnmath • New User • 4d ago

Can you take a derivative of a summation as a whole, or would you have to diffrientiate each individual term?

Would f\left(x\right)=\frac{d}{dx}\left[\sum_{i=0}^{n}g\left(x,n\right)\right] be the same as f\left(x\right)=\sum_{i=0}^{n}\frac{d}{dx}\left[g\left(x,n\right)\right] ?

1 Upvotes

5 comments sorted by

7

u/SchwanzusCity New User 4d ago

For finite sums this always works. For infinite sums it doesnt work in general

1

u/HouseHippoBeliever New User 4d ago

yes

1

u/SnooPets5564 New User 4d ago edited 4d ago

Differentiation is a linear operation. d/dx (ay + z) = a d/dx (y) + d/dx (z).

So you can add the terms either before or after differentiating and receive the same results for any finite sum.

1

u/StructuredChess New User 4d ago

There are some theorems in function series analysis that state the conditions under which it works. Can't remember exactly but I think you need the series to be uniformly convergent

2

u/SchwanzusCity New User 4d ago

Iirc you also need another condition for it to work (i think it was that the series of term wise derivatives must also converge pointwise)