I will be teaching Calculus 1 soon and I am trying to find some justifications for fishy arguments that are widespread out there.
In a standard Calculus 1 course, the following concepts are presented to students.
Antiderivative: A function $F$ is called an antiderivative of a function $f$ in an interval if $F'=f$ in that interval.
Indefinite integral: the family of all the antiderivatives of a function $f$ is called indefinite integral of $f$ and is denoted by $\int f(x)dx$. Having shown that the difference of any two antiderivatives of the same function is constant, if $F$ is an antiderivative of $f$, then we write $\int f(x)dx=F(x)+C$, where $C$ is a constant.
The problem I see is that some textbooks define the differential in a very vague manner and then foster the use of the equality $dy=y'dx$ without justification.
For example, when presenting the integration by parts all starts fine with the product rule of two differentiable functions $u$ and $v$: $$(uv)'=u'v+uv'\implies uv'=(uv)'-u'v$$ which implies that $$\int u(x)v'(x)dx=u(x)v(x)-\int u'(x)v(x)dx\quad\quad\quad (A)$$
The problem starts with the manipulation of the dummy symbols in the notation of the indefinite integral by the substitutions $dv=v'(x)dx$ and $du=u'(x)dx$ resulting in the popular formula: $$\int udv=uv-\int vdu\quad\quad\quad (B)$$
When I look at the definition of indefinite integral, equality (A) is well-defined but (B) is not.
Into practice: Calculate $\int 2x\cos(x)dx$.
A student using (A) will write: let $u(x)=2x$ and $v'(x)=\cos(x)$. Then $u'(x)=2$ and $v(x)=\int cos(x)dx=\sin(x)$ (here undertanding that we just need 1 (any) antiderivative)
Then by (A) we have: $\int 2x\cos(x)dx=2x\sin(x)-\int 2\sin(x)dx=2x\sin(x)+2\cos(x)+C$.
When using (B) students use $u=2x$ and $dv=\cos(x)dx$. Then compute $du=2dx$ and $v=\sin(x)$, and finally replace the pieces into (B) as if they were TeX processors. I mean, the method relies on the syntax of (B), not in the definition of indefinite integral.
Question: what is the mathematical justification to accept the use of (B)? The justification should be at the level of students taking Calculus 1.
Remark: Note that substitutions of the type $dy=y'dx$ are not necessary for the substitution techniques of integration in a Calculus 1 course.
Indeed, if $F'=f$, then the chain rule shows: $$(F\circ g)'(x)=f(g(x))g'(x)$$ so by the definition of indefinite integral $$\int f(g(x))g'(x)dx=F(g(x))+C,$$ or equivalently, $$\int f(g(x))g'(x)dx=\left.\int f(u)du\right|_{u=g(x)}.$$
Update: Thanks to the answers posted, I realized that my concern was justified: (B) is (apparently) only justified after considering contents that are not part of a calculus 1 course, say, through Stieltjes integrals or differentials. Thank you for the well-presented answers and for the comments and resources presented in the comment sections.
I am well aware that it would not be good to hide (B) from my students since as it was pointed out in the comments, students will face it sooner or later and they should be prepared for it. That is why I posted this question. I think I will present and mostly use (A) during the course. I will mention (B) stating that is true but we do not have the tools to prove it and that for now it can be used as a notation-wise shortcut for (A), so they have a way to justify steps that appear in many calculus textbooks, steps that are layout without a proper justification (and you wonder why people do not understand mathematics).