Step 1: Collect the features. A young patient has abdominal pain, a change in bowel habit, mucus in the stool, no blood, and clear worsening with stress.
Step 2: Recognise the pattern. Abdominal pain relieved or altered by defecation, change in stool frequency or form, mucus with the stool, the absence of blood, and a strong link to stress make up the classic profile of irritable bowel syndrome, a functional disorder of gut-brain interaction.
Step 3: Note the alarm features that are absent. There is no blood in the stool, no weight loss, and no fever. The lack of these red flags argues strongly against an organic inflammatory or infective cause.
Step 4: Rule out the distractors. Ulcerative colitis causes bloody, mucoid diarrhoea with tenesmus, so the absence of blood argues against it. Crohn disease causes pain, weight loss, and often perianal disease or systemic features, not a stress-linked functional pattern. Amebiasis produces dysentery with blood and mucus, again with blood that is absent here.
The answer is option A, irritable bowel syndrome.