My explanation would be like this:
是 (shì) vs. 是……的 (shì…de)
1. 是 (shì) means “to be” or can be used to confirm something.
你们是第一次来北京吗?
Is this your first time in Beijing?
Here, 是 is part of the expression 是第一次 - “it is the first time.”
2. 是……的 (shì…de) is often used to emphasize a detail about an action that has already happened, such as when, where, or how it happened.
我们是昨天来北京的。
We came to Beijing yesterday.
The speaker emphasizes 昨天 (yesterday).
(more)是 (shì) vs. 是……的 (shì…de)
1. 是 (shì) means “to be” or can be used to confirm something.
你们是第一次来北京吗?
Is this your first time in Beijing?
Here, 是 is part of the expression 是第一次 - “it is the first time.”
2. 是……的 (shì…de) is often used to emphasize a detail about an action that has already happened, such as when, where, or how it happened.
我们是昨天来北京的。
We came to Beijing yesterday.
The speaker emphasizes 昨天 (yesterday).