The distance travelled by first body in time t,s1=40t
The distance travelled by second body in time t,
s2=12×4×t2=2t2
The separation between them at any time t
s=s1−s2=40t−2t2.....(i)
When second body catches first body, s1−s2=0
s1−s2=40t−2t2=0
Which gives t=0,20 s
At t=0, both start moving from same point. Hence, at t=20 s, the second body will catch first body.
For s to be minimum or maximum, ds/dt=0.
dsdt=ddt(40t−2t2)=40−4t.....(ii)
If dsdt=0, then ddt(40t−2t2)=0
or 40−2×2t=0 or t=10 s
Now check s is minimum or maximum doing double derivative test. Differentiating equation (ii) again d2sdt2=−4
The double derivative of s w.r.t t is negative. Hence, we will get maximum value of the function at t=10 s.
The greatest distance travelled them putting t=10 s in Eq. (i), we get s=40×10−2×102=200 m.