Let the smaller tap fill the tank alone in x minutes.
Then, the larger tap will fill the tank in (x - 15) minutes.
In 1 minute, the smaller tap can fill 1x part of the tank and
The larger tap can fill 1x−15 part of the tank.
The tank is filled up in 18 minutes if both the taps are open.
Thus, in one minute, the taps fill 118 part of the tank.
1x+1x−15=118
⇒x−15+xx(x−15)=118
⇒2x−15x2−15x=118
⇒36x−270=x2−15x
⇒x2−51x+270=0
⇒x2−45x−6x+270=0
⇒x(x−45)−6(x−45)=0
⇒(x−45)(x−6)=0
⇒x=45 or x=6
Now, x = 6 is inadmissible as x - 15 = 6 - 15 = - 9 is not possible
Thus, the time taken by small tap alone to fill the tank is 45 minutes.