Introduction
  • The Turing Machine (TM) was proposed by Alan Turing (1936).
Definition
  • A Turing Machine is an abstract machine or theoretical computational model that manipulates symbols on an infinite tape according to a set of rules.
  • A Turing Machine is defined in a 7-tuple form:
        M=(Q,Σ,Γ,δ,q0,B,F)
    where, 
    Q = Finite set of states
    Σ =  Input alphabet (does not include blank symbol)
    Γ(Gamma) =  Tape alphabet (includes Σ and blank symbol B)
    δ(Delta) =  Transition function
    q₀ = Initial (start) state
    B =  Blank symbol
    F =  Set of final (accepting) states
    [ Also, δ(Delta) =  Transition function = Q×Γ→Q×Γ×{L,R} means that 
    Current State + Read Symbol → New State, Write Symbol, Move Direction ]
Characteristics
  • A Turing Machine defines the limits of algorithmic computation by manipulating symbols on an infinite tape according to a set of rules.
  • TM is more powerful than Finite Automata and Pushdown Automata, and it can simulate the logic of any modern computer.
  • Any problem that can be solved algorithmically can also be solved by a Turing Machine(=Church–Turing Thesis).
Structure/Components of a Turing Machine

There are the following components of a Turing Machine –

  • Infinite Tape
    • This structure is divided into several cells.
    • Each cell holds one symbol from Γ.
    • The tape is of infinite length and on both sides.
  • Tape Head
    • This structure reads and writes symbols on the tape.
    • The process is done by moving Left (L) or Right (R).
  • Finite Control
    • This structure contains states and transition rules.
    • This structure decides the action based on the current state and symbol.
    Types of Turing Machines
    There are the following types of common Turing Machines –
    • Deterministic Turing Machine (DTM)
      • In this TM, only one move occurs for each state and symbol.
      • It is a standard type of TM.
    • Non-Deterministic Turing Machine (NTM)
      • It has multiple possible moves.
      • It is equivalent in power to DTM.
    • Multi-Tape Turing Machine
      • It has multiple tapes and heads.
      • It is more efficient, but has the same power as a single-tape TM.
    • Universal Turing Machine (UTM)
      • This TM can simulate any other Turing Machine.
      • This is the foundation of stored-program computers.
    Working Mechanism of the Turing Machine
    • A string w is accepted by a TM if –
      • The machine enters a final (accepting) state.
    • A string is rejected by a TM if –
      • TM halts in a non-accepting state.
      • When it enters an infinite loop.
    • TM works on Recursive and Recursively Enumerable Languages as
      • On Recursive Language
        • TM halts for all inputs
        • TM accepts or rejects every string
      • On Recursively Enumerable (RE) Language
        • TM halts only for accepted strings
        • TM may loop forever for rejected strings
    • Steps of the Working Mechanism of the Turing Machine
      • Input is written on the tape.
      • Head starts at the first input symbol.
      • TM reads the symbol.
      • Applying the transition rule.
      • Writes a symbol.
      • Moves head left or right.
      • Changes state.
      • Continues until it reaches a final state or halts.
    Advantages
    • TM is the most powerful computational model.
    • The TM Model can simulate any computer.
    Limitations
    • It is only a theoretical model.
    • It is not practical to implement physically.
    • No Turing Machine can solve the halting problem for all inputs, i.e., some problems are undecidable for a TM.
    Use/Applications
    • TM is the foundation of computer science.
    • TM gives an understanding of the limits of computation.
    • The concept of TM is used in Compiler theory.
    • The concept of TM is used in Artificial intelligence theory.
    • The concept of TM is used in decidability and complexity theory.

    Loading


    0 Comments

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    This site uses Akismet to reduce spam. Learn how your comment data is processed.