How can I change those bounds - using assigmnets of t=...:
$$\int_{0.5}^{1.5} e^{x^2} dx$$
To those bounds:
$$0.5\int_{-1}^{1} e^{-(1+0.5t)^2} dt$$
I've seen that if $x=1+0.5t$ it will work, but I don't know how to do it in general. For example if next time my bounds were [a,b] and I needed the bounds to be [c,d] with some assignment
In general, you have the range $x = a$ to $x = b$, and you want to find $t = Px + Q$ so that $t$ will go from $c$ to $d$. In other words, you want
\begin{align} Pa + Q &= c \\ Pb + Q &= d \\ \end{align} and you need to find $P$ and $Q$. Then you'll do the substitution $$ t = Px + Q \\ dt = P ~ dx\\ \frac{1}{P} ~dt = dx $$
So how do you find $P$ and $Q$? Remember that $a, b, c, d$ are known. So write \begin{align} Pa + Q &= c \\ Pb + Q &= d \\ \end{align} Subtract to get: \begin{align} P(a-b) &= c-d \\ \end{align} Solve for $P$: \begin{align} P &= \frac{c-d}{a-b} \end{align} And now take that (known) value of $P$ and use it in $$ Q = c - Pa = c - \left( a \frac{c-d}{a-b} \right) $$ to find $Q$.
And that's all you need to do!