Sito internet dedicato alla divulgazione informatica e alla condivisione gratuita di materiale universitario e non.
Ci sono anche altri siti del progetto Magnetismo, e sono:
- Disservizi Trasporto Pubblico Italia = parte del progetto dedicata alle news del settore trasporti in Italia
- Stampa 3D Italia = parte del progetto dedicata alla stampa 3D, con un'occhio a software FOSS
The web site is avaible in English!
Esercizi su una Base Ortogonale a un Insieme di Vettori
Esercizi su una Base Ortogonale a un Insieme di Vettori
Esercizi su una Base Ortogonale a un Insieme di Vettori
Esercizi su una Base Ortogonale a un Insieme di Vettori
Versione italiana
Esercizi su una Base Ortogonale a un Insieme di Vettori
Introduzione
In geometria e algebra lineare, una base ortogonale è un insieme di vettori che sono tutti perpendicolari tra loro. Trovare una base ortogonale a un insieme di vettori è un'operazione comune, specialmente in spazi euclidei.
Definizione di Ortogonalità
Due vettori \vec{a}a e \vec{b}b sono ortogonali se il loro prodotto scalare è zero:
\vec{a} \cdot \vec{b} = 0
a⋅b=0
Esercizio 1: Trovare una Base Ortogonale in \mathbb{R}^2R2
Problema: Dato il vettore \vec{u} = (3, 4)u=(3,4), trova un vettore \vec{v}v che sia ortogonale a \vec{u}u.
Soluzione:
Sappiamo che \vec{u} \cdot \vec{v} = 0u⋅v=0. Sia \vec{v} = (x, y)v=(x,y).
Calcoliamo il prodotto scalare:
3x + 4y = 0
3x+4y=0
Possiamo scegliere un valore per xx e risolvere per yy. Ad esempio, poniamo x = 4x=4:
Quindi, un vettore ortogonale a \vec{u}u è \vec{v} = (4, -3)v=(4,−3).
Esercizio 2: Trovare una Base Ortogonale in \mathbb{R}^3R3
Problema: Dati i vettori \vec{u} = (1, 0, 0)u=(1,0,0) e \vec{v} = (0, 1, 0)v=(0,1,0), trova un vettore \vec{w}w che sia ortogonale a entrambi.
Soluzione:
Sappiamo che \vec{u} \cdot \vec{w} = 0u⋅w=0 e \vec{v} \cdot \vec{w} = 0v⋅w=0. Sia \vec{w} = (x, y, z)w=(x,y,z).
Calcoliamo i prodotti scalari:
Da \vec{u} \cdot \vec{w} = 0u⋅w=0:
1 \cdot x + 0 \cdot y + 0 \cdot z = 0 \implies x = 0
1⋅x+0⋅y+0⋅z=0⟹x=0
Da \vec{v} \cdot \vec{w} = 0v⋅w=0:
0 \cdot x + 1 \cdot y + 0 \cdot z = 0 \implies y = 0
0⋅x+1⋅y+0⋅z=0⟹y=0
Quindi, \vec{w} = (0, 0, z)w=(0,0,z) per qualsiasi valore di zz. Un esempio di vettore ortogonale è \vec{w} = (0, 0, 1)w=(0,0,1).
Esercizio 3: Trovare una Base Ortogonale con il Metodo di Gram-Schmidt
Problema: Dati i vettori \vec{u_1} = (1, 1, 0)u1​​=(1,1,0) e \vec{u_2} = (1, 0, 1)u2​​=(1,0,1), trova una base ortogonale utilizzando il metodo di Gram-Schmidt.
Soluzione:
Iniziamo con \vec{v_1} = \vec{u_1} = (1, 1, 0)v1​​=u1​​=(1,1,0).
Calcoliamo il prodotto scalare \vec{u_2} \cdot \vec{v_1}u2​​⋅v1​​:
Poiché il prodotto scalare è zero, i vettori \vec{v_1}v1​​ e \vec{v_2}v2​​ sono ortogonali.
English version
Exercises on a Basis Orthogonal to a Set of Vectors
Introduction
In geometry and linear algebra, an orthogonal basis is a set of vectors that are all perpendicular to each other. Finding a basis orthogonal to a set of vectors is a common operation, especially in Euclidean spaces.
Definition of Orthogonality
Two vectors \vec{a}a and \vec{b}b are orthogonal if their scalar product is zero:
\vec{a} \cdot \vec{b} = 0
a⋅b=0
Exercise 1: Finding an Orthogonal Basis in \mathbb{R}^2R2
Problem: Given the vector \vec{u} = (3, 4)u=(3,4), find a vector \vec{v}v that is orthogonal to \vec{u}u.
Solution:
We know that \vec{u} \cdot \vec{v} = 0u⋅v=0. Let \vec{v} = (x, y)v=(x,y).
Let's calculate the scalar product:
3x + 4y = 0
3x+4y=0
We can choose a value for xx and solve for yy. For example, let's say x = 4x=4:
So, a vector orthogonal to \vec{u}u is \vec{v} = (4, -3)v=(4,−3).
Exercise 2: Finding an Orthogonal Basis in \mathbb{R}^3R3
Problem: Given vectors \vec{u} = (1, 0, 0)u=(1,0,0) and \vec{v} = (0, 1, 0)v=(0,1,0), find a vector \vec{w}w that is orthogonal to both.
Solution:
We know that \vec{u} \cdot \vec{w} = 0u⋅w=0 and \vec{v} \cdot \vec{w} = 0v⋅w=0. Let \vec{w} = (x, y, z)w=(x,y,z).
Let's compute the scalar products:
From \vec{u} \cdot \vec{w} = 0u⋅w=0:
1 \cdot x + 0 \cdot y + 0 \cdot z = 0 \implies x = 0
1⋅x+0⋅y+0⋅z=0⟹x=0
From \vec{v} \cdot \vec{w} = 0v⋅w=0:
0 \cdot x + 1 \cdot y + 0 \cdot z = 0 \implies y = 0
0⋅x+1⋅y+0⋅z=0⟹y=0
Then, \vec{w} = (0, 0, z)w=(0,0,z) for any value of zz. An example of an orthogonal vector is \vec{w} = (0, 0, 1)w=(0,0,1).
Exercise 3: Finding an Orthogonal Basis with the Gram-Schmidt Method
Problem: Given vectors \vec{u_1} = (1, 1, 0)u1​​=(1,1,0) and \vec{u_2} = (1, 0, 1)u2​​=(1,0,1), find an orthogonal basis using the Gram-Schmidt method.
Solution:
Start with \vec{v_1} = \vec{u_1} = (1, 1, 0)v1​​=u1​​=(1,1,0).
Let's calculate the scalar product \vec{u_2} \cdot \vec{v_1}u2​​⋅v1​​:
We calculate \vec{v_2}v2​​ by subtracting the projection from \vec{u_2}u2​​:
Now we have the orthogonal vectors \vec{v_1} = (1, 1, 0)v1​​=(1,1,0) and \vec{v_2} = \left( \frac{1}{2}, -\frac{1}{2}, 1 \right)v2​​=(21​,−21​,1).
Orthogonality Check
Let's check that \vec{v_1}v1​​ and \vec{v_2}v2​​ are orthogonal:
Since the scalar product is zero, the vectors \vec{v_1}v1​​ and \vec{v_2}v2​​ are orthogonal.
Nessun commento:
Posta un commento