Let the time taken by the hot water faucet be represented as H,
Let the time taken by the cold water faucet be represented as C.
Since it takes the cold water faucet 4 times as long to fill the tub as it does the hot water faucet, we can imply that
[tex]H\text{ = 4C ----- equation 1}[/tex]When the two faucets are left together, the total time taken is 4 minutes.
Thus,
[tex]\frac{1}{C}+\frac{1}{H}=\frac{1}{4}\text{ ----- equation 2}[/tex]From equation 1, we thus have
[tex]\frac{1}{C}+\frac{1}{4C}=\frac{1}{4}[/tex]Multiply through by 4C, we have
[tex]\begin{gathered} 4C(\frac{1}{C}+\frac{1}{4C})=4C(\frac{1}{4}) \\ \Rightarrow4+1\text{ = C} \\ \text{Thus,} \\ C=5 \end{gathered}[/tex]Thus, the total time taken by the cold water faucet to fill up the tub is 5 minutes.