1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Nana76 [90]
4 years ago
11

• karger's min cut algorithm in the class has probability at least 2/n2 of returning a min-cut. how many times do you have to re

run this algorithm to get the probability of an error to be at most 1/n?
Mathematics
1 answer:
MrRissso [65]4 years ago
4 0
The Karger's algorithm relates to graph theory where G=(V,E)  is an undirected graph with |E| edges and |V| vertices.  The objective is to find the minimum number of cuts in edges in order to separate G into two disjoint graphs.  The algorithm is randomized and will, in some cases, give the minimum number of cuts.  The more number of trials, the higher probability that the minimum number of cuts will be obtained.

The Karger's algorithm will succeed in finding the minimum cut if every edge contraction does not involve any of the edge set C of the minimum cut.

The probability of success, i.e. obtaining the minimum cut, can be shown to be ≥ 2/(n(n-1))=1/C(n,2),  which roughly equals 2/n^2 given in the question.Given: EACH randomized trial using the Karger's algorithm has a success rate of P(success,1) ≥ 2/n^2.

This means that the probability of failure is P(F,1) ≤ (1-2/n^2) for each single trial.

We need to estimate the number of trials, t, such that the probability that all t trials fail is less than 1/n.

Using the multiplication rule in probability theory, this can be expressed as
P(F,t)= (1-2/n^2)^t < 1/n 

We will use a tool derived from calculus that 
Lim (1-1/x)^x as x->infinity = 1/e, and
(1-1/x)^x < 1/e   for x finite.  

Setting t=(1/2)n^2 trials, we have
P(F,n^2) = (1-2/n^2)^((1/2)n^2) < 1/e

Finally, if we set t=(1/2)n^2*log(n), [log(n) is log_e(n)]

P(F,(1/2)n^2*log(n))
= (P(F,(1/2)n^2))^log(n) 
< (1/e)^log(n)
= 1/(e^log(n))
= 1/n

Therefore, the minimum number of trials, t, such that P(F,t)< 1/n is t=(1/2)(n^2)*log(n)    [note: log(n) is natural log]
You might be interested in
Oakland Middle School has 128 6th
adoni [48]

Answer:

36 teachers

Step-by-step explanation:

total students=128+121+135=384

groups of 32=384/8=12

teachers=12x3=36

8 0
2 years ago
X + 25/-8 = -6 Solve for x.<br> Simplify your answer as much as possible.
balandron [24]

Step-by-step explanation:

if there is nothing missing, we have

x + 25/-8 = -6

in order to compare or add or subtract fractions, we need to bring them all to the same denominator (bottom part).

remember, integer numbers are fractions too. like here

-6 = -6/1

25/-8 = -25/8

so, how can we bring -6/1 to .../8 ?

by multiplying 1 by 8.

but we cannot multiply only the denominator by 8. otherwise we would suddenly have

-6/8

and is -6/8 = -6/1 ? no, certainly not.

to keep the original value of the fraction we have to do the same multiplication also with the numerator (top part).

so, we actually do

-6/1 × 8/8 = -48/8

with this little trick we have now .../8 to operate with, and our transformed fraction has still the same value

-6/1 = -48/8 indeed.

so, we have

x + -25/8 = -48/8

x - 25/8 = -48/8

x = -48/8 + 25/8 = -23/8

3 0
1 year ago
If a diagonal is drawn in a parallelogram, then two congruent triangles are... formed
Vsevolod [243]
Correct.  Two congruent triangles are formed.
The two triangles are congruent because
1. diagonal = common side between two triangles
2. Considering the diagonal as a transversal that cuts the two pairs of parallel lines, we have two sets of internal alternate angles.
BY the rule of ASA, the two triangles are congruent.
3 0
3 years ago
Read 2 more answers
Use the remainder theorem to find P(−2) for P(x) = 2x^4+2x^3−2x-4
Law Incorporation [45]

Answer:P(2) = 2(2)³ - 2(2)²- 3

= 16 - 8 - 3

= 5

Remainder or value of P(2) = 5

Quotient =   (2x³- 2x² - 3)/ x-2 = 2x² + 2x + 4

Step-by-step explanation:

7 0
3 years ago
Read 2 more answers
Dr. Miriam Johnson has been teaching accounting for over 20 years. From her experience, she knows that 60% of her students do ho
oksano4ka [1.4K]

Answer:

a) The probability that a student will do homework regularly and also pass the course = P(H n P) = 0.57

b) The probability that a student will neither do homework regularly nor will pass the course = P(H' n P') = 0.12

c) The two events, pass the course and do homework regularly, aren't mutually exclusive. Check Explanation for reasons why.

d) The two events, pass the course and do homework regularly, aren't independent. Check Explanation for reasons why.

Step-by-step explanation:

Let the event that a student does homework regularly be H.

The event that a student passes the course be P.

- 60% of her students do homework regularly

P(H) = 60% = 0.60

- 95% of the students who do their homework regularly generally pass the course

P(P|H) = 95% = 0.95

- She also knows that 85% of her students pass the course.

P(P) = 85% = 0.85

a) The probability that a student will do homework regularly and also pass the course = P(H n P)

The conditional probability of A occurring given that B has occurred, P(A|B), is given as

P(A|B) = P(A n B) ÷ P(B)

And we can write that

P(A n B) = P(A|B) × P(B)

Hence,

P(H n P) = P(P n H) = P(P|H) × P(H) = 0.95 × 0.60 = 0.57

b) The probability that a student will neither do homework regularly nor will pass the course = P(H' n P')

From Sets Theory,

P(H n P') + P(H' n P) + P(H n P) + P(H' n P') = 1

P(H n P) = 0.57 (from (a))

Note also that

P(H) = P(H n P') + P(H n P) (since the events P and P' are mutually exclusive)

0.60 = P(H n P') + 0.57

P(H n P') = 0.60 - 0.57

Also

P(P) = P(H' n P) + P(H n P) (since the events H and H' are mutually exclusive)

0.85 = P(H' n P) + 0.57

P(H' n P) = 0.85 - 0.57 = 0.28

So,

P(H n P') + P(H' n P) + P(H n P) + P(H' n P') = 1

Becomes

0.03 + 0.28 + 0.57 + P(H' n P') = 1

P(H' n P') = 1 - 0.03 - 0.57 - 0.28 = 0.12

c) Are the events "pass the course" and "do homework regularly" mutually exclusive? Explain.

Two events are said to be mutually exclusive if the two events cannot take place at the same time. The mathematical statement used to confirm the mutual exclusivity of two events A and B is that if A and B are mutually exclusive,

P(A n B) = 0.

But, P(H n P) has been calculated to be 0.57, P(H n P) = 0.57 ≠ 0.

Hence, the two events aren't mutually exclusive.

d. Are the events "pass the course" and "do homework regularly" independent? Explain

Two events are said to be independent of the probabilty of one occurring dowant depend on the probability of the other one occurring. It sis proven mathematically that two events A and B are independent when

P(A|B) = P(A)

P(B|A) = P(B)

P(A n B) = P(A) × P(B)

To check if the events pass the course and do homework regularly are mutually exclusive now.

P(P|H) = 0.95

P(P) = 0.85

P(H|P) = P(P n H) ÷ P(P) = 0.57 ÷ 0.85 = 0.671

P(H) = 0.60

P(H n P) = P(P n H)

P(P|H) = 0.95 ≠ 0.85 = P(P)

P(H|P) = 0.671 ≠ 0.60 = P(H)

P(P)×P(H) = 0.85 × 0.60 = 0.51 ≠ 0.57 = P(P n H)

None of the conditions is satisfied, hence, we can conclude that the two events are not independent.

Hope this Helps!!!

7 0
3 years ago
Other questions:
  • A spectator in the stands spots the team mascot on the field at an angle of depression of 46 degree. If the spectator is sitting
    8·1 answer
  • 4x + 5 = 25 what is x?
    9·2 answers
  • What is the solution to the equation<br> 1/2x+3 = 2/3+1?
    7·1 answer
  • Use the fundamental identities to fully simplify the expression
    13·2 answers
  • How to factor 8x^3-216
    11·2 answers
  • nick has 24 blue marbles and 36 green marbles. He wants to place them into bags. He wants an equal amount of each colored marble
    11·1 answer
  • -4x+8y=-256 -6y = x. how do u solve this equation by substitution.
    5·1 answer
  • Rename 5/6 and 14/15 using the least common denominator.
    12·1 answer
  • Dino has 14 coins and 2 one-dollar bills. Which describes the relationship between the coins and the dollar bills?
    9·1 answer
  • A _______has one endpoint line or ray
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!