23-Ind-B1 Reliability and Maintainability · December 2019
Question 1 of 9: Validity of a Piecewise Probability Function
Nivaar worked solution (AI-drafted; not reviewed by a licensed engineer)
Notes on this paper
National Exams — December 2019 — 17-Ind-B1 Applied Probability & Statistics. Three-hour, closed-book exam; one of two permitted calculators (Sharp or Casio), one 8.5″×11.0″ aid sheet (both sides), statistical tables supplied. Format: three sections — Section A: do 2 of 4 (20 marks); Section B: do 2 of 3 (40 marks); Section C: do 1 of 2 (20 marks) — a 9-question, 80-mark paper as actually structured by the section table and each question's own printed marks (the front page's own summary line states “Exam: 5 Questions. Total marks: 100”, which is internally inconsistent with 20+40+20=80 from its own section breakdown and every question's printed mark value). All nine questions across the three sections are solved below for completeness.
Reference texts: Montgomery & Runger, Applied Statistics and Probability for Engineers (7th ed., Wiley) — probability density functions and moments (ch. 4), point/interval estimation (ch. 8), two-sample hypothesis testing and the sign test (ch. 9–10, 16), simple linear regression (ch. 11), single-factor ANOVA and multiple comparisons (ch. 13). Montgomery, Peck & Vining, Introduction to Linear Regression Analysis (6th ed., Wiley) — multiple regression by matrices, confidence/prediction intervals (ch. 2–3). Montgomery, Design and Analysis of Experiments (9th ed., Wiley) — Bartlett's test, Tukey's HSD, $2^k$ factorial designs (ch. 3, 6).
Question 1 (Section A.1): Validity of a Piecewise Probability Function (10 marks)
Given. $f(x)=\alpha x$ on $0\lt x\lt3$; $f(x)=3-2x$ on $3\le x\le5$; $f(x)=0$ elsewhere.
Find. (a) The value of $\alpha$ that makes $f$ a valid pdf, and whether one exists; (b) $E[X]$; (c) $\mathrm{Var}(X)$, both under the instruction to proceed “assuming it is a valid pdf.”
Approach. A valid pdf must satisfy two independent conditions everywhere on its support: $f(x)\ge0$ and $\int f(x)\,dx=1$. Check non-negativity on each piece first (it does not depend on $\alpha$ where $\alpha$ does not appear), then solve the normalizing condition for $\alpha$, then compute the moments as instructed.
(a) Check non-negativity on $[3,5]$. The second piece, $3-2x$, contains no $\alpha$ term at all — it is fully determined by $x$ alone. On its stated domain, $3-2x$ is strictly decreasing, taking the value $3-2(3)=-3$ at the left end and $3-2(5)=-7$ at the right end:
$$f(x)=3-2x\lt0\quad\text{for every }x\in[3,5]$$
Since a valid probability density function requires $f(x)\ge0$ for all $x$, and this piece is negative throughout its entire domain regardless of what $\alpha$ is chosen (there is no $\alpha$ present to rescale or flip its sign), no value of $\alpha$ can make $f(x)$ a valid pdf. This is decisive on its own; the normalizing condition below cannot rescue it.
(a, continued) Solve the normalizing condition anyway, to see what “$\alpha$” the question is pointing at. Total probability must integrate to 1:
$$\int_0^3 \alpha x\,dx+\int_3^5(3-2x)\,dx=1$$
$$\int_0^3\alpha x\,dx=\frac{9\alpha}{2},\qquad \int_3^5(3-2x)\,dx=\Big[3x-x^2\Big]_3^5=(15-25)-(9-9)=-10$$
$$\frac{9\alpha}{2}-10=1\ \Rightarrow\ \alpha=\boxed{\dfrac{22}{9}\approx2.444}$$
This $\alpha$ satisfies the total-probability-equals-1 condition only — it does nothing to fix the sign problem found in step 1, since $\alpha$ never multiplies the second piece.
(b) Mean, proceeding formally with $\alpha=22/9$ as instructed.
$$E[X]=\int_0^3 x(\alpha x)\,dx+\int_3^5 x(3-2x)\,dx=\alpha\int_0^3x^2\,dx+\int_3^5(3x-2x^2)\,dx$$
$$=\frac{22}{9}(9)+\Big[\tfrac{3}{2}x^2-\tfrac{2}{3}x^3\Big]_3^5=22+\big(-\tfrac{275}{6}\big)-\big(-\tfrac{9}{2}\big)=22-\frac{124}{3}=\boxed{-\dfrac{58}{3}\approx-19.33}$$
(c) Variance, same formal basis. First $E[X^2]$:
$$E[X^2]=\alpha\int_0^3x^3\,dx+\int_3^5(3x^2-2x^3)\,dx=\frac{22}{9}\Big(\frac{81}{4}\Big)+\Big[x^3-\tfrac{x^4}{2}\Big]_3^5=49.5+(-174)=\boxed{-124.5}$$
Then
$$\mathrm{Var}(X)=E[X^2]-(E[X])^2=-124.5-\left(-\frac{58}{3}\right)^2=-124.5-373.78=\boxed{-\dfrac{8969}{18}\approx-498.3}$$
A variance can never be negative for a genuine random variable ($\mathrm{Var}(X)=E[(X-\mu)^2]\ge0$ always, being an average of squares) — this impossible result is a second, independent confirmation of step 1's conclusion: $f(x)$ as printed is not a valid probability density function for any $\alpha$, and the numbers in (b)/(c) are formal bookkeeping only, not meaningful moments of a real distribution.
Final Results
Quantity
Value
Valid $\alpha$ exists?
No — $f(x)=3-2x\lt0$ on all of $[3,5]$ for every $\alpha$
Check The question prints exactly this piecewise definition (first piece $\alpha x$, second piece $3-2x$ with no $\alpha$) — this is a genuine defect in how the exam question was set. The answer above follows the question's own literal instructions (find $\alpha$, then use it in b/c) while flagging at each step why the premise cannot hold.