Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
Profile
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Questions by SomnathKayal
3
votes
2
answers
1
A better guess on upper bound
It's a question from Cormen book Exercise 4.4-5 and is described like this: Use a recursion tree to determine a good asymptotic upper bound on the recurrence $T(n)=T(n-1)+T(\frac{n}{2})+n$
It's a question from Cormen book Exercise 4.4-5 and is described like this:Use a recursion tree to determine a good asymptotic upper bound on the recurrence $T(n)=T(n-1)+...
894
views
asked
Apr 14, 2016
Algorithms
asymptotic-notation
recurrence-relation
+
–
2
votes
1
answer
2
Solve recurrence using Master theorem
$T(a)=0 \hspace{0.2cm} if \hspace{0.2cm} a=1$ $T(a)=2T(a/2) + ak \hspace{0.2cm} if \hspace{0.2cm} a=2^{p}, p>0$ where $a=\frac{n}{k}$ Answer: $\Theta (n \log (\frac{n}{k}))$, This is while (n/k) is power of 2. How can I solve it using master theorem?
$T(a)=0 \hspace{0.2cm} if \hspace{0.2cm} a=1$$T(a)=2T(a/2) + ak \hspace{0.2cm} if \hspace{0.2cm} a=2^{p}, p>0$where $a=\frac{n}{k}$Answer: $\Theta (n \log (\frac{n}{k}))$...
828
views
asked
Apr 8, 2016
Algorithms
master-theorem
algorithms
time-complexity
+
–
1
votes
1
answer
3
Which of these relations on the set of all functions from Z to Z are equivalence relations?
Which of these relations on the set of all functions from Z to Z are equivalence relations? (a) $\{(f,g) \mid f(1)=g(1)\}$ ... relation. Actually I cannot able to analyze when the relations defined on set of function. If anyone describe a bit it would helpful.
Which of these relations on the set of all functions from Z to Z are equivalence relations?(a) $\{(f,g) \mid f(1)=g(1)\}$(b) $\{(f,g) \mid f(0)=g(0) \text{ or } f(1)=g(1)...
3.8k
views
asked
Apr 6, 2016
Set Theory & Algebra
set-theory&algebra
relations
functions
equivalence-class
+
–
2
votes
1
answer
4
Determining a given subset is partition or not?
Which of these collections of subsets are partitions of the set of bit strings of length 8? (a) the set of bit strings that end with 00, the set of bit strings that end with 01, the set of bit strings that end with 10, and the ... I can't find any overlapping elements between different partition of (b) and if there is any, then why not in (a).
Which of these collections of subsets are partitions of the set of bit strings of length 8?(a) the set of bit strings that end with 00, the set of bit strings that end wi...
1.2k
views
asked
Apr 5, 2016
Set Theory & Algebra
relational-algebra
relations
equivalence-class
set-theory&algebra
+
–
0
votes
0
answers
5
Determine the given relation is Equivalence Relation or not.
$R_{1} \oplus R_{2}$ I know that $R_{1} \oplus R_{2} = R_{1} \cup R_{2} - R_{1} \cap R_{2}$, and $R_{1} \cup R_{2}$ is not necessarily an equivalence relation but $R_{1} \cap R_{2}$ is always an equivalence relation, when we subtract what we will get? For example consider this, what will be the graph of $R_{1} \oplus R_{2}$?
$R_{1} \oplus R_{2}$I know that $R_{1} \oplus R_{2} = R_{1} \cup R_{2} - R_{1} \cap R_{2}$, and $R_{1} \cup R_{2}$ is not necessarily an equivalence relation but $R_{1} \...
632
views
asked
Apr 5, 2016
Set Theory & Algebra
relations
set-theory&algebra
equivalence-class
+
–
0
votes
3
answers
6
Rosen 9.1 - 48
How many transitive relations are there on a set with n elements if (a) n = 1 (b) n = 2 (c) n= 3 Answer has not been given. How do I calculate number of transitive relations? For n = 1, there will be 1 transitive relation. For n = 2, If $(a,b) \varepsilon R$ and $(b,a)\varepsilon R$ the $(a,a)\varepsilon R$ and $(b,b)\varepsilon R$. But how can we calculate this?
How many transitive relations are there on a set with n elements if(a) n = 1(b) n = 2(c) n= 3Answer has not been given. How do I calculate number of transitive relations?...
1.6k
views
asked
Apr 4, 2016
Set Theory & Algebra
set-theory&algebra
relations
relational-algebra
+
–
0
votes
2
answers
7
Determine whether the relation is reflexive, symmetric, anti-symmetric, and/or transitive?
Determine whether the relation R on the set of all Web pages is reflexive, symmetric, antisymmetric, and/or transitive, where (a, b) ∈ R if and only if a) everyone who has visited Web page a ... problems when the relations are defined in ordered pairs. But can't able to visualize this kind of relations.
Determine whether the relation R on the set of all Web pages is reflexive, symmetric, antisymmetric, and/or transitive, where (a, b) ∈ R if and only ifa) everyone who h...
4.6k
views
asked
Mar 28, 2016
Set Theory & Algebra
set-theory&algebra
relations
+
–
1
votes
1
answer
8
Find a formula when m is a positive integer?
$(a) \sum_{k = 0}^{m} \left \lfloor \sqrt k \right \rfloor$ $(b) \sum_{k = 0}^{m} \left \lfloor \sqrt {k^{3}} \right \rfloor$ Is there any quick way to find the formula for complex expression?
$(a) \sum_{k = 0}^{m} \left \lfloor \sqrt k \right \rfloor$$(b) \sum_{k = 0}^{m} \left \lfloor \sqrt {k^{3}} \right \rfloor$Is there any quick way to find the formula for...
532
views
asked
Mar 28, 2016
Set Theory & Algebra
functions
set-theory&algebra
summation
+
–
1
votes
1
answer
9
What are the values of the sum?
$\sum_{j \in S} 1$ where S = {1, 3, 5, 7}. if we have $\sum_{j = 1}^{n} 1$ then the answer will be n. But what happens if this a set?
$\sum_{j \in S} 1$ where S = {1, 3, 5, 7}.if we have $\sum_{j = 1}^{n} 1$ then the answer will be n. But what happens if this a set?
666
views
asked
Mar 28, 2016
Set Theory & Algebra
set-theory&algebra
summation
+
–
1
votes
2
answers
10
In how many ways can 2n seats in a congress be divided among 3 parties ?
Problem: In how many ways can 2n seats in a congress be divided among 3 parties so that the coalition of any 2 parties will ensure them of majority? Answer: Total number of ways in which the seats can be ... add 3 with the final expression. This question is similar to this except the problem considering even number of seats.
Problem: In how many ways can 2n seats in a congress be divided among 3 parties so that the coalition of any 2 parties will ensure them of majority?Answer: Total number o...
655
views
asked
Mar 18, 2016
Combinatory
combinatory
set-theory&algebra
functions
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register