<< Chapter < Page Chapter >> Page >
  • If A is case 1a, (square and nonsingular), then
    A + = A - 1
  • If A is case 2a or 2b, (over specified) then
    A + = [ A T A ] - 1 A T
  • If A is case 3a, (under specified) then
    A + = A T [ A A T ] - 1

Figure 2. Four Cases with Analytical Solutions

Fortunately, most practical cases are one of these four but even then, it is generally faster and less error prone to use special techniques on the normal equationsrather than directly calculating the inverse matrix. Note the matrices to be inverted above are all r by r ( r is the rank) and nonsingular. In the other six cases from the ten in Figure 1, these would be singular, so alternate methods suchas SVD must be used [link] , [link] , [link] .

In addition to these four cases with “analytical” solutions, we can pose a more general problem by asking for an optimal approximation with a weighted norm [link] to emphasize or de-emphasize certain components or range of equations.

  • If A is case 2a or 2b, (over specified) then the weighted error pseudoinverse is
    A + = [ A T * W T * W A ] - 1 A T * W T * W
  • If A is case 3a, (under specified) then the weighted norm pseudoinverse is
    A + = [ W T W ] - 1 A T A [ W T W ] - 1 A T - 1

Figure 3. Three Cases with Analytical Solutions and Weights

These solutions to the weighted approxomation problem are useful in their own right but also serve as the foundation to the Iterative Reweighted Least Squares (IRLS)algorithm developed in the next chapter.

Geometric interpretation and least squares approximation

A particularly useful application of the pseudo-inverse of a matrix is to various least squared error approximations [link] , [link] . A geometric view of the derivation of the normal equations can be helpful. If b does not lie in the range space of A , an error vector is defined as the difference between A x and b . A geometric picture of this vector makes it clear that for the length of ε to be minimum, it must be orthogonal to the space spanned by the columns of A . This means that A * ε = 0 . If both sides of [link] are multiplied by A * , it is easy to see that the normal equations of [link] result in the error being orthogonal to the columns of A and, therefore its being minimal length. If b does lie in the range space of A , the solution of the normal equations gives the exact solution of [link] with no error.

For cases 1b, 1c, 2c, 2d, 3a, 3b, and 3c, the homogeneous equation [link] has non-zero solutions. Any vector in the space spanned by these solutions (the null space of A ) does not contribute to the equation error ε defined in [link] and, therefore, can be added to any particular generalized solution of [link] to give a family of solutions with the same approximation error. If the dimension of the nullspace of A is d , it is possible to find a unique generalized solution of [link] with d zero elements. The non-unique solution for these seven cases can be written in the form [link] .

x = A + b + [ I - A + A ] y

where y is an arbitrary vector. The first term is the minimum norm solution given by the Moore-Penrose pseudo-inverse A + and the second is a contribution in the null space of A . For the minimum | | x | | , the vector y = 0 .

Derivations

To derive the necessary conditions for minimizing q in the overspecified case, we differentiate q = ϵ T ϵ with respect to x and set that to zero. Starting with the error

q = ϵ T ϵ = [ Ax - b ] T [ Ax - b ] = x T A T A x - x T A T b - b T A x + b T b
q = x T A T A x - 2 x T A T b + b T b

and taking the gradient or derivative gives

x q = 2 A T A x - 2 A T b = 0

which are the normal equations in [link] and the pseudoinverse in [link] and [link] .

If we start with the weighted error problem

q = ϵ T W T W ϵ = [ Ax - b ] T W T W [ Ax - b ]

using the same steps as before gives the normal equations for the minimum weighted squared error as

A T W T W A x = A T W T W b

and the pseudoinverse as

x = [ A T W T W A ] - 1 A T W T W b

To derive the necessary conditions for minimizing the Euclidian norm | | x | | 2 when there are few equations and many solutions to [link] , we define a Lagrangian

L ( x , μ ) = | | W x | | 2 2 + μ T ( Ax - b )

take the derivatives in respect to both x and μ and set them to zero.

x L = 2 W T W x + A T μ = 0

and

μ L = Ax - b = 0

Solve these two equation simultaneously for x eliminating μ gives the pseudoinverse in [link] and [link] result.

x = [ W T W ] - 1 A T A [ W T W ] - 1 A T - 1 b

Because the weighting matrices W are diagonal and real, multiplication and inversion is simple. These equations are used in the Iteratively Reweighted LeastSquares (IRLS) algorithm described in the next chapter.

Regularization

To deal with measurement error and data noise, a process called “regularization" is sometimes used [link] , [link] , [link] .

Least squares approximation with constraints

The solution of the overdetermined simultaneous equations is generally a least squared error approximation problem. A particularly interesting anduseful variation on this problem adds inequality and/or equality constraints. This formulation has proven very powerful in solving theconstrained least squares approximation part of FIR filter design [link] . The equality constraints can be taken into account by using Lagrange multipliers and the inequality constraints can use theKuhn-Tucker conditions [link] , [link] , [link] . The iterative reweighted least squares (IRLS) algorithm described in the next chaptercan be modified to give results which are an optimal constrained least p-power solution [link] , [link] , [link] .

Conclusions

There is remarkable structure and subtlety in the apparently simple problem of solving simultaneous equations and considerable insight can begained from these finite dimensional problems. These notes have emphasized the l 2 norm but some other such as l and l 1 are also interesting. The use of sparsity [link] is particularly interesting as applied in Compressive Sensing [link] , [link] and in the sparse FFT [link] . There are also interesting and important applications ininfinite dimensions. One of particular interest is in signal analysis using wavelet basis functions [link] . The use of weighted error and weighted norm pseudoinverses provide a base for iterative reweighted leastsquares (IRLS) algorithms.

Questions & Answers

what does preconceived mean
sammie Reply
physiological Psychology
Nwosu Reply
How can I develope my cognitive domain
Amanyire Reply
why is communication effective
Dakolo Reply
Communication is effective because it allows individuals to share ideas, thoughts, and information with others.
effective communication can lead to improved outcomes in various settings, including personal relationships, business environments, and educational settings. By communicating effectively, individuals can negotiate effectively, solve problems collaboratively, and work towards common goals.
it starts up serve and return practice/assessments.it helps find voice talking therapy also assessments through relaxed conversation.
miss
Every time someone flushes a toilet in the apartment building, the person begins to jumb back automatically after hearing the flush, before the water temperature changes. Identify the types of learning, if it is classical conditioning identify the NS, UCS, CS and CR. If it is operant conditioning, identify the type of consequence positive reinforcement, negative reinforcement or punishment
Wekolamo Reply
please i need answer
Wekolamo
because it helps many people around the world to understand how to interact with other people and understand them well, for example at work (job).
Manix Reply
Agreed 👍 There are many parts of our brains and behaviors, we really need to get to know. Blessings for everyone and happy Sunday!
ARC
A child is a member of community not society elucidate ?
JESSY Reply
Isn't practices worldwide, be it psychology, be it science. isn't much just a false belief of control over something the mind cannot truly comprehend?
Simon Reply
compare and contrast skinner's perspective on personality development on freud
namakula Reply
Skinner skipped the whole unconscious phenomenon and rather emphasized on classical conditioning
war
explain how nature and nurture affect the development and later the productivity of an individual.
Amesalu Reply
nature is an hereditary factor while nurture is an environmental factor which constitute an individual personality. so if an individual's parent has a deviant behavior and was also brought up in an deviant environment, observation of the behavior and the inborn trait we make the individual deviant.
Samuel
I am taking this course because I am hoping that I could somehow learn more about my chosen field of interest and due to the fact that being a PsyD really ignites my passion as an individual the more I hope to learn about developing and literally explore the complexity of my critical thinking skills
Zyryn Reply
good👍
Jonathan
and having a good philosophy of the world is like a sandwich and a peanut butter 👍
Jonathan
generally amnesi how long yrs memory loss
Kelu Reply
interpersonal relationships
Abdulfatai Reply
What would be the best educational aid(s) for gifted kids/savants?
Heidi Reply
treat them normal, if they want help then give them. that will make everyone happy
Saurabh
What are the treatment for autism?
Magret Reply
hello. autism is a umbrella term. autistic kids have different disorder overlapping. for example. a kid may show symptoms of ADHD and also learning disabilities. before treatment please make sure the kid doesn't have physical disabilities like hearing..vision..speech problem. sometimes these
Jharna
continue.. sometimes due to these physical problems..the diagnosis may be misdiagnosed. treatment for autism. well it depends on the severity. since autistic kids have problems in communicating and adopting to the environment.. it's best to expose the child in situations where the child
Jharna
child interact with other kids under doc supervision. play therapy. speech therapy. Engaging in different activities that activate most parts of the brain.. like drawing..painting. matching color board game. string and beads game. the more you interact with the child the more effective
Jharna
results you'll get.. please consult a therapist to know what suits best on your child. and last as a parent. I know sometimes it's overwhelming to guide a special kid. but trust the process and be strong and patient as a parent.
Jharna
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Basic vector space methods in signal and systems theory. OpenStax CNX. Dec 19, 2012 Download for free at http://cnx.org/content/col10636/1.5
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Basic vector space methods in signal and systems theory' conversation and receive update notifications?

Ask