×
1 Choose EITC/EITCA Certificates
2 Learn and take online exams
3 Get your IT skills certified

Confirm your IT skills and competencies under the European IT Certification framework from anywhere in the world fully online.

EITCA Academy

Digital skills attestation standard by the European IT Certification Institute aiming to support Digital Society development

LOG IN TO YOUR ACCOUNT

CREATE AN ACCOUNT FORGOT YOUR PASSWORD?

FORGOT YOUR PASSWORD?

AAH, WAIT, I REMEMBER NOW!

CREATE AN ACCOUNT

ALREADY HAVE AN ACCOUNT?
EUROPEAN INFORMATION TECHNOLOGIES CERTIFICATION ACADEMY - ATTESTING YOUR PROFESSIONAL DIGITAL SKILLS
  • SIGN UP
  • LOGIN
  • INFO

EITCA Academy

EITCA Academy

The European Information Technologies Certification Institute - EITCI ASBL

Certification Provider

EITCI Institute ASBL

Brussels, European Union

Governing European IT Certification (EITC) framework in support of the IT professionalism and Digital Society

  • CERTIFICATES
    • EITCA ACADEMIES
      • EITCA ACADEMIES CATALOGUE<
      • EITCA/CG COMPUTER GRAPHICS
      • EITCA/IS INFORMATION SECURITY
      • EITCA/BI BUSINESS INFORMATION
      • EITCA/KC KEY COMPETENCIES
      • EITCA/EG E-GOVERNMENT
      • EITCA/WD WEB DEVELOPMENT
      • EITCA/AI ARTIFICIAL INTELLIGENCE
    • EITC CERTIFICATES
      • EITC CERTIFICATES CATALOGUE<
      • COMPUTER GRAPHICS CERTIFICATES
      • WEB DESIGN CERTIFICATES
      • 3D DESIGN CERTIFICATES
      • OFFICE IT CERTIFICATES
      • BITCOIN BLOCKCHAIN CERTIFICATE
      • WORDPRESS CERTIFICATE
      • CLOUD PLATFORM CERTIFICATENEW
    • EITC CERTIFICATES
      • INTERNET CERTIFICATES
      • CRYPTOGRAPHY CERTIFICATES
      • BUSINESS IT CERTIFICATES
      • TELEWORK CERTIFICATES
      • PROGRAMMING CERTIFICATES
      • DIGITAL PORTRAIT CERTIFICATE
      • WEB DEVELOPMENT CERTIFICATES
      • DEEP LEARNING CERTIFICATESNEW
    • CERTIFICATES FOR
      • EU PUBLIC ADMINISTRATION
      • TEACHERS AND EDUCATORS
      • IT SECURITY PROFESSIONALS
      • GRAPHICS DESIGNERS & ARTISTS
      • BUSINESSMEN AND MANAGERS
      • BLOCKCHAIN DEVELOPERS
      • WEB DEVELOPERS
      • CLOUD AI EXPERTSNEW
  • FEATURED
  • SUBSIDY
  • HOW IT WORKS
  •   IT ID
  • ABOUT
  • CONTACT
  • MY ORDER
    Your current order is empty.
EITCIINSTITUTE
CERTIFIED

Explain the two equivalent definitions of the class NP and how they relate to polynomial time verifiers and non-deterministic Turing machines.

by EITCA Academy / Thursday, 03 August 2023 / Published in Cybersecurity, EITC/IS/CCTF Computational Complexity Theory Fundamentals, Complexity, Definition of NP and polynomial verifiability, Examination review

In the field of computational complexity theory, the class NP (Non-deterministic Polynomial time) is a fundamental concept that plays a important role in understanding the complexity of computational problems. There are two equivalent definitions of NP that are commonly used: the polynomial time verifier definition and the non-deterministic Turing machine definition. These definitions provide different perspectives on the class NP and help us understand its properties and relationships with other complexity classes.

The polynomial time verifier definition of NP is based on the concept of problem verification. A language L is said to be in NP if there exists a polynomial time verifier V such that for every string x in L, there exists a certificate y of polynomial length such that V accepts the pair (x, y) in polynomial time. In other words, given an instance x of the problem, there exists a short proof y that can be efficiently checked by the verifier V. The verifier V acts as a witness to the fact that x belongs to the language L.

To illustrate this definition, let's consider the problem of determining whether a given graph has a Hamiltonian cycle, which is a cycle that visits every vertex exactly once. The language associated with this problem is the set of all graphs that have a Hamiltonian cycle. A polynomial time verifier for this problem could be a deterministic Turing machine that takes as input a graph G and a permutation of its vertices, and checks whether the permutation forms a valid Hamiltonian cycle in G. If the graph has a Hamiltonian cycle, there exists a permutation that serves as a certificate, which can be efficiently verified by the verifier.

The non-deterministic Turing machine definition of NP provides a different perspective on the class. A language L is said to be in NP if there exists a non-deterministic Turing machine M that decides L in polynomial time. Non-deterministic Turing machines are theoretical models of computation that can make non-deterministic choices at each step. If there exists a non-deterministic Turing machine that can decide a language L in polynomial time, then L is said to be in NP.

Continuing with the example of the Hamiltonian cycle problem, a non-deterministic Turing machine for this problem would guess a permutation of the vertices of the graph and then verify whether it forms a Hamiltonian cycle. The machine can make non-deterministic choices at each step, exploring different possibilities in parallel. If there exists at least one accepting computation path for a given input, the machine accepts the input, indicating that the graph has a Hamiltonian cycle.

The two definitions of NP are equivalent, meaning that a language L is in NP according to one definition if and only if it is in NP according to the other definition. This equivalence can be proven by showing that any non-deterministic Turing machine can be simulated by a polynomial time verifier, and vice versa.

The relationship between NP and other complexity classes is also important to understand. NP is known to be a subset of the class PSPACE, which consists of problems that can be solved using polynomial space on a deterministic Turing machine. It is an open question whether NP is equal to PSPACE or if they are distinct classes.

The class NP can be defined in two equivalent ways: the polynomial time verifier definition and the non-deterministic Turing machine definition. The polynomial time verifier definition emphasizes problem verification, while the non-deterministic Turing machine definition focuses on non-deterministic computation. Both definitions provide valuable insights into the complexity of computational problems and their relationships with other complexity classes.

Other recent questions and answers regarding Complexity:

  • Is PSPACE class not equal to the EXPSPACE class?
  • Is P complexity class a subset of PSPACE class?
  • Can we can prove that Np and P class are the same by finding an efficient polynomial solution for any NP complete problem on a deterministic TM?
  • Can the NP class be equal to the EXPTIME class?
  • Are there problems in PSPACE for which there is no known NP algorithm?
  • Can a SAT problem be an NP complete problem?
  • Can a problem be in NP complexity class if there is a non deterministic turing machine that will solve it in polynomial time
  • NP is the class of languages that have polynomial time verifiers
  • Are P and NP actually the same complexity class?
  • Is every context free language in the P complexity class?

View more questions and answers in Complexity

More questions and answers:

  • Field: Cybersecurity
  • Programme: EITC/IS/CCTF Computational Complexity Theory Fundamentals (go to the certification programme)
  • Lesson: Complexity (go to related lesson)
  • Topic: Definition of NP and polynomial verifiability (go to related topic)
  • Examination review
Tagged under: Complexity Classes, Computational Complexity Theory, Cybersecurity, Non-deterministic Turing Machine, NP, Polynomial Time Verifier
Home » Complexity / Cybersecurity / Definition of NP and polynomial verifiability / EITC/IS/CCTF Computational Complexity Theory Fundamentals / Examination review » Explain the two equivalent definitions of the class NP and how they relate to polynomial time verifiers and non-deterministic Turing machines.

Certification Center

USER MENU

  • My Account

CERTIFICATE CATEGORY

  • EITC Certification (105)
  • EITCA Certification (9)

What are you looking for?

  • Introduction
  • How it works?
  • EITCA Academies
  • EITCI DSJC Subsidy
  • Full EITC catalogue
  • Your order
  • Featured
  •   IT ID
  • EITCA reviews (Medium publ.)
  • About
  • Contact

EITCA Academy is a part of the European IT Certification framework

The European IT Certification framework has been established in 2008 as a Europe based and vendor independent standard in widely accessible online certification of digital skills and competencies in many areas of professional digital specializations. The EITC framework is governed by the European IT Certification Institute (EITCI), a non-profit certification authority supporting information society growth and bridging the digital skills gap in the EU.

Eligibility for EITCA Academy 80% EITCI DSJC Subsidy support

80% of EITCA Academy fees subsidized in enrolment by

    EITCA Academy Secretary Office

    European IT Certification Institute ASBL
    Brussels, Belgium, European Union

    EITC / EITCA Certification Framework Operator
    Governing European IT Certification Standard
    Access contact form or call +32 25887351

    Follow EITCI on X
    Visit EITCA Academy on Facebook
    Engage with EITCA Academy on LinkedIn
    Check out EITCI and EITCA videos on YouTube

    Funded by the European Union

    Funded by the European Regional Development Fund (ERDF) and the European Social Fund (ESF) in series of projects since 2007, currently governed by the European IT Certification Institute (EITCI) since 2008

    Information Security Policy | DSRRM and GDPR Policy | Data Protection Policy | Record of Processing Activities | HSE Policy | Anti-Corruption Policy | Modern Slavery Policy

    Automatically translate to your language

    Terms and Conditions | Privacy Policy
    EITCA Academy
    • EITCA Academy on social media
    EITCA Academy


    © 2008-2025  European IT Certification Institute
    Brussels, Belgium, European Union

    TOP
    Chat with Support
    Chat with Support
    Questions, doubts, issues? We are here to help you!
    End chat
    Connecting...
    Do you have any questions?
    Do you have any questions?
    :
    :
    :
    Send
    Do you have any questions?
    :
    :
    Start Chat
    The chat session has ended. Thank you!
    Please rate the support you've received.
    Good Bad