Reference books define reversible heat transfer as heat transfer occurs across a infinitesimal thermal gradient i.e. dT and irreversible heat transfer as heat transfer across finite thermal gradient i.e. ΔT.
Now i want to calculate the quantity $\int _1^2 \frac{dq}{T}$ for a process involving heat transfer into a system where its temperature changed from $T_{1}$ to $T_{2}$. My question is if i calculate this integral for a reversible and and an irreversible heat transfer into a system whether they will be equal?