Rewrite as .

Multiply by .

Multiply and .

Raise to the power of .

Raise to the power of .

Use the power rule to combine exponents.

Add and .

Rewrite as .

Use to rewrite as .

Apply the power rule and multiply exponents, .

Combine and .

Cancel the common factor of .

Cancel the common factor.

Divide by .

Simplify.

Combine using the product rule for radicals.

Simplify square root of (3^(n-1)+1)/(3^(1-n)+1)