Rewrite as .

Expand using the FOIL Method.

Apply the distributive property.

Apply the distributive property.

Apply the distributive property.

Simplify and combine like terms.

Simplify each term.

Multiply by by adding the exponents.

Use the power rule to combine exponents.

Add and .

Move to the left of .

Rewrite as .

Rewrite as .

Multiply by .

Subtract from .

Apply the distributive property.

Simplify.

Multiply by .

Multiply by .

Apply the distributive property.

Multiply by .

Subtract from .

Add and .

Add and .

Add and .

Solve for f f=-(k^2-1)^2-2(k^2-1)+1