Functions

RS Aggarwal Class 11 Maths Solutions Exercise 3A — Functions

RS Aggarwal, Class 11 Mathematics — Functions, Exercise 3A, Questions 1 to 20. All 20 questions solved.

Independent solutions by Shiwam’s Classes. Not affiliated with or endorsed by the author or publisher of the book.

Exercise 3A introduces functions. Questions 1 to 3 ask for the definitions and the link between relations and functions; 4 to 11 test whether a set of ordered pairs is a function and ask for its domain and range; 12 to 16 evaluate values and difference quotients; 17 to 19 deal with range, equality of functions and inverse images; and 20 is a temperature-conversion application.

Key insight. A function from $A$ to $B$ is a relation in which every element of $A$ appears as a first coordinate exactly once. Two checks settle almost every question: no element of $A$ is missed (the domain is all of $A$), and no element of $A$ is paired with two different outputs. The range is only the set of outputs actually used, which may be smaller than $B$.

Question 1

Give the definition of a function in terms of ordered pairs.

Solution. Start with two non-empty sets $A$ and $B$. A function from $A$ to $B$ is a set $f$ of ordered pairs $(a,b)$ with $a \in A$, $b \in B$, satisfying two conditions: every $a \in A$ occurs as the first coordinate of some pair, and no $a$ occurs as the first coordinate of two pairs with different second coordinates. In other words, $f \subseteq A \times B$ and each element of $A$ has exactly one partner in $B$.

A function from $A$ to $B$ is a subset of $A\times B$ in which each $a\in A$ is the first coordinate of exactly one ordered pair.

Question 2

Give the definition of a function as a correspondence between two sets.

Solution. Let $A$ and $B$ be non-empty sets. A rule $f$ that assigns to each element $x \in A$ one and only one element $f(x) \in B$ is a function from $A$ to $B$, written $f : A \to B$. The element $f(x)$ is the image of $x$, and $x$ is a pre-image of $f(x)$. This is the same idea as in Question 1: the pair $(x, f(x))$ is the ordered pair, and “exactly one” is the condition that no $x$ has two images.

A rule assigning to every element of $A$ exactly one element of $B$.

Question 3

State the basic difference between a relation and a function, and say whether every relation is a function.

Solution. A relation from $A$ to $B$ is any subset of $A \times B$; it may leave some elements of $A$ unused and may attach several elements of $B$ to one element of $A$. A function is a relation with the extra restriction that each element of $A$ is used, and used exactly once as a first coordinate. Because the restriction can fail, not every relation is a function. For example $\{(1,2),(1,3)\}$ is a relation from $\{1\}$ to $\{2,3\}$ but not a function, since $1$ has two images.

No. Every function is a relation, but a relation is a function only when each element of the first set has exactly one image.

Question 4

Let $X=\{1,2,3,4\}$, $Y=\{1,5,9,11,15,16\}$ and $f=\{(1,5),(2,9),(3,1),(4,5),(2,11)\}$. Decide, with justification, whether (i) $f$ is a relation from $X$ to $Y$ and (ii) $f$ is a function from $X$ to $Y$.

Solution. (i) For a relation, every pair must lie in $X \times Y$. The first coordinates $1,2,3,4,2$ all belong to $X$ and the second coordinates $5,9,1,5,11$ all belong to $Y$. So $f \subseteq X \times Y$.

(ii) The element $2$ appears twice, as $(2,9)$ and $(2,11)$, with different images $9$ and $11$. A function must give each input one image, so $f$ fails.

(i) Yes, $f$ is a relation from $X$ to $Y$. (ii) No, $f$ is not a function, because $2$ has two images, $9$ and $11$.

Question 5

Let $X=\{-1,0,3,7,9\}$ and $f:X\to R$ be given by $f(x)=x^3+1$. Write $f$ as a set of ordered pairs.

Solution. Put each element of $X$ into the formula:

  • $f(-1) = (-1)^3 + 1 = 0$
  • $f(0) = 0 + 1 = 1$
  • $f(3) = 27 + 1 = 28$
  • $f(7) = 343 + 1 = 344$
  • $f(9) = 729 + 1 = 730$

$f=\{(-1,0),(0,1),(3,28),(7,344),(9,730)\}$

Question 6

Let $A=\{-1,0,1,2\}$ and $B=\{2,3,4,5\}$. Which of the following are functions from $A$ to $B$? Give reasons. (i) $f=\{(-1,2),(-1,3),(0,4),(1,5)\}$ (ii) $g=\{(0,2),(1,3),(2,4)\}$ (iii) $h=\{(-1,2),(0,3),(1,4),(2,5)\}$

Solution. For each set we ask whether every element of $A=\{-1,0,1,2\}$ appears once as a first coordinate.

(i) The element $-1$ occurs in $(-1,2)$ and $(-1,3)$, so it has two images. Also $2$ never appears. Not a function.

(ii) The first coordinates are $0,1,2$ only; $-1 \in A$ has no image. The domain is $\{0,1,2\} \ne A$. Not a function.

(iii) The first coordinates are $-1,0,1,2$, each exactly once, and every second coordinate ($2,3,4,5$) is in $B$. This is a function.

(i) No, since $-1$ has two images. (ii) No, since $-1$ has no image. (iii) Yes, since each element of $A$ has a unique image in $B$.

Question 7

Let $A=\{1,2\}$ and $B=\{2,4,6\}$, and let $f=\{(x,y): x\in A,\ y\in B,\ y>2x+1\}$. Write $f$ in roster form and show that it is a relation from $A$ to $B$ but not a function.

Solution. For $x=1$ we need $y>3$, so $y\in\{4,6\}$. For $x=2$ we need $y>5$, so $y=6$. Hence $f=\{(1,4),(1,6),(2,6)\}$.

Each pair has first coordinate in $A$ and second in $B$, so $f\subseteq A\times B$ and $f$ is a relation. But $1$ is paired with both $4$ and $6$, so it has two images and $f$ is not a function.

$f=\{(1,4),(1,6),(2,6)\}$; it is a relation but not a function, since $1$ has two images.

Question 8

Let $A=\{0,1,2\}$ and $B=\{3,5,7,9\}$, and let $f=\{(x,y): x\in A,\ y\in B,\ y=2x+3\}$. Write $f$ in roster form, show that it is a function from $A$ to $B$, and find its domain and range.

Solution. Using $y=2x+3$: $x=0$ gives $3$, $x=1$ gives $5$, $x=2$ gives $7$. All three values lie in $B$. So $f=\{(0,3),(1,5),(2,7)\}$.

Every element of $A$ occurs exactly once as a first coordinate, so $f$ is a function from $A$ to $B$. The domain is the set of first coordinates and the range is the set of second coordinates. Note that $9\in B$ is not used, so the range is smaller than $B$.

$f=\{(0,3),(1,5),(2,7)\}$, $\mathrm{dom}(f)=\{0,1,2\}$, $\mathrm{range}(f)=\{3,5,7\}$

Question 9

Take the sets $A=\{2,3,5,7\}$ and $B=\{3,5,9,13,15\}$. A rule pairs $x\in A$ with $y\in B$ whenever $y=2x-1$; call the resulting set of pairs $f$. List its pairs, prove it is a function from $A$ into $B$, and state the domain and the range.

Solution. Compute $2x-1$ for each $x\in A$: $x=2\to 3$, $x=3\to 5$, $x=5\to 9$, $x=7\to 13$. Each is in $B$ (the element $15$ is simply not reached). So $f=\{(2,3),(3,5),(5,9),(7,13)\}$.

All four elements of $A$ appear once each, so $f$ is a function from $A$ to $B$.

$f=\{(2,3),(3,5),(5,9),(7,13)\}$, $\mathrm{dom}(f)=\{2,3,5,7\}$, $\mathrm{range}(f)=\{3,5,9,13\}$

Question 10

Let $g=\{(1,2),(2,5),(3,8),(4,10),(5,12),(6,12)\}$. Is $g$ a function? If so, find its domain and range; if not, say why.

Solution. The first coordinates $1,2,3,4,5,6$ are all different, so no input has two images. That settles it: $g$ is a function. The fact that $5$ and $6$ share the image $12$ does not matter, because a function may send different inputs to the same output; only one input with two outputs is forbidden.

The domain is $\{1,2,3,4,5,6\}$. The second coordinates are $2,5,8,10,12,12$, and listing $12$ once gives the range.

Yes. $\mathrm{dom}(g)=\{1,2,3,4,5,6\}$ and $\mathrm{range}(g)=\{2,5,8,10,12\}$.

Question 11

The set $f=\{(0,-5),(1,-2),(2,1),(3,4),(4,7)\}$ is a linear function from $Z$ into $Z$. Write an expression for $f(x)$.

Solution. A linear function has the form $f(x)=ax+b$. From $(0,-5)$ we get $b=-5$. From $(1,-2)$: $a-5=-2$, so $a=3$. So $f(x)=3x-5$. Check on the remaining pairs: $f(2)=1$, $f(3)=4$, $f(4)=7$, all agreeing with the given set.

$f(x)=3x-5$

Question 12

If $f(x)=x^3$, find $\dfrac{f(5)-f(1)}{5-1}$.

Solution. $f(5)=125$ and $f(1)=1$, so the numerator is $124$ and the denominator is $4$. The quotient is $124/4=31$.

$31$

Question 13

If $f(x)=x^2$, find $\dfrac{f(1.1)-f(1)}{1.1-1}$.

Solution. $f(1.1)=1.21$ and $f(1)=1$, so the numerator is $0.21$ and the denominator is $0.1$. The quotient is $0.21/0.1=2.1$. (Algebraically it is $1.1+1$, since $(a^2-b^2)/(a-b)=a+b$.)

$2.1$

Question 14

Let $A=\{12,13,14,15,16,17\}$ and $f:A\to Z$ be given by $f(x)=$ the highest prime factor of $x$. Find $\mathrm{range}(f)$.

Solution. Factorise each number:

  • $12=2^2\cdot 3$, highest prime $3$
  • $13$ is prime, so $13$
  • $14=2\cdot 7$, so $7$
  • $15=3\cdot 5$, so $5$
  • $16=2^4$, so $2$
  • $17$ is prime, so $17$

The six outputs are all different.

$\mathrm{range}(f)=\{3,13,7,5,2,17\}$

Question 15

Let $R^+$ be the set of positive real numbers and $f:R^+\to R$ be given by $f(x)=\log_e x$. Find (i) $\mathrm{range}(f)$, (ii) $\{x: x\in R^+,\ f(x)=-2\}$, (iii) whether $f(xy)=f(x)+f(y)$ for all $x,y\in R^+$.

Solution. (i) For any real number $t$, the positive number $e^t$ satisfies $\log_e e^t=t$. So every real number is an output, and the range is all of $R$.

(ii) $\log_e x=-2$ means $x=e^{-2}$, which is positive, so the set has exactly that one element.

(iii) The product rule of logarithms says $\log_e(xy)=\log_e x+\log_e y$ whenever $x,y>0$, so the identity holds throughout $R^+$.

(i) $R$ (ii) $\{e^{-2}\}$ (iii) Yes

Question 16

Let $f:R\to R$ be given by $f(x)=2^x$. Find (i) $\mathrm{range}(f)$, (ii) $\{x: f(x)=1\}$, (iii) whether $f(x+y)=f(x)\cdot f(y)$ for all $x,y\in R$.

Solution. (i) Powers of $2$ are always positive, and every positive number $c$ equals $2^{\log_2 c}$. So the range is the set of all positive reals.

(ii) $2^x=1=2^0$ forces $x=0$ because $2^x$ is one-to-one.

(iii) By the law of indices, $2^{x+y}=2^x\cdot 2^y$ for all real $x,y$.

(i) $R^{+}$ (ii) $\{0\}$ (iii) Yes

Question 17

Let $f:R\to R$ with $f(x)=x^2$ and $g:C\to C$ with $g(x)=x^2$, where $C$ is the set of complex numbers. Show that $f\ne g$.

Solution. Two functions are equal only when they have the same domain, the same codomain and the same rule. Here the rules agree, but the domains differ: $f$ is defined on $R$ while $g$ is defined on $C$, and $C\neq R$. For instance $g(i)=i^2=-1$ is defined, whereas $f(i)$ is not, since $i\notin R$. Therefore $f\ne g$.

$f\ne g$, because their domains (and codomains) are different even though the rule is the same.

Question 18

The functions $f,g,h:R\to R$ are given by (i) $f(x)=x^2$, (ii) $g(x)=x^2+1$, (iii) $h(x)=\sin x$. Find the range of each.

Solution. (i) $x^2\ge 0$ for all real $x$, and every $c\ge0$ is reached by $x=\sqrt c$. So the range is $\{x\in R: x\ge 0\}$.

(ii) Adding $1$ shifts the outputs up: $x^2+1\ge1$, and every $c\ge1$ is reached by $x=\sqrt{c-1}$. The range is $\{x\in R: x\ge1\}$.

(iii) The sine of a real angle always lies between $-1$ and $1$, and by continuity every value in between is taken. The range is $\{x\in R:-1\le x\le 1\}$.

(i) $[0,\infty)$ (ii) $[1,\infty)$ (iii) $[-1,1]$

Question 19

Let $f:R\to R$ be given by $f(x)=x^2+1$. Find (i) $f^{-1}\{10\}$ and (ii) $f^{-1}\{-3\}$.

Solution. $f^{-1}\{c\}$ is the set of all $x$ with $f(x)=c$.

(i) $x^2+1=10$ gives $x^2=9$, so $x=3$ or $x=-3$.

(ii) $x^2+1=-3$ gives $x^2=-4$, which has no real solution. The set is empty.

(i) $\{-3,3\}$ (ii) $\varnothing$

Question 20

The function $F(x)=\dfrac{9x}{5}+32$ converts $x^\circ$C into Fahrenheit. Find (i) $F(0)$, (ii) $F(-10)$, (iii) the value of $x$ for which $F(x)=212$, and interpret each result.

Solution. (i) $F(0)=0+32=32$. Water freezes at $0^\circ$C, which is $32^\circ$F.

(ii) $F(-10)=\frac{9(-10)}{5}+32=-18+32=14$. So $-10^\circ$C is $14^\circ$F, a cold winter day.

(iii) Solve $\frac{9x}{5}+32=212$: $\frac{9x}{5}=180$, so $x=180\cdot\frac59=100$. Water boils at $100^\circ$C, which is $212^\circ$F.

(i) $32$ (ii) $14$ (iii) $x=100$

Common mistakes

  • Calling a set of pairs a function because every pair looks sensible, without checking each element of $A$. In Question 6(ii) the pairs are fine, but $-1$ has no image, so it fails.
  • Rejecting a function because two inputs share an output. In Question 10, $5$ and $6$ both map to $12$; that is allowed. Only one input with two outputs is forbidden.
  • Confusing range with codomain. In Questions 8 and 9 the range omits $9$ and $15$ from $B$.
  • Writing the range of $x^2+1$ as $[0,\infty)$; the minimum is $1$, so it is $[1,\infty)$ (Question 18).
  • Forgetting that equal functions need the same domain, not just the same formula (Question 17).

Practise next

  • Let $A=\{1,2,3\}$ and $f=\{(x,y): x\in A,\ y=x^2-2\}$. Write $f$ in roster form and find its range.
Show answer

$\{-1,2,7\}$. The pairs are $(1,-1),(2,2),(3,7)$, one for each element of $A$, so it is a function with that range.

  • For the conversion formula $F(x)=\frac{9x}{5}+32$, at what Celsius temperature are the Celsius and Fahrenheit readings equal?
Show answer

$-40$. Solve $x=\frac{9x}{5}+32$ to get $-\frac{4x}{5}=32$, so $x=-40$.

Shiwam's Classes: IIT JEEJEE Main and Advanced, worked in full

Subscribe