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

The total number of functions $f: \{1, 2, 3, 4\} \to \{1, 2, 3, 4, 5, 6\}$ such that $f(1) + f(2) = f(3)$ is equal to:

$f(x) = \frac{x}{\ln x}$ and $g(x) = \frac{\ln x}{x}$. Identify the $CORRECT$ statement.

Let $N$ be the set of all natural numbers and $f: N \rightarrow N$ be such that $1990 < f(1990) < 2100$ and satisfies the equation $x-f(x)=19[\frac{x}{19}]-90[\frac{f(x)}{90}]$,where $[y]$ denotes the greatest integer less than or equal to $y$. Then the number of possible values of $f(1990)$ is

$f: R \rightarrow R$ is a function defined by $f(x) = \frac{1}{e^x + 2e^{-x}}$. Assertion $(A): f(c) = \frac{1}{3}$ for some values of $c \in R$. Reason $(R): 0 < f(x) \leq \frac{1}{2\sqrt{2}}$ for all $x \in R$. Then which of the following options is correct?

If $f(x) = 2\sin x$ and $g(x) = \cos^2 x$,then $(f + g)\left(\frac{\pi}{3}\right) = $

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