Question
Question: Write first \(4\) terms of the sequence. \({a_n} = {\left( { - 1} \right)^{n - 1}} \times {2^{n + ...
Write first 4 terms of the sequence.
an=(−1)n−1×2n+1
Solution
Here, we are given the nth term of an arithmetic sequence and we are asked to calculate the first four terms of the given sequence. We can note that an=(−1)n−1×2n+1 contains the variable n . So, to obtain the first four terms of the given sequence, we need to substitute some values for the variable n. Since we need to calculate the first four terms, we shall substitute n=1,2,3,4 in the nth term of the sequence.
Complete step-by-step answer:
The given nth term of an arithmetic sequence is an=(−1)n−1×2n+1
We are asked to obtain the first four terms of the given sequence.
Since we need to calculate the first four terms, we shall substitute n=1,2,3,4 in the nth term of the sequence.
First, we shall apply n=1 in an=(−1)n−1×2n+1
Thus, we have a1=(−1)1−1×21+1
⇒a1=(−1)0×22
⇒a1=4
Now, we shall substitute n=2 in an=(−1)n−1×2n+1
Thus, we have a2=(−1)2−1×22+1
⇒a2=(−1)1×23
⇒a2=−1×8
⇒a2=−8
Now, we shall substitute n=3 in an=(−1)n−1×2n+1
Thus, we have a3=(−1)3−1×23+1
⇒a3=(−1)2×24
⇒a3=16
Now, we shall substitute n=4 in an=(−1)n−1×2n+1
Thus, we have a4=(−1)4−1×24+1
⇒a4=(−1)3×25
⇒a4=−1×32
⇒a4=−32
Hence, we got the required first four terms of the sequence and they are 4,−8,16,−32
Note: We can note that we are given the nth term of an arithmetic sequence and it is an=(−1)n−1×2n+1. To find the first four terms of the sequence, we need to put n=1,2,3,4 in the nth term of the sequence. If we are given a sequence, we need to first find the nth term of the sequence. Then, we need to do the steps as we did earlier.