How do you graph #a_n=2(3)^(n-1)#?
2 Answers
The sequence cannot be represented by a continuous graph as
Explanation:
It seems reasonable to assume
Hence, the sequence is discrete, where
Now consider:
To represent this sequence graphically one could present a chart showing the initial points
NB: The important point to realise here it that the sequence cannot be represented by a continuous graph as
See explanation...
Explanation:
Assuming that this formula describes the general term of a sequence, it would normally only be used for positive integer values of
Note that the terms are also given by the recursive formulation:
#{ (a_1 = 2), (a_(n+1) = 3a_n) :}#
So we can start to list the points which could be graphed:
#(1, 2), (2, 6), (3, 18), (4, 54), (5, 162), (6, 486), (7, 1458),...#
Let us try plotting the first few points:
graph{(100(x-1)^2+(y-2)^2-1)(100(x-2)^2+(y-6)^2-1)(100(x-3)^2+(y-18)^2-1)(100(x-4)^2+(y-54)^2-1) = 0 [-4, 10, -4, 60]}
Since the function is exponential, it quickly goes off any linear vertical axis, resulting in at least a couple of problems:
-
You can only see a few points.
-
It is not clear whether the function has a vertical asymptote.
We can supplement the graph with the graph of
graph{(100(x-1)^2+(y-2)^2-1)(100(x-2)^2+(y-6)^2-1)(100(x-3)^2+(y-18)^2-1.2)(100(x-4)^2+(y-54)^2-1)(y-2*3^(x-1)) = 0 [-4, 10, -4, 60]}
Note that the curve is not part of the graph of
It is possible to work around the vertical scale issue by plotting
graph{((x-1)^2+(y-log(2))^2-0.01)((x-2)^2+(y-log(6))^2-0.01)((x-3)^2+(y-log(18))^2-0.01)((x-4)^2+(y-log(54))^2-0.01)((x-5)^2+(y-log(162))^2-0.01)((x-6)^2+(y-log(486))^2-0.01)((x-7)^2+(y-log(1458))^2-0.01)(y-log(2*3^(x-1))) = 0 [-2, 7.5, -1, 6]}
Here I have also included the graph of
Footnote
In a technical sense, the set:
#{ (n, a_n) : n in ZZ_+ } = { (1, 2), (2, 6), (3, 18), (4, 54), (5, 162), (6, 486), (7, 1458),... } #
is the graph of the function.
Given any function
So if your question was "What is the graph of
#{ (n, 2*3^(n-1)) : n in ZZ_+ } = { (1, 2), (2, 6), (3, 18), (4, 54), (5, 162), (6, 486), (7, 1458),... } #