Before I begin. I've read many posts discussing what $dx$ is in an integral, and none of them answer the question I'm about to ask. I am writing this because I don't want my post to be labelled as a duplicate right away. Anyway, let the reader decide whether this is a duplicate or not.
This is the definition of a differential of a function in my textbook:
$$ \lim_{\Delta x \to 0} \frac{\Delta f}{\Delta x} = \frac{df}{dx} = f'(x). $$
The textbook says that multiplying both sides by $dx$, we get
$$ df = f'(x)dx. $$
I already have conceptual issues with this definition. In the textbook, it is emphasized that $\Delta x = d x$. But since the limit where $\Delta x \to 0$ is the fraction $\frac{df}{dx}$ by the above equation, how else am I supposed to interpret $dx$ other than $\Delta x$ which has arrived at $0$ and therefore $dx = 0$? I did a bit of research and found out that Leibniz (who originally conceived of a derivative as the above fraction) named $dx$ and $df$ "infinitesimals". I don't know what to make of them, they seem nonsensical to me. To me it seems that the above equation is saying that we multiply $f'(x)$ with some infinitesimally small $\Delta x$, which is equal to $dx$ and get $df$. How is multiplication by infinitesimals defined, if it even is?
Anyway, the reason I'm focusing on $df$ right now is because my textbook uses it to define the indefinite integral. It says that differentiation is the inverse function of integration. In other words
$$ \int dF(x) = \int F'(x) \; dx = F(x) + C. $$
My issue here is that I don't understand the role of $dx$ in the integral. That $dF$ is equal to $F'(x)$ times $dx$, where $dx$ is an infinitesimal seems wholly nonsensical to me, as I don't understand how multiplication by infinitesimals is defined (if it even is), as I've already said above.
Even worse is the fact that my textbook admits literal multiplication of $dx$ with $F'(x)$ with the following notation (taken from one of the exercises).
$$ \int dx = \int 1 \cdot dx. $$
At first, I thought that I could just disregard $dx$ as a trivial notational convention (it marks the end of the integrand nicely), but it seems that this is sometimes not possible, as $dx$ plays a vital role in the integral, i.e. we actually use it in the calculation. One example of this is when we introduce a new variable $t$ (note that here $F'(x) = f(x)$).
$$ \int f(g(x))g'(x) \; dx = \int f(t) \; dt, $$
where
$$ t = g(x), \quad dt = g(x)dx, \quad F'(t) = f(t). $$
We manipulate $dx$ as well, and hence I conclude that it can't be thought of only as a trivial notational convention. Taking this into account, I am especially surprised that one of the answers in this post claimed that $dx$ is just a trivial notational convention in all cases. By the above example, I don't see how that can be.
To sum up:
What exactly is $dx$? How can it be that $dx = \Delta x$ where $\Delta x \to 0$, but $dx \neq 0$? Is multiplication by infinitesimals even defined in standard analysis?
How can I define the integral in such a way, that $dx$ is trivial and I don't need to calculate with it?
I think it would be neater to define the indefinite integral as the inverse function of derivation, not differentiation. Can I do that?
Thank you for all your answers in advance.