Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

These are Big-Oh proofs and use just a short sentence to describe what's wrong with it. 1.1. = = . Let f(n) = n +

These are Big-Oh proofs and use just a short sentence to describe what's wrong with it.image text in transcribed

1.1. = = . Let f(n) = n + n. We want to prove that f(n) 0(n). By the definition of Big-Oh, f(n) 6(n) iff f(n) sc.n for some c>0 and all nz no: Using the definition of f(n), n +nscon. Let c = 2 and no = 1. By substituting in, we have n +ns 2n. So, subtracting an n from both sides, we get ns n'. Dividing by n for both sides, we get 1 s n?, which is true for all n2 no: So, f(n) E O(n?). We want to prove that 4n3 is in 0(n). Let c 2 4 and no 1. Then we know_4n s 4n, so, 4.n scnfor any value of n 2 no. By definition of 0(n), 4n3 0(n). n 1.2. . 1.3. C. We want to disprove that n4 is in 0(n?). For this to be true, it must be the case that nt sc.n3 for some c>0. But n s n? can never be true because the 4 exponent causes n4 to always be larger than n, thus n4 & 0(n)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

MySQL Crash Course A Hands On Introduction To Database Development

Authors: Rick Silva

1st Edition

1718503008, 978-1718503007

More Books

Students also viewed these Databases questions

Question

=+1 What are the major issues related to international T&D?

Answered: 1 week ago