Q.
Consider, A, B, C be three sets of functions
$A=\left\{[x], \sqrt{1-x^2}, \frac{1}{x-1}, \frac{2}{1-\{x\}}\right\},$
$B=\left\{\tan x, \sin x+\cos x, \frac{3}{2+\cos x}\right\}, $
$C=\left\{x^{\frac{1}{3}}, \tan ^{-1} x, \operatorname{sgn}(1+[x]+[-x])\right\}$
A normal dice is thrown once, if it turns up a composite number, a function is selected from the set A, if it shows up a prime number, a function is selected from the set B, else a function is selected from set C. If the selected function is found to be a derivable in its domain and the probability it was selected from set $A$, is $\frac{p}{q}$, where $p, q \in N$, then find the least value of $(q-7 p)$.
[Note: $[ k ],\{ k \}$ and sgn $( k )$ denote greatest integer, fractional part and signum function of $k$ respectively.]
Probability - Part 2
Solution: