A

B

Pendiente y ordenada

m=m'

Ecuación general

m≠m'

Las rectas r y s son paralelas

Vector director

Posición relativa

C

D

\vec{v}≠k\:\vec{u}

Las rectas r y s son secantes

Las rectas r y s son coincidentes

n≠n'

n=n'

m\:·m'=-1

Rectas\: perpendiculares

Mueve los puntos A, B, C y D o introduce sus coordenadas.

Aleja

Acerca

Punto de corte

B: (1, -2)
A = (3, 2)
r' = Line(A, B)
C = (-1, 0)
D = (0, 1)
r = Line(A, B)
s = Line(C, D)
CasillaDeEntrada1 = Textfield(A)
rx: x(r')
CasillaDeEntrada2 = Textfield(B)
ry: y(r)
m = Slope(r)
m' = Slope(s)
rz: z(r)
i = false
k = false
j = false
u = Vector((x(B) - x(A), y(B) - y(A)))
u1: x(u)
u2: y(u)
a = true
CasillaDeEntrada3 = Textfield(C)
CasillaDeEntrada4 = Textfield(D)
v = Vector((x(D) - x(C), y(D) - y(C)))
v1: x(v)
v2: y(v)
peuv: abs((u * v))
uv: (abs(u) * abs(v))
z_1: v / u
im: imaginary(z_1)
re: real(z_1)
paral = AreParallel(r, s)
disfg = Distance(s, r)
texto1: "m
=" + (LaTeX[m]) + ""
texto2: "m'=" + (LaTeX[m']) + ""
sx: x(s)
sy: y(s)
sz: z(s)
n: ((-rz)) / ry
n': ((-sz)) / sy
texto13: "n'=" + (LaTeX[n']) + ""
texto12: "n=" + (LaTeX[n]) + ""
perpen = ArePerpendicular(r, s)
texto6: "\vec{u}=\left(" + (LaTeX[u1]) + "  ," + (LaTeX[u2]) + " \right) "
texto7: "\vec{v}=\left(" + (LaTeX[v1]) + "," + (LaTeX[v2]) + "   \right) "
texto9: "\vec{v}=" + (LaTeX[re]) + "\:\vec{u}"
ary: abs(ry)
arz: abs(rz)
arx: abs(rx)
asx: abs(sx)
texto19: "r:" + (LaTeX[r]) + ""
texto20: "s:" + (LaTeX[s]) + ""
asy: abs(sy)
asz: abs(sz)
texto22: "r:" + (LaTeX[r']) + ""
s' = Line(C, D)
texto23: "s:" + (LaTeX[s']) + ""
pr = LeftSide(r')
sr = RightSide(r')
b = Simplify((-sr(x, y)))
texto21: "\frac{" + (LaTeX[rx]) + "}{" + (LaTeX[sx]) + "}≠\frac{" + (LaTeX[ry]) + "}{" + (LaTeX[sy]) + "}"
texto24: "\frac{" + (LaTeX[rx]) + "}{" + (LaTeX[sx]) + "}=\frac{" + (LaTeX[ry]) + "}{" + (LaTeX[sy]) + "}≠\frac{" + (LaTeX[rz]) + "}{" + (LaTeX[sz]) + "}"
texto25: "\frac{" + (LaTeX[rx]) + "}{" + (LaTeX[sx]) + "}=\frac{" + (LaTeX[ry]) + "}{" + (LaTeX[sy]) + "}=\frac{" + (LaTeX[rz]) + "}{" + (LaTeX[sz]) + "}"
textorx = If(rx < -1, (("-" * arx) * "x"), rx ≟ -1, "-x", -1 < rx < 0, (("-" * arx) * "x"), rx ≟ 0, "", 0 < rx < 1, (arx * "x"), rx ≟ 1, "x", rx > 1, (arx * "x"))
textory = If(ry < -1, (("-" * ary) * "y"), ry ≟ -1, "-y", -1 < ry < 0, (("-" * ary) * "y"), ry ≟ 0, "", 0 < ry < 1, (("+" * ary) * "y"), ry ≟ 1, "+y", ry > 1, (("+" * ary) * "y"))
textorz = If(rz < -1, ("-" * arz), rz ≟ -1, "-1", -1 < rz < 0, ("-" * arz), rz ≟ 0, "", 0 < rz < 1, ("+" * arz), rz ≟ 1, "+1", rz > 1, ("+" * arz))
textor: "r:" + (LaTeX[textorx]) + "" + (LaTeX[textory]) + "" + (LaTeX[textorz]) + "=0"
textosx = If(sx < -1, (("-" * asx) * "x"), sx ≟ -1, "-x", -1 < sx < 0, (("-" * asx) * "x"), sx ≟ 0, "", 0 < sx < 1, (asx * "x"), sx ≟ 1, "x", sx > 1, (arx * "x"))
textosy = If(sy < -1, (("-" * asy) * "y"), sy ≟ -1, "-y", -1 < sy < 0, (("-" * asy) * "y"), sy ≟ 0, "", 0 < sy < 1, (("+" * asy) * "y"), sy ≟ 1, "+y", sy > 1, (("+" * asy) * "y"))
textosz = If(sz < -1, ("-" * asz), sz ≟ -1, "-1", -1 < sz < 0, ("-" * asz), sz ≟ 0, "", 0 < sz < 1, ("+" * asz), sz ≟ 1, "+1", sz > 1, ("+" * asz))
textos: "s:" + (LaTeX[textosx]) + "" + (LaTeX[textosy]) + "" + (LaTeX[textosz]) + "=0"
E = Intersect(s, yAxis)
F = Intersect(r, yAxis)
P = Intersect(r, s)
texto26: "P=" + P + ""
l = true