# Can I do this? (integral)

1. Sep 12, 2007

### rocomath

[SOLVED] Can I do this? (integral)

$$\int(\sqrt{x}+\frac{1}{\sqrt{x}})^2dx$$ sum of a product ... simplify

$$\int(x+2+\frac{1}{x})dx$$ integrating ...

$$\frac{1}{2}x^2+2x+\ln{x}$$

2. Sep 12, 2007

### learningphysics

Looks correct to me.

3. Sep 12, 2007

### Kurdt

Staff Emeritus
Looks ok to me.

4. Sep 12, 2007

### rocomath

damn i love math :-] idk why i didn't think about doing it earlier.

5. Sep 12, 2007

### bob1182006

Just some technicalities, $\int \frac{dx}{x} = ln |x|$. and $\sqrt{x}^2=|x|$ dont think it affects anything really but if x was to be an odd power in the final answer I think it would need to be given as a parametric equation.

6. Sep 13, 2007

### HallsofIvy

Staff Emeritus
And you certainly should have "+ C"!!