Question regarding Entropy [closed]

I had some doubts regarding the concept of entropy. My first doubt was

1. Entropy is defined as $$dS = dQ _{rev}/ T$$ yet my textbook says that entropy is a state function. Isn't it the definition of a state function that we can define its value uniquely depending on the current system with no regards to the previous states of the system, yet in the formula for entropy we need to find the change in its heat energy which is not uniquely determined by the system and we need the previous state of the system to define it properly.

2. My course says that entropy is strictly defined only for reversible paths, that is all processes done on the system must be strictly reversible, however there are no such restrictions for that on the surrounding. What is the reason for such a definition of entropy and why we can't define it for irreversible processes on the system? The only reason my course if providing is that because the concept of entropy is derived from the working of a Carnot Engine, where the system has reversible processes done on it, we confine the definition of entropy as such as well.

3. Another doubt that I had was if we do want to calculate the change in entropy of a system if we provide it $$dQ$$ heat reversibly, how do we ensure that the temperature of the system does not change, since for calculation of $$\Delta S$$ they only consider the change in heat energy and not that of temperature.

• If you consider the alternate definition, S = k ln W, it is easier to see that entropy is a state function. Nov 28 '21 at 15:10
• For 1, the essence is this: A state function depends on states. However, accessible states could depend on path, so state function appears to be dependent on path. Dec 1 '21 at 22:14