Lemma A.7.
Let \((L,R)\) be a factorization system on \(C\).
Let \(\Ar^R(C) \subseteq \Ar(C)\) denote the full subcategory spanned by the morphisms in \(R\). Then the inclusion \(\Ar^R(C) \hookrightarrow \Ar(C)\) admits a left adjoint. Given a morphism \(f\colon A \to B\) with factorization \(A \xrightarrow{l} C \xrightarrow{r} B\), this left adjoint sends \(f\) to \(r\).
Similarly, the inclusion \(\Ar^L(C) \hookrightarrow \Ar(C)\) of the morphisms in \(L\) admits a right adjoint, sending \(f\) to \(l\).
For every object \(X\in C\), let \(R[X]\subseteq C_{/X}\) be the full subcategory spanned by the morphisms in \(R\). Then \(R[X]\) is reflective in \(C_{/X}\), and the reflection sends a morphism \(f\colon A\to X\) to its right factor \(r\colon C\to X\).