Integration by Substitution - Calculus 2

  1. Find ∫cos⁡(x)x dx\int \frac{\cos(\sqrt{x})}{\sqrt{x}} \, dx
    Answer: 2sin⁡(x)+C2\sin(\sqrt{x}) + C Let u=xu = \sqrt{x}, so x=u2x = u^2 and dx=2u dudx = 2u \, du. Also, 1x=1u\frac{1}{\sqrt{x}} = \frac{1}{u}. The integral becomes ∫cos⁡(u)u⋅2u du=∫2cos⁡(u) du=2sin⁡(u)+C=2sin⁡(x)+C\int \frac{\cos(u)}{u} \cdot 2u \, du = \int 2\cos(u) \, du = 2\sin(u) + C = 2\sin(\sqrt{x}) + C. Choice B forgets the factor of 2 from the substitution. Choice C incorrectly integrates cosine as negative cosine instead of sine. Choice D attempts to integrate the original expression term by term without proper substitution.
  2. Evaluate the integral ∫sin⁡(2x)1+cos⁡2(x)dx\int \frac{\sin(2x)}{1+\cos^2(x)} dx.
    Answer: −ln⁡(1+cos⁡2(x))+C-\ln(1+\cos^2(x)) + C First, use the identity sin⁡(2x)=2sin⁡(x)cos⁡(x)\sin(2x) = 2\sin(x)\cos(x). The integral becomes ∫2sin⁡(x)cos⁡(x)1+cos⁡2(x)dx\int \frac{2\sin(x)\cos(x)}{1+\cos^2(x)} dx. Let u=1+cos⁡2(x)u = 1+\cos^2(x). Then du=2cos⁡(x)(−sin⁡(x))dx=−2sin⁡(x)cos⁡(x)dxdu = 2\cos(x)(-\sin(x)) dx = -2\sin(x)\cos(x) dx. Thus, −du=2sin⁡(x)cos⁡(x)dx-du = 2\sin(x)\cos(x) dx. The integral transforms to ∫−duu=−ln⁡∣u∣+C\int \frac{-du}{u} = -\ln|u| + C. Substituting back gives −ln⁡(1+cos⁡2(x))+C-\ln(1+\cos^2(x)) + C. The absolute value is not needed as 1+cos⁡2(x)1+\cos^2(x) is always positive.
  3. To evaluate the integral ∫x+2x+1dx\int \frac{x+2}{\sqrt{x+1}} dx, a substitution is used. Which of the following is the correct antiderivative?
    Answer: 23(x+1)3/2+2(x+1)1/2+C\frac{2}{3}(x+1)^{3/2} + 2(x+1)^{1/2} + C Let u=x+1u = x+1. This implies du=dxdu = dx and x=u−1x = u-1. The numerator becomes x+2=(u−1)+2=u+1x+2 = (u-1)+2 = u+1. The integral transforms to ∫u+1udu=∫(u1/2+u−1/2)du\int \frac{u+1}{\sqrt{u}} du = \int (u^{1/2} + u^{-1/2}) du. Integrating term-by-term gives u3/23/2+u1/21/2+C=23u3/2+2u1/2+C\frac{u^{3/2}}{3/2} + \frac{u^{1/2}}{1/2} + C = \frac{2}{3}u^{3/2} + 2u^{1/2} + C. Substituting back u=x+1u=x+1 yields the correct answer.
  4. Evaluate the integral ∫x2x3+83dx\int \frac{x^2}{\sqrt[3]{x^3+8}} dx.
    Answer: 12(x3+8)2/3+C\frac{1}{2}(x^3+8)^{2/3} + C Let u=x3+8u = x^3+8. Then du=3x2dxdu = 3x^2 dx, so 13du=x2dx\frac{1}{3}du = x^2 dx. The integral becomes ∫1u3⋅13du=13∫u−1/3du\int \frac{1}{\sqrt[3]{u}} \cdot \frac{1}{3}du = \frac{1}{3} \int u^{-1/3} du. Using the power rule for integration, this is 13u2/32/3+C=13⋅32u2/3+C=12u2/3+C\frac{1}{3} \frac{u^{2/3}}{2/3} + C = \frac{1}{3} \cdot \frac{3}{2} u^{2/3} + C = \frac{1}{2}u^{2/3} + C. Substituting back gives 12(x3+8)2/3+C\frac{1}{2}(x^3+8)^{2/3} + C.
  5. Evaluate ∫1xln⁡(x3)dx\int \frac{1}{x \ln(x^3)} dx.
    Answer: 13ln⁡∣ln⁡x∣+C\frac{1}{3} \ln|\ln x| + C When you encounter an integral with logarithmic functions in both the numerator and denominator, substitution is typically your best approach. The key insight here is recognizing that the derivative of ln⁡(x3)\ln(x^3) appears (almost) in the numerator. Let's use the substitution u=ln⁡(x3)u = \ln(x^3). First, simplify using logarithm properties: u=ln⁡(x3)=3ln⁡(x)u = \ln(x^3) = 3\ln(x), so du=3⋅1xdxdu = 3 \cdot \frac{1}{x} dx, which means 1xdx=13du\frac{1}{x} dx = \frac{1}{3} du. Substituting into our integral: ∫1xln⁡(x3)dx=∫1ln⁡(x3)⋅1xdx=∫1u⋅13du=13∫1udu=13ln⁡∣u∣+C\int \frac{1}{x \ln(x^3)} dx = \int \frac{1}{\ln(x^3)} \cdot \frac{1}{x} dx = \int \frac{1}{u} \cdot \frac{1}{3} du = \frac{1}{3} \int \frac{1}{u} du = \frac{1}{3} \ln|u| + C Substituting back: 13ln⁡∣ln⁡(x3)∣+C=13ln⁡∣3ln⁡(x)∣+C=13ln⁡∣3∣+13ln⁡∣ln⁡(x)∣+C\frac{1}{3} \ln|\ln(x^3)| + C = \frac{1}{3} \ln|3\ln(x)| + C = \frac{1}{3} \ln|3| + \frac{1}{3} \ln|\ln(x)| + C Since 13ln⁡∣3∣\frac{1}{3} \ln|3| is just a constant, we can absorb it into CC, giving us 13ln⁡∣ln⁡x∣+C\frac{1}{3} \ln|\ln x| + C. Choice A misses the factor of 13\frac{1}{3} and incorrectly has coefficient 3. Choice B fails to simplify ln⁡(x3)=3ln⁡(x)\ln(x^3) = 3\ln(x) and doesn't account for the substitution factor. Choice C incorrectly attempts integration by parts or treats this as a power function rather than recognizing the logarithmic structure. Strategy tip: When you see nested functions like f(g(x))f(g(x)), always check if the derivative of the inner function g′(x)g'(x) appears elsewhere in the integrand—this signals u-substitution.
  6. Evaluate the definite integral ∫01(1−x)9dx\int_{0}^{1} (1-x)^9 dx.
    Answer: 110\frac{1}{10} Let u=1−xu = 1-x. Then du=−dxdu = -dx, or −du=dx-du = dx. The limits change: when x=0x=0, u=1u=1; when x=1x=1, u=0u=0. The integral becomes ∫10u9(−du)=∫01u9du\int_1^0 u^9 (-du) = \int_0^1 u^9 du. This evaluates to [u1010]01=11010−01010=110[\frac{u^{10}}{10}]_0^1 = \frac{1^{10}}{10} - \frac{0^{10}}{10} = \frac{1}{10}.
  7. Find the antiderivative of f(x)=x2sin⁡(x3+1)f(x) = x^2 \sin(x^3+1).
    Answer: −13cos⁡(x3+1)+C-\frac{1}{3}\cos(x^3+1) + C To evaluate ∫x2sin⁡(x3+1)dx\int x^2 \sin(x^3+1) dx, let u=x3+1u = x^3+1. Then du=3x2dxdu = 3x^2 dx, which means 13du=x2dx\frac{1}{3}du = x^2 dx. The integral becomes ∫sin⁡(u)⋅13du=13∫sin⁡(u)du\int \sin(u) \cdot \frac{1}{3} du = \frac{1}{3} \int \sin(u) du. This evaluates to 13(−cos⁡(u))+C=−13cos⁡(x3+1)+C\frac{1}{3}(-\cos(u)) + C = -\frac{1}{3}\cos(x^3+1) + C.
  8. The substitution u=x−3u=\sqrt{x}-3 transforms a definite integral ∫abf(x)dx\int_a^b f(x) dx into ∫−2−12(u+3)eudu\int_{-2}^{-1} 2(u+3)e^u du. What was the original integral?
    Answer: ∫14ex−3dx\int_1^4 e^{\sqrt{x}-3} dx From u=x−3u = \sqrt{x}-3, we find x=u+3\sqrt{x} = u+3 and x=(u+3)2x=(u+3)^2. Then dx=2(u+3)dudx = 2(u+3)du. The transformed integral is ∫−2−1eu⋅2(u+3)du\int_{-2}^{-1} e^u \cdot 2(u+3)du. The part 2(u+3)du2(u+3)du corresponds to dxdx, so the original function f(x)f(x) must correspond to eue^u. Substituting u=x−3u=\sqrt{x}-3 gives f(x)=ex−3f(x) = e^{\sqrt{x}-3}. For the limits: if u=−2u=-2, then −2=a−3  ⟹  a=1  ⟹  a=1-2=\sqrt{a}-3 \implies \sqrt{a}=1 \implies a=1. If u=−1u=-1, then −1=b−3  ⟹  b=2  ⟹  b=4-1=\sqrt{b}-3 \implies \sqrt{b}=2 \implies b=4. Thus, the original integral was ∫14ex−3dx\int_1^4 e^{\sqrt{x}-3} dx.
  9. Evaluate ∫x+1x2+1dx\int \frac{x+1}{x^2+1} dx.
    Answer: 12ln⁡(x2+1)+arctan⁡(x)+C\frac{1}{2}\ln(x^2+1) + \arctan(x) + C This integral should be split into two parts: ∫xx2+1dx+∫1x2+1dx\int \frac{x}{x^2+1} dx + \int \frac{1}{x^2+1} dx. The second integral is the standard form for arctan⁡(x)\arctan(x). For the first integral, use the substitution u=x2+1u=x^2+1, so du=2xdxdu=2xdx or 12du=xdx\frac{1}{2}du=xdx. This integral becomes 12∫duu=12ln⁡∣u∣=12ln⁡(x2+1)\frac{1}{2}\int \frac{du}{u} = \frac{1}{2}\ln|u| = \frac{1}{2}\ln(x^2+1). Combining the two parts gives 12ln⁡(x2+1)+arctan⁡(x)+C\frac{1}{2}\ln(x^2+1) + \arctan(x) + C.
  10. To evaluate ∫x3x2+1 dx\int x^3 \sqrt{x^2+1} \, dx, a helpful substitution is u=x2+1u=x^2+1. Which of the following is the correct antiderivative?
    Answer: 115(3x2−2)(x2+1)3/2+C\frac{1}{15}(3x^2-2)(x^2+1)^{3/2} + C Let u=x2+1u=x^2+1, so x2=u−1x^2=u-1 and du=2xdxdu=2xdx, which means 12du=xdx\frac{1}{2}du=xdx. Rewrite the integral as ∫x2x2+1⋅x dx\int x^2 \sqrt{x^2+1} \cdot x \, dx. Substitute to get ∫(u−1)u⋅12du=12∫(u3/2−u1/2)du\int (u-1)\sqrt{u} \cdot \frac{1}{2}du = \frac{1}{2} \int (u^{3/2} - u^{1/2}) du. Integrating gives 12[25u5/2−23u3/2]+C=15u5/2−13u3/2+C\frac{1}{2} [\frac{2}{5}u^{5/2} - \frac{2}{3}u^{3/2}] + C = \frac{1}{5}u^{5/2} - \frac{1}{3}u^{3/2} + C. Substitute back u=x2+1u=x^2+1 to get 15(x2+1)5/2−13(x2+1)3/2+C\frac{1}{5}(x^2+1)^{5/2} - \frac{1}{3}(x^2+1)^{3/2} + C. This can be simplified by factoring out 115(x2+1)3/2\frac{1}{15}(x^2+1)^{3/2}, which gives 115(x2+1)3/2[3(x2+1)−5]+C=115(x2+1)3/2[3x2−2]+C\frac{1}{15}(x^2+1)^{3/2} [3(x^2+1) - 5] + C = \frac{1}{15}(x^2+1)^{3/2} [3x^2 - 2] + C. Choice D is this simplified form.
  11. Which of the following is an antiderivative of tan⁡(x)\tan(x)?
    Answer: ln⁡∣sec⁡(x)∣+C\ln|\sec(x)| + C To integrate tan⁡(x)\tan(x), rewrite it as ∫sin⁡(x)cos⁡(x)dx\int \frac{\sin(x)}{\cos(x)} dx. Let u=cos⁡(x)u = \cos(x), so du=−sin⁡(x)dxdu = -\sin(x) dx. The integral becomes ∫−duu=−ln⁡∣u∣+C=−ln⁡∣cos⁡(x)∣+C\int \frac{-du}{u} = -\ln|u| + C = -\ln|\cos(x)| + C. Using logarithm properties, this is equivalent to ln⁡∣(cos⁡(x))−1∣+C=ln⁡∣sec⁡(x)∣+C\ln|(\cos(x))^{-1}| + C = \ln|\sec(x)| + C.
  12. Find the value of ∫1e(ln⁡x)3xdx\int_1^e \frac{(\ln x)^3}{x} dx.
    Answer: 14\frac{1}{4} When you encounter an integral with a composite function like (ln⁡x)3(\ln x)^3 divided by xx, this is a perfect setup for u-substitution. The key insight is recognizing that the derivative of ln⁡x\ln x is 1x\frac{1}{x}, which appears in the denominator. Let u=ln⁡xu = \ln x, so du=1xdxdu = \frac{1}{x} dx. When x=1x = 1, u=ln⁡1=0u = \ln 1 = 0. When x=ex = e, u=ln⁡e=1u = \ln e = 1. The integral becomes: ∫01u3du=[u44]01=144−044=14\int_0^1 u^3 du = \left[\frac{u^4}{4}\right]_0^1 = \frac{1^4}{4} - \frac{0^4}{4} = \frac{1}{4} Choice A (11) represents the error of forgetting to divide by 4 when integrating u3u^3. Choice B (14e4\frac{1}{4}e^4) occurs if you mistakenly think the upper limit contributes e4e^4 instead of (ln⁡e)4=14(\ln e)^4 = 1^4. Choice C (e4−14\frac{e^4-1}{4}) results from incorrectly using the original limits of integration (1 to ee) instead of converting them to the new variable's limits (0 to 1). The correct answer is D (14\frac{1}{4}). Study tip: When you see f′(x)⋅g(f(x))denominators\frac{f'(x) \cdot g(f(x))}{denominators} patterns, immediately consider u-substitution with u=f(x)u = f(x). Always remember to convert your limits of integration to match your new variable – this prevents the common error of mixing old and new variables in your final evaluation.
  13. Evaluate ∫2x+3x2+3x+5dx\int \frac{2x+3}{x^2+3x+5} dx.
    Answer: ln⁡∣x2+3x+5∣+C\ln|x^2+3x+5| + C This integral has the form ∫g′(x)g(x)dx\int \frac{g'(x)}{g(x)} dx. Let u=x2+3x+5u = x^2+3x+5. Then du=(2x+3)dxdu = (2x+3) dx. The integral becomes ∫1udu\int \frac{1}{u} du, which is ln⁡∣u∣+C\ln|u| + C. Substituting back gives ln⁡∣x2+3x+5∣+C\ln|x^2+3x+5| + C. Since the discriminant of the quadratic is 32−4(1)(5)=9−20<03^2 - 4(1)(5) = 9-20 < 0, the quadratic is always positive, so the absolute value is not strictly necessary.
  14. Which expression represents the integral ∫x1−x4dx\int \frac{x}{\sqrt{1-x^4}} dx?
    Answer: 12arcsin⁡(x2)+C\frac{1}{2}\arcsin(x^2) + C The denominator suggests an arcsin form. Let u=x2u = x^2. Then du=2xdxdu = 2x dx, so 12du=xdx\frac{1}{2}du = x dx. The integral becomes ∫11−u2⋅12du=12∫11−u2du\int \frac{1}{\sqrt{1-u^2}} \cdot \frac{1}{2}du = \frac{1}{2} \int \frac{1}{\sqrt{1-u^2}} du. The antiderivative is 12arcsin⁡(u)+C\frac{1}{2} \arcsin(u) + C. Substituting back for uu yields 12arcsin⁡(x2)+C\frac{1}{2}\arcsin(x^2) + C.
  15. Find ∫sec⁡2(x)tan⁡2(x)+4tan⁡(x)+3 dx\int \frac{\sec^2(x)}{\tan^2(x) + 4\tan(x) + 3} \, dx
    Answer: 12ln⁡∣tan⁡(x)+1tan⁡(x)+3∣+C\frac{1}{2}\ln|\frac{\tan(x) + 1}{\tan(x) + 3}| + C Let u=tan⁡(x)u = \tan(x), so du=sec⁡2(x)dxdu = \sec^2(x) dx. The integral becomes ∫1u2+4u+3du\int \frac{1}{u^2 + 4u + 3} du. Factor the denominator: u2+4u+3=(u+1)(u+3)u^2 + 4u + 3 = (u + 1)(u + 3). Using partial fractions: 1(u+1)(u+3)=Au+1+Bu+3\frac{1}{(u+1)(u+3)} = \frac{A}{u+1} + \frac{B}{u+3}. Solving: 1=A(u+3)+B(u+1)1 = A(u+3) + B(u+1). Setting u=−1u = -1: 1=2A1 = 2A, so A=12A = \frac{1}{2}. Setting u=−3u = -3: 1=−2B1 = -2B, so B=−12B = -\frac{1}{2}. Therefore: ∫(1/2u+1−1/2u+3)du=12ln⁡∣u+1∣−12ln⁡∣u+3∣+C=12ln⁡∣u+1u+3∣+C=12ln⁡∣tan⁡(x)+1tan⁡(x)+3∣+C\int (\frac{1/2}{u+1} - \frac{1/2}{u+3}) du = \frac{1}{2}\ln|u+1| - \frac{1}{2}\ln|u+3| + C = \frac{1}{2}\ln|\frac{u+1}{u+3}| + C = \frac{1}{2}\ln|\frac{\tan(x)+1}{\tan(x)+3}| + C. Choice A omits the 12\frac{1}{2} coefficient. Choice C has coefficient 1 instead of 12\frac{1}{2}. Choice D shows the individual logarithm terms but is equivalent to choice B.
  16. If the substitution u=5x+2u = 5x+2 is used to evaluate the definite integral ∫015x+2 dx\int_0^1 \sqrt{5x+2} \, dx, what are the resulting limits of integration?
    Answer: From 2 to 7 When using u-substitution for definite integrals, the limits of integration must be converted to u-values. The original limits are for xx. The lower limit is x=0x=0, so the new lower limit is u=5(0)+2=2u = 5(0) + 2 = 2. The upper limit is x=1x=1, so the new upper limit is u=5(1)+2=7u = 5(1) + 2 = 7.
  17. After applying the substitution u=exu = e^x, which integral is equivalent to ∫ex1+e2xdx\int \frac{e^x}{1+e^{2x}} dx?
    Answer: ∫11+u2du\int \frac{1}{1+u^2} du Let u=exu = e^x. Then du=exdxdu = e^x dx. Also, note that e2x=(ex)2=u2e^{2x} = (e^x)^2 = u^2. Substituting these into the original integral gives ∫11+u2du\int \frac{1}{1+u^2} du.
  18. Evaluate the definite integral ∫02x9−x2dx\int_0^2 \frac{x}{\sqrt{9-x^2}} dx.
    Answer: 3−53 - \sqrt{5} Let u=9−x2u = 9-x^2. Then du=−2xdxdu = -2x dx, so −12du=xdx-\frac{1}{2}du = x dx. The limits of integration change: when x=0x=0, u=9−02=9u=9-0^2=9; when x=2x=2, u=9−22=5u=9-2^2=5. The integral becomes ∫951u(−12du)=12∫59u−1/2du\int_9^5 \frac{1}{\sqrt{u}} (-\frac{1}{2}du) = \frac{1}{2} \int_5^9 u^{-1/2} du. Integrating gives 12[2u1/2]59=[u]59=9−5=3−5\frac{1}{2}[2u^{1/2}]_5^9 = [\sqrt{u}]_5^9 = \sqrt{9}-\sqrt{5} = 3-\sqrt{5}.
  19. Evaluate the definite integral ∫0π/4sec⁡2(x)etan⁡(x)dx.\int_0^{\pi/4} \sec^2(x) e^{\tan(x)} dx.
    Answer: e−1e-1 Let u=tan⁡(x)u = \tan(x). Then du=sec⁡2(x)dxdu = \sec^2(x) dx. We must also change the limits of integration. When x=0x=0, u=tan⁡(0)=0u = \tan(0) = 0. When x=π/4x=\pi/4, u=tan⁡(π/4)=1u = \tan(\pi/4) = 1. The integral becomes ∫01eudu\int_0^1 e^u du, which evaluates to [eu]01=e1−e0=e−1[e^u]_0^1 = e^1 - e^0 = e - 1.
  20. Evaluate ∫x3x2+4 dx\int \frac{x^3}{\sqrt{x^2 + 4}} \, dx
    Answer: 13(x2+4)3/2−4x2+4+C\frac{1}{3}(x^2 + 4)^{3/2} - 4\sqrt{x^2 + 4} + C Using substitution u=x2+4u = x^2 + 4, so du=2x dxdu = 2x \, dx and x2=u−4x^2 = u - 4. The integral becomes ∫x2⋅xx2+4 dx=12∫u−4u du=12∫(u1/2−4u−1/2) du=12[23u3/2−8u1/2]+C=13(x2+4)3/2−4x2+4+C\int \frac{x^2 \cdot x}{\sqrt{x^2 + 4}} \, dx = \frac{1}{2} \int \frac{u - 4}{\sqrt{u}} \, du = \frac{1}{2} \int (u^{1/2} - 4u^{-1/2}) \, du = \frac{1}{2}[\frac{2}{3}u^{3/2} - 8u^{1/2}] + C = \frac{1}{3}(x^2 + 4)^{3/2} - 4\sqrt{x^2 + 4} + C. Choice B has an incorrect coefficient (-2 instead of -4). Choice C has an incorrect first coefficient (2/3 instead of 1/3). Choice D has an incorrect first coefficient (1/2 instead of 1/3).

Start this quiz