$\vec{v_1}$

$\vec{a_1}$

λ_1

p(λ_1)

λ_2

$\vec{a_2}$

$\vec{v_2}$

p(λ_2)

$\vec{v}$

gleiche λ-Werte

Schnittpunkt

U_1 = (0, 0)
P_{v1} = (2, 1)
v_{1} = Vector(U_1, P_{v1})
P_1 = (1, 1)
p_{1} = Vector(P_1)
lambda1 = 1.5 (slider from -10 to 10, step 0.25)
v_{lambda1}: p_{1} + (lambda1 * v_{1})
P_{lambda1} = Point(P_1, Vector[(lambda1 * v_{1})])
U_2 = (0, -3)
P_{v2} = (1, -2)
textg1: "\textcolor{#3333FF}{g_1} =\left\{ \textcolor{#339900}{" + (LaTeX[p_{1}]) + "}+λ_1\cdot \textcolor{#ff0000}{" + (LaTeX[v_{1}]) + "}| λ_1∈ℝ\right\}"
lambda2 = -0.75 (slider from -10 to 10, step 0.25)
P_2 = (0, -1)
p_{2} = Vector(P_2)
v_{2} = Vector(U_2, P_{v2})
textv1: "\vec{v_1}=" + (LaTeX[v_{1}]) + ""
textv2: "\vec{v_2}=" + (LaTeX[v_{2}]) + ""
P_{lambda2} = Point(P_2, Vector[(lambda2 * v_{2})])
v_{2copy} = Vector(P_2, P_2 + P_{v2} - U_2)
v_{1copy} = Vector(P_1, P_1 + P_{v1} - U_1)
textg2: "\textcolor{#3333FF}{g_2} =\left\{ \textcolor{#339900}{" + (LaTeX[p_{2}]) + "}+λ_2\cdot \textcolor{#ff0000}{" + (LaTeX[v_{2}]) + "}| λ_2∈ℝ\right\}"
linked = false
v_{lambda2}: p_{2} + (lambda2 * v_{2})
schnittpunkte = Solutions({x(p_{1}) + (x * x(v_{1})) = x(p_{2}) + (y * x(v_{2})), y(p_{1}) + (x * y(v_{1})) = y(p_{2}) + (y * y(v_{2}))})
first = Element(schnittpunkte, 1)