Subtracting Vectors

Key Concept:

Vector subtraction involves subtracting corresponding components of two vectors.
If x=[x1,x2] and y=[y1,y2], then:

x−y=[x1−y1, x2−y2]

The result is a new vector representing the displacement from y to x

E…


This content originally appeared on DEV Community and was authored by BazengDev

Key Concept:

  • Vector subtraction involves subtracting corresponding components of two vectors.

  • If x=[x1,x2] and y=[y1,y2], then:

x−y=[x1−y1, x2−y2]
  • The result is a new vector representing the displacement from y to x

Example: Subtract Vectors x=[2,3] and y=[−4,−2]

1. Given vectors:

  • x=[2,3]
  • y=[−4,−2]

2. Subtraction formula:

x−y = [x1−y1, x2−y2]

3. Component-wise subtraction:

x−y=[2−(−4),3−(−2)]

4. Simplify:

x−y=[2+4,3+2]=[6,5]

5. Result:

 x−y=[6,5]

Observations:

Subtracting x effectively adds the opposite of y to x.
The result [6,5] represents the displacement vector between
x and y.

subtraction-example


This content originally appeared on DEV Community and was authored by BazengDev


Print Share Comment Cite Upload Translate Updates
APA

BazengDev | Sciencx (2025-01-23T03:03:17+00:00) Subtracting Vectors. Retrieved from https://www.scien.cx/2025/01/23/subtracting-vectors/

MLA
" » Subtracting Vectors." BazengDev | Sciencx - Thursday January 23, 2025, https://www.scien.cx/2025/01/23/subtracting-vectors/
HARVARD
BazengDev | Sciencx Thursday January 23, 2025 » Subtracting Vectors., viewed ,<https://www.scien.cx/2025/01/23/subtracting-vectors/>
VANCOUVER
BazengDev | Sciencx - » Subtracting Vectors. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/01/23/subtracting-vectors/
CHICAGO
" » Subtracting Vectors." BazengDev | Sciencx - Accessed . https://www.scien.cx/2025/01/23/subtracting-vectors/
IEEE
" » Subtracting Vectors." BazengDev | Sciencx [Online]. Available: https://www.scien.cx/2025/01/23/subtracting-vectors/. [Accessed: ]
rf:citation
» Subtracting Vectors | BazengDev | Sciencx | https://www.scien.cx/2025/01/23/subtracting-vectors/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.