Question
Question: Places \(A\) and \(B\) are \(100\) km apart on a highway. One car starts from A and another from B a...
Places A and B are 100 km apart on a highway. One car starts from A and another from B at the same time. If the cars travel in the same direction at different speeds, they meet in 5 hours. If they travel towards each other, they meet in 1 hour. What are the speeds of the two cars?
Solution
Hint: Here in this question we know the distance the two cars are apart from each other and we know the time taken when they travel in two different directions so we can calculate their speeds.
As we know that, speed=timedistance
Step by step solution:
Here in this question we will start solving the question after enlisting the given information.
So, it is given in this that
Distance between the point A and point B=100km
Now, let us assume that the two cars are named as CarAand CarB.
That means CarA starts from point A and CarB starts from point B.
And also here we have to assume the speeds of these cars.
So, let Speed of CarA=xhkm and Speed of CarB=yhkm
So, now according to question it is given that
If the cars travel in the same direction at different speeds, they meet in 5hours
And if they travel towards each other, they meet in 1 hour.
Now firstly we will consider the case when both the cars are moving in same direction
So, in this case the Speed of CarA=xhkm and Speed of CarB=yhkm
So, we are given that in this case they will meet after travelling for 5hours
It means that the relative distance travelled by them will be 100km in 5hours.
So, as we know that speed=timedistance
⇒speed×time=distance
So, by putting values we will get
5x−5y=100
⇒x−y=20 ……….(i)
Now, we will consider the second case when both the cars travel in the opposite direction that is moving towards each other.
In this case the Speed of CarA=xhkm and Speed of CarB=−yhkm
Speed of CarBis negative because we have assumed that it is moving in the opposite direction.
So, here the equation formed will be
x−(−y)=100
⇒x+y=100 ………….(ii)
So, now we have two equations {(i)&(ii)} and two variables {x&y}
∴After adding both the equations we will get
x−y=20 …….(i)
x+y=100 ………(ii)
⇒2x=120
⇒x=60hkm
Now, putting the value of xin equation (i)
x−y=20 ⇒60−y=20 ⇒−y=20−60 ⇒−y=−40 ⇒y=40hkm
∴ The speeds of two cars are 60hkm and 40hkm.
Note: These types of questions can also be done by making a proper diagram by using the given information that will give you an exact idea of what is happening in the question.
In this type of questions students generally make mistakes while considering the speed of cars in the second case when both the cars are travelling towards each other. This leads to the formation of wrong equations and that will lead to the wrong answer.