logo

Learning objective

Vectors: Be familiar with the concept of a vector and the following notations for specifying a vector: • [2.0, 3.14159, -1.0, 2.718281828] • 4-vector over ℝ written as ℝ4 • function interpretation • 0 ↦ 2.0 • 1 ↦ 3.14159 • 2 ↦ -1.0 • 3 ↦ 2.718281828 • ↦ means maps to That all the entries must be drawn from the same field, eg ℝ. A vector can be represented as a list of numbers, as a function and as a way of representing a geometric point in space. A dictionary is a useful way of representing a vector if a vector is viewed as a function. f: S → ℝ the set S = {0,1,2,3} and the co-domain, ℝ, the set of Reals For example, in Python the 4-vector example could be represented as a dictionary as follows: {0:2.0, 1:3.14159, 2:-1.0, 3:2.718281828} Dictionary representation of a vector. See above. List representation of a vector. For example, in Python, a 2-vector over ℝ would be written as [2.0,3.0]. 1-D array representation of a vector. For example in VB.Net, a 4-vector over ℝ would be written as Dim example(3) As Single. Visualising a vector as an arrow. For example a 2-vector [2.0, 3.0] over ℝ can be represented by an arrow with its tail at the origin and its head at (2.0, 3.0). Vector addition and scalar-vector multiplication. Know that vector addition achieves translation and scalar-vector multiplication achieves scaling. Convex combination of two vectors, u and v. Is an expression of the form αu + βv where α, β ≥ 0 and α + β = 1 Dot or scalar product of two vectors. The dot product of two vectors, u and v, u = [u1, …., un ] and v = [v1, ….., vn ] is u ∙ v = u1v1 + u2v2 + …… + unvn Applications of dot product. Finding the angle between two vectors.

Read the explanation, check the common trap, then practise with flashcards and questions.

At a glance

0

Flashcards

0

Questions

Topic

Vectors

Subtopic

Vectors

Aqa A Level Computer ScienceFundamentals of data structures

Study support

Understand this objective

Quick explanation

Vectors: Be familiar with the concept of a vector and the following notations for specifying a vector: • [2.0, 3.14159, -1.0, 2.718281828] • 4-vector over ℝ written as ℝ4 • function interpretation • 0 ↦ 2.0 • 1 ↦ 3.14159 • 2 ↦ -1.0 • 3 ↦ 2.718281828 • ↦ means maps to That all the entries must be drawn from the same field, eg ℝ. A vector can be represented as a list of numbers, as a function and as a way of representing a geometric point in space. A dictionary is a useful way of representing a vector if a vector is viewed as a function. f: S → ℝ the set S = {0,1,2,3} and the co-domain, ℝ, the set of Reals For example, in Python the 4-vector example could be represented as a dictionary as follows: {0:2.0, 1:3.14159, 2:-1.0, 3:2.718281828} Dictionary representation of a vector. See above. List representation of a vector. For example, in Python, a 2-vector over ℝ would be written as [2.0,3.0]. 1-D array representation of a vector. For example in VB.Net, a 4-vector over ℝ would be written as Dim example(3) As Single. Visualising a vector as an arrow. For example a 2-vector [2.0, 3.0] over ℝ can be represented by an arrow with its tail at the origin and its head at (2.0, 3.0). Vector addition and scalar-vector multiplication. Know that vector addition achieves translation and scalar-vector multiplication achieves scaling. Convex combination of two vectors, u and v. Is an expression of the form αu + βv where α, β ≥ 0 and α + β = 1 Dot or scalar product of two vectors. The dot product of two vectors, u and v, u = [u1, …., un ] and v = [v1, ….., vn ] is u ∙ v = u1v1 + u2v2 + …… + unvn Applications of dot product. Finding the angle between two vectors

  • This point belongs to Vectors, especially Vectors.
  • You need to be able to vectors: Be familiar with the concept of a vector and the following notations for specifying a vector: • [2.0, 3.14159, -1.0, 2.718281828] • 4-vector over ℝ written as ℝ4 • function interpretation • 0 ↦ 2.0 • 1 ↦ 3.14159 • 2 ↦ -1.0 • 3 ↦ 2.718281828 • ↦ means maps to That all the entries must be drawn from the same field, eg ℝ. A vector can be represented as a list of numbers, as a function and as a way of representing a geometric point in space. A dictionary is a useful way of representing a vector if a vector is viewed as a function. f: S → ℝ the set S = {0,1,2,3} and the co-domain, ℝ, the set of Reals For example, in Python the 4-vector example could be represented as a dictionary as follows: {0:2.0, 1:3.14159, 2:-1.0, 3:2.718281828} Dictionary representation of a vector. See above. List representation of a vector. For example, in Python, a 2-vector over ℝ would be written as [2.0,3.0]. 1-D array representation of a vector. For example in VB.Net, a 4-vector over ℝ would be written as Dim example(3) As Single. Visualising a vector as an arrow. For example a 2-vector [2.0, 3.0] over ℝ can be represented by an arrow with its tail at the origin and its head at (2.0, 3.0). Vector addition and scalar-vector multiplication. Know that vector addition achieves translation and scalar-vector multiplication achieves scaling. Convex combination of two vectors, u and v. Is an expression of the form αu + βv where α, β ≥ 0 and α + β = 1 Dot or scalar product of two vectors. The dot product of two vectors, u and v, u = [u1, …., un ] and v = [v1, ….., vn ] is u ∙ v = u1v1 + u2v2 + …… + unvn Applications of dot product. Finding the angle between two vectors.
  • Use the linked flashcards and practice questions to check recall, then practise applying the idea in an exam-style answer.

Why it matters

This objective helps connect Vectors to exam-style questions, flashcards, and revision notes for Vectors.

Quick student answer

Which of the following is a valid 4-vector over the real numbers?

Direct answer

[2.0, 3.14159, -1.0, 2.718281828]

Key terms

  • Dot product: The sum of the products of corresponding entries of two vectors.
  • Co-domain: The set from which the output values of a function are taken; for the example vector function, the co-domain is the set of real numbers, ℝ.

Common trap

Accepting mixed entry types in a vector: Check that every entry is drawn from the same field. For a vector over ℝ, every entry must be a real number.

Related questions

Try this as a practice card

4 linked

Question 1 of 4

Choose an answer, get feedback, then move sideways through the set.

0 of 4 attempted

Flashcard prompts

Flip through the key recall cards

4 cards

Flashcard 1 of 4

Press Space to flip, arrows to move

Revision tools

Choose how to practise

Back to topic hub
Flashcards0 linked cards
No objective-specific flashcards are cached for this page. Use the topic hub to revise the surrounding flashcards without triggering a frozen-subject DB fallback.Open topic hub
Practice Questions0 linked questions
No objective-specific practice questions are cached for this page. Use the topic question bank to practise nearby curriculum questions without weakening the egress guard.Open topic questions

Related learning objectives

No linked resources are published for this section yet.