# Integral calculus: integral variable substitution confusion

## Main Question or Discussion Point

Recently I started seeing integral calculus and right now we are covering the topic of the antiderivative. At first sign it was not very difficult, until we started seeing integral variable substitution. The problem starts right here:
Let's suppose that we have a function like this:

$\int \sqrt{x+2}dx$

We can easily convert that $\sqrt{x+2}$ into a $(x+2)^{1/2}$. However we cannot expand this polynomial to a fractional power so instead we rename $x+2$ as $u$ so $x+2=u$ and $dx$ would become into $du$. Having this we can redefine the integral to have something as this:

$\int u^{1/2}du$

Now we can use the power rule to solve this integral:

$\frac{2}{3}u^{3/2}+C$

The only thing we now have to do is to express the solution in terms of $x$ so we have that:

$\frac{2}{3}(x+2)^{3/2}+C$

And this was just the beginning; later on we saw more difficult examples involving trigonometric functions. My main doubt focuses on what my math teacher did in class.

We started having this another integral:

$\int 2x\sqrt{4x-3}dx$

It's a very similar problem like the previous one, now having a factor multiplying a square root. Following the similar algorithm for the last case I replaced the whole expression $4x-3$ into $u$ and to express the remaining $x$ in terms of $u$ I only isolated for $x$ in the $u$. However what my teacher did to find $du$ was equalling it to $4dx$ and that's where I don't understand why instead of $du=dx$ he did that. I hope someone can answer me this to solve my homework problems. Thanks

pwsnafu
The substitution was $u = 4x - 3$ and hence $\frac{du}{dx} = 4$. Your teacher is then rearranging to get $du = 4 \, dx$
The substitution was $u = 4x - 3$ and hence $\frac{du}{dx} = 4$. Your teacher is then rearranging to get $du = 4 \, dx$