While reading calculus books, I see sections on differentials which refer to "infinitessimals" in a very loose way, alluding to the fact that this view on calculus is not the standard, but makes a lot of intuitive sense. However, the next "level" of rigor I've seen is in differential geometry books, where differentials are well-defined in a standard way, but require a depth of knowledge just to understand that definition.
My question is: is there a middle ground here, where we can rigorously and formally define the concept of a differential $\text{d}x$ for an independent variable $x$, that is accessible to students fresh out of undergraduate or first-year-graduate analysis?
I emphasize independent because I've heard many times that a differential is defined as $\text{d}y = f^\prime(x)\text{d}x$, but without defining $\text{d}x$ this definition is pointless.
Edit: I think what I'm looking for is basically a simpler explanation of $\{\text{d}x^i\}$ as a dual basis for $\{e_i\}$, without talking about tangent and cotangent spaces and, if possible, without talking about bases at all. When we say $\text{d}x^i(e_j) = \delta_{ij}$, what is the definition of $\text{d}x^i$ that is used?