← Back to learning objective

Substitution with u = sqrt(x)

Evaluate the indefinite integral using the substitution u=xu = \sqrt{x}:

∫cos⁡(x)x dx\int \frac{\cos(\sqrt{x})}{\sqrt{x}}\,dx

Find the antiderivative in terms of xx (include the constant of integration).

Hint

Let u=x=x1/2u = \sqrt{x} = x^{1/2}. Compute dudu in terms of dxdx and x\sqrt{x}, and notice that dxx\frac{dx}{\sqrt{x}} is exactly what appears in the integral once you account for the constant factor.

Step-by-step solution

Let u=xu = \sqrt{x}. Then du=12x dxdu = \frac{1}{2\sqrt{x}}\,dx, so 2 du=dxx2\,du = \frac{dx}{\sqrt{x}}. Substituting into the integral gives ∫cos⁡(u)⋅2 du=2∫cos⁡(u) du\int \cos(u)\cdot 2\,du = 2\int \cos(u)\,du.

Evaluating this simpler integral yields 2sin⁡(u)+C2\sin(u) + C. Substituting back u=xu = \sqrt{x} gives the final answer 2sin⁡(x)+C2\sin(\sqrt{x}) + C.

Constant factor from substitution

Hint
Step-by-step solution

The answer is two. Since u equals the square root of x, its derivative introduces a factor of one half in du, which means dx over the square root of x equals two du. That constant two carries through as the coefficient multiplying cosine of u inside the integral before integrating.

Related problems

Practice similar Calculus problems interactively.

Start Closing the Gap