Find Sum of first 100 Terms in $(n-2)a_n - (n-1)a_{n-1} +1=0$ with $a_{100}=199$

  • MHB
  • Thread starter Albert1
  • Start date
In summary, the difference equation that defines the $a_{n}$ is $(n-1)a_2 - (n-2)$. If we know $a_1$, then we can find $a_2$ from this equation.
  • #1
Albert1
1,221
0
$a_1,a_2,-----,a_n,--a_{100}\in R$
giving :
$(n-2)a_n - (n-1)a_{n-1} +1=0 $
and :$a_{100}=199$
here $(2\leq n \leq 100)$
find $a_1+a_2+a_3+------+a_{100}=?$
 
Last edited:
Mathematics news on Phys.org
  • #2
Albert said:
$a_1,a_2,-----,a_n,--a_{100}\in R$
giving :
$(n-2)a_n - (n-1)a_{n-1} +1=0 $
and :$a_{100}=199$
here $(2\leq n \leq 100)$
find $a_1+a_2+a_3+------+a_{100}=?$

Just a question ... the difference equation that defines the $a_{n}$ is...

$\displaystyle a_{n}= \frac{(n - 1)\ a_{n- 1} - 1}{n - 2}\ (1)$

... isn't it?... now if we suppose to know $a_{1}$, what is the value of $a_{2}$ obtained from (1)?(Tmi)...

Kind regards

$\chi$ $\sigma$
 
  • #3
If you are going to go that route then we would have to let \(\displaystyle n \to 100 - n\) as we only know \(\displaystyle a_{100}\).

-Dan
 
  • #4
chisigma said:
Just a question ... the difference equation that defines the $a_{n}$ is...

$\displaystyle a_{n}= \frac{(n - 1)\ a_{n- 1} - 1}{n - 2}\ (1)$

... isn't it?... now if we suppose to know $a_{1}$, what is the value of $a_{2}$ obtained from (1)?(Tmi)...

Kind regards

$\chi$ $\sigma$
If you define $a_n \,\, as \,(1)$ then $n\neq 2$

$a_2$ will be undefined
 
  • #5
Albert said:
If you define $a_n \,\, as \,(1)$ then $n\neq 2$

$a_2$ will be undefined

The problems is that if $a_{2}$ is undefined and You use (1) to find $a_{3}$, then $a_{3}$ is also undefined and the same is for $a_{4}$, $a_{5}$, ..., $a_{100}$...

Kind regards

$\chi$ $\sigma$
 
  • #6
Albert said:
$a_1,a_2,-----,a_n,--a_{100}\in R$
giving :
$(n-2)a_n - (n-1)a_{n-1} +1=0 $
and :$a_{100}=199$
here $(2\leq n \leq 100)$
find $a_1+a_2+a_3+------+a_{100}=?$
[sp]Claim: For $n\geqslant2$, $a_n = (n-1)a_2 - (n-2)$.

Proof by induction: For $n=2$ this is a tautology, $a_2=a_2$.

Suppose the result is true for $n$. Then the recurrence relation $(n-2)a_n - (n-1)a_{n-1} +1=0 $ tells us that $$(n-1)a_{n+1} = na_n - 1 = n(n-1)a_2 - n(n-2) - 1 = n(n-1)a_2 - (n-1)^2.$$ Therefore $a_{n+1} = na_2 - (n-1)$, which is what is required to prove the inductive step.

It then follows that $199 = a_{100} = 99a_2 - 98$. So $99a_2 = 297$, from which $a_2 = 3$.

Thus the formula for $a_n$ becomes $a_n = 3(n-1) - (n-2) = 2n-1$, for $n\geqslant2$. The same formula also holds for $n=1$, as you can see by putting $n=1$ in the given recurrence relation.

Hence \(\displaystyle \sum_{n=1}^{100} a_n = \sum_{n=1}^{100}(2n-1) = 100(101) - 100 = 100^2.\)[/sp]
 
Last edited:
  • #7
Opalg said:
[sp]Claim: For $n\geqslant2$, $a_n = (n-1)a_2 - (n-2)$.

Proof by induction: For $n=2$ this is a tautology, $a_2=a_2$.

Suppose the result is true for $n$. Then the recurrence relation $(n-2)a_n - (n-1)a_{n-1} +1=0 $ tells us that $$(n-1)a_{n+1} = na_n - 1 = n(n-1)a_2 - n(n-2) - 1 = n(n-1)a_2 - (n-1)^2.$$ Therefore $a_{n+1} = na_2 - (n-1)$, which is what is required to prove the inductive step.

It then follows that $199 = a_{100} = 99a_2 - 98$. So $99a_2 = 297$, from which $a_2 = 3$.

Thus the formula for $a_n$ becomes $a_n = 3(n-1) - (n-2) = 2n-1$, for $n\geqslant2$. The same formula also holds for $n=1$, as you can see by putting $n=1$ in the given recurrence relation.

Hence \(\displaystyle \sum_{n=1}^{100} a_n = \sum_{n=1}^{100}(2n-1) = 100(101) - 100 = 100^2.\)[/sp]
nice solution!
 
  • #8
Albert said:
$a_1,a_2,-----,a_n,--a_{100}\in R$
giving :
$(n-2)a_n - (n-1)a_{n-1} +1=0 ---(1)$
and :$a_{100}=199$
here $(2\leq n \leq 100)$
find $a_1+a_2+a_3+------+a_{100}=?$
n=2, we get $a_1=1-----(2)$
n=3 :$a_3-2a_2=-1$------(3)
n=4 :$2a_4-3a_3=-1$------(4)
n=5 :$3a_5-4a_4=-1$------(5)
-----------------------------
-----------------------------
n=100 :$98a_{100}-99a_{99}=-1---(100)$
(3)+(4)+-------+(100):
$98a_{100}-2(a_2+a_3+---+a_{99})=-98$
$a_2+a_3------+a_{99}=9800$
$\therefore a_1+a_2+------+a_{100}=1+9800+199=10000$
in fact there is no need to find the value of $a_2$
 

Related to Find Sum of first 100 Terms in $(n-2)a_n - (n-1)a_{n-1} +1=0$ with $a_{100}=199$

1. What is the formula for finding the sum of the first 100 terms in $(n-2)a_n - (n-1)a_{n-1} +1=0$ with $a_{100}=199$?

The formula for finding the sum of the first 100 terms in this sequence is:
S = (n-1)(a1 + a2 + a3 + ... + a99 + a100) - 99, where n is the number of terms and a1 is the first term. In this case, n=100 and a1=199.

2. How do you solve for the missing terms in the sequence $(n-2)a_n - (n-1)a_{n-1} +1=0$ with $a_{100}=199$?

To solve for the missing terms in this sequence, you can use the given equation to create a recursive formula. This means that you can use the previous term to find the next term. In this case, the recursive formula would be:
an = an-1 - 1. Using this formula, you can solve for each term until you reach a100, which is given as 199.

3. How do you prove that the given sequence $(n-2)a_n - (n-1)a_{n-1} +1=0$ with $a_{100}=199$ is a valid solution?

To prove that the given sequence is a valid solution, you can use mathematical induction. First, show that the equation holds true for n=1, where a1=199. Then, assume that it holds true for some arbitrary value of n=k. Finally, use this assumption to prove that it holds true for n=k+1. If this is true, then it holds true for all values of n, including 100, where a100=199.

4. Can the given sequence $(n-2)a_n - (n-1)a_{n-1} +1=0$ with $a_{100}=199$ be generalized for any value of n?

Yes, the given sequence can be generalized for any value of n. The general formula for this sequence is:
an = an-1 - 1, where n is the number of terms and a1 is the first term. In this case, a1=199 and n=100.

5. How does the given sequence $(n-2)a_n - (n-1)a_{n-1} +1=0$ with $a_{100}=199$ relate to other mathematical sequences?

The given sequence is a linear sequence, meaning that each term is related to the previous term by a constant difference. It can also be classified as a recursive sequence, as mentioned earlier. Additionally, this sequence can be seen as a special case of the arithmetic sequence, where the common difference is always -1.

Similar threads

Replies
1
Views
910
  • General Math
Replies
3
Views
1K
Replies
1
Views
1K
  • General Math
Replies
4
Views
2K
Replies
1
Views
1K
  • General Math
Replies
6
Views
1K
  • General Math
Replies
7
Views
1K
  • General Math
Replies
2
Views
1K
  • General Math
Replies
1
Views
1K
Replies
5
Views
2K
Back
Top