A problem in AI is a task or situation where a computer or machine needs to think, decide, or learn in order to solve something intelligently
A problem in AI is defined by: Inputs, a goal, and a way to reach that goal using logic, rules, or learning.
Example:
AI problem components:
Real-life examples:
Problem Type | Description | Example |
---|---|---|
Search problem | Find the best solution from many options . | GPS finding the shortest route |
Planning problems | Decide steps to reach a goal. | Robot making tea |
Classification | Group data into categories. | Spam or Not Spam emails |
Prediction | Guess future results from past data. | Weather forecasting |
Decision making | Pick the best option from choices. | Chess AI choosing next move |
Perception | Understand inputs like images, sounds. | Face recognition, self-driving |
Learning problems | Learn from past experience to improve. | Machine learning model training |
In Artificial Intelligence, before solving a problem, we need to clearly define it — just like we need to understand the rules before playing a game
We define:
Example-1: Taxi Booking App (AI finding the best route)
Example-2: Cooking Assistant AI
Example-3: Washing Clothes with AI Washing Machine
Informed | Uninformed |
---|---|
Search with extra information | Search without an information |
Uses knowledge to guide steps | No prior knowledge |
Finds solution quickly | Slower & time-consuming |
Less complex (Time + Space) | More complex (Time + Space) |
Uses: DFS and BFS | Uses A* , Heuristic DFS, |
Given a list of cities and the distances between each pair, what is the shortest possible route that:
Example: A salesman needs to visit 5 cities: Surat → Mumbai → Pune → Nashik → Ahmedabad
Goal:
Uninformed Search (Brute Force):
(n − 1)!
(5 − 1)! = 24
possible pathsInformed Search (Heuristics):
Made By SOU Student for SOU Students