GATE 2015 CS (CS1) – Question 11
If $g(x) = 1 - x$ and $h(x) = \frac{x}{x-1}$, then $\frac{g(h(x))}{h(g(x))}$ is:
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (A) $\frac{h(x)}{g(x)}$
Explanation
$g(h(x)) = 1 - \frac{x}{x-1} = \frac{-1}{x-1}$ and $h(g(x)) = \frac{1-x}{(1-x)-1} = \frac{x-1}{x}$. Their ratio is $\frac{-1}{x-1} \cdot \frac{x}{x-1} = \frac{-x}{(x-1)^2}$. Also $\frac{h(x)}{g(x)} = \frac{x}{(x-1)(1-x)} = \frac{-x}{(x-1)^2}$, which matches.
More Discrete Mathematics: Sets, Relations, Functions, Partial Orders and Lattices questions
- GATE 2015 CS (CS1) Q20
- GATE 2015 CS (CS1) Q42
- GATE 2016 CS (CS1) Q38
- GATE 2014 CS (CS1) Q60
- GATE 2014 CS (CS2) Q60
- GATE 2014 CS (CS3) Q12
All Discrete Mathematics: Sets, Relations, Functions, Partial Orders and Lattices questions →