Step 1: Express how much of each candle burns per hour, as a fraction of the whole.
Since the thick candle fully burns out in 6 hours, each hour it burns exactly 1/6 of itself. Since the thin candle fully burns out in 4 hours (6 hours minus 2), each hour it burns exactly 1/4 of itself.
Step 2: Write the fraction of each candle that is left after t hours.
Fraction of thick candle left = 1 - t/6. Fraction of thin candle left = 1 - t/4. Since both candles started at the same length, these fractions can be compared directly without needing to know the actual length.
Step 3: Translate "thick candle is twice as long as thin candle" into an equation using these fractions.
Twice as long means: (fraction of thick left) = 2 x (fraction of thin left). Substituting: 1 - t/6 = 2(1 - t/4).
Step 4: Expand and simplify.
Expanding the right-hand side: 2(1 - t/4) = 2 - t/2. So the equation becomes 1 - t/6 = 2 - t/2. Rearranging: t/2 - t/6 = 2 - 1 = 1.
Step 5: Solve for t using a common denominator.
t/2 = 3t/6, so 3t/6 - t/6 = 2t/6 = t/3. Setting t/3 = 1 gives t = 3 hours.
Step 6: Sanity-check the answer.
After 3 hours: thick candle left = 1 - 3/6 = 1/2 of its length; thin candle left = 1 - 3/4 = 1/4 of its length. Since 1/2 is exactly twice 1/4, this confirms t = 3 is correct.
Ramaswami studied by candlelight for 3 hours. \[\boxed{3 \text{ hours}}\]