10 Min Read • Study Chapter

Unit 2: Problem Solving by Search — Uninformed & Informed Search Strategies

Formal state-space formulation, completeness & optimality proofs, BFS/DFS/UCS comparisons, and printable PDF notes

Artificial Intelligence begins with the formulation of intelligent agents capable of navigating complex problem spaces toward optimal goals. In the SPPU autonomous course Basics of Artificial Intelligence (ADPC201), Unit 2 covers state-space representations and search algorithms. This chapter covers the 5-tuple formal problem formulation, contrasts uninformed versus informed search strategies, evaluates time and space complexities, and gives you the exact answer templates required for full marks in autonomous examinations.

1. The 5-Tuple Problem Formulation

In classical AI, any goal-directed problem is formally defined by five components:

  • 1. Initial State: The starting condition of the agent (e.g., \(In(Arad)\) in the Romania routing problem).
  • 2. Actions: Given a state \(s\), \(ACTIONS(s)\) returns the set of legal actions executable from that state.
  • 3. Transition Model: A formal function \(RESULT(s, a)\) returning the successor state after performing action \(a\) in state \(s\).
  • 4. Goal Test: A boolean predicate testing whether a candidate state satisfies the goal condition.
  • 5. Path Cost: A function \(c(s, a, s')\) assigning an additive numeric cost to step transitions, typically denoted \(g(n)\).

2. Uninformed Search Strategies Comparison

Uninformed (blind) search algorithms have no domain knowledge regarding how close a given state is to the objective, relying purely on the structural topology of the state-space tree.

📊 Algorithmic Performance Matrix (Branching factor \(b\), Depth \(d\), Max depth \(m\))

  • Breadth-First Search (BFS): Expands the shallowest unexpanded node using a FIFO queue. Time: \(O(b^d)\), Space: \(O(b^d)\). Complete and Optimal (if step costs are identical). Major limitation: exponential memory footprint.
  • Depth-First Search (DFS): Expands the deepest unexpanded node using a LIFO stack. Time: \(O(b^m)\), Space: \(O(bm)\). Linear memory is its greatest advantage, but it is neither complete nor optimal in infinite state spaces.
  • Uniform-Cost Search (Dijkstra): Expands node with minimum path cost \(g(n)\) using a priority queue. Complete and optimal for strictly positive step costs (\(\epsilon > 0\)). Time & Space: \(O(b^{1 + \lfloor C^* / \epsilon \rfloor})\).
  • Iterative Deepening Search (IDS): Combines BFS's optimality and completeness with DFS's minimal \(O(bd)\) space complexity by executing depth-limited searches with progressively increasing depth limits.

3. Informed (Heuristic) Search & The A* Algorithm

Informed search uses domain-specific knowledge via a heuristic function \(h(n)\) that estimates the cheapest path cost from node \(n\) to a goal state.

A* Search evaluates nodes using \(f(n) = g(n) + h(n)\). For tree search, A* is optimal if \(h(n)\) is admissible (never overestimates). For graph search, A* is optimal if \(h(n)\) is consistent (monotonic): \(h(n) \le c(n, a, n') + h(n')\).

📥 Printable Chapter Reference (PDF Supplement)

Download our verified handwritten notes for AI Unit 2, including solved 8-puzzle traces, water jug state spaces, and mission-critical exam keys:

Basics of AI: Unit 2 State-Space Search & A* Notes (PDF) Handwritten diagrams • Uninformed vs informed traces • Romania map problem & ETE questions
Download Printable PDF ↗

🔗 Related AI & Algorithm Resources