Prove or disprove 2^{an} = O(2^n)

Koronicaqn

Koronicaqn

Answered question

2022-09-07

Prove or disprove 2 a n = O ( 2 n )
I was wondering if someone could verify or correct my work.
For all a 1 Prove or Disprove 2 a n belongs to big-o of 2 n
By definition, if there is a positive integer 'N' and a positive integer 'c' then f ( n ) g ( n ), for all n > N.
Therefore,
2 a n c × 2 n log ( 2 a n ) c × log ( 2 n ) a n × log ( 2 ) c n × log ( 2 ) a n c n
let
c = 1
n = 1
Therefore,
a <= 1
therefore our given statement cannot be true since there exists some a > = c

Answer & Explanation

Nelson Santana

Nelson Santana

Beginner2022-09-08Added 13 answers

Step 1
You can see that
2 a n 2 n = 2 ( a 1 ) n
Step 2
as n . Which proves that 2 a n is not O ( 2 n )
Dalton Erickson

Dalton Erickson

Beginner2022-09-09Added 10 answers

Step 1
The error is the second line:
2 a n c × 2 n log ( 2 a n ) c × log ( 2 n )
In fact
2 a n c × 2 n log ( 2 a n ) log ( c ) + log ( 2 n )
Step 2
You should not assign a value to n. Why? Because you want to find a value c that works for all n.

Do you have a similar question?

Recalculate according to your conditions!

New Questions in Discrete math

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?