Ripetizioni di AnalisiLinear algebraUnlockedITSearch

Worked examples · Sheet 1

Norms, angles and orthogonality conditions between vectors

Theory used: Standard scalar productNorm and distanceAngle between two vectorsOrthogonal vectorsPythagorean theorem

Go to: Exercise 1Exercise 2Exercise 3Exercise 4

Exercise 1

Given and in , compute , the norms, the angle between and and the distance .

The standard scalar product is the sum of the products of the components in the same position, and the norm is the square root of the scalar product of a vector with itself. Since and are nonzero, the angle is the unique with cosine equal to ; the quotient equals , therefore . The distance is the norm of the difference. The three sides of the triangle with vertices , , all measure , so the triangle is equilateral, in agreement with the angle of at the vertex .

Exercise 2

Determine so that and are orthogonal in . For the value found, verify the Pythagorean theorem for and .

Two vectors are orthogonal if and only if their scalar product is zero. The scalar product of and is a polynomial of degree one in , which vanishes only for , therefore the vectors are orthogonal for and for no other value. For the Pythagorean theorem states that , and the computation confirms it, since .

Exercise 3

Determine the unit vectors of orthogonal both to and to .

A vector is orthogonal to and to if it makes both scalar products vanish, therefore the two conditions form a homogeneous system of two equations in three unknowns. The two equations are independent, so the solutions depend on one parameter and form the line spanned by . The unit vectors of this line are the two vectors obtained by dividing by its norm and taking both orientations: .

Exercise 4

Determine so that the angle between and is .

The vector is nonzero for every , because its first component is , therefore the angle is defined for every value of the parameter. Since the cosine function is injective on , the angle equals if and only if the cosine of the angle equals . In the equation thus obtained both sides are positive, so squaring produces an equivalent equation, which reduces to . The problem therefore has two solutions, and .

Contents