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

By using paper and pencil, find the least squaresx* of the system Ax=b, whereA=[111011] andb=[333]. Verify that the vectorb-Ax* is perpendicular to the image of A.

Short Answer

Expert verified

The least square solution ofx* is22 and the vectorb-Ax* is perpendicular to the image of A .

Step by step solution

01

Determine the least squares solution.

Consider the solution of the equation matrixAx=b whereA=111001 andb=333 .

If xis the solution of the equation Ax=bthen the least-square solution x*is defined asx*=ATA-1ATb .

Substitute the value 111001for A and333 forb in the equationx*=ATA-1ATb .

role="math" localid="1660205424631" x*=ATA-1ATbx*=111001T111001-1111001T333x*=110101111001-1110101333x*=2112-166

Further, simplify the equation as follows.

x*=2112-166x*=2/31/3-1/32/3-166x*=22

Therefore, the least square solution of x*is22 .

02

Show that explain the meaning of b→-Ax→* is perpendicular to the image of A .

The image of the matrix A is defined as follows.

lmA=Axx2=111001abx2lmA=a+babx2

Substitute the value 111001for A , a+babfor lmA, 22for x*and 333for bin role="math" localid="1660211257336" b-Ax*TlmAas follows.

b-Ax*TlmA=333-11100122Ta+bab=333-422Ta+bab=-111Ta+babb-Ax*Tlm(A)=-111a+bab

Further, simplify the equation as follows.

b-Ax*Tlm(A)=-111a+bab=-a-b+a+bb-Ax*Tlm(A)=0

By the definition of perpendicular of two vectors, the vectorb-Ax* is perpendicular to the image of A .

Ifx*=0 then it impliesAx*=0 .

Hence, the least square solution of x*is 22and the vector b-Ax*is perpendicular to the image of A .

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