The number of ways to reach the point Q(4,5,3) from point P(1,2,1) in the space where movement is only allowed parallel to the three axes and change of direction is allowed only at the integral points is
Open in App
Solution
To reach point Q from P, required steps along x,y and z axis are |x2−x1|=4−1=3|y2−y1|=5−2=3
and |z2−z1|=3−1=2 respectively.
Total number of steps =8
Required number of ways to reach point Q from P is, =8!3!×3!×2!=560