  Course Content

Mathematics for Data Analysis and Modeling

##   What Are Number Series?

Number series, also known as sequences, are numbers arranged in a specific order or pattern. Each number in the series is derived based on a rule or pattern, which may involve arithmetic operations, geometric progression, or other mathematical relationships.
In other words, number series are functions where domain X is an order and codomain Y is a value corresponding to the order.

 Order 1 2 3 ... n Value -2 3 -1 ... k

## Fibonacci sequence

Let's consider Fibonacci sequence as an example. It is a well-known numerical sequence in mathematics that starts with 0 and 1, and each subsequent number is the sum of the two preceding numbers:

`F(i) = F(i-1) + F(i-2)`  The Fibonacci sequence finds numerous applications in various real-life tasks and scenarios. Some of the common areas where the Fibonacci sequence is used include:

1. Financial Planning: In finance, the Fibonacci sequence is used in technical analysis to predict potential support and resistance levels in the stock market. Traders and analysts use Fibonacci retracements and extensions to identify possible price levels where a financial instrument may reverse or continue its trend.
2. Computer Algorithms: The Fibonacci sequence plays a role in several computer algorithms and data structures. For example, it is used in dynamic programming algorithms, recursive functions, and in generating Fibonacci heaps, which are data structures used for priority queue operations.
3. Computer Graphics: In computer graphics, the Fibonacci sequence can be utilized to generate visually appealing patterns and designs, especially in fractals and recursive algorithms.

## Arithmetic sequence

Another popular sequence is an arithmetic sequence, also known as an arithmetic progression, a sequence of numbers in which the difference between consecutive terms is constant.

`A(i) = a + (i-1)*d`,
`a` - first term.
`d` - the difference between consecutive terms.
`i` - order of term of interest.  Arithmetic sequences can also be used in various real-life tasks and applications. Some examples include:

1. Financial Planning: In finance, arithmetic sequences are used to model and analyze various financial scenarios, such as loan payments, mortgage payments, and investments with fixed or changing amounts over time.
2. Project Management: In project management, arithmetic sequences can be used to track and predict project progress, resource allocation, and budget planning.
3. Time Series Analysis: In time series analysis, arithmetic sequences can be used to model and forecast data that exhibit a consistent linear trend over time.

## Geometric sequence

Finally, let's consider geometric sequence, also known as a geometric progression. It is a sequence of numbers in which each term is obtained by multiplying the previous term by a fixed, non-zero value called the common ratio (denoted by 'r').

`G(i) = a * r^(i-1)`.
`a` - first term.
`r` - a common ratio.
`G(i)` - order of term of interest.
`^` - exponentiation sign.  Geometric sequences can be used to solve the following real-life tasks:

1. Financial calculations: In finance, geometric sequences are used for compound interest calculations. When interest is compounded over time, an investment's amount grows according to a geometric sequence.
2. Population growth: In biology and ecology, geometric sequences can be used to model the growth of populations in which each generation produces a fixed multiple of the previous one.
3. Exponential decay: Geometric sequences can also represent exponential decay processes, such as the decay of radioactive isotopes or the decrease in the concentration of a substance over time.
4. Pricing and discounting: In business and economics, geometric sequences can be used to model pricing strategies and discounting schemes.

Note

There are many other sequences in addition to those described above. The most common task is to determine the pattern by which the sequence elements are calculated. Knowing this pattern, we can conduct a more detailed analysis of each sequence.