← home

What is exponential growth?

Exponential growth is the process where a quantity increases in a geometric progression. In other words, each subsequent step multiplies the result several times from the previous one. This type of growth is often enc...

Table of contentsClick link to navigate to the desired location
This content has been automatically translated from Ukrainian.
Exponential growth is the process where a quantity increases in a geometric progression. In other words, each subsequent step multiplies the result several times from the previous one.
This type of growth is often encountered in computer algorithms, finance, or biology. For example, if the number of options doubles at each step, then after a few steps, there becomes an enormous amount that is difficult to process.
A simple Ruby code for demonstration:
# Exponential growth
base = 2      # multiplier
steps = 10    # number of steps
value = 1     # initial value

puts "Step - Value"
steps.times do |i|
  puts "#{i + 1} - #{value}"
  value *= base
end
The result will be:
Step - Value
1 - 1
2 - 2
3 - 4
4 - 8
5 - 16
6 - 32
7 - 64
8 - 128
9 - 256
10 - 512
=> 10
This script shows how the initial value of 1 grows rapidly with a multiplier of 2. The result demonstrates why exponential growth quickly exceeds computable numbers.

Real-life examples:

  • Technology: the number of transistors in processors grows according to Moore's law, approximately doubling every 2 years.
  • Finance: compound interest, when investments grow exponentially due to interest compounding.
  • Biology: the reproduction of bacteria in favorable conditions, where each bacterium divides into two after a certain period of time.
  • Social networks: the spread of information or viral videos, where each user shares content with several friends.

🔥 More posts

All posts
What is vibe coding?
Jul 25, '25 21:51

What is vibe coding?

Vibe coding is a state where you don't follow strict programming rules, but simply catch the mood...

What is a brain stack?
Jul 28, '25 19:37

What is a brain stack?

The brain is not just a sponge of neurons, but a system of layers, each of which performs its own...

What is integer overflow?
Programming (Програмування)Aug 15, '25 08:28

What is integer overflow?

You have a counter that can only count up to a certain number. For example, a pocket calculator t...

What is a HAR file (HTTP Archive)?
Programming (Програмування)Aug 25, '25 18:23

What is a HAR file (HTTP Archive)?

HAR file (HTTP Archive) is a special file format .har that stores the log of a web browser's inte...

What is factorial complexity?
Programming (Програмування)Sep 16, '25 19:03

What is factorial complexity?

Factorial complexity is a situation where the number of options or combinations grows like the fa...

What is NP-complexity?
Programming (Програмування)Sep 16, '25 19:31

What is NP-complexity?

NP-completeness is a class of problems for which it is very difficult to find a solution, but eas...

What is ivar in Ruby / Rails?
Programming (Програмування)Oct 19, '25 20:12

What is ivar in Ruby / Rails?

ivar is short for instance variable. In Ruby, it is written with a @ before the name, for example...

Main methods of authentication in API
Programming (Програмування)Oct 19, '25 20:26

Main methods of authentication in API

When we create an API in Ruby on Rails, it is important to control who has access to resources. H...