
Advanced Engineering Mathematics
10th Edition
ISBN: 9780470458365
Author: Erwin Kreyszig
Publisher: Wiley, John & Sons, Incorporated
expand_more
expand_more
format_list_bulleted
Question
![## Vector Projection and Least Squares Solution in Linear Algebra
### Question 2
#### Part a)
Suppose \( H \) is a 2-dimensional subspace of \( \mathbb{R}^3 \) with a basis \( \{ \mathbf{b_1}, \mathbf{b_2} \} \), and \( \mathbf{y} \) is a vector given by
\[
\mathbf{b_1} = \begin{pmatrix} 1 \\ -1 \\ 0 \end{pmatrix}, \quad \mathbf{b_2} = \begin{pmatrix} 1 \\ 1 \\ 1 \end{pmatrix}, \quad \mathbf{y} = \begin{pmatrix} 1 \\ 2 \\ 1 \end{pmatrix}
\]
Find \( \text{proj}_H \mathbf{y} \) and \( \mathbf{z} \) such that \( \mathbf{y} = \text{proj}_H \mathbf{y} + \mathbf{z} \).
**Hint:** Find the basis of \( H \), then use the inner product to find the coefficients.
#### Part b)
Find the least squares solution of the following equation and then find the least-squares error,
\[
\begin{pmatrix} 1 & 1 \\ -1 & 1 \\ 0 & 1 \end{pmatrix} \begin{pmatrix} y_1 \\ y_2 \end{pmatrix} = \begin{pmatrix} 1 \\ 2 \\ 1 \end{pmatrix}
\]
**Hint:** For the equation \( A\mathbf{y} = \mathbf{b} \), the least-square solution can be found by solving \( A^T A \hat{\mathbf{y}} = A^T \mathbf{b} \). The error is the norm of \( \mathbf{b} - A \hat{\mathbf{y}} \).](https://content.bartleby.com/qna-images/question/238584dd-2c47-447e-aaba-b9fce1ec1b5c/8f3331c8-421c-48cd-990b-a9aa426a8c4b/lq263g_thumbnail.png)
Transcribed Image Text:## Vector Projection and Least Squares Solution in Linear Algebra
### Question 2
#### Part a)
Suppose \( H \) is a 2-dimensional subspace of \( \mathbb{R}^3 \) with a basis \( \{ \mathbf{b_1}, \mathbf{b_2} \} \), and \( \mathbf{y} \) is a vector given by
\[
\mathbf{b_1} = \begin{pmatrix} 1 \\ -1 \\ 0 \end{pmatrix}, \quad \mathbf{b_2} = \begin{pmatrix} 1 \\ 1 \\ 1 \end{pmatrix}, \quad \mathbf{y} = \begin{pmatrix} 1 \\ 2 \\ 1 \end{pmatrix}
\]
Find \( \text{proj}_H \mathbf{y} \) and \( \mathbf{z} \) such that \( \mathbf{y} = \text{proj}_H \mathbf{y} + \mathbf{z} \).
**Hint:** Find the basis of \( H \), then use the inner product to find the coefficients.
#### Part b)
Find the least squares solution of the following equation and then find the least-squares error,
\[
\begin{pmatrix} 1 & 1 \\ -1 & 1 \\ 0 & 1 \end{pmatrix} \begin{pmatrix} y_1 \\ y_2 \end{pmatrix} = \begin{pmatrix} 1 \\ 2 \\ 1 \end{pmatrix}
\]
**Hint:** For the equation \( A\mathbf{y} = \mathbf{b} \), the least-square solution can be found by solving \( A^T A \hat{\mathbf{y}} = A^T \mathbf{b} \). The error is the norm of \( \mathbf{b} - A \hat{\mathbf{y}} \).
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution
Trending nowThis is a popular solution!
Step by stepSolved in 2 steps with 2 images

Knowledge Booster
Similar questions
- Find a basis for the solution space of the given homogeneous linear system. X4- 2x2 + 16x3 = 0 2x, 3x2 + 23x3 = 0 A basis for the solution space of the given homogeneous linear system is { }. (Use a comma to separate vectors as needed.)arrow_forwardI know the basis converted to orthogonal is {<2, 1, -1, 1>,<11, -12, 5, -5>,<-1, -3, 0, 5>} and that the magnitude of these will be sqrt(7), sqrt(315), sqrt(35) - but I'm not sure how to use these to convert the basis to orthonormal.arrow_forwardSuppose that u and uz are orthogonal vectors, with ||u1|| = 5 and |u2|| = 2. Find ||4u1 - u2||- || 4u1 - u2||arrow_forward
- 7. Find the coordinates of the vector v relative to the ordered basis B. a) B = {x² + 2x + 2, 2x + 3,−x² + x + 1} v=-3x² + 6x + 8 14 D b) B = {[1₁¹] [ = (₁ 3²1 -CAC) = B₂ -QAED = 0 v= c) B₁ v= 22arrow_forwardLet {uj, uz, U3, U4} be the orthogonal basis for R' given below. Write x as a sum of two vectors vand v, with v, in Span{uj, u2, Uz} and v, in Span{u4}. Enter your answers as 4x1 arrays into v_1 and v_2 . [6] 6 uz = u = Uz = -6arrow_forwardSuppose V is a subspace of R" and suppose {v1, v2, v3} is a basis of V. Decide if the following sets of vectors are a basis for V: (i) {v2, v1 – 503, 2v3} (ii) {v2, v1 – 503, 203, 302 + 703 – v1} (iii) {202 – v3, v1}arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Advanced Engineering MathematicsAdvanced MathISBN:9780470458365Author:Erwin KreyszigPublisher:Wiley, John & Sons, IncorporatedNumerical Methods for EngineersAdvanced MathISBN:9780073397924Author:Steven C. Chapra Dr., Raymond P. CanalePublisher:McGraw-Hill EducationIntroductory Mathematics for Engineering Applicat...Advanced MathISBN:9781118141809Author:Nathan KlingbeilPublisher:WILEY
- Mathematics For Machine TechnologyAdvanced MathISBN:9781337798310Author:Peterson, John.Publisher:Cengage Learning,

Advanced Engineering Mathematics
Advanced Math
ISBN:9780470458365
Author:Erwin Kreyszig
Publisher:Wiley, John & Sons, Incorporated

Numerical Methods for Engineers
Advanced Math
ISBN:9780073397924
Author:Steven C. Chapra Dr., Raymond P. Canale
Publisher:McGraw-Hill Education

Introductory Mathematics for Engineering Applicat...
Advanced Math
ISBN:9781118141809
Author:Nathan Klingbeil
Publisher:WILEY

Mathematics For Machine Technology
Advanced Math
ISBN:9781337798310
Author:Peterson, John.
Publisher:Cengage Learning,

