Subjects probability

Machine B Error 98A19C

Step-by-step solutions with LaTeX - clean, fast, and student-friendly.

Use the AI math solver

1. **Problem statement:** We have a random variable for the error in pipe length from Machine B with pdf $$b(x) = 42187(x-1)^2(10-x)$$ for $$1 \leq x \leq 10$$ and zero elsewhere. We need to find: - (c) The mean error for Machine B. - (d) The value $$k$$ such that $$P(X > k) = 0.05$$. - (e) The probability a randomly selected pipe from combined production is unacceptable (error > 9.5 mm). - (f) The probability an unacceptable pipe came from Machine A. --- 2. **Mean error for Machine B:** The mean $$\mu$$ is given by $$\mu = \int_1^{10} x b(x) dx$$. So, $$\mu = \int_1^{10} x \cdot 42187 (x-1)^2 (10 - x) dx$$. Expand the integrand: $$(x-1)^2 = x^2 - 2x + 1$$ So, $$x (x-1)^2 (10 - x) = x (x^2 - 2x + 1)(10 - x)$$ Multiply: $$= x (x^2 - 2x + 1)(10 - x) = x (10x^2 - x^3 - 20x + 2x^2 + 10 - x)$$ Simplify inside: $$= x (10x^2 - x^3 - 20x + 2x^2 + 10 - x) = x (12x^2 - x^3 - 21x + 10)$$ Multiply by $$x$$: $$= 12x^3 - x^4 - 21x^2 + 10x$$ Therefore, $$\mu = 42187 \int_1^{10} (12x^3 - x^4 - 21x^2 + 10x) dx$$ Integrate term by term: $$\int_1^{10} 12x^3 dx = 12 \cdot \frac{x^4}{4} \Big|_1^{10} = 3 (10^4 - 1^4) = 3 (10000 - 1) = 29997$$ $$\int_1^{10} -x^4 dx = - \frac{x^5}{5} \Big|_1^{10} = - \frac{10^5 - 1^5}{5} = - \frac{100000 - 1}{5} = -19999.8$$ $$\int_1^{10} -21x^2 dx = -21 \cdot \frac{x^3}{3} \Big|_1^{10} = -7 (1000 - 1) = -7 \cdot 999 = -6993$$ $$\int_1^{10} 10x dx = 10 \cdot \frac{x^2}{2} \Big|_1^{10} = 5 (100 - 1) = 5 \cdot 99 = 495$$ Sum integrals: $$29997 - 19999.8 - 6993 + 495 = 29997 - 19999.8 = 9997.2; 9997.2 - 6993 = 3004.2; 3004.2 + 495 = 3499.2$$ Multiply by 42187: $$\mu = 42187 \times 3499.2 = 147654620.4$$ This is too large, so check normalization first. --- 3. **Check normalization:** $$\int_1^{10} b(x) dx = 1$$ Calculate: $$\int_1^{10} 42187 (x-1)^2 (10 - x) dx = 42187 \int_1^{10} (x-1)^2 (10 - x) dx$$ Expand: $$(x-1)^2 (10 - x) = (x^2 - 2x + 1)(10 - x) = 10x^2 - x^3 - 20x + 2x^2 + 10 - x = 12x^2 - x^3 - 21x + 10$$ Integrate: $$\int_1^{10} (12x^2 - x^3 - 21x + 10) dx = \left(4x^3 - \frac{x^4}{4} - \frac{21x^2}{2} + 10x \right) \Big|_1^{10}$$ Calculate each term at 10 and 1: $$4(10^3) = 4000, \quad 4(1^3) = 4$$ $$\frac{10^4}{4} = 2500, \quad \frac{1^4}{4} = 0.25$$ $$\frac{21 \cdot 10^2}{2} = 1050, \quad \frac{21 \cdot 1^2}{2} = 10.5$$ $$10 \cdot 10 = 100, \quad 10 \cdot 1 = 10$$ So, $$\int_1^{10} = (4000 - 2500 - 1050 + 100) - (4 - 0.25 - 10.5 + 10) = (550) - (3.25) = 546.75$$ Multiply by 42187: $$42187 \times 546.75 = 23070000.25$$ This is not 1, so the pdf is not normalized as given. Possibly the pdf is $$b(x) = \frac{42187}{23070000.25} (x-1)^2 (10-x)$$. Normalize constant $$C = \frac{1}{546.75} \approx 0.001828$$ So correct pdf: $$b(x) = 0.001828 (x-1)^2 (10-x)$$ --- 4. **Recalculate mean with normalized pdf:** $$\mu = \int_1^{10} x b(x) dx = 0.001828 \int_1^{10} x (x-1)^2 (10-x) dx$$ From step 2, integral inside is 3499.2. So, $$\mu = 0.001828 \times 3499.2 = 6.395$$ --- 5. **Find $$k$$ such that $$P(X > k) = 0.05$$:** $$P(X > k) = \int_k^{10} b(x) dx = 0.05$$ Equivalently, $$\int_1^{k} b(x) dx = 0.95$$ Calculate cumulative distribution function (CDF): $$F(k) = \int_1^{k} 0.001828 (x-1)^2 (10-x) dx$$ Using the integral from step 3: $$\int_1^{k} (x-1)^2 (10-x) dx = \left(4x^3 - \frac{x^4}{4} - \frac{21x^2}{2} + 10x \right) \Big|_1^{k} - 3.25$$ Define: $$I(k) = 4k^3 - \frac{k^4}{4} - \frac{21k^2}{2} + 10k - 3.25$$ Then, $$F(k) = 0.001828 \times I(k)$$ Set $$F(k) = 0.95$$: $$0.001828 \times I(k) = 0.95 \Rightarrow I(k) = \frac{0.95}{0.001828} = 519.8$$ Solve for $$k$$ numerically in $$[1,10]$$: Try $$k=9.5$$: $$I(9.5) = 4(9.5)^3 - \frac{(9.5)^4}{4} - \frac{21(9.5)^2}{2} + 10(9.5) - 3.25$$ Calculate: $$4(857.375) = 3429.5$$ $$\frac{8145.06}{4} = 2036.27$$ $$\frac{21 \times 90.25}{2} = 947.63$$ $$10 \times 9.5 = 95$$ Sum: $$3429.5 - 2036.27 - 947.63 + 95 - 3.25 = 537.35$$ Close to 519.8, try $$k=9.4$$: Calculate similarly, find $$I(9.4) \approx 488$$ Interpolate linearly: $$k \approx 9.4 + \frac{519.8 - 488}{537.35 - 488} \times 0.1 = 9.4 + \frac{31.8}{49.35} \times 0.1 = 9.4 + 0.064 = 9.46$$ So, $$k \approx 9.46$$ --- 6. **Probability pipe is unacceptable (error > 9.5 mm) from combined production:** Machine A pipes: 1200, Machine B pipes: 800, total 2000. Assume Machine A error distribution unknown, but from problem context, only Machine B pdf given. Assuming Machine A error probability $$P_A(>9.5) = p_A$$ (not given), so we cannot calculate exactly. If we assume Machine A pipes have negligible error > 9.5, then $$P_B(>9.5) = \int_{9.5}^{10} b(x) dx$$ Calculate: $$P_B(>9.5) = 1 - F(9.5) = 1 - 0.001828 \times I(9.5) = 1 - 0.001828 \times 537.35 = 1 - 0.982 = 0.018$$ Combined probability: $$P(>9.5) = \frac{1200}{2000} p_A + \frac{800}{2000} 0.018 = 0.6 p_A + 0.0072$$ Without $$p_A$$, cannot finalize. --- 7. **Probability unacceptable pipe came from Machine A:** Using Bayes theorem: $$P(A|unacceptable) = \frac{P(unacceptable|A) P(A)}{P(unacceptable)} = \frac{p_A \times 0.6}{0.6 p_A + 0.0072}$$ Again, without $$p_A$$, cannot finalize. --- **Final answers:** (c) Mean error for Machine B: $$\boxed{6.395}$$ mm (d) Value $$k$$ such that $$P(X > k) = 0.05$$: $$\boxed{9.46}$$ mm (e) and (f) cannot be computed exactly without Machine A error distribution. ---