What is the goal of the problem?

Click For Summary
SUMMARY

The discussion centers on the problem of solving the equation ##p = Hx##, where H is a given matrix. The participants highlight the confusion surrounding the arrays U and V^T, noting discrepancies in their entries and signs. The correct interpretation of the problem requires clarity on whether the vectors p or x are provided. A complete problem statement is essential for accurate assistance and resolution of the discrepancies in the solution.

PREREQUISITES
  • Understanding of matrix equations, specifically the equation ##p = Hx##.
  • Familiarity with linear algebra concepts, including vectors and matrices.
  • Knowledge of array notation and manipulation in programming.
  • Experience with problem-solving in mathematical contexts.
NEXT STEPS
  • Clarify the complete problem statement to identify all given variables.
  • Review linear algebra principles related to matrix operations and vector solutions.
  • Investigate the properties of matrix H and its implications on the solution.
  • Examine examples of similar matrix equations to enhance understanding.
USEFUL FOR

Students and professionals in mathematics, engineering, or computer science who are working on linear algebra problems, particularly those involving matrix equations and their solutions.

nao113
Messages
68
Reaction score
13
Homework Statement
Hello, I tried to solve SVD questions using python. I already got the answer for this . Then, I tried to use python to solve this case by looking at thee tutorial https://www.youtube.com/watch?v=_So8j8T-E1o&list=PLRDl2inPrWQW1QSWhBU0ki-jq_uElkh2a&index=43.
But when I tried by myself. I found the value of U and VT are different from the correct answer.

Can anyone point out what I did wrong here?
Relevant Equations
I put them below
Question:
Screen Shot 2022-06-08 at 18.47.24.png


Correct Answer:
Screen Shot 2022-06-08 at 17.07.42.png

U and VT in code:
Screen Shot 2022-06-08 at 18.41.50.png
 
Physics news on Phys.org
From your post it's difficult to understand what you are doing. In the problem statement, the only information given is the matrix H. What is the goal of the problem? Are either p or x given? The image shows ##p = Hx##. Is the goal to solve for x?

In your work, you show an array named U, but it doesn't match the array named U in what you show as the correct answer. Your array U looks similar to the array named ##V^T## in the solution, but some of the array entries have different signs. The correct answer shows a vector for p. Was that given?

If you provide a complete problem statement, maybe we can help you figure out why you're getting different results than are shown in the solution.
 
  • Like
Likes   Reactions: Delta2

Similar threads

Replies
6
Views
1K
  • · Replies 54 ·
2
Replies
54
Views
5K
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
18
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
1
Views
3K
Replies
2
Views
2K
Replies
5
Views
4K