Let $A=\{-1, 0, 1, 2\}$ and $B=\{-4, -2, 0, 2\}$. Let $f, g: A \rightarrow B$ be functions defined by $f(x)=x^{2}-x$ for $x \in A$ and $g(x)=2\left|x-\frac{1}{2}\right|-1$ for $x \in A$. Are $f$ and $g$ equal? Justify your answer.

Vedclass pdf generator app on play store
Vedclass iOS app on app store
Two functions $f$ and $g$ are equal if $f(a) = g(a)$ for all $a \in A$.
For $x = -1$:
$f(-1) = (-1)^{2} - (-1) = 1 + 1 = 2$
$g(-1) = 2\left|-1 - \frac{1}{2}\right| - 1 = 2\left|-\frac{3}{2}\right| - 1 = 2\left(\frac{3}{2}\right) - 1 = 3 - 1 = 2$
So,$f(-1) = g(-1)$.
For $x = 0$:
$f(0) = (0)^{2} - 0 = 0$
$g(0) = 2\left|0 - \frac{1}{2}\right| - 1 = 2\left(\frac{1}{2}\right) - 1 = 1 - 1 = 0$
So,$f(0) = g(0)$.
For $x = 1$:
$f(1) = (1)^{2} - 1 = 0$
$g(1) = 2\left|1 - \frac{1}{2}\right| - 1 = 2\left(\frac{1}{2}\right) - 1 = 1 - 1 = 0$
So,$f(1) = g(1)$.
For $x = 2$:
$f(2) = (2)^{2} - 2 = 4 - 2 = 2$
$g(2) = 2\left|2 - \frac{1}{2}\right| - 1 = 2\left(\frac{3}{2}\right) - 1 = 3 - 1 = 2$
So,$f(2) = g(2)$.
Since $f(a) = g(a)$ for all $a \in A$,the functions $f$ and $g$ are equal.

Explore More

Similar Questions

If $S$ is a set of polynomials $P(x)$ of degree $\le 2$ such that $P(0) = 0$,$P(1) = 1$,and $P'(x) > 0$ for all $x \in (0, 1)$,then which of the following describes $S$?

Answer the following by appropriately matching the lists based on the information given in the paragraph.
Let $f(x) = \sin(\pi \cos x)$ and $g(x) = \cos(2\pi \sin x)$ be two functions defined for $x > 0$. Define the following sets whose elements are written in increasing order:
$X = \{x : f(x) = 0\}, Y = \{x : f'(x) = 0\}$
$Z = \{x : g(x) = 0\}, W = \{x : g'(x) = 0\}$
$List-I$ contains the sets $X, Y, Z$ and $W$. $List-II$ contains some information regarding these sets.
$List-I$$List-II$
$(I) X$$(P) \supseteq \{\frac{\pi}{2}, \frac{3\pi}{2}, 4\pi, 7\pi\}$
$(II) Y$$(Q) \text{ an arithmetic progression}$
$(III) Z$$(R) \text{ NOT an arithmetic progression}$
$(IV) W$$(S) \supseteq \{\frac{\pi}{6}, \frac{7\pi}{6}, \frac{13\pi}{6}\}$
$(T) \supseteq \{\frac{\pi}{3}, \frac{2\pi}{3}, \pi\}$
$(U) \supseteq \{\frac{\pi}{6}, \frac{3\pi}{4}\}$

$(1)$ Which of the following is the only $CORRECT$ combination?
$(1) (II), (R), (S)$ $(2) (I), (P), (R)$ $(3) (II), (Q), (T)$ $(4) (I), (Q), (U)$
$(2)$ Which of the following is the only $CORRECT$ combination?
$(1) (IV), (Q), (T)$ $(2) (IV), (P), (R), (S)$ $(3) (III), (R), (U)$ $(4) (III), (P), (Q), (U)$

Consider a function $f : N \rightarrow R$,satisfying $f(1)+2 f(2)+3 f(3)+\ldots+x f(x)=x(x+1) f(x)$ for $x \geq 2$,with $f(1)=1$. Then $\frac{1}{f(2022)}+\frac{1}{f(2028)}$ is equal to

The number of roots of the equation $\sqrt{2}+e^{\cosh^{-1} x}-e^{\sinh^{-1} x}=0$ is

If the number of elements in the sets $G$ and $A$ are $3$ and $4$ respectively,then match the items of List-$I$ with those of List-$II$.
List-$I$List-$II$
$A$. The number of non-bijective functions from $G \times G$ to $G$$I$. $24$
$B$. The number of bijective functions from $A$ to $A$$II$. $0$
$C$. The number of functions from $G$ to $G \times A$$III$. $1728$
$D$. The number of surjective functions from $A$ to $A \times A$$IV$. $12$
$V$. $19683$

Vedclass Products

For Students

Vedclass Test Series

Mock tests in real JEE/NEET style with performance analysis. 5-day free trial.

Start Free Trial
For Teachers

Exam Paper Generator

Generate Set A/B/C/D exam papers from 7.5L+ questions in 2 minutes. 3 chapters free.

Try Free
For Institutes

Online Exam Module

Live online exams with unlimited students, 360° analytics & white-label branding.

See Demo