WEBVTT
Kind: captions
Language: en

00:00:00.950 --> 00:00:01.960
- [Justin] We've seen how creatures

00:00:01.960 --> 00:00:03.610
that replicate can have their numbers

00:00:03.610 --> 00:00:06.210
grow exponentially without limit,

00:00:06.210 --> 00:00:08.530
but in the real world, there are limits,

00:00:08.530 --> 00:00:10.280
so, a more realistic growth curve

00:00:10.280 --> 00:00:12.570
would look something like this.

00:00:12.570 --> 00:00:13.890
Sorry, buddy.

00:00:13.890 --> 00:00:16.640
(peaceful music)

00:00:18.040 --> 00:00:20.340
As we've built up our model
in the last few videos,

00:00:20.340 --> 00:00:21.790
we've been running simulations

00:00:21.790 --> 00:00:23.420
where the computer steps through time,

00:00:23.420 --> 00:00:26.270
and at each time step, it
decides which creatures live,

00:00:26.270 --> 00:00:29.420
die, and reproduce
according to certain odds,

00:00:29.420 --> 00:00:31.490
and we built an equation
to help us predict

00:00:31.490 --> 00:00:33.670
what we expect to happen from one instant

00:00:33.670 --> 00:00:35.480
to the next in the simulation.

00:00:35.480 --> 00:00:37.930
The expected change in the
number of creatures is equal

00:00:37.930 --> 00:00:41.580
to the creature's replication
chance minus its death chance,

00:00:41.580 --> 00:00:44.050
all times the current number of creatures,

00:00:44.050 --> 00:00:45.430
and we can graph this equation

00:00:45.430 --> 00:00:47.230
to help us visualize our prediction.

00:00:49.330 --> 00:00:52.920
The most interesting case
is when R is greater than D,

00:00:52.920 --> 00:00:54.660
for example, with a replication chance

00:00:54.660 --> 00:00:57.870
of 10% and a death chance of 5%.

00:00:57.870 --> 00:00:59.020
Then, this graph becomes

00:00:59.020 --> 00:01:01.440
a straight line with a positive slope.

00:01:01.440 --> 00:01:02.550
The more creatures there are,

00:01:02.550 --> 00:01:04.160
the more new creatures we expect

00:01:04.160 --> 00:01:06.530
to appear from one time to the next.

00:01:06.530 --> 00:01:08.593
This leads to exponential growth.

00:01:09.500 --> 00:01:10.790
We went over this pretty quickly,

00:01:10.790 --> 00:01:12.410
but an earlier video in the series

00:01:12.410 --> 00:01:14.100
called How to Grow Exponentially

00:01:14.100 --> 00:01:16.450
goes through it in more detail.

00:01:16.450 --> 00:01:18.100
Okay, so, that's what the world looks like

00:01:18.100 --> 00:01:20.240
when growth is completely unchecked,

00:01:20.240 --> 00:01:21.110
but what should it look like

00:01:21.110 --> 00:01:24.020
if we want growth to
level off at some point?

00:01:24.020 --> 00:01:26.340
To figure this out, let's work backward.

00:01:26.340 --> 00:01:29.770
We want the population curve
to look something like this.

00:01:29.770 --> 00:01:32.100
It's like an exponential
curve toward the beginning,

00:01:32.100 --> 00:01:35.143
but it levels out at a certain
point, at 50 creatures.

00:01:35.980 --> 00:01:38.010
For the population to level out here,

00:01:38.010 --> 00:01:40.330
we need the expected change per time step

00:01:40.330 --> 00:01:42.800
to go to zero when there are 50 creatures,

00:01:42.800 --> 00:01:45.620
so, this curve is gonna
need to bend downward.

00:01:45.620 --> 00:01:48.170
How can we change the
equation to make that happen?

00:01:49.800 --> 00:01:51.570
This function equation already gives us

00:01:51.570 --> 00:01:54.137
delta equals zero when N is zero,

00:01:54.137 --> 00:01:57.463
but we want delta to also
be zero when N is 50.

00:01:58.670 --> 00:02:01.090
One way to do this is to make
the creatures more likely

00:02:01.090 --> 00:02:03.360
to die when there are
lots of creatures around.

00:02:03.360 --> 00:02:05.480
There's only so much space
and food in the environment,

00:02:05.480 --> 00:02:07.903
so, when it's crowded,
a creature might starve.

00:02:08.810 --> 00:02:10.870
To do this, we'll leave the
base death chance alone,

00:02:10.870 --> 00:02:12.920
but we'll include an extra term to adjust

00:02:12.920 --> 00:02:15.070
the overall death chance
based on crowding.

00:02:16.110 --> 00:02:18.180
What should this term be?

00:02:18.180 --> 00:02:20.010
Well, we want the term to be small

00:02:20.010 --> 00:02:21.380
when there aren't many creatures,

00:02:21.380 --> 00:02:24.340
and we want it to be big when
there are a lot of creatures.

00:02:24.340 --> 00:02:26.650
A simple way to achieve
this is to write it as

00:02:26.650 --> 00:02:29.490
the current number of creatures
multiplied by a constant.

00:02:29.490 --> 00:02:31.700
When N is small, the effect
of crowding will be small,

00:02:31.700 --> 00:02:34.580
and when N is large, the
effect will be large.

00:02:34.580 --> 00:02:37.050
Let's call this constant
the crowding coefficient,

00:02:37.050 --> 00:02:38.680
just to give it a short name.

00:02:38.680 --> 00:02:41.450
Its value specifies how much
the death chance goes up

00:02:41.450 --> 00:02:44.600
for each creature when
we add a new creature,

00:02:44.600 --> 00:02:48.030
so, if the value is, say, 0.001,

00:02:48.030 --> 00:02:50.180
that means adding another
creature increases

00:02:50.180 --> 00:02:53.133
the death chance of all
creatures by 1/10 of a percent.

00:02:54.150 --> 00:02:56.370
The new creature is eating
food and taking up space,

00:02:56.370 --> 00:02:58.720
so, there's less to go
around for everyone else,

00:02:58.720 --> 00:02:59.990
and when we have a lot of creatures,

00:02:59.990 --> 00:03:03.310
this term really adds up,
and because I looked ahead

00:03:03.310 --> 00:03:05.550
when picking these numbers,
a crowding coefficient

00:03:05.550 --> 00:03:10.550
of 0.001 does cause delta
to be zero when N is 50.

00:03:10.990 --> 00:03:12.490
This is because the death chance

00:03:12.490 --> 00:03:14.480
when adjusted for crowding becomes equal

00:03:14.480 --> 00:03:16.140
to the replication chance per creature,

00:03:16.140 --> 00:03:17.660
so, each creature is just as likely

00:03:17.660 --> 00:03:19.910
to die as it is to reproduce.

00:03:19.910 --> 00:03:22.240
The replication and death
chances balance each other out,

00:03:22.240 --> 00:03:23.940
and we've found equilibrium again.

00:03:25.080 --> 00:03:26.810
To give you some of the usual terminology,

00:03:26.810 --> 00:03:29.510
this equilibrium number is
called the carrying capacity

00:03:29.510 --> 00:03:31.690
because it's the largest
number of creatures

00:03:31.690 --> 00:03:34.370
that the environment
can sustainably support,

00:03:34.370 --> 00:03:36.170
and this number over time curve

00:03:36.170 --> 00:03:38.150
is called a logistic growth curve,

00:03:38.150 --> 00:03:40.250
as opposed to an exponential growth curve.

00:03:41.810 --> 00:03:44.060
Now that we've decided
how to tweak the equation

00:03:44.060 --> 00:03:45.830
and seen how it affects the graph,

00:03:45.830 --> 00:03:47.490
let's double-check that this actually does

00:03:47.490 --> 00:03:49.943
predict this S-shaped
logistic growth curve.

00:03:51.060 --> 00:03:53.860
When N is small, the delta
curve is pretty similar

00:03:53.860 --> 00:03:56.920
to that upward-sloping line
from the exponential case,

00:03:56.920 --> 00:03:58.910
so, we'll expect the population to look

00:03:58.910 --> 00:04:01.310
like it's growing about
exponentially, at first.

00:04:02.440 --> 00:04:04.040
In this middle region, the delta curve

00:04:04.040 --> 00:04:06.770
is near its maximum, and
it's mostly horizontal,

00:04:06.770 --> 00:04:09.880
so, the overall expected growth
rate doesn't change much.

00:04:09.880 --> 00:04:11.250
The growth rate is still high,

00:04:11.250 --> 00:04:13.150
but it's just not speeding up anymore.

00:04:14.730 --> 00:04:16.370
And finally, in this last region,

00:04:16.370 --> 00:04:18.970
the growth rate is actually
slowing down toward zero,

00:04:18.970 --> 00:04:21.460
so, we'll expect the
population to level off,

00:04:21.460 --> 00:04:23.420
and if N goes above the carrying capacity,

00:04:23.420 --> 00:04:25.330
which, again, is an equilibrium number,

00:04:25.330 --> 00:04:27.973
the growth rate goes
negative, pushing N back down.

00:04:29.030 --> 00:04:30.140
All right, let's run a simulation

00:04:30.140 --> 00:04:31.990
to see whether this prediction works.

00:04:36.630 --> 00:04:38.840
It sort of works,

00:04:38.840 --> 00:04:40.740
and remember, this is all
based on chance, though,

00:04:40.740 --> 00:04:42.880
so, to really see how
good this prediction is,

00:04:42.880 --> 00:04:45.233
we need to look at many
simulations at once.

00:04:48.640 --> 00:04:50.740
Next, let's look at what
happens if new kinds

00:04:50.740 --> 00:04:53.010
of creatures appear through a mutation.

00:04:53.010 --> 00:04:54.340
This green creature will come out

00:04:54.340 --> 00:04:56.660
of 1% of blue's replications,

00:04:56.660 --> 00:04:58.130
and it'll be slightly less good

00:04:58.130 --> 00:04:59.830
at replication than the blue creature is,

00:04:59.830 --> 00:05:02.260
with a replication chance of 8%,

00:05:02.260 --> 00:05:03.810
but its replication chance is still

00:05:03.810 --> 00:05:05.840
higher than its death chance,

00:05:05.840 --> 00:05:07.450
and this orange creature will also

00:05:07.450 --> 00:05:09.660
come out of 1% of blue's replications,

00:05:09.660 --> 00:05:11.860
and this one will have
a lower death chance.

00:05:13.020 --> 00:05:15.760
All three of these creatures
will share the same resources,

00:05:15.760 --> 00:05:17.950
so, their delta equations
would have a crowding term

00:05:17.950 --> 00:05:21.083
that includes the total number
of all kinds of creatures.

00:05:22.590 --> 00:05:24.960
If we start a simulation
with a few blue creatures,

00:05:24.960 --> 00:05:26.660
how would you expect things to go?

00:05:35.400 --> 00:05:38.090
As you might have guessed,
orange eventually takes over.

00:05:38.090 --> 00:05:39.540
It's not enough anymore for blue

00:05:39.540 --> 00:05:41.710
to be good at surviving in isolation.

00:05:41.710 --> 00:05:42.920
It now needs to be better

00:05:42.920 --> 00:05:45.073
than its competitors to maintain numbers.

00:05:46.030 --> 00:05:47.630
One surprising thing in this simulation is

00:05:47.630 --> 00:05:51.680
that green is doing better
than blue after 500 time steps.

00:05:51.680 --> 00:05:52.570
You wouldn't expect that,

00:05:52.570 --> 00:05:54.940
since it has the worst
stats of all the creatures,

00:05:54.940 --> 00:05:56.150
but this is a good example of

00:05:56.150 --> 00:05:58.880
how luck is a big part
of evolving systems.

00:05:58.880 --> 00:06:01.180
The most likely outcome
doesn't always happen.

00:06:02.820 --> 00:06:04.300
All right, that's it for the fundamentals

00:06:04.300 --> 00:06:06.670
of limited growth and competition,

00:06:06.670 --> 00:06:08.450
but before we say goodbye in this video,

00:06:08.450 --> 00:06:10.710
let's take stock of where we are.

00:06:10.710 --> 00:06:12.410
We've seen how replication can lead

00:06:12.410 --> 00:06:14.593
to exponentially growing populations.

00:06:15.550 --> 00:06:17.220
We've seen how mistakes in replication

00:06:17.220 --> 00:06:18.960
can lead to new kinds of creatures,

00:06:18.960 --> 00:06:22.170
leading to diversity, and just now,

00:06:22.170 --> 00:06:24.190
we saw how a finite pool of resources

00:06:24.190 --> 00:06:26.920
puts a cap on populations
and causes competition

00:06:26.920 --> 00:06:28.990
between different types of creatures.

00:06:28.990 --> 00:06:31.090
Replication, mutation, and competition

00:06:31.090 --> 00:06:33.070
make up the core of evolution.

00:06:33.070 --> 00:06:34.750
Anywhere replicators exist,

00:06:34.750 --> 00:06:36.810
even if there's life on other planets,

00:06:36.810 --> 00:06:39.090
everything we've said so far would apply.

00:06:39.090 --> 00:06:40.450
We're not done yet, though.

00:06:40.450 --> 00:06:43.430
So far, we've been making
all the decisions ourselves.

00:06:43.430 --> 00:06:44.490
You could say that we've been

00:06:44.490 --> 00:06:47.690
artificially selecting
successful creatures.

00:06:47.690 --> 00:06:49.450
In the next video, we'll
let go of the reins

00:06:49.450 --> 00:06:52.560
and let the selection
happen a bit more naturally.

00:06:52.560 --> 00:06:53.393
See you then.

