<jupyter_start><jupyter_text><jupyter_code>import numpy as np
from scipy.linalg import solve

A = np.array([[-12,3],[4,1]])
print (A)

inv_A = np.linalg.inv(A)
print(inv_A)

B = np.array ([[0],[0]])
print(B)

x = np.dot(inv_A,B)
print(x)

x = solve(A,B)
print(x)

#1
A = np.array([[-6,3],[4,5]])
print(A)

w,v = np.linalg.eig(A)
print("The eigenvalues is/are: ", w)
print("The right eigenvectors are:", v)



#2
A = np.array ([[2,2,4],[1,3,5],[2,3,4]])
print(A)
s,t = np.linalg.eig(A)
print(s.round())
print(t.round())
c = np.dot(A,t.round())
print(c)
E = np.array([[-1],[-1],[-1]])
print(E)
F = np.dot(A,E)
print(F)<jupyter_output>[[-1]
 [-1]
 [-1]]
[[-8]
 [-9]
 [-9]]
{'fraction_non_alphanumeric': 0.28550074738415543, 'fraction_numerical': 0.04633781763826607, 'mean_word_length': 4.583333333333333, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '612906', 'license': 'Apache-2.0', 'n_tokens_mistral': 363, 'n_tokens_neox': 355, 'n_words': 63, 'path': 'Eigenvalues_and_Eigenvector.ipynb', 'repo_name': 'Matchuuuuu/Linear-Algebra-58019', 'size': '669'}