Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Just use one sentence to describe what's wrong with the following proof, WHAT STEP WENT WRONG? 1.1. = = . Let f(n) = n +

image text in transcribedJust use one sentence to describe what's wrong with the following proof, WHAT STEP WENT WRONG?

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_2

Step: 3

blur-text-image_3

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

Filing And Computer Database Projects

Authors: Jeffrey Stewart

2nd Edition

007822781X, 9780078227813

More Books

Students also viewed these Databases questions

Question

When is it appropriate to use a root cause analysis

Answered: 1 week ago

Question

=+ Why have these changes occurred?

Answered: 1 week ago

Question

=+90 percent of all oil refineries) into several smaller companies

Answered: 1 week ago