Numerically solving the null vector

  • Context: Graduate 
  • Thread starter Thread starter wdlang
  • Start date Start date
  • Tags Tags
    Vector
Click For Summary

Discussion Overview

The discussion revolves around numerically solving for the null vector of a singular 1000 by 1000 matrix A, specifically focusing on methods to find a nonzero vector x such that Ax = 0. The context includes the use of MATLAB for this purpose.

Discussion Character

  • Technical explanation, Homework-related

Main Points Raised

  • One participant states they have a singular matrix A and seeks to solve for the null vector numerically.
  • Another participant asks for clarification on whether the goal is to find a nonzero vector x such that Ax = 0, which is confirmed by the original poster.
  • A later reply suggests using the "null" command in MATLAB to obtain an orthonormal basis for the null space of A.

Areas of Agreement / Disagreement

Participants generally agree on the goal of finding a nonzero vector in the null space of the matrix, but there is no consensus on the effectiveness of MATLAB for this task, as the original poster indicates that MATLAB does not work for them.

Contextual Notes

There may be limitations related to the specific implementation or conditions under which MATLAB is being used, as well as assumptions about the properties of the matrix A.

wdlang
Messages
306
Reaction score
0
i have a 1000 by 1000 matrix A

A is definitely singular

I want to solve the null vector numerically

How to do this?

matlab does not work!
 
Physics news on Phys.org
wdlang said:
i have a 1000 by 1000 matrix A

A is definitely singular

I want to solve the null vector numerically

How to do this?

matlab does not work!

Can you clarify what you mean by "solve the null vector"? Do you mean that you want to find a vector [tex]x \neq 0[/tex] such that [tex]Ax = 0[/tex]? i.e., to find a nonzero element of the null space?
 
jbunniii said:
Can you clarify what you mean by "solve the null vector"? Do you mean that you want to find a vector [tex]x \neq 0[/tex] such that [tex]Ax = 0[/tex]? i.e., to find a nonzero element of the null space?

yes!
 
wdlang said:
yes!

If you want to use Matlab to do it, look up the "null" command:

Z = null(A);

returns an orthonormal basis for the null space of A.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K