Use the Composite Trapezoidal, Simpson's and Midpoint Rules to approximate the integral int_{1}^{2} x ln(x)dx, n=4 (For the Midpoint Rule use n + 2 subintervals.)

Question
Confidence intervals
asked 2020-12-12
Use the Composite Trapezoidal, Simpson's and Midpoint Rules to approximate the integral
\(\int_{1}^{2}\ x\ \ln(x)dx,\ n=4\)
(For the Midpoint Rule use \(n\ +\ 2\) subintervals.)

Answers (1)

2020-12-13
a) Trapezoidal Rule:
The interval [1, 2 can be partitioned into 4 sub-intervals, \(P=\left\{1,\ \frac{5}{4},\ \frac{3}{2},\ \frac{7}{4},\ 2\right\},\) where:
\(\Delta\ x=\frac{b\ -\ a}{4}=\frac{1}{4}.\)
\(\int_{1}^{2}\ x\ln(x)dx=\frac{1}{4}\left\{f(1)\ +\ 2f\left(\frac{5}{4}\right)\ +\ 2f\left(\frac{3}{2}\right)\ +\ 2f\left(\frac{7}{4}\right)\ +\ f(2)\right\}\)
\(\frac{1}{4}\left\{(\ln(1))\ +\ 2\left(\frac{5}{4}\ \ln\left(\frac{5}{4}\right)\right)\ +\ 2\left(\frac{3}{2}\ln\left(\frac{3}{2}\right)\right)\ +\ 2\left(\frac{7}{4}\ln\left(\frac{7}{4}\right)\right)\ +\ 2(2\ln(2))\right\}\)
\(\frac{1}{4} \{0\ +\ 0.55788589\ +\ 1.2163953\ +\ 1.9586553\ +\ 2.7725887\} = 1.6263813\)
b) Simpson's Rule:
The interval [1, 2] can be partitioned \(\Delta\ x = \frac{b\ -\ a}{n} = \frac{1}{4}.\)
The partition set \(P = \left\{1,\ \frac{5}{4},\ \frac{3}{2},\ \frac{7}{4},\ 2\right\}.\)
Therefore,
\(\int_{1}^{2}\ x\ln(x)dx=\frac{\Delta\ x}{3}\ \{f(x_{0}\ +\ 4f(x_{1})\ +\ 2f(x_{2})\ +\ \cdots\ +\ f(x_{n})\}\)
\(=\frac{1}{12}\ \left\{f(1)\ +\ 4f\left(\frac{5}{4}\right)\ +\ 2f\left(\frac{3}{2}\right)\ +\ 4f\left(\frac{7}{4}\right)\ +\ f(2)\right\}\)
\(=\frac{1}{12}\ \left\{(\ln)\ +\ 4\left(\frac{5}{4}\ \ln\left(\frac{5}{4}\right)\right)\ +\ 2\left(\frac{3}{2}\ \ln\left(\frac{3}{2}\right)\right)\ +\ 4\left(\frac{7}{4}\ \ln\left(\frac{7}{4}\right)\right)\ +\ 2\ \ln(2)\right\}\)
\(\frac{1}{12} \{0\ +\ 1.1157178\ +\ 1.2163953\ +\ 3.9173105\ +\ 1.3862943\}\)
\(= 0.6363098\)
c) Midpoint Rule:
The interval [1, 2] can be partitioned \(\Delta\ x = \frac{b\ -\ a}{n\ +\ 2} = \frac{1}{6}.\)
The partition set \(P = \left\{1,\ \frac{7}{6},\ \frac{4}{3},\ \frac{3}{2},\ \frac{5}{3},\ \frac{11}{6},\ 2\right\}.\)
Therefore,
\(\int_{1}^{2}\ x\ln(x)dx=\ \Delta\ x\ \sum_{i=1}^{7}f(m_{i})\)
\(\frac{1}{6}\ \left\{(\ln(1))\ +\ \left(\frac{7}{6}\ \ln\left(\frac{7}{6}\right)\right)\ +\ \left(\frac{4}{3}\ \ln\left(\frac{4}{3}\right)\right)\ +\ \left(\frac{3}{2}\ \ln\left(\frac{3}{2}\right)\right)\ +\ \ \left(\frac{5}{3}\ \ln\left(\frac{5}{3}\right)\right)\ +\ \left(\frac{11}{6}\ \ln\left(\frac{11}{6}\right)\right)\ +\ 2\ln(2)\right\}\)
\(= 0.75342259\)
0

Relevant Questions

asked 2020-11-14
Consider the following.
\(f(x) = 49 - x^{2}\)
from \(x = 1 to x = 7, 4\) subintervals
(a) Approximate the area under the curve over the specified interval by using the indicated number of subintervals (or rectangles) and evaluating the function at the right-hand endpoints of the subintervals.
(b) Approximate the area under the curve by evaluating the function at the left-hand endpoints of the subintervals.
asked 2021-01-07
Consider the region below ​\(f( x ) = ​( 6\ −\​ x ),\)above the​ x-axis, and between
\(x = 0\ and\ x = 6.\)
Let \(x_{i}\) be the midpoint of the i th subinterval.
Approximate the area of the region using six rectangles. Use the midpoints of each subinterval for the heights of the rectangles. The area is approximately how many square units?
asked 2021-02-13
Use the function \(y = 2x\ from\ x = 0\ to\ x = 1\) and n equal subintervals with the function evaluated at the left-hand endpoint of each subinterval.
a)What is the area of the first rectangle?
b) What is the area of the second rectangle?
c)What is the area of the ith rectangle?
asked 2021-01-24
Suppose that the n-th Riemann sum (with n sub-intervals of equal length), for some function f(x) on the intrval [0, 2], is \(S_{n} = \frac{2}{n^{2}}\ \times\ \sum_{k = 1}^{n}\ k.\)
What is the value of \(\int_{0}^{2}\ f(x)\ dx?\)
asked 2021-02-06
First, construct the sixth degree Taylor polynomial \(\displaystyle{P}_{{6}}{\left({x}\right)}\) for function \(\displaystyle{f{{\left({x}\right)}}}={\sin{{\left({x}^{{2}}\right)}}}\) about \(\displaystyle{x}_{{0}}={0}\) The use \(\displaystyle{\int_{{{0}}}^{{{1}}}}{P}_{{6}}{\left({x}\right)}{\left.{d}{x}\right.}\) to approximate the integral \(\displaystyle\ {\int_{{{0}}}^{{{1}}}}{\sin{{\left({x}^{{2}}\right)}}}{\left.{d}{x}\right.}.\) Use 4-digit rounding arithmetic in all calculations. What is the approximate value?
asked 2021-01-31
Sketch a graph of \(y = 2x on [-1, 2]\) and use geometry to find the exact value of function given
\(\int_{-1}^{2} 2x\ dx\)
asked 2020-11-01
The owner of a large equipment rental company wants to make a rather quick estimate of the average number of days a piece of ditch-digging equipment is rented out per person per time. The company has records of all rentals, but the amount of time required to conduct an audit of all accounts would be prohibitive. The owner decides to take a random sample of rental invoices. Fourteen different rentals of ditch-diggers are selected randomly from the files, yielding the following data. She wants to use these data to construct a \(99\%\) confidence interval to estimate the average number of days that a ditch-digger is rented and assumes that the number of days per rental is normally distributed in the population. Use only the appropriate formula and/or statistical table in your textbook to answer this question. Report your answer to 2 decimal places, using conventional rounding rules.
DATA: 3 1 3 2 5 1 2 1 4 2 1 3 1 1
asked 2021-02-23
1. A researcher is interested in finding a 98% confidence interval for the mean number of times per day that college students text. The study included 144 students who averaged 44.7 texts per day. The standard deviation was 16.5 texts. a. To compute the confidence interval use a ? z t distribution. b. With 98% confidence the population mean number of texts per day is between and texts. c. If many groups of 144 randomly selected members are studied, then a different confidence interval would be produced from each group. About percent of these confidence intervals will contain the true population number of texts per day and about percent will not contain the true population mean number of texts per day. 2. You want to obtain a sample to estimate how much parents spend on their kids birthday parties. Based on previous study, you believe the population standard deviation is approximately \(\displaystyle\sigma={40.4}\) dollars. You would like to be 90% confident that your estimate is within 1.5 dollar(s) of average spending on the birthday parties. How many parents do you have to sample? n = 3. You want to obtain a sample to estimate a population mean. Based on previous evidence, you believe the population standard deviation is approximately \(\displaystyle\sigma={57.5}\). You would like to be 95% confident that your estimate is within 0.1 of the true population mean. How large of a sample size is required?
asked 2021-01-28
Given \(f(x)\ \cos(2x)\) and the interval
\([0,\ 3\ \frac{\pi}{4}]\)
approximate the area bounded by the graph of f(x) and the axis on the interval using a left, right, and mid point Riemann sum with \(n = 3\)
asked 2020-11-07
Here are summary stastistics for randomly selected weights of newborn girls: \(\displaystyle{n}={224},\overline{{{x}}}={28.3}\text{hg},{s}={7.1}\text{hg}\). Construct a confidence interval estimate of mean. Use a 98% confidence level. Are these results very different from the confidence interval \(\displaystyle{26.5}\text{hg}{<}\mu{<}{30.7}\text{hg}\) with only 14 sample values, \(\displaystyle\overline{{{x}}}={28.6}\) hg, and \(\displaystyle{s}={2.9}\) hg? What is the confidence interval for the population mean \(\displaystyle\mu\)? \(\displaystyle?{<}\mu{<}?\) Are the results between the two confidence intervals very different?
...