How do you integrate imaginary numbers?

Solution 1:

Yes nothing special. If $f$ and $g$ are real functions then $\int (f + i g) = \int f + i \int g$.

Solution 2:

Nothing special for situations like this, but if, for example, you're integrating $(1/x)\;dx$ not along the line from $0$ to $4$, but along a circle that winds once counterclockwise around $0$, then you may need something more sophisticated.

Solution 3:

You can treat $i$ as a constant:

$$\int_0^4 ix dx = i\int_0^4 xdx = i[x^2/2]_0^4 = i(8-0) = 8i$$

Solution 4:

"i" has one an only value , it never changes, hence it can be just taken out as constant.

$$\int i x \,dx = i\int x \,dx$$