I don't understand the algebra used in the below example proof from my textbook. Where does the + 1 come from? Is it okay to just add 1 anywhere you want? Or is there some rule here or reason you can?
You can subtract 1 and plus 1 to balance things up. Something like adding zero, hence you preserve the equality.