Mathematical-Reasoning · Unit 26 · Video 2 · Interactive Practice

Relations Defined: Any Subset of A × B, Domain and Range

IKey Formulas

TermDefinition
Relation from AA to BBany subset R⊆A×BR \subseteq A \times B, including ∅\emptyset and A×BA \times B itself
Relation on AAa relation from AA to AA, so R⊆A×AR \subseteq A \times A
Domaindom⁡(R)={u∈A∣(u,y)∈R for at least one y∈B}\operatorname{dom}(R) = \{ u \in A \mid (u, y) \in R \text{ for at least one } y \in B \}
Rangerange⁡(R)={v∈B∣(x,v)∈R for at least one x∈A}\operatorname{range}(R) = \{ v \in B \mid (x, v) \in R \text{ for at least one } x \in A \}

Key Insight: No rule is needed behind the pairs, and one element may have many partners: congruence modulo 33 relates 55 to 55, 22 and −1-1 at once, which no function could do.

IIEvery Subset of A×BA \times B Is a Relation

Each cell of A×BA \times B is one ordered pair; the domain and range are the rows and columns that contain a chosen pair.

IIIOne Integer, Many Partners

Under congruence modulo 33, an integer xx is related to every yy with 3∣(x−y)3 \mid (x - y), not to just one.

IVQuiz Questions

Problem 1 · Domain and Range of a Finite Relation

Given: A={1,2,3}A = \{1, 2, 3\}, B={p,q,r}B = \{p, q, r\} and the relation R={(1,p),(1,q),(3,q)}R = \{ (1, p), (1, q), (3, q) \} from AA to BB. Find dom⁡(R)\operatorname{dom}(R) and range⁡(R)\operatorname{range}(R).

dom⁡(R)\operatorname{dom}(R)

range⁡(R)\operatorname{range}(R)

✅ Correct! The first coordinates are 1,1,31, 1, 3 and the second coordinates are p,q,qp, q, q; listed once each, dom⁡(R)={1,3}\operatorname{dom}(R) = \{1, 3\} and range⁡(R)={p,q}\operatorname{range}(R) = \{p, q\}.
❌ Not quite. 22 is not the first coordinate of any pair in RR, so 2∉dom⁡(R)2 \notin \operatorname{dom}(R). The domain is a subset of AA, not always all of AA.
❌ Not quite. That is a set of second coordinates. The domain collects the first coordinates.
❌ Not quite. 11 has two partners, pp and qq. Several partners do not keep it out of the domain; one is enough to put it in.
❌ Not quite. List the first coordinate of each pair in RR.
❌ Not quite. No pair in RR has second coordinate rr, so r∉range⁡(R)r \notin \operatorname{range}(R).
❌ Not quite. (1,p)∈R(1, p) \in R, so pp is a second coordinate too.
❌ Not quite. That is the domain. The range is a subset of BB.
❌ Not quite. List the second coordinate of each pair in RR.
Show solution

dom⁡(R)\operatorname{dom}(R) is the set of u∈Au \in A that occur as the first coordinate of at least one pair in RR. The pairs (1,p)(1, p), (1,q)(1, q) and (3,q)(3, q) have first coordinates 11 and 33, so dom⁡(R)={1,3}\operatorname{dom}(R) = \{1, 3\}; no pair starts with 22.

range⁡(R)\operatorname{range}(R) is the set of v∈Bv \in B that occur as a second coordinate: pp and qq. So range⁡(R)={p,q}\operatorname{range}(R) = \{p, q\}; no pair ends with rr.

Problem 2 · Fixing the Second Coordinate on a Circle

Given: T={(x,y)∈R×R∣x2+y2=64}T = \{ (x, y) \in \mathbb{R} \times \mathbb{R} \mid x^2 + y^2 = 64 \}. Find {x∈R∣(x,4)∈T}\{ x \in \mathbb{R} \mid (x, 4) \in T \}.

✅ Correct! x2+16=64x^2 + 16 = 64 gives x2=48x^2 = 48, so x=±48=±43x = \pm\sqrt{48} = \pm 4\sqrt{3}.
❌ Close, but… (−43)2=48(-4\sqrt{3})^2 = 48 as well, so (−43,4)∈T(-4\sqrt{3}, 4) \in T too. The number 44 is the second coordinate of two pairs.
❌ Not quite. 454\sqrt{5} squares to 80=64+1680 = 64 + 16. Substituting y=4y = 4 gives x2=64−16x^2 = 64 - 16, not 64+1664 + 16.
❌ Not quite. 64−16=48≥064 - 16 = 48 \ge 0, so real solutions exist. The set is empty for y=9y = 9, where x2=−17x^2 = -17.
❌ Not quite. Substitute y=4y = 4 and solve for xx.
Show solution

Substitute y=4y = 4: x2+16=64x^2 + 16 = 64, so x2=48x^2 = 48. Since 48=16⋅348 = 16 \cdot 3,

x=±48=±43.x = \pm\sqrt{48} = \pm 4\sqrt{3}.

So {x∈R∣(x,4)∈T}={−43,43}\{ x \in \mathbb{R} \mid (x, 4) \in T \} = \{-4\sqrt{3}, 4\sqrt{3}\}, and in particular 4∈range⁡(T)4 \in \operatorname{range}(T).

Problem 3 · A Sideways Parabola

Given: the relation P={(x,y)∈R×R∣x=y2}P = \{ (x, y) \in \mathbb{R} \times \mathbb{R} \mid x = y^2 \} on R\mathbb{R}. Find dom⁡(P)\operatorname{dom}(P) and range⁡(P)\operatorname{range}(P).

dom⁡(P)\operatorname{dom}(P)

range⁡(P)\operatorname{range}(P)

✅ Correct! Every real yy is the second coordinate of (y2,y)(y^2, y), so the range is R\mathbb{R}; a real yy with y2=xy^2 = x exists exactly when x≥0x \ge 0, so the domain is [0,∞)[0, \infty).
❌ Not quite. For x=−1x = -1 we would need y2=−1y^2 = -1, so −1∉dom⁡(P)-1 \notin \operatorname{dom}(P).
❌ Close, but… (0,0)∈P(0, 0) \in P, since 0=020 = 0^2, so 0∈dom⁡(P)0 \in \operatorname{dom}(P).
❌ Not quite. For which xx does y2=xy^2 = x have a real solution?
❌ Not quite. Here yy is not a square; xx is. (4,−2)∈P(4, -2) \in P, so −2∈range⁡(P)-2 \in \operatorname{range}(P).
❌ Not quite. (4,−2)∈P(4, -2) \in P and (0,0)∈P(0, 0) \in P, so −2-2 and 00 are both in the range.
❌ Not quite. For a given yy, is there an xx with x=y2x = y^2?
Show solution

Domain. A real xx is in dom⁡(P)\operatorname{dom}(P) when some real yy has y2=xy^2 = x. If x≥0x \ge 0, then y=xy = \sqrt{x} works. If x<0x \lt 0, no real yy works, because y2≥0y^2 \ge 0. So dom⁡(P)=[0,∞)\operatorname{dom}(P) = [0, \infty).

Range. For every real yy, the pair (y2,y)(y^2, y) satisfies x=y2x = y^2, so y∈range⁡(P)y \in \operatorname{range}(P). So range⁡(P)=R\operatorname{range}(P) = \mathbb{R}.

The roles are the reverse of the parabola y=x2y = x^2: the squared coordinate is restricted, the other is free.

Problem 4 · Counting Relations

Given: A={1,2}A = \{1, 2\} and B={p,q,r}B = \{p, q, r\}. How many different relations from AA to BB are there?

✅ Correct! A relation from AA to BB is any subset of A×BA \times B, which has 2⋅3=62 \cdot 3 = 6 elements, so there are 26=642^6 = 64 relations.
❌ Not quite. 66 is the number of ordered pairs in A×BA \times B. A relation is a set of such pairs, so count the subsets of A×BA \times B.
❌ Not quite. 32=93^2 = 9 counts the functions from AA to BB (each of the 22 inputs has 33 choices of output). A relation needs no such rule: any subset of A×BA \times B counts.
❌ Not quite. 23=82^3 = 8 is the number of subsets of BB. The relations are the subsets of A×BA \times B.
❌ Not quite. Count the subsets of A×BA \times B.
Show solution

By definition, a relation from AA to BB is a subset of A×BA \times B, and every subset qualifies, including ∅\emptyset and A×BA \times B itself. So the relations from AA to BB are exactly the elements of P(A×B)\mathcal{P}(A \times B).

A×B={(1,p),(1,q),(1,r),(2,p),(2,q),(2,r)}A \times B = \{ (1, p), (1, q), (1, r), (2, p), (2, q), (2, r) \} has 66 elements, and a set with 66 elements has 26=642^6 = 64 subsets. So there are 6464 relations from AA to BB.

Solved: 0 / 4