Solución detallada
Tenemos una ecuación lineal:
a*x+b-b = c*x+d-b
Sumamos los términos semejantes en el miembro izquierdo de la ecuación:
a*x = c*x+d-b
Sumamos los términos semejantes en el miembro derecho de la ecuación:
a*x = d - b + c*x
Dividamos ambos miembros de la ecuación en a
x = d - b + c*x / (a)
Obtenemos la respuesta: x = (d - b)/(a - c)
Resolución de la ecuación paramétrica
Se da la ecuación con parámetro:
$$a x = - b + c x + d$$
Коэффициент при x равен
$$a - c$$
entonces son posibles los casos para a :
$$a < c$$
$$a = c$$
Consideremos todos los casos con detalles:
Con
$$a < c$$
la ecuación será
$$b - c x - d + x \left(c - 1\right) = 0$$
su solución
$$x = b - d$$
Con
$$a = c$$
la ecuación será
$$b - d = 0$$
su solución
/ (-im(a) + im(c))*(-re(b) + re(d)) (-im(b) + im(d))*(-re(c) + re(a)) \ (-re(b) + re(d))*(-re(c) + re(a)) (-im(a) + im(c))*(-im(b) + im(d))
x1 = I*|------------------------------------- + -------------------------------------| + ------------------------------------- - -------------------------------------
| 2 2 2 2| 2 2 2 2
\(-im(c) + im(a)) + (-re(c) + re(a)) (-im(c) + im(a)) + (-re(c) + re(a)) / (-im(c) + im(a)) + (-re(c) + re(a)) (-im(c) + im(a)) + (-re(c) + re(a))
$$x_{1} = i \left(\frac{\left(\operatorname{re}{\left(a\right)} - \operatorname{re}{\left(c\right)}\right) \left(- \operatorname{im}{\left(b\right)} + \operatorname{im}{\left(d\right)}\right)}{\left(\operatorname{re}{\left(a\right)} - \operatorname{re}{\left(c\right)}\right)^{2} + \left(\operatorname{im}{\left(a\right)} - \operatorname{im}{\left(c\right)}\right)^{2}} + \frac{\left(- \operatorname{re}{\left(b\right)} + \operatorname{re}{\left(d\right)}\right) \left(- \operatorname{im}{\left(a\right)} + \operatorname{im}{\left(c\right)}\right)}{\left(\operatorname{re}{\left(a\right)} - \operatorname{re}{\left(c\right)}\right)^{2} + \left(\operatorname{im}{\left(a\right)} - \operatorname{im}{\left(c\right)}\right)^{2}}\right) + \frac{\left(\operatorname{re}{\left(a\right)} - \operatorname{re}{\left(c\right)}\right) \left(- \operatorname{re}{\left(b\right)} + \operatorname{re}{\left(d\right)}\right)}{\left(\operatorname{re}{\left(a\right)} - \operatorname{re}{\left(c\right)}\right)^{2} + \left(\operatorname{im}{\left(a\right)} - \operatorname{im}{\left(c\right)}\right)^{2}} - \frac{\left(- \operatorname{im}{\left(a\right)} + \operatorname{im}{\left(c\right)}\right) \left(- \operatorname{im}{\left(b\right)} + \operatorname{im}{\left(d\right)}\right)}{\left(\operatorname{re}{\left(a\right)} - \operatorname{re}{\left(c\right)}\right)^{2} + \left(\operatorname{im}{\left(a\right)} - \operatorname{im}{\left(c\right)}\right)^{2}}$$
x1 = i*((re(a) - re(c))*(-im(b) + im(d))/((re(a) - re(c))^2 + (im(a) - im(c))^2) + (-re(b) + re(d))*(-im(a) + im(c))/((re(a) - re(c))^2 + (im(a) - im(c))^2)) + (re(a) - re(c))*(-re(b) + re(d))/((re(a) - re(c))^2 + (im(a) - im(c))^2) - (-im(a) + im(c))*(-im(b) + im(d))/((re(a) - re(c))^2 + (im(a) - im(c))^2)
Suma y producto de raíces
[src]
/ (-im(a) + im(c))*(-re(b) + re(d)) (-im(b) + im(d))*(-re(c) + re(a)) \ (-re(b) + re(d))*(-re(c) + re(a)) (-im(a) + im(c))*(-im(b) + im(d))
I*|------------------------------------- + -------------------------------------| + ------------------------------------- - -------------------------------------
| 2 2 2 2| 2 2 2 2
\(-im(c) + im(a)) + (-re(c) + re(a)) (-im(c) + im(a)) + (-re(c) + re(a)) / (-im(c) + im(a)) + (-re(c) + re(a)) (-im(c) + im(a)) + (-re(c) + re(a))
$$i \left(\frac{\left(\operatorname{re}{\left(a\right)} - \operatorname{re}{\left(c\right)}\right) \left(- \operatorname{im}{\left(b\right)} + \operatorname{im}{\left(d\right)}\right)}{\left(\operatorname{re}{\left(a\right)} - \operatorname{re}{\left(c\right)}\right)^{2} + \left(\operatorname{im}{\left(a\right)} - \operatorname{im}{\left(c\right)}\right)^{2}} + \frac{\left(- \operatorname{re}{\left(b\right)} + \operatorname{re}{\left(d\right)}\right) \left(- \operatorname{im}{\left(a\right)} + \operatorname{im}{\left(c\right)}\right)}{\left(\operatorname{re}{\left(a\right)} - \operatorname{re}{\left(c\right)}\right)^{2} + \left(\operatorname{im}{\left(a\right)} - \operatorname{im}{\left(c\right)}\right)^{2}}\right) + \frac{\left(\operatorname{re}{\left(a\right)} - \operatorname{re}{\left(c\right)}\right) \left(- \operatorname{re}{\left(b\right)} + \operatorname{re}{\left(d\right)}\right)}{\left(\operatorname{re}{\left(a\right)} - \operatorname{re}{\left(c\right)}\right)^{2} + \left(\operatorname{im}{\left(a\right)} - \operatorname{im}{\left(c\right)}\right)^{2}} - \frac{\left(- \operatorname{im}{\left(a\right)} + \operatorname{im}{\left(c\right)}\right) \left(- \operatorname{im}{\left(b\right)} + \operatorname{im}{\left(d\right)}\right)}{\left(\operatorname{re}{\left(a\right)} - \operatorname{re}{\left(c\right)}\right)^{2} + \left(\operatorname{im}{\left(a\right)} - \operatorname{im}{\left(c\right)}\right)^{2}}$$
/ (-im(a) + im(c))*(-re(b) + re(d)) (-im(b) + im(d))*(-re(c) + re(a)) \ (-re(b) + re(d))*(-re(c) + re(a)) (-im(a) + im(c))*(-im(b) + im(d))
I*|------------------------------------- + -------------------------------------| + ------------------------------------- - -------------------------------------
| 2 2 2 2| 2 2 2 2
\(-im(c) + im(a)) + (-re(c) + re(a)) (-im(c) + im(a)) + (-re(c) + re(a)) / (-im(c) + im(a)) + (-re(c) + re(a)) (-im(c) + im(a)) + (-re(c) + re(a))
$$i \left(\frac{\left(\operatorname{re}{\left(a\right)} - \operatorname{re}{\left(c\right)}\right) \left(- \operatorname{im}{\left(b\right)} + \operatorname{im}{\left(d\right)}\right)}{\left(\operatorname{re}{\left(a\right)} - \operatorname{re}{\left(c\right)}\right)^{2} + \left(\operatorname{im}{\left(a\right)} - \operatorname{im}{\left(c\right)}\right)^{2}} + \frac{\left(- \operatorname{re}{\left(b\right)} + \operatorname{re}{\left(d\right)}\right) \left(- \operatorname{im}{\left(a\right)} + \operatorname{im}{\left(c\right)}\right)}{\left(\operatorname{re}{\left(a\right)} - \operatorname{re}{\left(c\right)}\right)^{2} + \left(\operatorname{im}{\left(a\right)} - \operatorname{im}{\left(c\right)}\right)^{2}}\right) + \frac{\left(\operatorname{re}{\left(a\right)} - \operatorname{re}{\left(c\right)}\right) \left(- \operatorname{re}{\left(b\right)} + \operatorname{re}{\left(d\right)}\right)}{\left(\operatorname{re}{\left(a\right)} - \operatorname{re}{\left(c\right)}\right)^{2} + \left(\operatorname{im}{\left(a\right)} - \operatorname{im}{\left(c\right)}\right)^{2}} - \frac{\left(- \operatorname{im}{\left(a\right)} + \operatorname{im}{\left(c\right)}\right) \left(- \operatorname{im}{\left(b\right)} + \operatorname{im}{\left(d\right)}\right)}{\left(\operatorname{re}{\left(a\right)} - \operatorname{re}{\left(c\right)}\right)^{2} + \left(\operatorname{im}{\left(a\right)} - \operatorname{im}{\left(c\right)}\right)^{2}}$$
/ (-im(a) + im(c))*(-re(b) + re(d)) (-im(b) + im(d))*(-re(c) + re(a)) \ (-re(b) + re(d))*(-re(c) + re(a)) (-im(a) + im(c))*(-im(b) + im(d))
I*|------------------------------------- + -------------------------------------| + ------------------------------------- - -------------------------------------
| 2 2 2 2| 2 2 2 2
\(-im(c) + im(a)) + (-re(c) + re(a)) (-im(c) + im(a)) + (-re(c) + re(a)) / (-im(c) + im(a)) + (-re(c) + re(a)) (-im(c) + im(a)) + (-re(c) + re(a))
$$i \left(\frac{\left(\operatorname{re}{\left(a\right)} - \operatorname{re}{\left(c\right)}\right) \left(- \operatorname{im}{\left(b\right)} + \operatorname{im}{\left(d\right)}\right)}{\left(\operatorname{re}{\left(a\right)} - \operatorname{re}{\left(c\right)}\right)^{2} + \left(\operatorname{im}{\left(a\right)} - \operatorname{im}{\left(c\right)}\right)^{2}} + \frac{\left(- \operatorname{re}{\left(b\right)} + \operatorname{re}{\left(d\right)}\right) \left(- \operatorname{im}{\left(a\right)} + \operatorname{im}{\left(c\right)}\right)}{\left(\operatorname{re}{\left(a\right)} - \operatorname{re}{\left(c\right)}\right)^{2} + \left(\operatorname{im}{\left(a\right)} - \operatorname{im}{\left(c\right)}\right)^{2}}\right) + \frac{\left(\operatorname{re}{\left(a\right)} - \operatorname{re}{\left(c\right)}\right) \left(- \operatorname{re}{\left(b\right)} + \operatorname{re}{\left(d\right)}\right)}{\left(\operatorname{re}{\left(a\right)} - \operatorname{re}{\left(c\right)}\right)^{2} + \left(\operatorname{im}{\left(a\right)} - \operatorname{im}{\left(c\right)}\right)^{2}} - \frac{\left(- \operatorname{im}{\left(a\right)} + \operatorname{im}{\left(c\right)}\right) \left(- \operatorname{im}{\left(b\right)} + \operatorname{im}{\left(d\right)}\right)}{\left(\operatorname{re}{\left(a\right)} - \operatorname{re}{\left(c\right)}\right)^{2} + \left(\operatorname{im}{\left(a\right)} - \operatorname{im}{\left(c\right)}\right)^{2}}$$
I*((-im(c) + im(a))*(-re(d) + re(b)) - (-im(d) + im(b))*(-re(c) + re(a))) - (-im(c) + im(a))*(-im(d) + im(b)) - (-re(c) + re(a))*(-re(d) + re(b))
-------------------------------------------------------------------------------------------------------------------------------------------------
2 2
(-im(c) + im(a)) + (-re(c) + re(a))
$$\frac{i \left(- \left(\operatorname{re}{\left(a\right)} - \operatorname{re}{\left(c\right)}\right) \left(\operatorname{im}{\left(b\right)} - \operatorname{im}{\left(d\right)}\right) + \left(\operatorname{re}{\left(b\right)} - \operatorname{re}{\left(d\right)}\right) \left(\operatorname{im}{\left(a\right)} - \operatorname{im}{\left(c\right)}\right)\right) - \left(\operatorname{re}{\left(a\right)} - \operatorname{re}{\left(c\right)}\right) \left(\operatorname{re}{\left(b\right)} - \operatorname{re}{\left(d\right)}\right) - \left(\operatorname{im}{\left(a\right)} - \operatorname{im}{\left(c\right)}\right) \left(\operatorname{im}{\left(b\right)} - \operatorname{im}{\left(d\right)}\right)}{\left(\operatorname{re}{\left(a\right)} - \operatorname{re}{\left(c\right)}\right)^{2} + \left(\operatorname{im}{\left(a\right)} - \operatorname{im}{\left(c\right)}\right)^{2}}$$
(i*((-im(c) + im(a))*(-re(d) + re(b)) - (-im(d) + im(b))*(-re(c) + re(a))) - (-im(c) + im(a))*(-im(d) + im(b)) - (-re(c) + re(a))*(-re(d) + re(b)))/((-im(c) + im(a))^2 + (-re(c) + re(a))^2)