determinant2x2
Author: Enric Brasó

(c,d)

a

c

d

b

b · c

b+d

a+c

a

b

c

d

$ \overrightarrow{{\left( \begin{array}{} a \ b \end{array}   \right) } $

$ \overrightarrow{{\left( \begin{array}{} c \ d \end{array}   \right) } $

=

-

A = Intersect(xAxis, yAxis)
recintegran, l_1, m_1, n_1, p_1 = Polygon((0, 0), (100, 0), (100, 100), (0, 100))
B = PointIn(recintegran)
recintepetit, b_2, q_1, r_1, s_1 = Polygon(B, (x(B), 100), (0, 100), (0, y(B)))
u = Vector(A, B)
C = PointIn(recintepetit)
v = Vector(A, C)
a: x(u)
b: y(u)
c: x(v)
d: y(v)
B_1: (a, 0)
C_1: (c, 0)
C_2: (0, d)
B_2: (0, b)
det: a * d - b * c
D: (a, d)
E: (c, b)
rectanglead, q, r, s, a_1 = Polygon(Translate[C_2, (a + c + 1, 0.5)], Translate[D, (a + c + 1, 0.5)], Translate[B_1, (a + c + 1, 0.5)], Translate[A, (a + c + 1, 0.5)])
rectanglebc, e, b_1, c_1, d_1 = Polygon(Translate[B_2, (2 * a + c + 2, 1)], Translate[E, (2 * a + c + 2, 1)], Translate[C_1, (2 * a + c + 2, 1)], Translate[A, (2 * a + c + 2, 1)])
F: (a + c, b + d)
F_2: (0, b + d)
F_1: (a + c, 0)
demo = 3.1 (slider from 0 to 10, step 0.05)
rombe, a_3, c_3, f, b_3 = Polygon(A, C, F, B)
t = If(demo < 2, 1, Max[3 - demo, 0])
G: (a + c * t, b + d)
H: (a + c, b * t + d)
sup, d_2, c_4, g = Polygon(C, G, D)
drett, h, d_3, b_4 = Polygon(D, B, H)
I: (c * (1 - t), 0)
J: (0, b * (1 - t))
esquerr, j, c_5, e_1 = Polygon(C, E, J)
infee, b_5, e_2, i = Polygon(E, I, B)
t' = Min(1, If[demo > 3, demo - 3, 0])
C'_1 = Translate(C, (0, -t' * d))
G'_1 = Translate(G, (0, -t' * d))
D'_1 = Translate(D, (0, -t' * d))
supmovil, d'_1, c'_1, g'_1 = Polygon(C'_1, G'_1, D'_1)
D' = Translate(D, (-t' * a, 0))
B' = Translate(B, (-t' * a, 0))
H' = Translate(H, (-t' * a, 0))
dretmovil, h', d', b' = Polygon(D', B', H')
polígon8, e_3, p_3, q_3, r_3 = Polygon(C, E, B, D)
s_3 = Segment(F_2, F)
F1 = 0
k = Segment(F_1, F)
l = Segment((a, 0), (a, b + d))
m = Segment((c, 0), (c, b + d))
n = Segment((0, b), (a + c, b))
p = Segment((0, d), (a + c, d))
K = Point(p)
L = Intersect(l, p)
M = Point(l)
N = Point(u)
O = Point(n)
P = Intersect(m, n)
Q = Point(m)
U = Midpoint(N, C)
V = Midpoint(N, B)
polígon2, f_1, g_1, h_1, i_1, j_1, k_1 = Polygon((c, 0), (a, 0), (a, d), (0, d), (0, b), (c, b))
I_5: (a + c + 0.5, d / 2)
I_6: (2 * a + c + 1.5, b)
I_7: (1.5 * a + c, d / 2)
I_8: (2 * a + 1.5 * c + 2, b / 2)
ad: a * d
bc: b * c
determ: "$ \left\vert\begin{array}{} a& c \\ b & d \\ \end{array}  \right\vert = \left\vert \begin{array}{} " + (LaTeX[a]) + " & " + (LaTeX[c]) + " \\ " + (LaTeX[b]) + " & " + (LaTeX[d]) + "\\ \end{array}  \right\vert =a \;  d-b \;  c=" + (LaTeX[a]) + "   · " + (LaTeX[d]) + " - " + (LaTeX[b]) + "·" + (LaTeX[c]) + " =  " + (LaTeX[ad]) + "-" + (LaTeX[bc]) + "   =     " + (LaTeX[det]) + " "
text1: "" + a + ""
text2: "" + c + ""
text3: "" + d + ""
text4: "" + b + ""
textbc: "\begin{array}{}  b·c = \\ " + (LaTeX[b]) + "·" + (LaTeX[c]) + " \end{array} "
textad: "a ·d   =  " + (LaTeX[a]) + "·" + (LaTeX[d]) + "=" + (LaTeX[ad]) + ""