Related Concepts: 5.01 Sequential Logic Fundamentals, Latches & Flip-Flops (SR & JK) | 5.04 Synchronous Sequential Circuit Analysis & Synthesis | 5.03 Flip-Flop Conversions & Functional Transformation Mechanics

5.05 State Reduction Algorithms & Output Sequence Analysis

Six appearances — 2016, 2018, 2022, 2023, 2024, 2025

Worth 10 to 15 marks, and the same 7-state table is used every time. But read the verb carefully — the question changed in 2022:

  • 2016, 2018: “Reduce the number of states… and tabulate the reduced state table.” → reduction only
  • 2022, 2023, 2025: “Design a sequential circuit that represents the reduced form of the following state table.” → reduction is only step 1 of 5; you must go on to state assignment, excitation table, K-maps and the circuit
  • 2024: “…minimum number of states. For an input sequence 01110010011, compare the output sequences with the given table and the resultant table.” → reduction plus output tracking on both tables

Stopping at the reduced table when the paper says “design” is the single biggest mark-loser in this topic.

Overview In sequential circuit design, initial state diagrams derived from verbal specifications often contain redundant states. State Reduction is a systematic optimization algorithm that eliminates equivalent states without altering the input-output behavior. Reducing the total number of states decreases the required number of flip-flops (N = ⌈log₂ M⌉), significantly reducing hardware complexity and cost.

1. Concept of State Equivalence

Exam Problem (PYQ 2015, 2016, 2018 — 05 marks)

Question (verbatim): Write down the state reduction algorithm.

A short 5-mark bookwork question — give the definition of equivalence below plus the five algorithm steps in §2, and note that the process iterates until a full pass finds no new pairs.

Definition of Equivalent States Two states Si and Sj in a sequential circuit are defined as equivalent (Si ≡ Sj) if and only if for every possible input sequence applied to the circuit:

  1. They produce identical output sequences.
  2. They transition to identical or equivalent next states.

2. The Row-Elimination State Reduction Algorithm

• Step 1: Inspect State Table for rows with identical Next States and Outputs • Step 2: Identify Equivalent Pair (Si = Sj) • Step 3: Remove Row Sj from State Table • Step 4: Replace all occurrences of Sj with Si throughout the table • Step 5: Final Reduced State Table Complete

3. Master Worked Example: 7-State Table Reduction

3.1 Unreduced Initial State Table

Present StateNext State (x=0)Next State (x=1)Output (x=0)Output (x=1)
aab00
bcd00
cad00
def01
eaf01
fgf01
gaf01

3.2 Step-by-Step Reduction Execution

Reduction is iterative — one pass is never enough

Eliminating a row changes the next-state entries of other rows, which can create new equivalent pairs that did not exist before. You must re-scan the table after every substitution and keep going until a full pass finds nothing. This example needs two passes.

Pass 1 — states e and g

NS(x=0)NS(x=1)Out(x=0)Out(x=1)
eaf01
gaf01

All four entries match . Delete row g and replace every g elsewhere with e.

The only other occurrence of g is in row f, whose was g. The table now reads:

PSNS(x=0)NS(x=1)Out(x=0)Out(x=1)
aab00
bcd00
cad00
def01
eaf01
fef01

Pass 2 — states d and f (this pair only became equivalent because of Pass 1)

NS(x=0)NS(x=1)Out(x=0)Out(x=1)
def01
fef01

All four match . Delete row f and replace every f with d.

Pass 3 — no further pairs. Checking the survivors: vs differ in ( vs ), and because ‘s outputs while ‘s outputs . Similarly . The table is minimal.

3.3 Final Reduced State Table

Present StateNext State (x=0)Next State (x=1)Output (x=0)Output (x=1)
aab00
bcd00
cad00
ded01
ead01

Hardware Optimization Result

Seven states became five: flip-flops before, flip-flops after.

Be honest about the saving — the examiner may probe it

The flip-flop count does not change here. Both 7 and 5 states need 3 flip-flops. What reduction does buy is simpler combinational logic: fewer used states means more unused states, which become don’t cares in the excitation K-maps, producing a smaller gate network. Claiming a flip-flop saving that did not occur is worse than stating the real benefit.

Reduction only cuts flip-flops when it crosses a power-of-two boundary — e.g. 5 states down to 4 would save one.

4. Output Sequence Tracking Analysis

Worked Exam Problem (PYQ 2016 — 15 marks; 2024 — 13 marks)

Question (verbatim, 2016): Reduce the number of states in the following state table and tabulate the reduced state table. Starting from state a of the reduced state table, find the output sequence generated with an input sequence of 01110010011.

(2024 goes further: “compare the output sequences with the given table and the resultant table” — you must trace the sequence through both the original and reduced tables and show they match. That equivalence is the whole point of reduction.)

Trace step by step through the reduced table, starting at a:

StepInput Present stateNext stateOutput
10aa0
21ab0
31bd0
41dd1
50de0
60ea0
71ab0
80bc0
90ca0
101ab0
111bd0

Input: 0 1 1 1 0 0 1 0 0 1 1 States: a a b d d e a b c a b → d Output: 0 0 0 1 0 0 0 0 0 0 0

Reading the output at the right moment

This is a Mealy machine — the output depends on the present state and the current input, so the output for each step is read before the transition, from the row of the present state. Reading it from the next state instead shifts the whole answer by one position, which is the standard way this question goes wrong.

For the 2024 version, repeat the trace on the original 7-state table; you will get the identical output string, which is the proof that the reduction preserved behaviour.


4A. Completing the “Design” — Steps 2 to 5

Required by the 2022, 2023 and 2025 wording

Those papers say “Design a sequential circuit that represents the reduced form of the following state table” (13, 12 and 10 marks). The reduced table is only the first of five steps.

Step 2 — State assignment. Assign binary codes to the five surviving states using three flip-flops:

State
a000
b001
c010
d011
e100

The three unused codes (101, 110, 111) become don’t cares in every K-map — this is where the real hardware saving comes from.

Step 3 — Excitation table. Expand the reduced state table into binary, then add the flip-flop input columns using the excitation table of your chosen device (see 5.01 Sequential Logic Fundamentals, Latches & Flip-Flops (SR & JK) for the JK and T excitation tables). For JK flip-flops each state bit needs a and a column, so a 3-flip-flop design yields six input columns plus the output.

Step 4 — K-maps. Plot one map per flip-flop input over the variables , marking the three unused state codes as don’t cares. Minimise each.

Step 5 — Draw the circuit. Three flip-flops, the minimised input logic, and the output gate.

Marks allocation on the "design" version

Roughly: reduction 4 marks, state assignment 1, excitation table 3, K-maps 3, circuit 2. The reduction alone is under a third of the marks — which is why stopping there is so costly. If time is short, do the reduction, state the assignment, and lay out the excitation table; those three steps bank most of the credit.

5. State Assignment Rules & Methods

Assignment MethodDescriptionCode for 4 States (S₀…S₃)Advantage
Binary AssignmentStandard sequential binary numbers.00, 01, 10, 11Minimum number of flip-flops used.
Gray Code AssignmentAdjacent states differ in only 1 bit position.00, 01, 11, 10Reduces switching noise and glitches.
One-Hot AssignmentDedicated flip-flop for each state.0001, 0010, 0100, 1000Simplifies combinational logic (no decoders).

6. Past Year Questions (PYQs)

PYQ Index for this note

Question (as asked)YearsMarksSolved in
Write down the state reduction algorithm2015, 2016, 20185§1, §2
Reduce the number of states in the following state table and tabulate the reduced state table201810§3
Reduce the states, then from state a find the output sequence for input 01110010011201615§3, §4
Design a sequential circuit that represents the reduced form of the following state table2022 (13), 2023 (12), 2025 (10)10–13§3, §4A
Design a sequential circuit with the minimum number of states; for input 01110010011 compare the output sequences of the given and resultant tables202413§3, §4, §4A

Pattern to notice: six appearances in ten years, always the same 7-state table and — when an input sequence is given — always the same string 01110010011. This is among the most predictable questions in the paper.

The wording shift is what matters: up to 2018 the question stopped at the reduced table; from 2022 it says “design a sequential circuit”, which triples the work. Check the verb before you start and budget time for state assignment, excitation table, K-maps and schematic.