## Mathematics

Arithmetic, algebra, number theory, sequence and series, analysis, ...
yogeshspat
Posts: 1
Joined: Wed Nov 27, 2013 5:38 am

### Mathematics

Require solution to this problem.

I want to sum the terms in following progressive manner,

Can you give the ultimate equation by which i can calculate the result of this equation for n=1, 2,3,4,5,6, etc.

x+(x-y)+(x-y-y)+(x-y-y-y)+(x-y-y-y-y)+........n times

nicolas.patrois
Posts: 117
Joined: Fri Jul 26, 2013 3:54 pm
Contact:

### Re: Mathematics

Easy for x, and for y, consider 1+2+3+4+… TheEvil
Posts: 84
Joined: Sun Nov 13, 2011 10:38 am
Location: Szeged, Hungary

### Re: Mathematics

First of all, it is not an equation. But if you are intrested in the closed form of that series:

x*n - n*(n-1)*y/2 SNaveenMathew
Posts: 1
Joined: Sun May 11, 2014 7:02 pm

### Re: Mathematics

Let us define the mth term of this sequence:
tm = x-y-y-y-...(m times) = x-y(1+1+1+1+...(m times)) = x-my
Sn = Sum(m=1 to n){tm}
= Sum(m=1 to n){x-my}
= Sum(m=1 to n){x} - Sum(m=1 to n){my}
= x*Sum(m=1 to n){1} - y*Sum(m=1 to n){m} as x and y are constant over all values of m
= x*n - [frac]y*n*(n+1),2[/frac]