Question
At a landlord's weekly inspection, a boiler, a sink drain and a shared shut-off valve can each need repair. Their failures are independent, with probabilities 0.20, 0.30 and 0.10 respectively.
A heating contractor charges £100 for a visit and handles boiler faults. A plumbing contractor charges £70 per visit and handles drain faults. Either can repair the shared valve, but the landlord's contract gives heating first priority for it: whenever the valve fails, it is assigned to heating, even if the boiler is fine. Each contractor makes at most one charged visit per week, regardless of how many assigned faults they fix. Parts and labour beyond the visit fee are ignored.
What is the expected number of charged visits and the expected weekly callout bill? How would the bill change if plumbing, rather than heating, had priority for the valve?
Get hint
Hint 1
Charge for whether each contractor has at least one assigned fault, not for how many individual parts have failed.
Check your answer
Solution
Let H and P indicate whether the heating and plumbing contractors are called. Under heating priority, \(H=1\) if the boiler or valve fails. Independence gives \(P(H=1)=1-(1-0.20)(1-0.10)=1-0.8\times0.9=0.28\). Plumbing is called precisely when the drain fails, so \(P(P=1)=0.30\). Linearity of expectation does not require the visit indicators themselves to be independent: \(\mathbb E[H+P]=0.28+0.30=0.58\). The expected fixed-fee bill is \(\mathbb E[100H+70P]=100\times0.28+70\times0.30=\text{£}49\).
Under plumbing priority, heating is called only for a boiler fault, probability 0.20; plumbing is called for a drain or shared-valve fault, probability \(1-(0.70)(0.90)=0.37\). The expected number of visits becomes \(0.20+0.37=0.57\), and the bill is \(100\times0.20+70\times0.37=\text{£}45.90\).
For a direct eight-state check, every possible failure set for three independent parts falls into the same two visit-activation rules. Summing each state's probability times its triggered visits produces the probabilities above. A valve-only failure, for example, incurs exactly one £100 visit under heating priority and exactly one £70 visit under plumbing priority; it never triggers two billable visits. This is why simply adding each part's failure probability or charging the valve twice would be incorrect.
Assumptions
Every component fails independently during the week.
A service visit covers all assigned faulty components for one fixed callout fee; the valve is assigned to exactly one contractor under the priority rule.
Final Answer
Heating-first: 0.58 expected visits and £49 expected callout cost. Plumbing-first: £45.90 expected cost (0.57 visits).