There are a lot of different derivations of the Work-Energy theorem out there, so to avoid ambiguity I present a derivation of the Work-Energy theorem that I will use as basis.
With that established I will address your question specifically.
I will use:
t time
s position
v velocity
a acceleration
$$ v = \frac{ds}{dt} \quad \Leftrightarrow \quad ds = v \ dt \tag{1} $$
$$ a = \frac{dv}{dt} \quad \Leftrightarrow \quad dv = a \ dt \tag{2} $$
The starting point is Newton's second law:
$$ F = ma \tag{3} $$
The next step is to integrate with respect to the spatial coordinate, integrating from starting point $s_0$ to final point $s$
The idea here is to carry the physics content of $F=ma$ forward by integrating both sides of (3).
$$ \int_{s_0}^s F \ ds = \int_{s_0}^s ma \ ds \tag{4} $$
We proceed to work out the right hand side. I omit the factor $m$ temporarily, it is a multiplicative factor that is just carried over each step
$$ \int_{s_0}^s a \ ds \tag{5} $$
Use (1) to change the differential from $ds$ to $dt$. Since the differential is changed the limits change accordingly.
$$ \int_{t_0}^t a \ v \ dt \tag{6} $$
Change the order:
$$ \int_{t_0}^t v \ a \ dt \tag{7} $$
Change of differential according to (2), with corresponding change of limits.
$$ \int_{v_0}^v v \ dv \tag{8} $$
So we have:
$$ \int_{s_0}^s a \ ds = \tfrac{1}{2}v^2 - \tfrac{1}{2}v_0^2 \tag{9} $$
We multiply both sides with $m$, and then the right hand side of (9) gives us the right hand side of (4). The result: the Work-Energy theorem:
$$ \int_{s_0}^s F \ ds = \tfrac{1}{2}mv^2 - \tfrac{1}{2}mv_0^2 \tag{10} $$
So:
On the left hand side we have the expression for work done, and on the right hand side the expression for kinetic energy.
(As we know: the integral $\int_{s_0}^s F \ ds $ is well defined only if the outcome of the integration is independent of how the test object moves from start point to end point. A force with that property is referred to as a conservative force.)
As we know: potential energy is defined as minus work done.
Restating (10) in terms of energy:
$$ -\Delta E_p = \Delta E_k \tag{11} $$
Now: I have used the symbol $\Delta$ here, and the convention is that we use $\Delta$ for an interval with a definite size.
Here is where I start addressing your question specifically:
Quoting from that NCERT physics class 11 book:
[...] the theorem involves an integral over an interval [...]
Here is an important thing, that is not appreciated by the author of that book:
The validity of (11) extends all the way to infinitismally small increments:
$$ -d E_p = d E_k \tag{12} $$
Sure: (10) expresses an integral over a distance from a start point $s_0$ to a end point $s$. However, you can bring $s_0$ and $s$ arbitrarily close together.
So there is no mathematical obstacle to giving the following differential equation:
$$ - \frac{d E_p}{ds} = \frac{d E_k}{ds} \tag{13} $$
(13) says the following:
As a test object is being accelerated by a force the rate at which the kinetic energy is changing will match the rate at which the potential energy is changing.
That is:
After using the Work-Energy theorem to convert to potential and kinetic energy you can still evaluate the motion in terms of differentials.
The evaluation in terms of differentials will allow you to trace the motion from instant to instant.
(Remark: (13) is stated as differentiation with respect to the position coordinate $s$. Differentiation with repect to time is a valid equation too, but here differentiation with respect to the spatial coordinate is the efficient thing to do. Potential energy is the integral of force with respect to the spatial coordinate. So: differentiating potential energy with respect to the position coordinate recovers the force.)