It is common practice to derive just "enough" terms of a series expansion to illustrate the pattern. For example, upon seeing some terms one can be certain how the negative sign appears alternatingly or how the coefficient relates to the power.
$$\log(1 + x) = x - \frac{x^2}2 + \frac{ x^3 }3 - \frac{ x^4 }4 + \cdots \\ \tan^{-1} x = x - \frac{x^3}3 + \frac{ x^5 }5 - \frac{ x^7 }7 + \cdots $$
How does one know when is "enough" when deriving the series?
Some series appears to have the signs go like $++--++--\cdots$ (perhaps with zeros interleaved). How does one know the pattern truly is "alternating by two"?
Suppose the series starts with the first four terms of plus signs $++++$, how does one know if it's all plus sign or if it's $++++----++++----\cdots$?
Note 1: my question is clearly different from this post with a similar title.
Note 2: I'm not sure how my question can be addressed by the Descartes rule of signs.
To be blunt, it's typically not a matter of noticing a pattern, but proving the pattern that shows when it's enough.
That's not to say pattern recognition is not helpful, because it absolutely is. It can cue you into where proving the pattern might lead, or what you might have to prove - all depending on the context. But the statement
$$\tan^{-1} x = x - \frac{x^3}3 + \frac{ x^5 }5 - \frac{ x^7 }7 + \cdots = \sum_{k=0}^\infty \frac{(-1)^{k}}{2k+1} x^{2k+1}$$
means you would need to show that the factor controlling the sign, $(-1)^k$, does indeed show up in the summation. You can't just say "oh I found the first few terms, the rest obviously follow the same pattern." I mean, they might, but there are examples of sequences that suddenly break from such a pattern. Maybe yours breaks from the pattern $1,000,$ or perhaps $100,000,000$, or perhaps $10^{{10}^{100}}$ terms down the road.
I mean, you have the right idea, sort of, you almost seem to be on the brink of realizing this very thing at the end of your post - that after finding however-many terms of the sequences, how do you know that the pattern doesn't change? And that's the thing - that's completely true, there's no reason, just finding
$$x \;\;\; , \;\;\; - \frac{x^3}3 \;\;\; , \;\;\; \frac{ x^5 }5 \;\;\; , \;\;\; - \frac{ x^7 }7 \;\;\; , \;\;\; ...$$
that you should expect $x^9/9$ to come next. Finding a pattern isn't sufficient, you also have to verify - to prove - that pattern. I believe this post has a rough proof for the arctangent power series.