Numerical Integration - IB Mathematics Analysis and Approaches

  1. Let I=∫0211+xdxI = \int_0^2 \frac{1}{1+x} dx and let T2T_2 be the approximation of II using the trapezoidal rule with n=2n=2. Find the value of the error, T2−IT_2 - I.
    Answer: 76−ln⁡(3)\frac{7}{6} - \ln(3) First, we find the exact value of the integral II: I=∫0211+xdx=[ln⁡∣1+x∣]02=ln⁡(1+2)−ln⁡(1+0)=ln⁡(3)−ln⁡(1)=ln⁡(3)I = \int_0^2 \frac{1}{1+x} dx = [\ln|1+x|]_0^2 = \ln(1+2) - \ln(1+0) = \ln(3) - \ln(1) = \ln(3). Next, we find the trapezoidal approximation T2T_2. The interval is [0,2][0, 2] with n=2n=2, so h=2−02=1h = \frac{2-0}{2} = 1. The x-values are 0, 1, 2. Let f(x)=11+xf(x) = \frac{1}{1+x}. We have f(0)=1f(0)=1, f(1)=12f(1)=\frac{1}{2}, f(2)=13f(2)=\frac{1}{3}. T2=h2[f(0)+2f(1)+f(2)]=12[1+2(12)+13]=12[1+1+13]=12[73]=76T_2 = \frac{h}{2}[f(0) + 2f(1) + f(2)] = \frac{1}{2}[1 + 2(\frac{1}{2}) + \frac{1}{3}] = \frac{1}{2}[1 + 1 + \frac{1}{3}] = \frac{1}{2}[\frac{7}{3}] = \frac{7}{6}. The error is T2−I=76−ln⁡(3)T_2 - I = \frac{7}{6} - \ln(3). The second derivative f′′(x)=2(1+x)−3>0f''(x) = 2(1+x)^{-3} > 0 on [0,2][0,2], so the function is concave up, and we expect an overestimate (T2>IT_2 > I), which means the error T2−IT_2-I should be positive. A) Correct value. B) This is I−T2I - T_2, a sign error. C) This results from forgetting to multiply the middle term f(1)f(1) by 2 in the trapezoidal rule: 12[1+12+13]=12[116]=1112\frac{1}{2}[1 + \frac{1}{2} + \frac{1}{3}] = \frac{1}{2}[\frac{11}{6}] = \frac{11}{12}. D) This results from an error in calculating the definite integral.
  2. Let T1T_1 and T2T_2 be the trapezoidal approximations for ∫02f(x)dx\int_0^2 f(x) dx with n=1n=1 and n=2n=2 subintervals, respectively. Which of the following correctly expresses T2T_2 in terms of T1T_1 and a function value?
    Answer: T2=12T1+f(1)T_2 = \frac{1}{2}T_1 + f(1) First, let's write out the expressions for T1T_1 and T2T_2. For T1T_1, we have n=1n=1 on [0,2][0, 2], so h=2h=2. The points are x0=0,x1=2x_0=0, x_1=2. T1=h2[f(0)+f(2)]=22[f(0)+f(2)]=f(0)+f(2)T_1 = \frac{h}{2}[f(0) + f(2)] = \frac{2}{2}[f(0) + f(2)] = f(0) + f(2). For T2T_2, we have n=2n=2 on [0,2][0, 2], so h=1h=1. The points are x0=0,x1=1,x2=2x_0=0, x_1=1, x_2=2. T2=h2[f(0)+2f(1)+f(2)]=12[f(0)+2f(1)+f(2)]T_2 = \frac{h}{2}[f(0) + 2f(1) + f(2)] = \frac{1}{2}[f(0) + 2f(1) + f(2)]. Now we substitute the expression for T1T_1 into the expression for T2T_2. We can rewrite the T2T_2 expression as: T2=12[(f(0)+f(2))+2f(1)]T_2 = \frac{1}{2}[(f(0) + f(2)) + 2f(1)]. Since T1=f(0)+f(2)T_1 = f(0) + f(2), we can substitute it in: T2=12[T1+2f(1)]=12T1+f(1)T_2 = \frac{1}{2}[T_1 + 2f(1)] = \frac{1}{2}T_1 + f(1). Distractors A, B, and C are incorrect algebraic manipulations of the relationship.
  3. The approximation of ∫15f(x)dx\int_1^5 f(x) dx using the trapezoidal rule with 4 subintervals is 34. Given the values f(1)=3,f(2)=5,f(4)=11,f(5)=13f(1)=3, f(2)=5, f(4)=11, f(5)=13, find the value of f(3)f(3).
    Answer: 10 The trapezoidal rule formula is Tn=h2[f(x0)+2f(x1)+...+2f(xn−1)+f(xn)]T_n = \frac{h}{2}[f(x_0) + 2f(x_1) + ... + 2f(x_{n-1}) + f(x_n)]. For this problem, a=1,b=5,n=4a=1, b=5, n=4, so the width of each subinterval is h=5−14=1h = \frac{5-1}{4} = 1. The x-values are x0=1,x1=2,x2=3,x3=4,x4=5x_0=1, x_1=2, x_2=3, x_3=4, x_4=5. We are given T4=34T_4 = 34. Plugging the values into the formula: 34=12[f(1)+2f(2)+2f(3)+2f(4)+f(5)]34 = \frac{1}{2}[f(1) + 2f(2) + 2f(3) + 2f(4) + f(5)] 68=[3+2(5)+2f(3)+2(11)+13]68 = [3 + 2(5) + 2f(3) + 2(11) + 13] 68=3+10+2f(3)+22+1368 = 3 + 10 + 2f(3) + 22 + 13 68=48+2f(3)68 = 48 + 2f(3) 20=2f(3)20 = 2f(3) f(3)=10f(3) = 10. A) This results from forgetting the 12\frac{1}{2} factor: 34=48+2f(3)⇒−14=2f(3)⇒f(3)=−734 = 48 + 2f(3) \Rightarrow -14 = 2f(3) \Rightarrow f(3)=-7. B) This results from misapplying the formula, such as not multiplying f(2)f(2) or f(5)f(5) by 2. D) This results from forgetting to multiply f(3)f(3) by 2: 68=48+f(3)⇒f(3)=2068 = 48 + f(3) \Rightarrow f(3)=20.
  4. A function f(x)f(x) is decreasing and concave down on the interval [a,b][a, b]. Let I=∫abf(x)dxI = \int_a^b f(x) dx, and let LnL_n, RnR_n, and TnT_n be the left-hand Riemann sum, right-hand Riemann sum, and trapezoidal rule approximations with nn subintervals, respectively. Which of the following inequalities is always true for n≥1n \ge 1?
    Answer: Rn<Tn<I<LnR_n < T_n < I < L_n Let's analyze the properties of the approximations based on the function's characteristics. 1. Decreasing function: For a decreasing function, the left endpoint of any subinterval is the maximum value and the right endpoint is the minimum. Therefore, the left-hand Riemann sum (LnL_n) will be an overestimate, and the right-hand Riemann sum (RnR_n) will be an underestimate. This gives us the inequality Rn<I<LnR_n < I < L_n. 2. Concave down function: For a function that is concave down, the line segment connecting two points on the curve (the top of a trapezoid) lies below the curve. Therefore, the area of the trapezoid will be less than the area under the curve. This means the trapezoidal rule (TnT_n) provides an underestimate, so Tn<IT_n < I. 3. **Comparing RnR_n and TnT_n:** The formula for the trapezoidal rule is the average of the left and right Riemann sums: Tn=Ln+Rn2T_n = \frac{L_n + R_n}{2}. Since Rn<LnR_n < L_n, it follows that Rn<Ln+Rn2<LnR_n < \frac{L_n + R_n}{2} < L_n, which means Rn<Tn<LnR_n < T_n < L_n. Combining these facts: We know Rn<TnR_n < T_n and Tn<IT_n < I and I<LnI < L_n. Putting them all together gives the complete ordering: Rn<Tn<I<LnR_n < T_n < I < L_n.
  5. The approximation for ∫13f(x)dx\int_1^3 f(x) dx using the trapezoidal rule with n=2n=2 is 12. The approximation for the same integral with n=4n=4 is 10. Given that the approximation T2nT_{2n} can be written as T2n=12Tn+MT_{2n} = \frac{1}{2} T_n + M, where MM is a sum of midpoint function values, what is the value of f(1.5)+f(2.5)f(1.5)+f(2.5)?
    Answer: 8 For an integral on [a,b][a,b], the relationship between TnT_n and T2nT_{2n} is given by T2n=12Tn+h2n∑k=1nf(x2k−1)T_{2n} = \frac{1}{2}T_n + h_{2n} \sum_{k=1}^{n} f(x_{2k-1}), where h2nh_{2n} is the new step size and the sum is over the new midpoints. In this problem, we are considering ∫13f(x)dx\int_1^3 f(x) dx. T2=12T_2 = 12 and T4=10T_4 = 10. Here n=2n=2, so 2n=42n=4. The relationship is T4=12T2+h4(f(x1)+f(x3))T_4 = \frac{1}{2}T_2 + h_4 (f(x_1) + f(x_3)). The interval for n=4n=4 is [1,3][1,3], so h4=(3−1)/4=0.5h_4 = (3-1)/4 = 0.5. The points are x0=1,x1=1.5,x2=2,x3=2.5,x4=3x_0=1, x_1=1.5, x_2=2, x_3=2.5, x_4=3. The new midpoints introduced when going from n=2n=2 to n=4n=4 are x1=1.5x_1=1.5 and x3=2.5x_3=2.5. Plugging in the given values: 10=12(12)+0.5(f(1.5)+f(2.5))10 = \frac{1}{2}(12) + 0.5(f(1.5) + f(2.5)) 10=6+0.5(f(1.5)+f(2.5))10 = 6 + 0.5(f(1.5) + f(2.5)) 4=0.5(f(1.5)+f(2.5))4 = 0.5(f(1.5) + f(2.5)) 8=f(1.5)+f(2.5)8 = f(1.5) + f(2.5).
  6. Use the trapezoidal rule with three subintervals to find an approximation for ∫0π/2xcos⁡(x)dx\int_0^{\pi/2} x \cos(x) dx.
    Answer: π2(2+3)72\frac{\pi^2(2+\sqrt{3})}{72} Let f(x)=xcos⁡(x)f(x) = x \cos(x). The interval is [0,π/2][0, \pi/2] with n=3n=3 subintervals. The width of each subinterval is h=π/2−03=π6h = \frac{\pi/2 - 0}{3} = \frac{\pi}{6}. The x-values are 0,π6,π3,π20, \frac{\pi}{6}, \frac{\pi}{3}, \frac{\pi}{2}. We evaluate the function at these points: f(0)=0cos⁡(0)=0f(0) = 0 \cos(0) = 0 f(π6)=π6cos⁡(π6)=π6⋅32=π312f(\frac{\pi}{6}) = \frac{\pi}{6} \cos(\frac{\pi}{6}) = \frac{\pi}{6} \cdot \frac{\sqrt{3}}{2} = \frac{\pi\sqrt{3}}{12} f(π3)=π3cos⁡(π3)=π3⋅12=π6f(\frac{\pi}{3}) = \frac{\pi}{3} \cos(\frac{\pi}{3}) = \frac{\pi}{3} \cdot \frac{1}{2} = \frac{\pi}{6} f(π2)=π2cos⁡(π2)=π2⋅0=0f(\frac{\pi}{2}) = \frac{\pi}{2} \cos(\frac{\pi}{2}) = \frac{\pi}{2} \cdot 0 = 0 Apply the trapezoidal rule formula: T3=h2[f(0)+2f(π6)+2f(π3)+f(π2)]T_3 = \frac{h}{2}[f(0) + 2f(\frac{\pi}{6}) + 2f(\frac{\pi}{3}) + f(\frac{\pi}{2})] T3=π/62[0+2(π312)+2(π6)+0]T_3 = \frac{\pi/6}{2}[0 + 2(\frac{\pi\sqrt{3}}{12}) + 2(\frac{\pi}{6}) + 0] T3=π12[π36+π3]=π12[π3+2π6]=π2(2+3)72T_3 = \frac{\pi}{12}[\frac{\pi\sqrt{3}}{6} + \frac{\pi}{3}] = \frac{\pi}{12}[\frac{\pi\sqrt{3} + 2\pi}{6}] = \frac{\pi^2(2+\sqrt{3})}{72}. A) This results from forgetting the factor of 2 on the middle terms, then making another calculation error. C) This results from using hh instead of h/2h/2 in the formula. D) This is a miscalculation of terms.
  7. Use the trapezoidal rule with 4 subintervals to estimate ∫04g(x+2)dx\int_0^4 g(x+2) dx.
    Answer: 47 First, we perform a substitution to simplify the integral. Let u=x+2u = x+2. Then du=dxdu = dx. We must also change the limits of integration: when x=0x=0, u=2u=2; when x=4x=4, u=6u=6. The integral becomes ∫26g(u)du\int_2^6 g(u) du. Now we use the trapezoidal rule to estimate this new integral with n=4n=4 subintervals, using the values from the table. The interval is [2,6][2, 6], so the width of each subinterval is h=6−24=1h = \frac{6-2}{4} = 1. The u-values are 2, 3, 4, 5, 6, which match the table. T4=h2[g(2)+2g(3)+2g(4)+2g(5)+g(6)]T_4 = \frac{h}{2}[g(2) + 2g(3) + 2g(4) + 2g(5) + g(6)] T4=12[4+2(7)+2(11)+2(16)+22]T_4 = \frac{1}{2}[4 + 2(7) + 2(11) + 2(16) + 22] T4=12[4+14+22+32+22]T_4 = \frac{1}{2}[4 + 14 + 22 + 32 + 22] T4=12[94]=47T_4 = \frac{1}{2}[94] = 47. A) This results from forgetting to multiply the middle terms by 2: 12(4+7+11+16+22)=30\frac{1}{2}(4+7+11+16+22) = 30. C) This is the approximation with only one interval (n=1): 6−22(g(2)+g(6))=2(4+22)=52\frac{6-2}{2}(g(2)+g(6)) = 2(4+22) = 52. D) This is the sum inside the brackets, forgetting the factor of 12\frac{1}{2}.
  8. If the trapezoidal rule is used to approximate ∫03ex2dx\int_0^3 e^{x^2} dx with n=6n=6 subintervals, what is the value of hh, the width of each subinterval?
    Answer: 0.5 The formula for the width of each subinterval, hh, in numerical integration is h=b−anh = \frac{b-a}{n}, where [a,b][a, b] is the interval of integration and nn is the number of subintervals. In this problem, the integral is ∫03ex2dx\int_0^3 e^{x^2} dx, so the interval is [a,b]=[0,3][a, b] = [0, 3]. The number of subintervals is given as n=6n=6. Plugging these values into the formula: h=3−06=36=0.5h = \frac{3 - 0}{6} = \frac{3}{6} = 0.5. The complexity of the function ex2e^{x^2} is irrelevant to finding the value of hh. The other options represent common calculation errors, such as misinterpreting the values or dividing incorrectly.
  9. Use the trapezoidal rule with n=4n=4 to approximate ∫−111−x2dx\int_{-1}^1 \sqrt{1-x^2} dx.
    Answer: 1+32\frac{1+\sqrt{3}}{2} When you encounter a trapezoidal rule problem, you're applying numerical integration to approximate a definite integral. The trapezoidal rule divides the interval into equal subintervals and approximates the area under the curve using trapezoids. For ∫−111−x2dx\int_{-1}^1 \sqrt{1-x^2} dx with n=4n=4, first find the step size: h=1−(−1)4=12h = \frac{1-(-1)}{4} = \frac{1}{2}. The x-values are: x0=−1,x1=−12,x2=0,x3=12,x4=1x_0 = -1, x_1 = -\frac{1}{2}, x_2 = 0, x_3 = \frac{1}{2}, x_4 = 1. Calculate the function values: - f(−1)=1−1=0f(-1) = \sqrt{1-1} = 0 - f(−12)=1−14=32f(-\frac{1}{2}) = \sqrt{1-\frac{1}{4}} = \frac{\sqrt{3}}{2} - f(0)=1−0=1f(0) = \sqrt{1-0} = 1 - f(12)=32f(\frac{1}{2}) = \frac{\sqrt{3}}{2} - f(1)=0f(1) = 0 The trapezoidal rule formula is: Tn=h2[f(x0)+2f(x1)+2f(x2)+2f(x3)+f(x4)]T_n = \frac{h}{2}[f(x_0) + 2f(x_1) + 2f(x_2) + 2f(x_3) + f(x_4)] Substituting: T4=1/22[0+2⋅32+2⋅1+2⋅32+0]=14[3+2+3]=2+234=1+32T_4 = \frac{1/2}{2}[0 + 2 \cdot \frac{\sqrt{3}}{2} + 2 \cdot 1 + 2 \cdot \frac{\sqrt{3}}{2} + 0] = \frac{1}{4}[\sqrt{3} + 2 + \sqrt{3}] = \frac{2 + 2\sqrt{3}}{4} = \frac{1 + \sqrt{3}}{2} This confirms answer D is correct. Answer A gives 1+34\frac{1+\sqrt{3}}{4}, which results from incorrectly using h=14h = \frac{1}{4} instead of 12\frac{1}{2}. Answer B gives 3+32\frac{3+\sqrt{3}}{2}, likely from miscounting the middle terms' coefficients. Answer C gives 1+31+\sqrt{3}, probably from forgetting the h2\frac{h}{2} factor entirely. Remember: carefully track your step size calculation and apply the trapezoidal rule formula systematically, paying special attention to the coefficients for endpoint versus interior values.
  10. Let Tn(f)T_n(f) denote the trapezoidal rule approximation for ∫abf(x)dx\int_a^b f(x) dx with nn subintervals. Given that T4T_4 for ∫13x2dx\int_1^3 x^2 dx is 354\frac{35}{4}, what is the value of T4T_4 for ∫13(x2−2)dx\int_1^3 (x^2 - 2) dx?
    Answer: 194\frac{19}{4} The trapezoidal rule is a linear operator, meaning Tn(f+g)=Tn(f)+Tn(g)T_n(f+g) = T_n(f) + T_n(g) and Tn(cf)=cTn(f)T_n(cf) = cT_n(f) for a constant cc. Therefore, T4(∫13(x2−2)dx)=T4(∫13x2dx)−T4(∫132dx)T_4(\int_1^3 (x^2 - 2) dx) = T_4(\int_1^3 x^2 dx) - T_4(\int_1^3 2 dx). We are given T4(∫13x2dx)=354T_4(\int_1^3 x^2 dx) = \frac{35}{4}. The trapezoidal rule is exact for linear functions, including constant functions. So, the approximation for ∫132dx\int_1^3 2 dx is equal to its exact value. Exact value of ∫132dx=[2x]13=2(3)−2(1)=6−2=4\int_1^3 2 dx = [2x]_1^3 = 2(3) - 2(1) = 6 - 2 = 4. So, T4(∫132dx)=4T_4(\int_1^3 2 dx) = 4. The required value is 354−4=35−164=194\frac{35}{4} - 4 = \frac{35 - 16}{4} = \frac{19}{4}. A) This results from subtracting 2×n=2×4=82 \times n = 2 \times 4 = 8 instead of 4. C) This results from simply subtracting 2 from the given value: 354−2=274\frac{35}{4} - 2 = \frac{27}{4}. This incorrectly assumes the integral of the constant is the constant value itself. D) This results from incorrectly adding 2 instead of subtracting 4.
  11. The trapezoidal rule is used to estimate ∫abf(x)dx\int_a^b f(x) dx. For which of the following functions and intervals is the estimate guaranteed to be an overestimate?
    Answer: f(x)=e−xf(x) = e^{-x} on [0,1][0, 1] The trapezoidal rule provides an overestimate when the function is concave up, which means its second derivative is positive (f′′(x)>0f''(x) > 0) on the interval of integration. We check the second derivative for each option. A) For f(x)=ln⁡(x)f(x) = \ln(x), f′(x)=1/xf'(x) = 1/x and f′′(x)=−1/x2f''(x) = -1/x^2. On [1,2][1, 2], f′′(x)<0f''(x) < 0, so the function is concave down, leading to an underestimate. B) For f(x)=e−xf(x) = e^{-x}, f′(x)=−e−xf'(x) = -e^{-x} and f′′(x)=e−xf''(x) = e^{-x}. On [0,1][0, 1], e−xe^{-x} is always positive, so the function is concave up, leading to an overestimate. C) For f(x)=cos⁡(x)f(x) = \cos(x), f′′(x)=−cos⁡(x)f''(x) = -\cos(x). On [−π2,π2][-\frac{\pi}{2}, \frac{\pi}{2}], cos⁡(x)≥0\cos(x) \ge 0, so f′′(x)≤0f''(x) \le 0. The function is concave down, leading to an underestimate. D) For f(x)=x3f(x) = x^3, f′′(x)=6xf''(x) = 6x. This changes sign on the interval [−1,1][-1, 1], so the estimate is not guaranteed to be an overestimate or underestimate.
  12. Let f(x)f(x) be an even function such that ∫02f(x)dx\int_0^2 f(x) dx is approximated by the trapezoidal rule with n=2n=2 as T2=10T_2 = 10. What is the trapezoidal rule approximation for ∫−22f(x)dx\int_{-2}^2 f(x) dx with n=4n=4?
    Answer: 20 When you encounter trapezoidal rule questions involving even functions, remember that even functions have the special property f(−x)=f(x)f(-x) = f(x), which creates useful symmetries you can exploit. Given that f(x)f(x) is even and T2=10T_2 = 10 for ∫02f(x)dx\int_0^2 f(x) dx with n=2n=2, let's find the trapezoidal approximation for ∫−22f(x)dx\int_{-2}^2 f(x) dx with n=4n=4. For the trapezoidal rule with n=2n=2 on [0,2][0,2], we have Δx=1\Delta x = 1 and evaluation points at x=0,1,2x = 0, 1, 2. So T2=12[f(0)+2f(1)+f(2)]=10T_2 = \frac{1}{2}[f(0) + 2f(1) + f(2)] = 10. For ∫−22f(x)dx\int_{-2}^2 f(x) dx with n=4n=4, we have Δx=1\Delta x = 1 and evaluation points at x=−2,−1,0,1,2x = -2, -1, 0, 1, 2. The trapezoidal rule gives: T4=12[f(−2)+2f(−1)+2f(0)+2f(1)+f(2)]T_4 = \frac{1}{2}[f(-2) + 2f(-1) + 2f(0) + 2f(1) + f(2)]. Since f(x)f(x) is even, f(−2)=f(2)f(-2) = f(2) and f(−1)=f(1)f(-1) = f(1). Substituting: T4=12[f(2)+2f(1)+2f(0)+2f(1)+f(2)]=12[2f(2)+4f(1)+2f(0)]=2⋅12[f(0)+2f(1)+f(2)]=2T2=20T_4 = \frac{1}{2}[f(2) + 2f(1) + 2f(0) + 2f(1) + f(2)] = \frac{1}{2}[2f(2) + 4f(1) + 2f(0)] = 2 \cdot \frac{1}{2}[f(0) + 2f(1) + f(2)] = 2T_2 = 20. Choice A (10) incorrectly assumes the integral doesn't change when extending the domain. Choice B (20 + f(0)) adds an extra f(0)f(0) term. Choice C (20 - f(0)) subtracts f(0)f(0) incorrectly. Choice D (20) correctly recognizes that the integral doubles due to symmetry. Strategy tip: For even functions on symmetric intervals, the trapezoidal approximation on [−a,a][-a,a] equals twice the approximation on [0,a][0,a] when using appropriate subdivisions.
  13. The integral I=∫151xdxI = \int_1^5 \frac{1}{x} dx is approximated using the trapezoidal rule with n=2n=2 subintervals. What is the value of this approximation?
    Answer: 2815\frac{28}{15} When you encounter integral approximation problems, you're applying numerical methods to estimate definite integrals. The trapezoidal rule is particularly common on IB exams because it's conceptually straightforward and gives reasonable approximations. The trapezoidal rule formula is h2[f(x0)+2f(x1)+2f(x2)+...+2f(xn−1)+f(xn)]\frac{h}{2}[f(x_0) + 2f(x_1) + 2f(x_2) + ... + 2f(x_{n-1}) + f(x_n)], where h=b−anh = \frac{b-a}{n} is the width of each subinterval. For this problem, you have a=1a = 1, b=5b = 5, n=2n = 2, so h=5−12=2h = \frac{5-1}{2} = 2. The x-values are x0=1x_0 = 1, x1=3x_1 = 3, x2=5x_2 = 5. Since f(x)=1xf(x) = \frac{1}{x}, you get: - f(1)=1f(1) = 1 - f(3)=13f(3) = \frac{1}{3} - f(5)=15f(5) = \frac{1}{5} Applying the formula: 22[1+2(13)+15]=1+23+15\frac{2}{2}[1 + 2(\frac{1}{3}) + \frac{1}{5}] = 1 + \frac{2}{3} + \frac{1}{5} Converting to a common denominator of 15: 1515+1015+315=2815\frac{15}{15} + \frac{10}{15} + \frac{3}{15} = \frac{28}{15} This confirms answer D is correct. Answer A (1415\frac{14}{15}) results from forgetting the factor of 2 in front of the middle term. Answer B (5615\frac{56}{15}) comes from incorrectly doubling the entire result. Answer C (3215\frac{32}{15}) appears when you mistakenly double both endpoint values instead of just the middle term. Remember: in the trapezoidal rule, only the interior points get multiplied by 2, never the endpoints. Always double-check your arithmetic when working with fractions.
  14. Let I=∫04f(x)dxI = \int_0^4 f(x) dx. The trapezoidal rule with n=4n=4 gives an approximation T4=12T_4=12. A new function is defined as g(x)=3f(x)−1g(x) = 3f(x) - 1. What is the trapezoidal rule approximation for ∫04g(x)dx\int_0^4 g(x) dx with n=4n=4?
    Answer: 32 We use the linearity property of the trapezoidal rule approximation. Let Tn(f)T_n(f) denote the approximation for a function ff. Tn(ag+bh)=aTn(g)+bTn(h)T_n(ag+bh) = aT_n(g) + bT_n(h) for constants a,ba, b. We want to find T4T_4 for ∫04g(x)dx=∫04(3f(x)−1)dx\int_0^4 g(x) dx = \int_0^4 (3f(x) - 1) dx. Using the linearity property: T4(g)=T4(3f−1)=3T4(f)−T4(1)T_4(g) = T_4(3f - 1) = 3T_4(f) - T_4(1). We are given T4(f)=12T_4(f) = 12. We need to calculate T4(1)T_4(1), which is the trapezoidal approximation for ∫041dx\int_0^4 1 dx. Since the function h(x)=1h(x)=1 is linear, the trapezoidal rule is exact. ∫041dx=[x]04=4\int_0^4 1 dx = [x]_0^4 = 4. So, T4(1)=4T_4(1) = 4. Substituting these values back: T4(g)=3(12)−4=36−4=32T_4(g) = 3(12) - 4 = 36 - 4 = 32. A) This is the correct value. B) This results from 3(12)−1=353(12)-1=35, incorrectly subtracting the constant 1 instead of its integral approximation. C) This results from 3(12)=363(12)=36, ignoring the constant term -1 entirely. D) This results from 3(12)+2=383(12)+2=38, possibly making a sign error and a calculation error on the constant part.
  15. The trapezoidal rule is used to approximate ∫26f(x)dx\int_2^6 f(x) dx with 4 subintervals. The values of the function at the relevant points are f(2)=10,f(3)=k,f(4)=18,f(5)=22,f(6)=20f(2)=10, f(3)=k, f(4)=18, f(5)=22, f(6)=20. If the approximation is 70, what is the value of kk?
    Answer: 15 The interval is [2,6][2, 6] with n=4n=4, so the width of each subinterval is h=6−24=1h = \frac{6-2}{4} = 1. The x-values are 2, 3, 4, 5, 6. The trapezoidal rule formula is T4=h2[f(2)+2f(3)+2f(4)+2f(5)+f(6)]T_4 = \frac{h}{2}[f(2) + 2f(3) + 2f(4) + 2f(5) + f(6)]. We are given T4=70T_4 = 70. Plugging in the values: 70=12[10+2k+2(18)+2(22)+20]70 = \frac{1}{2}[10 + 2k + 2(18) + 2(22) + 20] Multiply by 2: 140=10+2k+36+44+20140 = 10 + 2k + 36 + 44 + 20 140=110+2k140 = 110 + 2k 30=2k30 = 2k k=15k = 15. A) and B) Result from arithmetic errors in the calculation. D) This results from forgetting to multiply kk by 2 in the trapezoidal formula: 140=10+k+36+44+20=110+k140 = 10 + k + 36 + 44 + 20 = 110 + k, giving k=30k = 30.
  16. The length of the curve y=ln⁡(cos⁡(x))y = \ln(\cos(x)) from x=0x=0 to x=π/3x=\pi/3 is given by L=∫0π/3sec⁡(x)dxL = \int_0^{\pi/3} \sec(x) dx. Find the trapezoidal rule approximation of LL with n=2n=2.
    Answer: π(9+43)36\frac{\pi(9+4\sqrt{3})}{36} We need to approximate ∫0π/3sec⁡(x)dx\int_0^{\pi/3} \sec(x) dx with n=2n=2. The interval width is h=π/3−02=π6h = \frac{\pi/3 - 0}{2} = \frac{\pi}{6}. The x-values are 0,π/6,π/30, \pi/6, \pi/3. Let f(x)=sec⁡(x)f(x) = \sec(x). We evaluate the function at these points: f(0)=sec⁡(0)=1f(0) = \sec(0) = 1 f(π/6)=sec⁡(π/6)=1cos⁡(π/6)=13/2=23=233f(\pi/6) = \sec(\pi/6) = \frac{1}{\cos(\pi/6)} = \frac{1}{\sqrt{3}/2} = \frac{2}{\sqrt{3}} = \frac{2\sqrt{3}}{3} f(π/3)=sec⁡(π/3)=1cos⁡(π/3)=11/2=2f(\pi/3) = \sec(\pi/3) = \frac{1}{\cos(\pi/3)} = \frac{1}{1/2} = 2 Now apply the trapezoidal rule formula: T2=h2[f(0)+2f(π/6)+f(π/3)]T_2 = \frac{h}{2}[f(0) + 2f(\pi/6) + f(\pi/3)] T2=π/62[1+2(233)+2]=π12[3+433]T_2 = \frac{\pi/6}{2}[1 + 2(\frac{2\sqrt{3}}{3}) + 2] = \frac{\pi}{12}[3 + \frac{4\sqrt{3}}{3}] T2=π12(9+433)=π(9+43)36T_2 = \frac{\pi}{12} \left( \frac{9+4\sqrt{3}}{3} \right) = \frac{\pi(9+4\sqrt{3})}{36}. A) This results from forgetting to multiply the 22 from 2f(π/6)2f(\pi/6) with the numerator of 233\frac{2\sqrt{3}}{3}. B) This results from using cos⁡(x)\cos(x) values instead of sec⁡(x)\sec(x) for the middle and end points. D) This results from using hh instead of h/2h/2 in the formula.

Start this quiz