Solución detallada
Tenemos la ecuación:
$$z = \frac{x + 3 y}{- 3 x + y}$$
cambiamos:
$$z = - \frac{x + 3 y}{3 x - y}$$
Abrimos los paréntesis en el miembro derecho de la ecuación
z = -x-3*y-y+3*x
Sumamos los términos semejantes en el miembro derecho de la ecuación:
z = -(x + 3*y)/(-y + 3*x)
Obtenemos la respuesta: z = -(x + 3*y)/(-y + 3*x)
/ (-re(y) + 3*re(x))*(3*im(y) + im(x)) (-3*im(x) + im(y))*(3*re(y) + re(x)) \ (-3*im(x) + im(y))*(3*im(y) + im(x)) (-re(y) + 3*re(x))*(3*re(y) + re(x))
z1 = I*|- ----------------------------------------- - -----------------------------------------| + ----------------------------------------- - -----------------------------------------
| 2 2 2 2| 2 2 2 2
\ (-im(y) + 3*im(x)) + (-re(y) + 3*re(x)) (-im(y) + 3*im(x)) + (-re(y) + 3*re(x)) / (-im(y) + 3*im(x)) + (-re(y) + 3*re(x)) (-im(y) + 3*im(x)) + (-re(y) + 3*re(x))
$$z_{1} = i \left(- \frac{\left(\operatorname{re}{\left(x\right)} + 3 \operatorname{re}{\left(y\right)}\right) \left(- 3 \operatorname{im}{\left(x\right)} + \operatorname{im}{\left(y\right)}\right)}{\left(3 \operatorname{re}{\left(x\right)} - \operatorname{re}{\left(y\right)}\right)^{2} + \left(3 \operatorname{im}{\left(x\right)} - \operatorname{im}{\left(y\right)}\right)^{2}} - \frac{\left(3 \operatorname{re}{\left(x\right)} - \operatorname{re}{\left(y\right)}\right) \left(\operatorname{im}{\left(x\right)} + 3 \operatorname{im}{\left(y\right)}\right)}{\left(3 \operatorname{re}{\left(x\right)} - \operatorname{re}{\left(y\right)}\right)^{2} + \left(3 \operatorname{im}{\left(x\right)} - \operatorname{im}{\left(y\right)}\right)^{2}}\right) - \frac{\left(\operatorname{re}{\left(x\right)} + 3 \operatorname{re}{\left(y\right)}\right) \left(3 \operatorname{re}{\left(x\right)} - \operatorname{re}{\left(y\right)}\right)}{\left(3 \operatorname{re}{\left(x\right)} - \operatorname{re}{\left(y\right)}\right)^{2} + \left(3 \operatorname{im}{\left(x\right)} - \operatorname{im}{\left(y\right)}\right)^{2}} + \frac{\left(- 3 \operatorname{im}{\left(x\right)} + \operatorname{im}{\left(y\right)}\right) \left(\operatorname{im}{\left(x\right)} + 3 \operatorname{im}{\left(y\right)}\right)}{\left(3 \operatorname{re}{\left(x\right)} - \operatorname{re}{\left(y\right)}\right)^{2} + \left(3 \operatorname{im}{\left(x\right)} - \operatorname{im}{\left(y\right)}\right)^{2}}$$
z1 = i*(-(re(x) + 3*re(y))*(-3*im(x) + im(y))/((3*re(x) - re(y))^2 + (3*im(x) - im(y))^2) - (3*re(x) - re(y))*(im(x) + 3*im(y))/((3*re(x) - re(y))^2 + (3*im(x) - im(y))^2)) - (re(x) + 3*re(y))*(3*re(x) - re(y))/((3*re(x) - re(y))^2 + (3*im(x) - im(y))^2) + (-3*im(x) + im(y))*(im(x) + 3*im(y))/((3*re(x) - re(y))^2 + (3*im(x) - im(y))^2)
Suma y producto de raíces
[src]
/ (-re(y) + 3*re(x))*(3*im(y) + im(x)) (-3*im(x) + im(y))*(3*re(y) + re(x)) \ (-3*im(x) + im(y))*(3*im(y) + im(x)) (-re(y) + 3*re(x))*(3*re(y) + re(x))
I*|- ----------------------------------------- - -----------------------------------------| + ----------------------------------------- - -----------------------------------------
| 2 2 2 2| 2 2 2 2
\ (-im(y) + 3*im(x)) + (-re(y) + 3*re(x)) (-im(y) + 3*im(x)) + (-re(y) + 3*re(x)) / (-im(y) + 3*im(x)) + (-re(y) + 3*re(x)) (-im(y) + 3*im(x)) + (-re(y) + 3*re(x))
$$i \left(- \frac{\left(\operatorname{re}{\left(x\right)} + 3 \operatorname{re}{\left(y\right)}\right) \left(- 3 \operatorname{im}{\left(x\right)} + \operatorname{im}{\left(y\right)}\right)}{\left(3 \operatorname{re}{\left(x\right)} - \operatorname{re}{\left(y\right)}\right)^{2} + \left(3 \operatorname{im}{\left(x\right)} - \operatorname{im}{\left(y\right)}\right)^{2}} - \frac{\left(3 \operatorname{re}{\left(x\right)} - \operatorname{re}{\left(y\right)}\right) \left(\operatorname{im}{\left(x\right)} + 3 \operatorname{im}{\left(y\right)}\right)}{\left(3 \operatorname{re}{\left(x\right)} - \operatorname{re}{\left(y\right)}\right)^{2} + \left(3 \operatorname{im}{\left(x\right)} - \operatorname{im}{\left(y\right)}\right)^{2}}\right) - \frac{\left(\operatorname{re}{\left(x\right)} + 3 \operatorname{re}{\left(y\right)}\right) \left(3 \operatorname{re}{\left(x\right)} - \operatorname{re}{\left(y\right)}\right)}{\left(3 \operatorname{re}{\left(x\right)} - \operatorname{re}{\left(y\right)}\right)^{2} + \left(3 \operatorname{im}{\left(x\right)} - \operatorname{im}{\left(y\right)}\right)^{2}} + \frac{\left(- 3 \operatorname{im}{\left(x\right)} + \operatorname{im}{\left(y\right)}\right) \left(\operatorname{im}{\left(x\right)} + 3 \operatorname{im}{\left(y\right)}\right)}{\left(3 \operatorname{re}{\left(x\right)} - \operatorname{re}{\left(y\right)}\right)^{2} + \left(3 \operatorname{im}{\left(x\right)} - \operatorname{im}{\left(y\right)}\right)^{2}}$$
/ (-re(y) + 3*re(x))*(3*im(y) + im(x)) (-3*im(x) + im(y))*(3*re(y) + re(x)) \ (-3*im(x) + im(y))*(3*im(y) + im(x)) (-re(y) + 3*re(x))*(3*re(y) + re(x))
I*|- ----------------------------------------- - -----------------------------------------| + ----------------------------------------- - -----------------------------------------
| 2 2 2 2| 2 2 2 2
\ (-im(y) + 3*im(x)) + (-re(y) + 3*re(x)) (-im(y) + 3*im(x)) + (-re(y) + 3*re(x)) / (-im(y) + 3*im(x)) + (-re(y) + 3*re(x)) (-im(y) + 3*im(x)) + (-re(y) + 3*re(x))
$$i \left(- \frac{\left(\operatorname{re}{\left(x\right)} + 3 \operatorname{re}{\left(y\right)}\right) \left(- 3 \operatorname{im}{\left(x\right)} + \operatorname{im}{\left(y\right)}\right)}{\left(3 \operatorname{re}{\left(x\right)} - \operatorname{re}{\left(y\right)}\right)^{2} + \left(3 \operatorname{im}{\left(x\right)} - \operatorname{im}{\left(y\right)}\right)^{2}} - \frac{\left(3 \operatorname{re}{\left(x\right)} - \operatorname{re}{\left(y\right)}\right) \left(\operatorname{im}{\left(x\right)} + 3 \operatorname{im}{\left(y\right)}\right)}{\left(3 \operatorname{re}{\left(x\right)} - \operatorname{re}{\left(y\right)}\right)^{2} + \left(3 \operatorname{im}{\left(x\right)} - \operatorname{im}{\left(y\right)}\right)^{2}}\right) - \frac{\left(\operatorname{re}{\left(x\right)} + 3 \operatorname{re}{\left(y\right)}\right) \left(3 \operatorname{re}{\left(x\right)} - \operatorname{re}{\left(y\right)}\right)}{\left(3 \operatorname{re}{\left(x\right)} - \operatorname{re}{\left(y\right)}\right)^{2} + \left(3 \operatorname{im}{\left(x\right)} - \operatorname{im}{\left(y\right)}\right)^{2}} + \frac{\left(- 3 \operatorname{im}{\left(x\right)} + \operatorname{im}{\left(y\right)}\right) \left(\operatorname{im}{\left(x\right)} + 3 \operatorname{im}{\left(y\right)}\right)}{\left(3 \operatorname{re}{\left(x\right)} - \operatorname{re}{\left(y\right)}\right)^{2} + \left(3 \operatorname{im}{\left(x\right)} - \operatorname{im}{\left(y\right)}\right)^{2}}$$
/ (-re(y) + 3*re(x))*(3*im(y) + im(x)) (-3*im(x) + im(y))*(3*re(y) + re(x)) \ (-3*im(x) + im(y))*(3*im(y) + im(x)) (-re(y) + 3*re(x))*(3*re(y) + re(x))
I*|- ----------------------------------------- - -----------------------------------------| + ----------------------------------------- - -----------------------------------------
| 2 2 2 2| 2 2 2 2
\ (-im(y) + 3*im(x)) + (-re(y) + 3*re(x)) (-im(y) + 3*im(x)) + (-re(y) + 3*re(x)) / (-im(y) + 3*im(x)) + (-re(y) + 3*re(x)) (-im(y) + 3*im(x)) + (-re(y) + 3*re(x))
$$i \left(- \frac{\left(\operatorname{re}{\left(x\right)} + 3 \operatorname{re}{\left(y\right)}\right) \left(- 3 \operatorname{im}{\left(x\right)} + \operatorname{im}{\left(y\right)}\right)}{\left(3 \operatorname{re}{\left(x\right)} - \operatorname{re}{\left(y\right)}\right)^{2} + \left(3 \operatorname{im}{\left(x\right)} - \operatorname{im}{\left(y\right)}\right)^{2}} - \frac{\left(3 \operatorname{re}{\left(x\right)} - \operatorname{re}{\left(y\right)}\right) \left(\operatorname{im}{\left(x\right)} + 3 \operatorname{im}{\left(y\right)}\right)}{\left(3 \operatorname{re}{\left(x\right)} - \operatorname{re}{\left(y\right)}\right)^{2} + \left(3 \operatorname{im}{\left(x\right)} - \operatorname{im}{\left(y\right)}\right)^{2}}\right) - \frac{\left(\operatorname{re}{\left(x\right)} + 3 \operatorname{re}{\left(y\right)}\right) \left(3 \operatorname{re}{\left(x\right)} - \operatorname{re}{\left(y\right)}\right)}{\left(3 \operatorname{re}{\left(x\right)} - \operatorname{re}{\left(y\right)}\right)^{2} + \left(3 \operatorname{im}{\left(x\right)} - \operatorname{im}{\left(y\right)}\right)^{2}} + \frac{\left(- 3 \operatorname{im}{\left(x\right)} + \operatorname{im}{\left(y\right)}\right) \left(\operatorname{im}{\left(x\right)} + 3 \operatorname{im}{\left(y\right)}\right)}{\left(3 \operatorname{re}{\left(x\right)} - \operatorname{re}{\left(y\right)}\right)^{2} + \left(3 \operatorname{im}{\left(x\right)} - \operatorname{im}{\left(y\right)}\right)^{2}}$$
I*((-im(y) + 3*im(x))*(3*re(y) + re(x)) - (-re(y) + 3*re(x))*(3*im(y) + im(x))) - (-im(y) + 3*im(x))*(3*im(y) + im(x)) - (-re(y) + 3*re(x))*(3*re(y) + re(x))
-------------------------------------------------------------------------------------------------------------------------------------------------------------
2 2
(-im(y) + 3*im(x)) + (-re(y) + 3*re(x))
$$\frac{i \left(\left(\operatorname{re}{\left(x\right)} + 3 \operatorname{re}{\left(y\right)}\right) \left(3 \operatorname{im}{\left(x\right)} - \operatorname{im}{\left(y\right)}\right) - \left(3 \operatorname{re}{\left(x\right)} - \operatorname{re}{\left(y\right)}\right) \left(\operatorname{im}{\left(x\right)} + 3 \operatorname{im}{\left(y\right)}\right)\right) - \left(\operatorname{re}{\left(x\right)} + 3 \operatorname{re}{\left(y\right)}\right) \left(3 \operatorname{re}{\left(x\right)} - \operatorname{re}{\left(y\right)}\right) - \left(\operatorname{im}{\left(x\right)} + 3 \operatorname{im}{\left(y\right)}\right) \left(3 \operatorname{im}{\left(x\right)} - \operatorname{im}{\left(y\right)}\right)}{\left(3 \operatorname{re}{\left(x\right)} - \operatorname{re}{\left(y\right)}\right)^{2} + \left(3 \operatorname{im}{\left(x\right)} - \operatorname{im}{\left(y\right)}\right)^{2}}$$
(i*((-im(y) + 3*im(x))*(3*re(y) + re(x)) - (-re(y) + 3*re(x))*(3*im(y) + im(x))) - (-im(y) + 3*im(x))*(3*im(y) + im(x)) - (-re(y) + 3*re(x))*(3*re(y) + re(x)))/((-im(y) + 3*im(x))^2 + (-re(y) + 3*re(x))^2)