in Quantitative Aptitude edited by
2,660 views
15 votes
15 votes

Given that $f(y)=\frac{ \mid y \mid }{y},$ and $q$ is non-zero real number, the value of $\mid f(q)-f(-q) \mid $ is

  1.  $0$
  2.  $-1$ 
  3.  $1$       
  4. $2$
in Quantitative Aptitude edited by
by
2.7k views

2 Comments

It will be 2.
0
0
Answer will be 2
0
0

1 Answer

15 votes
15 votes
Best answer

$f(y) = \frac{|y|}{y}= \left\{\begin{matrix} +1 & when \; y>0\\ -1 & when \; y<0 \end{matrix}\right.$

It is well-known signum function but in the given quetion, it is not defined for $y=0$

Here, $q$ is a non-zero real number.

So,

$(1)$ When $q>0$, then $|f(q)-f(-q)| = |(+1) - (-1)| = 2$ because when $q>0$ then $f(q)=f(>0)=+1$ and $q>0$ means $-q<0$ which implies  $f(-q)=f(<0)=-1$

$(2)$ When $q<0$, then $|f(q)-f(-q)| = |(-1) - (+1)| = 2$ because when $q<0$ then $f(q)=f(<0)=-1$ and $q<0$ means $-q>0$ which implies  $f(-q)=f(>0)=+1$

Correct Option: D.

selected by

1 comment

In this question we have to consider 2 cases because they mentioned q is non zero so q can be positive or negative but not zero i.e  

When q>0 and q<0

 

Case-1: when q>0  

f(y) = |y| / y  

f(q) = |+q| / +q =1

f(-q)=|-q| / -q  = -1  

So |f(q) - f(-q)|  

= |1 - (-1)|  

= 2  

Case-2:  

When q<0  

As q<0  

f(q) = |-q| / -q =-1  

f(-q)=|q| /q =1  

So |f(q) - f(-q)|  

=|-1 – 1|

= 2

so correct answer is option – D
0
0
Answer:

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true