a) Alice has asked you to help her classify these functions based on their asymptotic growth rate. That is, she wants you to prove a tight big-Theta bound for each function by following these steps. i. Use algebra to simply the function for ease of analysis. Remember the goal of simplification is to isolate terms and identify the dominant term. For instance, we might want to expand (n + 1)² to n² +2n+ 1 to see that n² is the dominant term. ii. Use your intuition, the limit test, or algebra to come up with a good guess of a tight bound. For instance, after isolating n² as the dominant term we might guess our polynomial is in (n²). iii. Use the limit test or the definitions to prove that your guess is correct. Both methods can provide correct proofs, and its a good idea to practice both methods. Sometimes our guess is incorrect and we need to return to the previous step. b) Now Alice asks you to place the functions in order of asymptotic growth from the slowest growing to the fastest growing. (Remember an algorithm with a fast growing run time function is a slow algorithm and vice versa. It is easy to confuse these when classifying functions.) You do not need to provide proofs in this step, but you may want to use the limit test or algebra to compare your functions. c) Bob has determined that for the instances of the Really Hard Problem that you want to solve the input size is guaranteed to be at most n = 65536. Place the functions from smallest to largest when evaluated at this maximum input size.

Algebra & Trigonometry with Analytic Geometry
13th Edition
ISBN:9781133382119
Author:Swokowski
Publisher:Swokowski
Chapter2: Equations And Inequalities
Section2.3: Quadratic Equations
Problem 81E
icon
Related questions
Question
You, Alice and Bob are engineering a solution the Really Hard Problem and have come
up with ten algorithmic solutions. Alice has analysed the code and expressed the run
times of the ten solutions with the following ten functions:
•fo(n) = (3n+3)³
• fi(n) = [₁2²
f2(n) = n². (22+75)
• f3(n) = 3log, n
• f4(n) =
fs(n) = log₂ (n^²)
• fe(n) = log₂ (n² +5n-3)
• fr(n) = log₂ (log₂ n+3)
f8(n) = 2
f9(n) = 2222
a) Alice has asked you to help her classify these functions based on their asymptotic
growth rate. That is, she wants you to prove a tight big-Theta bound for each
function by following these steps.
i. Use algebra to simply the function for ease of analysis. Remember the goal of
simplification is to isolate terms and identify the dominant term. For instance,
we might want to expand (n + 1)² to n² +2n+ 1 to see that n² is the dominant
term.
ii. Use your intuition, the limit test, or algebra to come up with a good guess of a
tight bound. For instance, after isolating n² as the dominant term we might
guess our polynomial is in (n²).
iii. Use the limit test or the definitions to prove that your guess is correct. Both
methods can provide correct proofs, and its a good idea to practice both
methods. Sometimes our guess is incorrect and we need to return to the
previous step.
b) Now Alice asks you to place the functions in order of asymptotic growth from
the slowest growing to the fastest growing. (Remember an algorithm with a fast
growing run time function is a slow algorithm and vice versa. It is easy to confuse
these when classifying functions.) You do not need to provide proofs in this step,
but you may want to use the limit test or algebra to compare your functions.
c) Bob has determined that for the instances of the Really Hard Problem that you want
to solve the input size is guaranteed to be at most n = 65536. Place the functions
from smallest to largest when evaluated at this maximum input size.
(4n²+25)-(n²-2n+1)
Transcribed Image Text:You, Alice and Bob are engineering a solution the Really Hard Problem and have come up with ten algorithmic solutions. Alice has analysed the code and expressed the run times of the ten solutions with the following ten functions: •fo(n) = (3n+3)³ • fi(n) = [₁2² f2(n) = n². (22+75) • f3(n) = 3log, n • f4(n) = fs(n) = log₂ (n^²) • fe(n) = log₂ (n² +5n-3) • fr(n) = log₂ (log₂ n+3) f8(n) = 2 f9(n) = 2222 a) Alice has asked you to help her classify these functions based on their asymptotic growth rate. That is, she wants you to prove a tight big-Theta bound for each function by following these steps. i. Use algebra to simply the function for ease of analysis. Remember the goal of simplification is to isolate terms and identify the dominant term. For instance, we might want to expand (n + 1)² to n² +2n+ 1 to see that n² is the dominant term. ii. Use your intuition, the limit test, or algebra to come up with a good guess of a tight bound. For instance, after isolating n² as the dominant term we might guess our polynomial is in (n²). iii. Use the limit test or the definitions to prove that your guess is correct. Both methods can provide correct proofs, and its a good idea to practice both methods. Sometimes our guess is incorrect and we need to return to the previous step. b) Now Alice asks you to place the functions in order of asymptotic growth from the slowest growing to the fastest growing. (Remember an algorithm with a fast growing run time function is a slow algorithm and vice versa. It is easy to confuse these when classifying functions.) You do not need to provide proofs in this step, but you may want to use the limit test or algebra to compare your functions. c) Bob has determined that for the instances of the Really Hard Problem that you want to solve the input size is guaranteed to be at most n = 65536. Place the functions from smallest to largest when evaluated at this maximum input size. (4n²+25)-(n²-2n+1)
Expert Solution
steps

Step by step

Solved in 5 steps with 6 images

Blurred answer
Recommended textbooks for you
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage
Algebra: Structure And Method, Book 1
Algebra: Structure And Method, Book 1
Algebra
ISBN:
9780395977224
Author:
Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. Cole
Publisher:
McDougal Littell
Big Ideas Math A Bridge To Success Algebra 1: Stu…
Big Ideas Math A Bridge To Success Algebra 1: Stu…
Algebra
ISBN:
9781680331141
Author:
HOUGHTON MIFFLIN HARCOURT
Publisher:
Houghton Mifflin Harcourt
College Algebra
College Algebra
Algebra
ISBN:
9781938168383
Author:
Jay Abramson
Publisher:
OpenStax
Algebra for College Students
Algebra for College Students
Algebra
ISBN:
9781285195780
Author:
Jerome E. Kaufmann, Karen L. Schwitters
Publisher:
Cengage Learning
College Algebra (MindTap Course List)
College Algebra (MindTap Course List)
Algebra
ISBN:
9781305652231
Author:
R. David Gustafson, Jeff Hughes
Publisher:
Cengage Learning