A takes 3 hours more than B to walk 30 km. But, if A doubles his pace, he is ahead of B by 11/ 2 hours. Find their speed of walking
Let the speed of A and B be x km/hr and y km/hr
Time taken by A to cover 30km 30xhrs
Time taken by B to cover 30km 30yhrs
According to the question
⇒30x−30y=3
⇒10x−10y=1...eq1
If A double his pace then the speed of A is 2x km/hr
therefore time taken by A to cover the 30 = 30/2xhrs And time taken by B to cover the 30KM = 30/yhrs
Now according to the question
⇒30y−302x=32
⇒10y−5x=12
⇒−10x+20y=1...eq2
Now we assume 1x=u and 1y=v
Putting the u and v in eq1 and eq 2 we get
⇒10u−10v=1...eq3
⇒−10u+20v=1...eq4
Adding eq3 and eq4 we get
⇒10v=2
⇒v=210
⇒v=15=1y
→y=5
Put v=15 in eq3
⇒10u−3=0
⇒u=310=1x
⇒x=103
Hence, the speed of A = 10\3 km/hr
The speed of B=5 km/hr respectively