一,基础知识
1.相反向量
我们规定,与向量 长度相等,方向相反的向量,叫做
的相反向量,记作
解释
(1) 与数 𝑥 的相反数是 −𝑥 类似;
(2)
(3) 零向量的相反向量仍是零向量.
2.向量的减法
向量 a 加上 b 的相反向量,叫做a 与b 的差,即a-b=a+(-b).
求两个向量差的运算叫做向量的减法。向量的减法可以转化为向量的加法进行.
3.向量减法的几何意义
当 a,b 同起点时,a−b可以表示为从向量b的终点指向向量a的终点的向量.
from manim import *
class VectorArrow03_01(Scene):
def construct(self):
dot = Dot(ORIGIN)
arrow_a = Arrow(dot, [1, 4, 0], buff=0).set_color(BLUE)
arrow_b = Arrow(dot, [4, 1, 0], buff=0).set_color(ORANGE)
numberplane = NumberPlane()
t01=MathTex(r"\overrightarrow{a}").set_color(RED)
tip_text01 = t01.next_to([0.15,1.5,0])
t02=MathTex(r"\overrightarrow{b}").set_color(RED)
tip_text02 = t02.next_to([2.5,0.35,0])
arrow_a_b = Arrow([4, 1, 0], [1, 4, 0], buff=0).set_color(PINK)
t03=MathTex(r"\overrightarrow{a}-\overrightarrow{b}").set_color(PINK)
tip_text03 = t03.next_to([3,3,0])
a_b=MathTex(r"\overrightarrow{a}-\overrightarrow{b} ")
t4=a_b.next_to([5,-0.5,0],3*LEFT)
self.add(numberplane,tip_text01,tip_text02,tip_text03,t4,dot,arrow_a,arrow_b,arrow_a_b)
%manim -qm -v WARNING VectorArrow03_01