JEE Main 2018. Previous Year Question.
Problem
Two sets $A$ and $B$ are as under: $A = \{(a,b)\in\mathbb{R}\times\mathbb{R} : |a-5|<1 \text{ and } |b-5|<1\}$; $B = \{(a,b)\in\mathbb{R}\times\mathbb{R} : 4(a-6)^2+9(b-5)^2\leq36\}$. Then:
Key insight. $A$ is an open square, and $B$ is a filled ellipse — a convex region. For a convex region, checking whether it contains a rectangle only requires checking the rectangle’s four corners: if every corner satisfies the defining inequality, every point inside does too, since the whole rectangle is a combination of its corners.
Watch this explained step by step → · More on the Shiwam’s Classes channel
Approach
Rewrite set $A$’s defining inequalities as a range for $a$ and $b$, identifying it as an open square. Rewrite set $B$’s inequality in standard ellipse form to identify its centre and axis lengths. Check whether all four corners of the square satisfy $B$’s inequality — since $B$ is convex, this confirms the entire square lies inside it.
Solution
Step 1 — Rewrite set A as a square
$$|a-5|<1 \implies 4<a<6, \qquad |b-5|<1 \implies 4<b<6$$
So $A$ is the open square with corners at $(4,4)$, $(4,6)$, $(6,4)$, $(6,6)$.
Step 2 — Rewrite set B in standard ellipse form
$$4(a-6)^2+9(b-5)^2\leq36 \implies \frac{(a-6)^2}{9}+\frac{(b-5)^2}{4}\leq1$$
This is a filled ellipse centred at $(6,5)$, with semi-axis $3$ in the $a$-direction and semi-axis $2$ in the $b$-direction.
Step 3 — Check each corner of the square against B’s inequality
At $(4,4)$: $\dfrac{(4-6)^2}{9}+\dfrac{(4-5)^2}{4} = \dfrac{4}{9}+\dfrac{1}{4} = \dfrac{16}{36}+\dfrac{9}{36}=\dfrac{25}{36}<1$ ✓
At $(4,6)$: $\dfrac{(4-6)^2}{9}+\dfrac{(6-5)^2}{4} = \dfrac{4}{9}+\dfrac{1}{4} = \dfrac{25}{36}<1$ ✓
At $(6,4)$: $\dfrac{(6-6)^2}{9}+\dfrac{(4-5)^2}{4} = 0+\dfrac{1}{4}<1$ ✓
At $(6,6)$: $\dfrac{(6-6)^2}{9}+\dfrac{(6-5)^2}{4} = 0+\dfrac{1}{4}<1$ ✓
Step 4 — Use convexity to conclude for the whole square
Since $B$’s defining region is convex (an ellipse’s interior), and its defining expression achieves its maximum over a rectangle at one of the rectangle’s corners, all four corners satisfying the inequality strictly means every point of the (closed) square also satisfies it strictly. So the entire square $A$ lies inside $B$.
Step 5 — Conclude the subset relation
$$A \subset B$$
(This is strict containment, since $B$ contains many points, such as points near its own boundary, that lie outside the square $A$.)
Answer
$A \subset B$
Common mistakes
- Trying to check infinitely many points of the square individually. Since $B$’s region is convex, checking only the four corners is sufficient — there’s no need to test interior points or the edges separately.
- Confusing which set is the square and which is the ellipse. $A$’s defining condition (two absolute value inequalities) describes a square; $B$’s condition (a sum of squared terms $\leq$ a constant) describes an ellipse — mixing these up would reverse the entire analysis.
Practise next
- Let $P = \{(x,y): |x-3|<2, |y-4|<2\}$ and $Q = \{(x,y): (x-4)^2/16+(y-4)^2/9\leq1\}$. Determine the relationship between $P$ and $Q$, using the same corner-checking method.
Show answer
Neither contains the other — they overlap.
$P$ is the open square $1<x<5$, $2<y<6$; $Q$ is the closed elliptical disc centred $(4,4)$ with semi-axes $4$ and $3$.
$Q\not\subset P$ is immediate: $Q$ reaches $x=0$ and $x=8$, well outside the square. For the other direction, test near the corner $(1,2)$: there $\dfrac{9}{16}+\dfrac49=\dfrac{145}{144}>1$. The corner itself is not in $P$ (the inequalities are strict), but points of $P$ arbitrarily close to it are — $(1.001,2.001)$ gives $1.0061>1$, so it lies in $P$ but outside $Q$.
Checking only the corner would have been too quick; because $P$ is open, the corner test has to be turned into a nearby-interior-point test.

Doubts are answered by Shiwam, usually within a day. Ask about this question specifically — a general question about the chapter is better asked in class.