Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

A jigsaw puzzle is put together by successively joining pieces that fit together into blocks. A move is made each time a piece is added to a block, or when two blocks are joined. Use strong induction to prove that no matter how the moves are carries out, exactlyn -1 moves are required to assemble a puzzle with n pieces.

Short Answer

Expert verified

It has been proved that it takes exactly n - 1 moves are required to assemble a puzzle withn pieces.

Step by step solution

01

Describe the given information

Given a jigsaw puzzle is put together by successively joining pieces that fit together into blocks. A move is made each time a piece is added to a block, or when two blocks are joined.

02

Prove using strong induction

LetP(n) : It takes exactlyn - 1 moves are required to assemble a puzzle with n pieces.

The basis step:P(1) is trivially true.

Inductive hypothesis:P(j) is true for all j<n, and consider a puzzle with n pieces.

To show: The statementP(k+1) is true.

Proof:The final move must be the joining of two blocks, of size kand n-kfor some integer k,1kn-1.

Inductive hypothesis: It required k-1moves to construct the one block, and n-k-1moves to construct the other.

Therefore 1+(k-1)+(n-k-1) moves are required in all, soP(n)is true.

Notice that for variety here we proved P(n) under the assumption that P(j) was true forj <n;so nplayed the role that k+1plays in the statement of strong induction.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Study anywhere. Anytime. Across all devices.

Sign-up for free