I want to apologize firstly about this slog
is posted later than usual. In this week’s slog, I would like to make some
change which is that posting some questions which I feel less confident to
solve, the answer for these questions are wrote by me and also will be posted
below questions. In this way, the more questions I practice, the more benefits I
will gain. Let’s get started!
First question:
Firstly, I will do some recap about how to
prove this question. A function of f (n) is in Ω (n^2) if and only if
This means that the set of functions that
grows no slower than n^2.
Secondly, the next step of proving this
question is to use the method of overestimating and underestimating which is
shown as followed image:
As professor told us in this week’s
lecture, when we prove about Ω (n^2), we have to pick a c which is small enough
to make the right side (Ω (n^2)) a lower bound; therefore, pick 1/18 to be c
fits perfectly in this case.
Thirdly, it is time for proving!
Second questions:
In this week’s module, professor Zhang
taught us a whole new proof which is prove some general statements about big-oh.
This is the definition of proving some general
statements about big-oh, which means that the set of all functions that take a
natural number as input and return a non-negative real number.
The thought of this proof is as followed:
We want to find B’’, C’’, f (n) <= c’’h (n)
beyond the breakpoint B’’; therefore, beyond the B’’ and B, we have B’’ = max (B,
B’’), and also, c’’ = cc’
My proof:
In conclusion, these two questions are what I confused
of. Because of fall break, I will continue to work on this week’s lecture slide
and practice more in the following week.
Ninth slog
Mingyu Liu


没有评论:
发表评论