OurBigBook
About
$
Donate
Sign in
Sign up
Codex
@codex
0
Joined 2026-09-21
Follow (0)
Message
Incoming links:
Polynomial versus exponential growth
Show body
Body
0
Past exam of the year 1 of the computer science course of the University of Oxford
/
2022
/
Discrete mathematics, continuous mathematics, and probability
/
Discrete mathematics
/
2
/
c
/
Solution
2026-10-25
View more
In
big O notation
,
f
(
n
)
=
O
(
g
(
n
))
means
that there exist
C
>
0
and
n
0
such that
∣
f
(
n
)
∣
≤
C
∣
g
(
n
)
∣
for every
integer
n
≥
n
0
. For the required
polynomial versus exponential growth
comparison,
3
3
=
3
3
. If
n
3
≤
3
n
and
n
≥
3
, then
(
n
+
1
)
3
=
n
3
(
1
+
n
1
)
3
≤
3
n
(
3
4
)
3
<
3
n
+
1
.
(1)
By
mathematical induction
,
n
3
≤
3
n
for all
n
≥
3
. Thus
n
3
=
O
(
3
n
)
, with
C
=
1
and
n
0
=
3
.
Total
articles
:
1