Explanation
To find the number of solutions (n1 and n2), we analyze the intersection points of the functions graphically.
Step 1: Determine n1 for x=∣sin−1x∣
We look for the intersection of the line y=x and the curve y=∣sin−1x∣.
The domain of sin−1x is [−1,1].
For x∈[0,1], the equation becomes x=sin−1x, which implies sinx=x. The only solution is x=0.
For x∈[−1,0), ∣sin−1x∣ is positive, while x is negative, so there are no intersections.
Thus, there is only one intersection point at (0,0).
Therefore, n1=1.
Step 2: Determine n2 for x=sinx
We look for the intersection of the line y=x and the curve y=sinx.
At x=0, both functions equal 0 (the origin).
For x > 0, \sin x < x.
For x < 0, \sin x > x.
Since the functions only intersect at the origin, there is only one solution.
Therefore, n2=1.
Step 3: Calculate n2−n1
Using the values found:
n2−n1=1−1=0
The correct option is B.