Vertex Cover is NP-Complete + Example

  Рет қаралды 28,465

Easy Theory

Easy Theory

Күн бұрын

Here we give a polynomial-time reduction from 3SAT to Vertex Cover, and show that VC is in NP, thereby showing that it is NP-complete.
If you like this content, please consider subscribing to my channel: / @easytheory
▶ABOUT ME◀
I am a professor of Computer Science, and am passionate about CS theory. I have taught many courses at several different universities, including several sections of undergraduate and graduate theory-level classes.

Пікірлер: 21
@taha7shaikh
@taha7shaikh Ай бұрын
Thank you so much man! This is the only good explanation out there
@path_selector
@path_selector 3 жыл бұрын
i’m in graph theory and theory of computation this semester so ur kinda pushing the two together in this video lol, although we don’t really talk about NP complete
@ignaciomartinchiaravalle
@ignaciomartinchiaravalle 2 жыл бұрын
Thank you so much!!!! This was really helpful!!!
@springworks0068
@springworks0068 2 жыл бұрын
Thank you this explanation was a life saver 😪🙏
@samarthtandale9121
@samarthtandale9121 10 ай бұрын
Sir, if the vertex cover (optimization) problem is np complete, then there must exist an algorithm that can verify that the given solution is valid and minimum in polynomizal time. is it possible? I'm rally confused because some sources say that it is np complete and others say that it is np hard, which one is it?
@christophertralie9311
@christophertralie9311 10 ай бұрын
So actually NP complete means *both* NP hard (any problem in NP can be reduced to it in polynomial time) *and* in NP (meaning it can be verified in polynomial time, as you say). So you are right to say it's NP hard, but a more precise statement is that it's NP complete, since it's also in NP
@naomialidinata4099
@naomialidinata4099 2 жыл бұрын
thank u so much!
@terracottapie6872
@terracottapie6872 Жыл бұрын
Thank you for the video :)
@ivanbliznets701
@ivanbliznets701 9 ай бұрын
Can you, please, tell me were the proof is written? I want to cite it. I need exactly this proof, previously I saw different reductions and they do not work for my needs.
@brendawilliams8062
@brendawilliams8062 Ай бұрын
1.1 is in a 1007438183 using 32
@josemanuelgil9618
@josemanuelgil9618 Жыл бұрын
Im in a CS theory course, and find this topic non intuitive, I mean its not obvious how to come up with this gadget, basically you have to learn it by heart, and after that you can refer to this kind of reduction in other cases.
@mohitbhalla5864
@mohitbhalla5864 2 жыл бұрын
hey thanks for your effort hope you have wonderful life
@Someguy8231
@Someguy8231 2 жыл бұрын
Vertices allowed = 2c + l is unclear to me. Why is this the limit?
@anshuhimanshusuthar5614
@anshuhimanshusuthar5614 2 жыл бұрын
++
@terracottapie6872
@terracottapie6872 Жыл бұрын
Because this value of the limit allows us to make a correct reduction from the 3SAT problem. If we set k lower than 2c+l, then for not every satisfiable formula the corresponding graph would have a vertex cover of size
@nexushare8105
@nexushare8105 10 ай бұрын
hmmmm,,,,, so if X1 represent a vertex, then what does X1 bar represent? is it a negration of a vertex? does it make sense? if X1 BAR is a sepereate vertex, then why do we select that vertex as negation of x1? and in this case , is it safe to assume that a vertex has no more than three edges?
@a2g108
@a2g108 7 ай бұрын
X1' or X1 Bar is a negation of X1
@zacharysmith4508
@zacharysmith4508 3 жыл бұрын
Semi-related to this, do you plan on doing anything in computability theory too?
@EasyTheory
@EasyTheory 3 жыл бұрын
I didn't see this until just now! Yes, eventually. I want to do some Kolmogorov complexity, as well as some decidability of theories and such.
@zacharysmith4508
@zacharysmith4508 3 жыл бұрын
@@EasyTheory That would be awesome! Especially Kolmogorov complexity as I find that to be one of the most interesting areas of CS/information theory.
@hervediedie
@hervediedie 8 ай бұрын
far-fetched explanation
Busy Beaver Numbers are Undecidable
15:13
Easy Theory
Рет қаралды 3,2 М.
What P vs NP is actually about
17:58
Polylog
Рет қаралды 112 М.
НИКИТА ПОДСТАВИЛ ДЖОНИ 😡
01:00
HOOOTDOGS
Рет қаралды 1,9 МЛН
버블티로 부자 구별하는법4
00:11
진영민yeongmin
Рет қаралды 20 МЛН
Hamiltonian Path is NP-Complete (Directed, Reduction from 3SAT)
22:46
Cook-Levin Theorem: Full Proof (SAT is NP-complete)
31:30
Easy Theory
Рет қаралды 18 М.
NP-Complete Reductions:  Clique, Independent Set, Vertex Cover, and Dominating Set
13:23
8. NP-Hard and NP-Complete Problems
31:53
Abdul Bari
Рет қаралды 1,9 МЛН
R10 Q3: Vertex Cover to Independent Set Reduction
11:53
Parmita Bawankule
Рет қаралды 6 М.
Why π^π^π^π could be an integer (for all we know!).
15:21
Stand-up Maths
Рет қаралды 3,4 МЛН
Verifiers and Certificates
9:37
Easy Theory
Рет қаралды 6 М.
The Boundary of Computation
12:59
Mutual Information
Рет қаралды 1 МЛН
How to Make "Trick Dice" That Are Actually Fair
18:05
PurpleMind
Рет қаралды 52 М.
НИКИТА ПОДСТАВИЛ ДЖОНИ 😡
01:00
HOOOTDOGS
Рет қаралды 1,9 МЛН