a :

b :

\vec{y}

\vec{x}

\vec{v}

\vec{w}

Ver vector v

Ver vector w

Dada \;  la \;  base \; \;   \mathcal{B}=(\vec{x},\vec{y})

\vec{v}=a\vec{x}+b\vec{y}=(a,b)_{\mathcal{B}}=(\; \; \;, \; \; \;)_{\mathcal{B}}

W = (2.598076211353316, 2.5)
Y = (-1.7320508075688772, 1)
X = (0.8660254037844386, 0.5)
O = Intersect(xAxis, yAxis)
yy = Vector(O, Y)
d = Line(O, yy)
xx = Vector(O, X)
c = Line(O, xx)
h = Line(W, c)
B = Intersect(d, h)
β = Angle(Y, O, B)
sigdYW = If(β ≟ 180°, " -", "+")
g = Line(W, d)
A = Intersect(g, c)
α = Angle(X, O, A)
sigdXW = If(α ≟ 180°, "-", " ")
YY = Distance(Y, Y)
a = 3
b = 2
xdv: a * x(X) + b * x(Y)
ydv: a * y(X) + b * y(Y)
V: (xdv, ydv)
u = Vector(O, V)
campoDeTexto1 = Textfield(a)
campoDeTexto2 = Textfield(b)
e = Line(V, d)
f = Line(V, c)
bdw: "" + ((x(B)^(2) + y(B)^(2))^(0.5) / (x(Y)^(2) + y(Y)^(2))^(0.5)) + ""
v = Vector(O, W)
adw: sigdXW * (x(A)^(2) + y(A)^(2))^(0.5) / (x(X)^(2) + y(X)^(2))^(0.5)
C = Intersect(f, d)
D = Intersect(e, c)
i = true
j = true
sigdYW2 = If(β ≟ 180°, " -", "")
texto2: "\vec{W}=" + (LaTeX[adw]) + "\vec{x}" + (LaTeX[sigdYW]) + "" + (LaTeX[bdw]) + "\vec{y}=(" + (LaTeX[adw]) + "," + (LaTeX[sigdYW2]) + "" + (LaTeX[bdw]) + ")_{\mathcal{B}}"