Suppose that columns of A are linearly independent. Determine what happens to the least-square solution\(\widehat {\bf{x}}\)of\(A{\bf{x}} = {\mathop{\rm b}\nolimits} \)when b is replaced by\(c{\bf{b}}\)for some nonzero scalar\(c\).

Short Answer

Expert verified

The least-square solution \(\widehat {\bf{x}}\) of \(A{\bf{x}} = {\bf{b}}\) is \({c_1}{\widehat {\bf{x}}_1} + {c_2}{\widehat {\bf{x}}_2}\).

Step by step solution

01

Statement in Theorem 14 

Consider \(A\) as an \(m \times n\) matrix. Then, the following statement is equivalent.

  1. The equation \(A{\bf{x}} = {\bf{b}}\) contains a uniqueleast-square solutionfor every \({\bf{b}}\) in \({\mathbb{R}^m}\).
  2. The columns of \(A\) are known as linearly independent.
  3. A matrix \({A^T}A\) is known as invertible.

If these statements are true, then the least-squares solution \(\widehat {\bf{x}}\) is provided by,

\(\widehat {\bf{x}} = {\left( {{A^T}A} \right)^{ - 1}}{A^T}{\bf{b}}\) … (1)

02

Determine what happens to the least-square solution \(\widehat {\bf{x}}\) of \(A{\bf{x}} = {\mathop{\rm b}\nolimits} \)

According to theorem 14, the equation \(A{\bf{x}} = {\bf{b}}\) contains a unique least-square for every \({\bf{b}}\) in \({\mathbb{R}^m}\), when \(c \ne 0\), then the least-square solution of \(A{\bf{x}} = c{\bf{b}}\) is provided by \(\widehat {\bf{x}} = {\left( {{A^T}A} \right)^{ - 1}}{A^T}{\bf{b}}\).

Consider \({\bf{b}} = {c_1}{{\bf{b}}_1} + {c_2}{{\bf{b}}_2}\) and use the linearity of matrix multiplication to obtain the value as shown below:

\(\begin{array}{c}{\left( {{A^T}A} \right)^{ - 1}}{A^T}\left( {{c_1}{{\bf{b}}_1} + {c_2}{{\bf{b}}_2}} \right) = {c_1}{\left( {{A^T}A} \right)^{ - 1}}{A^T}{{\bf{b}}_1} + {c_2}{\left( {{A^T}A} \right)^{ - 1}}{A^T}{{\bf{b}}_2}\\ = {c_1}{\widehat {\bf{x}}_1} + {c_2}{\widehat {\bf{x}}_2}\end{array}\)

Thus, the least-square solution \(\widehat {\bf{x}}\) of \(A{\bf{x}} = {\bf{b}}\) is \({c_1}{\widehat {\bf{x}}_1} + {c_2}{\widehat {\bf{x}}_2}\).

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

Most popular questions from this chapter

Show that if \(U\) is an orthogonal matrix, then any real eigenvalue of \(U\) must be \( \pm 1\).

Let \(X\) be the design matrix used to find the least square line of fit data \(\left( {{x_1},{y_1}} \right), \ldots ,\left( {{x_n},{y_n}} \right)\). Use a theorem in Section 6.5 to show that the normal equations have a unique solution if and only if the data include at least two data points with different \(x\)-coordinates.

In Exercises 7–10, let\[W\]be the subspace spanned by the\[{\bf{u}}\]’s, and write y as the sum of a vector in\[W\]and a vector orthogonal to\[W\].

10.\[y = \left[ {\begin{aligned}3\\4\\5\\6\end{aligned}} \right]\],\[{{\bf{u}}_1} = \left[ {\begin{aligned}1\\1\\0\\{ - 1}\end{aligned}} \right]\],\[{{\bf{u}}_2} = \left[ {\begin{aligned}1\\0\\1\\1\end{aligned}} \right]\],\[{{\bf{u}}_3} = \left[ {\begin{aligned}0\\{ - 1}\\1\\{ - 1}\end{aligned}} \right]\]

In Exercises 13 and 14, the columns of Q were obtained by applying the Gram-Schmidt process to the columns of A. Find an upper triangular matrix R such that \(A = QR\). Check your work.

13. \(A = \left( {\begin{aligned}{{}{}}5&9\\1&7\\{ - 3}&{ - 5}\\1&5\end{aligned}} \right),{\rm{ }}Q = \left( {\begin{aligned}{{}{}}{\frac{5}{6}}&{ - \frac{1}{6}}\\{\frac{1}{6}}&{\frac{5}{6}}\\{ - \frac{3}{6}}&{\frac{1}{6}}\\{\frac{1}{6}}&{\frac{3}{6}}\end{aligned}} \right)\)

Show that if an \(n \times n\) matrix satisfies \(\left( {U{\bf{x}}} \right) \cdot \left( {U{\bf{y}}} \right) = {\bf{x}} \cdot {\bf{y}}\) for all x and y in \({\mathbb{R}^n}\), then \(U\) is an orthogonal matrix.

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free