Question

Linear Algebra Find a least-squares solution of Ax = b by (a) constructing the normal equations...

Linear Algebra

Find a least-squares solution of Ax = b by (a) constructing the normal equations for x and (b) solving for x.

A = [1, -3], b = [5]

      [-1,  3]         [1]

      [0,   2]         [-3]

      [3,   6]         [4]

a. Construct the normal equations for x without solving.

[            ] x = [    ]   (Simplify your answers.)

[            ]       [     ]

b. Solve for x.

x =    (Simplify your answer.)

Homework Answers

Answer #1

Given, A = and b = .

a) The normal equations for X without solving : = .

b) We apply LU factorization on the matrix A.

Then, =

i.e., A = PLU, where L = , U = , P =

Now, (PLU)X = b

i.e., P(LUX) = b

First we solve PZ = b, where Z =

i.e., =

i.e., k = 5

m = 1

l = -3

n = 4

Therefore, Z =

Now we solve LY = Z, where Y =

i.e., =

i.e., p = 5

-p+q = -3

r = 1

3p+(15/2)r+s = 4

i.e., p = 5

q = 2

r = 1

s = -37/2

Therefore, Y =

Now, we solve UX = Y

i.e., =

i.e., x-3y = 5

2y = 2

i.e., x = 8

y = 1

Hence, the solution is .

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Linear Algebra Find a least-squares solution of Ax = b by (a) constructing the normal equations...
Linear Algebra Find a least-squares solution of Ax = b by (a) constructing the normal equations for x and (b) solving for x. A = [-1, 2], b = [8, 2, 4]        [2, -3]        [-1, 3] (a) Construct the normal equations for x. [        ] [    ]   = [ ] [        ] [    ]      [ ]   (Simplify your answers.) (b) Solve for x. x = [    ] (Simplify your answers.)       [    ]
Simplify the following non linear equations to linear form. label the slope and y intercept   y=ax^4+b...
Simplify the following non linear equations to linear form. label the slope and y intercept   y=ax^4+b y=ax^b+5 xy=10^a(x^2+y^2)+b sinx=(a+by/siny)
For the linear system Ax = b, with A and b defined as A= [1 2...
For the linear system Ax = b, with A and b defined as A= [1 2 -1; 2 3 1; -1 -1 -2; 3 5 0] B= [1; 0; 1; 0] (a) By hand, calculate the pseudoinverse A+ (b) Use the pseudoinverse to calculate a least squares solution for the system. (c) Calculate the least squares solution to the system in MATLAB, using mldivide (i.e., A\b). (d) Calculate the size of the error e from each solution, and compare the...
Solving Systems of Linear Equations Using Linear Transformations In problems 2 and 5 find a basis...
Solving Systems of Linear Equations Using Linear Transformations In problems 2 and 5 find a basis for the solution set of the homogeneous linear systems. 2. ?1 + ?2 + ?3 = 0 ?1 − ?2 − ?3 = 0 5. ?1 + 2?2 − 2?3 + ?4 = 0 ?1 − 2?2 + 2?3 + ?4 = 0. So I'm in a Linear Algebra class at the moment, and the professor wants us to work through our homework using...
Exercise 2.4 Assume that a system Ax = b of linear equations has at least two...
Exercise 2.4 Assume that a system Ax = b of linear equations has at least two distinct solutions y and z. a. Show that xk = y+k(y−z) is a solution for every k. b. Show that xk = xm implies k = m. [Hint: See Example 2.1.7.] c. Deduce that Ax = b has infinitely many solutions.
Linear Algebra Find the best approximation to z by vectors of the form c1v1 + c2v2...
Linear Algebra Find the best approximation to z by vectors of the form c1v1 + c2v2 z = [3, -5, 2, 3], v1 = [3, -1, 0, 1], v2 = [1, 2, 2, -1] The best approximation to z is     (Simplify your answer.)
q.1.(a) The following system of linear equations has an infinite number of solutions x+y−25 z=3 x−5 ...
q.1.(a) The following system of linear equations has an infinite number of solutions x+y−25 z=3 x−5 y+165 z=0    4 x−14 y+465 z=3 Solve the system and find the solution in the form x(vector)=ta(vector)+b(vector)→, where t is a free parameter. When you write your solution below, however, only write the part a(vector=⎡⎣⎢ax ay az⎤⎦⎥ as a unit column vector with the first coordinate positive. Write the results accurate to the 3rd decimal place. ax = ay = az =
First, create 3 equations of the form ax+by+cz=d , where a, b, c, and d are...
First, create 3 equations of the form ax+by+cz=d , where a, b, c, and d are constants (integers between – 5 and 5). For example, x + 2y – 2= -1 . Perform row operations on your system to obtain a row-echelon form and the solution. Go to the 3D calculator website GeoGebra: www.geogebra.org/3d?lang=pt and enter each of the equations. After you have completed this first task, choose one of the following to complete your discussion post. 1. Reflect on...
LINEAR ALGEBRA For the matrix B= 1 -4 7 -5 0 1 -4 3 2   ...
LINEAR ALGEBRA For the matrix B= 1 -4 7 -5 0 1 -4 3 2    -6 6    -4 Find all x in R^4 that are mapped into the zero vector by the transformation Bx. Does the vector: 1 0 2 belong to the range of T? If it does, what is the pre-image of this vector?
Find the solution to the linear system of differential equations {x′ = 6x + 4y {y′=−2x...
Find the solution to the linear system of differential equations {x′ = 6x + 4y {y′=−2x satisfying the initial conditions x(0)=−5 and y(0)=−4. x(t) = _____ y(t) = _____
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT