Chapter 2 practice
Practice: Relations and Functions
A question bank of 50 exam-style questions on this chapter only: 20 one-mark, 12 two-mark, 10 three-mark, 8 four-mark. Every question is followed by its answer and a full explanation. Use the buttons to list only the questions of one mark value.
Sources are shown on each question. "NCERT Exemplar" questions are adapted from NCERT's official Exemplar Problems. "Board pattern" questions follow standard CBSE exam questions on the same skills. "Written for this site" questions cover this chapter's own topics. Every answer has been worked out and checked.
If (x + 2, 4) = (5, 2x + y), then (x, y) is
Answer
The plan: Equate the pairs place by place.
- x + 2 = 5 gives x = 3.
- 4 = 2x + y = 6 + y gives y = −2.
(a) (3, −2).
Why the other options tempt:
- (b) has the wrong sign for y.
- (c) copies the numbers of the right-hand pair.
- (d) swaps the signs.
If n(A) = 3 and n(B) = 4, then n(A × B × A) is
Answer
The plan: Multiply the sizes of the three sets.
- n(A × B × A) = 3 × 4 × 3 = 36.
(c) 36.
Why the other options tempt:
- (a) 10 adds the sizes instead of multiplying.
- (b) 24 forgets the third set.
- (d) 48 uses 4 twice.
If A = {1, 2} and B = {3}, then A × B is
Answer
The plan: Pair each element of A with the element of B.
- The pairs are (1, 3) and (2, 3).
(a) {(1, 3), (2, 3)}.
Why the other options tempt:
- (b) is B × A, with the order reversed.
- (c) is A ∪ B, a set of numbers, not of pairs.
- (d) pairs the wrong elements.
The number of relations from A = {a, b} to B = {1, 2, 3} is
Answer
The plan: A relation is any subset of A × B.
- n(A × B) = 2 × 3 = 6, so there are 2⁶ = 64 subsets.
(d) 64.
Why the other options tempt:
- (a) 6 counts the pairs, not the relations.
- (b) 8 is 2³, using only one set.
- (c) 32 is 2⁵, one pair short.
For the relation R = {(1, 2), (2, 4), (3, 6)}, the range is
Answer
The plan: The range is the set of second elements.
- The second elements are 2, 4 and 6.
(b) {2, 4, 6}.
Why the other options tempt:
- (a) is the domain, the first elements.
- (c) mixes the domain and the range.
- (d) leaves out elements.
Which of these relations, on the set of its first elements, is a function?
Answer
The plan: Look for a first element with two images.
- In (b), 1, 2 and 3 each have the one image 2. Sharing an image is allowed.
(b) {(1, 2), (2, 2), (3, 2)}.
Why the other options tempt:
- (a) gives 1 two images.
- (c) gives 2 two images.
- (d) gives 1 two images.
The range of the signum function is
Answer
The plan: The signum function gives 1, 0 or −1 by the sign of x.
- Positive x gives 1, zero gives 0, and negative x gives −1.
(c) {−1, 0, 1}.
Why the other options tempt:
- (a) forgets the value at 0.
- (b) forgets the negative numbers, which give −1.
- (d) is the domain, not the range.
[−3.2] equals
Answer
The plan: Step left from −3.2 to the nearest integer.
- −3.2 lies between −4 and −3; the greatest integer not more than it is −4.
(b) −4.
Why the other options tempt:
- (a) −3 drops the decimals, but −3 is more than −3.2.
- (c) 3 loses the sign.
- (d) −3.2 is not an integer.
The domain of f(x) = 1/(x − 5) is
Answer
The plan: Leave out the x that makes the denominator 0.
- x − 5 = 0 when x = 5.
(b) R − {5}.
Why the other options tempt:
- (a) includes 5, where f is undefined.
- (c) leaves out −5 instead of 5.
- (d) leaves out every number below 5 as well.
If f(x) = x + 1 and g(x) = x − 1, then (fg)(x) is
Answer
The plan: Multiply the two values.
- (x + 1)(x − 1) = x² − 1.
(a) x² − 1.
Why the other options tempt:
- (b) has the wrong sign for 1.
- (c) 2x is f + g.
- (d) forgets the constant term.
Write A × B for A = {p} and B = {1, 2, 3}.
Answer
The plan: Pair p with each element of B.
- The pairs are (p, 1), (p, 2) and (p, 3).
{(p, 1), (p, 2), (p, 3)}.
Check: n(A × B) = 1 × 3 = 3, matching the three pairs.
If (a − 1, b + 2) = (4, 7), find a and b.
Answer
The plan: Equate the pairs place by place.
- a − 1 = 4 gives a = 5.
- b + 2 = 7 gives b = 5.
a = 5 and b = 5.
Check: (5 − 1, 5 + 2) = (4, 7).
Find the domain and range of R = {(1, 5), (2, 5), (3, 6)}.
Answer
The plan: Collect the first elements, then the second elements, each once.
- First elements: 1, 2, 3.
- Second elements: 5, 5, 6, that is, {5, 6}.
Domain {1, 2, 3}, range {5, 6}.
Check: The repeated 5 is written once in the range.
How many relations are there from a set with 1 element to a set with 4 elements?
Answer
The plan: Use 2 to the power pq.
- pq = 1 × 4 = 4.
- 2⁴ = 16.
2⁴ = 16.
Check: A × B has 4 pairs, and each pair is either in a relation or not.
If f(x) = x² − 3, find f(−2).
Answer
What we know: Substitute −2 for x, keeping it in brackets: the square of a negative number is positive.
The plan: Substitute x = −2.
- (−2)² = 4.
- 4 − 3 = 1.
f(−2) = 1.
Check: f(2) is also 1, because 2² = (−2)².
Is {(1, 1), (2, 1), (3, 1)} a function from {1, 2, 3}? Give its range.
Answer
The plan: Check that each element has exactly one image.
- 1, 2 and 3 each have the single image 1.
Yes; its range is {1}.
Check: It is a constant function: every input gives 1.
Find |−6| and [6.9].
Answer
The plan: Use the definitions of the modulus and of [x].
- |−6| = 6, the distance of −6 from 0.
- 6.9 lies between 6 and 7, so [6.9] = 6.
6 and 6.
Check: [6.9] is not 7: the greatest integer function never rounds up.
If f(x) = 2x and g(x) = x², find (f + g)(3).
Answer
The plan: Add the two values at x = 3.
- f(3) = 6 and g(3) = 9.
- 6 + 9 = 15.
(f + g)(3) = 15.
Check: (f + g)(x) = 2x + x², and 2 × 3 + 9 = 15.
Assertion (A): if A has 2 elements and B has 3, then A × B has 6 elements.
Reason (R): n(A × B) = n(A) + n(B).
Answer
The plan: Check A by counting; then test R.
- Each of the 2 elements of A pairs with each of the 3 elements of B: 2 × 3 = 6 pairs. A is true.
- The rule multiplies, n(A × B) = n(A) × n(B); adding would give 5. R is false.
(c) A is true but R is false.
Why the other options tempt:
- (a) and (b) call R true.
- (d) calls the true A false.
Assertion (A): the relation R = {(x, y) : y = x²} from Z to Z is a function.
Reason (R): every integer has exactly one square, and that square is an integer.
Answer
The plan: Check R; then see whether it gives A.
- Every integer x has one square x², which is again an integer. R is true.
- So every element of Z has exactly one image in Z, which is what makes R a function. A is true, and R explains it.
(a) Both A and R are true, and R is the correct explanation of A.
Why the other options tempt:
- (b) says R does not explain A, but it is exactly the reason.
- (c) and (d) call a true statement false.
If A = {1, 2, 3} and B = {a, b}, find A × B and B × A. Are they equal?
Answer
What we know: A × B takes first elements from A; B × A takes them from B.
The plan: List each product in rows; then compare a pair.
- A × B: 1 with a and b, then 2, then 3.
- B × A: a with 1, 2 and 3, then b.
- (1, a) is in A × B but not in B × A, because (1, a) ≠ (a, 1).
A × B = {(1, a), (1, b), (2, a), (2, b), (3, a), (3, b)} and B × A = {(a, 1), (a, 2), (a, 3), (b, 1), (b, 2), (b, 3)}; they are not equal.
Check: Both have 3 × 2 = 6 elements: the same size, but not the same elements.
Find x and y if (2x − 1, 3y + 2) = (x + 4, 2y − 1).
Answer
What we know: Equal pairs give one equation for each place.
The plan: Solve each equation.
- 2x − 1 = x + 4 gives x = 5.
- 3y + 2 = 2y − 1 gives y = −3.
x = 5 and y = −3.
Check: Both pairs become (9, −7): 2 × 5 − 1 = 9 = 5 + 4, and 3 × (−3) + 2 = −7 = 2 × (−3) − 1.
If A × B = {(a, 1), (b, 1), (c, 1), (a, 2), (b, 2), (c, 2)}, find A, B and n(B × A).
Answer
What we know: A is the set of first elements; B is the set of second elements.
The plan: Collect each place; then multiply.
- First elements: a, b, c.
- Second elements: 1, 2.
- n(B × A) = 2 × 3 = 6.
A = {a, b, c}, B = {1, 2} and n(B × A) = 6.
Check: n(A × B) = 3 × 2 = 6 matches the six given pairs, and B × A has the same number of pairs.
Let A = {1, 2, 3, 4} and R = {(x, y) : y = x − 1, x, y ∈ A}. Write R in roster form, and find its domain and range.
Answer
What we know: y = x − 1 must also be in A.
The plan: Test each x.
- x = 1 gives 0, which is not in A: no pair.
- x = 2, 3, 4 give 1, 2, 3, all in A.
R = {(2, 1), (3, 2), (4, 3)}; domain {2, 3, 4}, range {1, 2, 3}.
Check: The domain leaves out 1 and the range leaves out 4: each element of A is missing from one side.
Write the relation R = {(x, y) : x + 2y = 8, x, y ∈ N} in roster form.
Answer
What we know: x and y must be natural numbers, so y ≥ 1 and x = 8 − 2y ≥ 1.
The plan: Try y = 1, 2, 3, ... and find x.
- y = 1 gives x = 6; y = 2 gives x = 4; y = 3 gives x = 2.
- y = 4 would give x = 0, which is not a natural number.
R = {(2, 3), (4, 2), (6, 1)}.
Check: Each pair satisfies x + 2y = 8: 2 + 6, 4 + 4, 6 + 2.
Story: A school has 2 sports teachers and 4 sports. A record shows which teachers can coach which sports, as a relation from teachers to sports. How many different records are possible?
Answer
What we know: A record is any subset of T × S, with n(T) = 2 and n(S) = 4.
The plan: Use N = 2 to the power pq.
- T × S has 2 × 4 = 8 pairs (teacher, sport).
- Each pair is either in the record or not, so there are 2⁸ = 256 records.
2⁸ = 256 records.
Check: One record is φ (nobody coaches anything) and one is all of T × S (both coach every sport).
Which of these are functions from A = {1, 2, 3} to B = {4, 5}? R₁ = {(1, 4), (2, 4), (3, 5)}; R₂ = {(1, 4), (2, 5)}.
Answer
What we know: A function from A gives each of 1, 2 and 3 exactly one image.
The plan: Check both tests for each relation.
- R₁: 1, 2 and 3 each have one image (1 and 2 share 4, which is allowed).
- R₂: 3 has no image.
R₁ is a function; R₂ is not.
Check: R₂ is a function from its domain {1, 2}, but not from A.
A path that fails: Calling R₂ a function because no element has two images checks only one of the two tests.
If f(x) = 4x − 3, find f(2) and the preimage of 9.
Answer
What we know: An image is found by substituting; a preimage by solving f(x) = b.
The plan: Substitute x = 2; then solve 4x − 3 = 9.
- f(2) = 8 − 3 = 5.
- 4x − 3 = 9 gives 4x = 12, so x = 3.
f(2) = 5, and the preimage of 9 is 3.
Check: f(3) = 12 − 3 = 9.
Find the domain and range of f(x) = 3x + 2 and of g(x) = 5, for real x.
Answer
What we know: Both are polynomial functions, defined for every real x.
The plan: Find the values each can take.
- For any real y, x = (y − 2)/3 gives 3x + 2 = y, so f takes every real value.
- g takes only the value 5: a constant function.
f: domain R, range R; g: domain R, range {5}.
Check: The graph of f is a sloping line, which reaches every height; the graph of g is the level line y = 5.
Find the domain of f(x) = √(x − 4).
Answer
What we know: A real square root needs a number that is not negative.
The plan: Solve x − 4 ≥ 0.
- x − 4 ≥ 0 when x ≥ 4.
The domain is [4, ∞).
Check: f(4) = 0 and f(13) = 3; f(3) would need √(−1), which is not real.
A path that fails: Writing (4, ∞) leaves out x = 4, but √0 = 0 is a real number, so 4 belongs.
Let f(x) = x² + 1 and g(x) = x − 2. Find (f − g)(x) and (f/g)(x), giving the domain of f/g.
Answer
What we know: Subtract the values, with a bracket round g(x); the quotient needs g(x) ≠ 0.
The plan: Combine; then solve g(x) = 0.
- (f − g)(x) = x² + 1 − (x − 2) = x² − x + 3.
- (f/g)(x) = (x² + 1)/(x − 2), and x − 2 = 0 when x = 2.
(f − g)(x) = x² − x + 3 and (f/g)(x) = (x² + 1)/(x − 2), for x ≠ 2.
Check: At x = 0: f = 1 and g = −2, so f − g = 3 and f/g = −1/2; the formulas agree.
Story: A machine packs 12 pens in a box. The number of full boxes made from n pens is [n/12]. How many full boxes come from 100 pens? From 144 pens?
Answer
What we know: [x] is the greatest integer not more than x.
The plan: Divide by 12; then take the greatest integer.
- 100/12 = 8.33..., so [100/12] = 8, and 100 − 96 = 4 pens are left over.
- 144/12 = 12 exactly, so [12] = 12.
8 boxes from 100 pens, and 12 from 144.
Check: 8 full boxes hold 96 pens; a ninth would need 108 pens, more than 100.
Let A = {1, 2}, B = {x, y} and C = {y, z}. Verify that A × (B ∩ C) = (A × B) ∩ (A × C).
Answer
What we know: Work out B ∩ C first; a pair is in both products when its second element is in both B and C.
The plan: Compute the left side; then the right side; then compare.
- B ∩ C = {y}, so A × (B ∩ C) = {(1, y), (2, y)}.
- A × B = {(1, x), (1, y), (2, x), (2, y)} and A × C = {(1, y), (1, z), (2, y), (2, z)}.
- Their common pairs are (1, y) and (2, y).
Both sides are {(1, y), (2, y)}.
Check: This is the law A × (B ∩ C) = (A × B) ∩ (A × C) that Example 3 of the book found for other sets.
Let A = {1, 2, 3, 4, 5, 6} and R = {(a, b) : b = 2a, a, b ∈ A}. Write R in roster form, find its domain, range and codomain, and describe its arrow diagram.
Answer
What we know: b = 2a must also be in A.
The plan: Double each a and keep the pair if the double is in A.
- a = 1, 2, 3 give 2, 4, 6, all in A.
- a = 4, 5, 6 give 8, 10, 12, which are not in A.
- The arrow diagram has three arrows, from 1 to 2, from 2 to 4 and from 3 to 6; no arrows leave 4, 5 or 6.
R = {(1, 2), (2, 4), (3, 6)}; domain {1, 2, 3}, range {2, 4, 6}, codomain A.
Check: The range {2, 4, 6} is a subset of the codomain A, as every range must be.
Let R = {(a, b) : a divides b} be a relation on {2, 3, 4, 6, 8}. Write R in roster form, and find its domain and range.
Answer
What we know: a divides b when b ÷ a leaves no remainder.
The plan: For each a, list the b that it divides.
- 2 divides 2, 4, 6, 8; 3 divides 3, 6.
- 4 divides 4, 8; 6 divides 6; 8 divides 8.
R = {(2, 2), (2, 4), (2, 6), (2, 8), (3, 3), (3, 6), (4, 4), (4, 8), (6, 6), (8, 8)}; domain = range = {2, 3, 4, 6, 8}.
Check: 4 + 2 + 2 + 1 + 1 = 10 pairs. Every number divides itself, so every element is in both the domain and the range.
Is R = {(x, y) : y² = x, x, y ∈ Z} a function from Z to Z? Is S = {(x, y) : y = x², x, y ∈ Z}? Give reasons.
Answer
What we know: A function from Z gives every integer exactly one image.
The plan: Look for an integer with no image or two images.
- In R, x = 4 has the two images 2 and −2, since 2² = (−2)² = 4.
- Also in R, x = −1 has no image, since no integer squares to −1.
- In S, each integer x has exactly one square x², which is an integer.
R is not a function; S is a function.
Check: R fails both tests (two images, and no image), while S passes both.
A path that fails: Testing R only at x = 0, where the image 0 is unique, would wrongly suggest that R is a function.
Story: An electricity bill is ₹50 plus ₹6 for each unit used, so the bill for u units is B(u) = 50 + 6u. Find B(120). How many units give a bill of ₹1250?
Answer
What we know: B(u) = 50 + 6u.
The plan: Substitute for the bill; solve for the units.
- B(120) = 50 + 6 × 120 = 50 + 720 = 770.
- 50 + 6u = 1250 gives 6u = 1200, so u = 200.
B(120) = ₹770; a bill of ₹1250 means 200 units.
Check: B(200) = 50 + 1200 = 1250. The bill is a linear function of the units: each unit adds ₹6, so going from 120 to 200 units adds 80 × 6 = ₹480, and 770 + 480 = 1250.
Find the domain and the range of f(x) = 5 − |x|.
Answer
What we know: |x| exists for every real x and is never negative.
The plan: Find the largest value; then check that every smaller value is reached.
- Every real x has |x|, so the domain is R.
- |x| ≥ 0, so 5 − |x| ≤ 5, with 5 at x = 0.
- Any y ≤ 5 is a value, at x = 5 − y, since |5 − y| = 5 − y.
Domain R, range (−∞, 5].
Check: f(3) = 2 and f(−10) = −5, both at most 5.
A path that fails: Writing the range as [5, ∞) reverses the inequality: subtracting |x| from 5 can only make it smaller.
Find [x] for x = 3.99, −0.5 and −4. Then find all x with [x] = −2.
Answer
What we know: [x] is the greatest integer not more than x.
The plan: Picture the number line for each value.
- 3.99 lies between 3 and 4, so [3.99] = 3.
- −0.5 lies between −1 and 0, so [−0.5] = −1.
- −4 is an integer, so [−4] = −4.
- [x] = −2 for every x from −2 up to, but not including, −1.
3, −1 and −4; [x] = −2 exactly when −2 ≤ x < −1.
Check: [−1.5] = −2 lies in the answer, while [−1] = −1 does not.
A path that fails: Writing [−0.5] = 0 drops the decimals, but 0 is more than −0.5.
Let f(x) = √x and g(x) = √(1 − x). Find the domain of f + g and of fg, and find (fg)(1/2).
Answer
What we know: f needs x ≥ 0; g needs 1 − x ≥ 0, that is, x ≤ 1.
The plan: Keep the x where both are defined; then substitute.
- f is defined on [0, ∞) and g on (−∞, 1].
- f + g and fg need both, so their domain is the common part [0, 1].
- (fg)(x) = √x × √(1 − x) = √(x(1 − x)).
- (fg)(1/2) = √(1/2) × √(1/2) = 1/2.
Both domains are [0, 1], and (fg)(1/2) = 1/2.
Check: √(1/2) × √(1/2) = 1/2, because a square root times itself gives back the number.
Find the domain of f(x) = (x + 2)/(x² − 3x + 2).
Answer
What we know: The denominator must not be 0.
The plan: Factorise the denominator and find its zeros.
- Two numbers with product 2 and sum −3 are −1 and −2.
- So x² − 3x + 2 = (x − 1)(x − 2), which is 0 at x = 1 and x = 2.
The domain is R − {1, 2}.
Check: At x = 0 the denominator is 2, so f(0) = 1 is defined; at x = 1 it is 1 − 3 + 2 = 0. The zero of the numerator, x = −2, is allowed: f(−2) = 0.
How many functions are there from A = {1, 2, 3} to B = {a, b}? How many relations? What fraction of the relations are functions?
Answer
What we know: A function gives each element of A one of the 2 elements of B; a relation is any subset of A × B.
The plan: Count choices for the functions; use 2 to the power pq for the relations.
- Each of 1, 2 and 3 has 2 choices of image, so there are 2 × 2 × 2 = 8 functions.
- A × B has 3 × 2 = 6 pairs, so there are 2⁶ = 64 relations.
- 8/64 = 1/8.
8 functions, 64 relations, and 1/8 of the relations are functions.
Check: One of the 8 functions is {(1, a), (2, a), (3, a)}, the constant function with value a.
A path that fails: Using 2 to the power pq = 64 for the functions counts every relation, including those where an element has no image or two images.
Let A = {−1, 0, 1} and B = {0, 1}. List A × B, find n(A × B), and describe these pairs as points of the plane. How many of the points lie on the x-axis?
Answer
What we know: A × B pairs each element of A with each element of B; a point lies on the x-axis when its second coordinate is 0.
The plan: List in rows; then count the pairs with second element 0.
- −1 with 0 and 1: (−1, 0), (−1, 1).
- 0 with 0 and 1: (0, 0), (0, 1).
- 1 with 0 and 1: (1, 0), (1, 1).
- n(A × B) = 3 × 2 = 6.
- As points, they form two rows of three: one row on the x-axis (y = 0) and one row at height 1.
- The points on the x-axis are (−1, 0), (0, 0) and (1, 0).
A × B = {(−1, 0), (−1, 1), (0, 0), (0, 1), (1, 0), (1, 1)}, with 6 elements; 3 of the points lie on the x-axis.
Check: Every element of A gives exactly one point on the x-axis, which is why there are n(A) = 3 of them.
Let A = {1, 2, 3, 4, 5} and R = {(a, b) : |a − b| = 2, a, b ∈ A}. Write R in roster form, find its domain and range, and decide whether (a, b) ∈ R always gives (b, a) ∈ R.
Answer
What we know: |a − b| = 2 means a and b are 2 apart on the number line.
The plan: Pair each a with the numbers 2 above and 2 below it that lie in A.
- 1: only 3. 2: only 4. 3: 1 and 5. 4: 2. 5: 3.
- So R has the 6 pairs listed.
- Every element of A appears as a first element and as a second element.
- |b − a| = |a − b|, so whenever a and b are 2 apart, so are b and a.
R = {(1, 3), (3, 1), (2, 4), (4, 2), (3, 5), (5, 3)}; domain and range {1, 2, 3, 4, 5}; yes, (a, b) ∈ R gives (b, a) ∈ R.
Check: The pairs come in mirror couples, such as (1, 3) and (3, 1): an arrow diagram of R has every arrow matched by one going back.
Let f : R → R be f(x) = x² − 4x + 3. Find f(0), f(1) and f(3). Find the preimages of 0 and of −1. Find the range of f.
Answer
What we know: x² − 4x + 3 = (x − 2)² − 1, by completing the square (Class 10).
The plan: Substitute; then solve; then use the completed square for the range.
- f(0) = 3, f(1) = 1 − 4 + 3 = 0, f(3) = 9 − 12 + 3 = 0.
- f(x) = 0: (x − 1)(x − 3) = 0, so x = 1 or 3.
- f(x) = −1: (x − 2)² − 1 = −1, so (x − 2)² = 0 and x = 2.
- (x − 2)² ≥ 0, so f(x) ≥ −1; and every y ≥ −1 is reached, at x = 2 + √(y + 1).
f(0) = 3, f(1) = 0, f(3) = 0; the preimages of 0 are 1 and 3, and of −1 only 2; the range is [−1, ∞).
Check: f(2) = 4 − 8 + 3 = −1, the lowest point of the graph, a parabola.
A path that fails: Stopping at one preimage of 0 (say x = 1) misses the second, x = 3: a function may give the same image to two inputs.
Describe the graph of f(x) = |x| + 1. Find its domain and range, and compare it with Example 22 of the book.
Answer
What we know: |x| + 1 is the graph of |x| raised by 1.
The plan: Make a table; then read off the shape, domain and range.
- x = −2, −1, 0, 1, 2 give 3, 2, 1, 2, 3.
- So the graph is the V of |x| moved up by 1, with its corner at (0, 1).
- Every real x has |x|, so the domain is R; |x| ≥ 0 gives f(x) ≥ 1, and every y ≥ 1 is reached.
- Example 22 defines f(x) = 1 − x for x < 0, 1 at 0, and x + 1 for x > 0. For x < 0, |x| + 1 = 1 − x; for x > 0, |x| + 1 = x + 1; and at 0 both give 1.
A V with its corner at (0, 1); domain R, range [1, ∞); it is the same function as in Example 22.
Check: Both formulas give f(−4) = 5 and f(3) = 4, so their graphs are identical.
Describe the function f(x) = [x] for −2 ≤ x < 2: list its steps, draw the staircase in words, and find its range there.
Answer
What we know: [x] stays at the integer n for n ≤ x < n + 1.
The plan: Take each stretch between consecutive integers in turn.
- From −2 up to −1 (not including −1), [x] = −2.
- From −1 up to 0, [x] = −1.
- From 0 up to 1, [x] = 0.
- From 1 up to 2, [x] = 1.
- The graph is four flat steps, each with a filled dot at its left end (the integer belongs) and a hollow dot at its right end (the next integer does not).
Steps: −2 on [−2, −1), −1 on [−1, 0), 0 on [0, 1) and 1 on [1, 2); range {−2, −1, 0, 1}.
Check: [−1.5] = −2, [−0.5] = −1, [0.5] = 0 and [1.5] = 1, one from each step.
A path that fails: Giving [−1.5] = −1 treats [x] as "drop the decimals", which is wrong for negative numbers: [−1.5] = −2.
Let f(x) = 2x + 1 and g(x) = x² − 1. Find f + g, f − g, fg and f/g, and give the domain of f/g.
Answer
What we know: Combine the values; bracket g(x) when subtracting; the quotient needs g(x) ≠ 0.
The plan: Work out each combination; then solve g(x) = 0.
- (f + g)(x) = 2x + 1 + x² − 1 = x² + 2x.
- (f − g)(x) = 2x + 1 − (x² − 1) = −x² + 2x + 2.
- (fg)(x) = (2x + 1)(x² − 1) = 2x³ − 2x + x² − 1 = 2x³ + x² − 2x − 1.
- x² − 1 = (x − 1)(x + 1) = 0 at x = 1 and x = −1, which leaves the quotient's domain R − {−1, 1}.
(f + g)(x) = x² + 2x. (f − g)(x) = −x² + 2x + 2. (fg)(x) = 2x³ + x² − 2x − 1. (f/g)(x) = (2x + 1)/(x² − 1), with domain R − {−1, 1}.
Check: At x = 2: f = 5 and g = 3, so f + g = 8, f − g = 2, fg = 15 and f/g = 5/3; the formulas give 8, 2, 15 and 5/3.
A path that fails: Writing (f − g)(x) = 2x + 1 − x² − 1 forgets the bracket and gives −x² + 2x, which is wrong by 2.
Story: A workshop's revenue from x chairs is R(x) = 60x rupees, and its cost is C(x) = 40x + 1000 rupees. Find the profit function P = R − C, the break-even number of chairs, and the profit from 80 chairs.
Answer
What we know: (R − C)(x) = R(x) − C(x); breaking even means P(x) = 0.
The plan: Subtract; then solve P(x) = 0; then substitute 80.
- P(x) = 60x − (40x + 1000) = 20x − 1000: each chair adds ₹60 − ₹40 = ₹20, against ₹1000 of fixed cost.
- 20x − 1000 = 0 gives x = 50.
- P(80) = 20 × 80 − 1000 = 1600 − 1000 = 600.
P(x) = 20x − 1000; break-even at 50 chairs; profit from 80 chairs ₹600.
Check: At 50 chairs, R = 3000 and C = 2000 + 1000 = 3000: equal, as break-even requires. Below 50 chairs, P is negative, a loss.
A path that fails: Writing P(x) = 60x − 40x + 1000 forgets the bracket round C(x), and turns the fixed cost into a gain.
Find the domain and the range of f(x) = √(16 − x²), and describe its graph.
Answer
What we know: A real square root needs a number that is not negative, and is itself not negative.
The plan: Solve 16 − x² ≥ 0; then find the smallest and largest values.
- 16 − x² ≥ 0 means x² ≤ 16, that is, −4 ≤ x ≤ 4.
- 16 − x² runs from 0 (at x = ±4) up to 16 (at x = 0), so √(16 − x²) runs from 0 to 4.
- If y = √(16 − x²), then x² + y² = 16 with y ≥ 0: the upper half of the circle of radius 4.
Domain [−4, 4], range [0, 4]; the graph is the upper half of a circle of radius 4 about the origin.
Check: f(0) = 4 and f(±4) = 0; Exercise 2.3 Q2 (ii) is the same function with radius 3.