retagged by
573 views
0 votes
0 votes

Which of the following is /are TRUE ?


S1 : $n^{a} . n^{b} = 0$$((n^{a})^{b})$ for any a, b > 1
S2 : $(n^{a})^{b} = 0$$((n^{a})^{b})$ for any a, b > 1

(1)  Both S1 and S2
(2)  S1 Only
(3)  S2 Only
(4)  Neither S1 nor S2
retagged by

1 Answer

Best answer
0 votes
0 votes

The correct answer is Option (3) S2 Only.

Explanation - 

From wikipedia, big-O notation is defined as, $\ f(x)= O(g(x))$ if and only if there exists a positive real number constant $\ c$ such that $\mid f(x) \mid \le c \cdot g(x)  \space for\space all\space x \ge x_{0} $.

In simpler terms, what it means is, the function inside the big-O, which is an upper bound,  should always be greater than the function to be bounded. 

Consider statement S1 - 

Here

$ f(x) = n^{a}\cdot n^{b} = n^{a + b}$ 

$ g(x) = (n^{a})^{b} = n^{a\cdot b }$

Now from the definition, we need $ f(x) \le c \cdot g(x)$

i.e. we need $(a+b) \le a\cdot b$ 

for the constants $a, b > 1 $.

Now, since it's not explicitly given that a and b are integers, we can take values of a and b as 1.1 and 1.2 

In this case, statement S1 becomes false since, 

$ n^{(1.1+1.2)} \ge n^{1.1 \times 1.2}$ which is why we cannot have the upper bound as given in the statement S1.

 

Now, consider statement S2 - 

This case is simple, since we can write 

$ (n^a)^{ b} \le c \cdot (n^a)^{ b} \space for \space any\space positive\space real\space number\space c $

So, statement S2 is true.

 

selected by
Answer:

Related questions

0 votes
0 votes
0 answers
1
srestha asked Apr 5, 2019
1,283 views
Identify the algorithm which works on the principle that locally optimal solutions are globally optimal.$\left ( A \right )$ Divide and Conquer$\left ( B \right )$ Greedy...
1 votes
1 votes
0 answers
2
srestha asked May 24, 2019
1,314 views
$1)$How circular queue can be implemented?$2)$ For which data structure circular queue cannot be implemented?$(A)$Array $(B)$ Singly Linked List $(C)$ Doubly Linked List...