Use the Trapezoidal Rule with n = 4 to approximate the integral from negative 1 to 0 of 1 over the square of the quantity x minus 1, dx.
@jim_thompson5910 @Kenshin
Trapezoidal Rule: \[\int_{a}^{b}f(x)dx = \frac{\Delta x}{2}*\left[f(x_0)+2*f(x_1)+2*f(x_2)+\cdots+2*f(x_{n-2})+2*f(x_{n-1})+f(x_n)\right]\] where \[\Large \Delta x = \frac{b-a}{n}\]
in this case a = -1 b = 0 n = 4 \[\Large \Delta x = \frac{b-a}{n}\] \[\Large \Delta x = \frac{0-(-1)}{4}\] \[\Large \Delta x = \frac{1}{4}\] \[\Large \Delta x = 0.25\]
If n = 4, then \[\int_{a}^{b}f(x)dx \approx \frac{\Delta x}{2}*\left[f(x_0)+2*f(x_1)+2*f(x_2)+2*f(x_3)+f(x_4)\right]\]
I'm quite puzzled, especially with that last step
this? \[\int_{a}^{b}f(x)dx \approx \frac{\Delta x}{2}*\left[f(x_0)+2*f(x_1)+2*f(x_2)+2*f(x_3)+f(x_4)\right]\]
Yes
do you recall from your lesson this formula? \[\int_{a}^{b}f(x)dx \approx \frac{\Delta x}{2}*\left[f(x_0)+2*f(x_1)+2*f(x_2)+\cdots+2*f(x_{n-2})+2*f(x_{n-1})+f(x_n)\right]\] btw I'm referencing this page http://www.mathwords.com/t/trapezoid_rule.htm
sorry the formula is getting cut off, let me retry
Yea, I've been taking a look at that page too
\[\int_{a}^{b}f(x)dx \approx \frac{\Delta x}{2}*\left[f(x_0)+2*f(x_1)+2*f(x_2)\\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ +\cdots+2*f(x_{n-2})+2*f(x_{n-1})+f(x_n)\right]\]
that's the general formula for any integer n if n were 4, then we have 5 terms we deal with, which are f(x0), f(x1), f(x2), f(x3), f(x4)
Ok, I think I see where you're going with this
we'll need the values of x0 through x4 they are... \[\large x_0 = a = -1\] \[\large x_1 = x_0 + \Delta x = -1+0.25 = -0.75\] \[\large x_2 = x_1 + \Delta x = -0.75+0.25 = -0.5\] \[\large x_3 = x_2 + \Delta x = -0.5+0.25 = -0.25\] \[\large x_4 = x_3 + \Delta x = -0.25+0.25 = 0\] ------------------------------------------------------- so in summary \[\large x_0= -1\] \[\large x_1= -0.75\] \[\large x_2 = -0.5\] \[\large x_3= -0.25\] \[\large x_4 = 0\]
then you plug those values into \[\int_{a}^{b}f(x)dx \approx \frac{\Delta x}{2}*\left[f(x_0)+2*f(x_1)+2*f(x_2)+2*f(x_3)+f(x_4)\right]\] and you evaluate
I arrived at 1.0178, is that correct?
no
what are f(x0), f(x1), f(x2), f(x3), f(x4) equal to?
Just a moment
@BarfBag \[f(x)=\frac{ 1 }{ (x-1)^2 }\] You would plug in each value given by @jim_thompson5910 to get what f(x0), f(x1), f(x2), f(x3), f(x4) are equal to.
f(x0) = 1/4, f(x1) = 0.327, f(x2) = 0.444, f(x3) = 0.64, f(x4) = 1
looks good @BarfBag
now compute `f(x0) + 2*f(x1) + 2*f(x2) + 2*f(x3) + f(x4)` and tell me what you get
I got 4.072
Multiply that by dx/2, correct?
correct
Multiply it by (1/4)/2
I ended up with B as my final answer
0.5089
B should be correct.
yep it's B) 0.5089
Thank you! That took over an hour to solve so I'm very appreciative of your help. XD
Join our real-time social learning platform and learn together with your friends!