The teacher will be very surprised to see your correct solution 😉
// x3 \ // x3 \
||-1 - -- for x3 > 0| ||-1 - -- for x3 > 0|
x1 = I*im|< 3 | + re|< 3 |
|| | || |
\\ nan otherwise / \\ nan otherwise /
// x3 \ // x3 \
||-1 + -- for x3 >= 0| ||-1 + -- for x3 >= 0|
x2 = I*im|< 3 | + re|< 3 |
|| | || |
\\ nan otherwise / \\ nan otherwise /
Eq(x2, re(Piecewise((x3/3 - 1, x3 >= 0), (nan, True))) + i*im(Piecewise((x3/3 - 1, x3 >= 0), (nan, True))))
sum
// x3 \ // x3 \ // x3 \ // x3 \
||-1 - -- for x3 > 0| ||-1 - -- for x3 > 0| ||-1 + -- for x3 >= 0| ||-1 + -- for x3 >= 0|
I*im|< 3 | + re|< 3 | + I*im|< 3 | + re|< 3 |
|| | || | || | || |
\\ nan otherwise / \\ nan otherwise / \\ nan otherwise / \\ nan otherwise /
=
// x3 \ // x3 \ // x3 \ // x3 \
||-1 - -- for x3 > 0| ||-1 + -- for x3 >= 0| ||-1 - -- for x3 > 0| ||-1 + -- for x3 >= 0|
I*im|< 3 | + I*im|< 3 | + re|< 3 | + re|< 3 |
|| | || | || | || |
\\ nan otherwise / \\ nan otherwise / \\ nan otherwise / \\ nan otherwise /
product
/ // x3 \ // x3 \\ / // x3 \ // x3 \\ | ||-1 - -- for x3 > 0| ||-1 - -- for x3 > 0|| | ||-1 + -- for x3 >= 0| ||-1 + -- for x3 >= 0|| |I*im|< 3 | + re|< 3 ||*|I*im|< 3 | + re|< 3 || | || | || || | || | || || \ \\ nan otherwise / \\ nan otherwise // \ \\ nan otherwise / \\ nan otherwise //
=
/-(-3 + I*im(x3) + re(x3))*(3 + I*im(x3) + re(x3)) |-------------------------------------------------- for x3 > 0 < 9 | \ nan otherwise
Piecewise((-(-3 + i*im(x3) + re(x3))*(3 + i*im(x3) + re(x3))/9, x3 > 0), (nan, True))