<prompt> Human: I know that in your mortgage payments your principal amounts start off as a small amount and increase over time. So Im wondering about the following scenarios:1. If you sell your house you bought 5 years ago and buy one simultaneously, for the same amount that you paid for the house, do you continue to make payments for your new house with the same principalinterest ratio that you would if you never moved, or do they cancel your loan because you no longer live at the first house and then issue you a new loan where the principalinterest portions are distributed differently?2. What happens if you sell your house before you find a new place? How long would you be able to hold that money before the bank expects you to buy another house? assuming the answer in 1 is that the loan doesnt automatically end when you sell your house  <response>: 1 If you sell you house, you pay off your mortgage with the proceeds of the sale. If you get less from the sale than you owe, you have to cover the difference out of pocket. You get a new mortgage when you buy a new house.2 The loan in your first question ends, so this is just a general comment. Any proceeds from a sale are yours. Do whatever you want with it. Until you find a new house and get a new mortgage, you have to rent short term. You can rent your own house back from the people you are selling to until you find a new place if they agree. 