ln(|x|)/2=-ln(|p-1|)+C la ecuación
El profesor se sorprenderá mucho al ver tu solución correcta😉
Solución
Suma y producto de raíces
[src]
// 2*c 2*c \ // 2*c 2*c \ // 2*c 2*c \ // 2*c 2*c \
|| e e | || e e | || -e e | || -e e |
||--------- for ----------- >= 0| ||--------- for ----------- >= 0| ||----------- for ----------- > 0| ||----------- for ----------- > 0|
I*im|< 2 | 2| | + re|< 2 | 2| | + I*im|<| 2| | 2| | + re|<| 2| | 2| |
|||-1 + p| |(-1 + p) | | |||-1 + p| |(-1 + p) | | |||(-1 + p) | |(-1 + p) | | |||(-1 + p) | |(-1 + p) | |
|| | || | || | || |
\\ nan otherwise / \\ nan otherwise / \\ nan otherwise / \\ nan otherwise /
(re({∣p−1∣2e2cNaNfor∣(p−1)2∣e2c≥0otherwise)+iim({∣p−1∣2e2cNaNfor∣(p−1)2∣e2c≥0otherwise))+(re({−∣(p−1)2∣e2cNaNfor∣(p−1)2∣e2c>0otherwise)+iim({−∣(p−1)2∣e2cNaNfor∣(p−1)2∣e2c>0otherwise))
// 2*c 2*c \ // 2*c 2*c \ // 2*c 2*c \ // 2*c 2*c \
|| e e | || -e e | || e e | || -e e |
||--------- for ----------- >= 0| ||----------- for ----------- > 0| ||--------- for ----------- >= 0| ||----------- for ----------- > 0|
I*im|< 2 | 2| | + I*im|<| 2| | 2| | + re|< 2 | 2| | + re|<| 2| | 2| |
|||-1 + p| |(-1 + p) | | |||(-1 + p) | |(-1 + p) | | |||-1 + p| |(-1 + p) | | |||(-1 + p) | |(-1 + p) | |
|| | || | || | || |
\\ nan otherwise / \\ nan otherwise / \\ nan otherwise / \\ nan otherwise /
re({∣p−1∣2e2cNaNfor∣(p−1)2∣e2c≥0otherwise)+re({−∣(p−1)2∣e2cNaNfor∣(p−1)2∣e2c>0otherwise)+iim({∣p−1∣2e2cNaNfor∣(p−1)2∣e2c≥0otherwise)+iim({−∣(p−1)2∣e2cNaNfor∣(p−1)2∣e2c>0otherwise)
/ // 2*c 2*c \ // 2*c 2*c \\ / // 2*c 2*c \ // 2*c 2*c \\
| || e e | || e e || | || -e e | || -e e ||
| ||--------- for ----------- >= 0| ||--------- for ----------- >= 0|| | ||----------- for ----------- > 0| ||----------- for ----------- > 0||
|I*im|< 2 | 2| | + re|< 2 | 2| ||*|I*im|<| 2| | 2| | + re|<| 2| | 2| ||
| |||-1 + p| |(-1 + p) | | |||-1 + p| |(-1 + p) | || | |||(-1 + p) | |(-1 + p) | | |||(-1 + p) | |(-1 + p) | ||
| || | || || | || | || ||
\ \\ nan otherwise / \\ nan otherwise // \ \\ nan otherwise / \\ nan otherwise //
(re({∣p−1∣2e2cNaNfor∣(p−1)2∣e2c≥0otherwise)+iim({∣p−1∣2e2cNaNfor∣(p−1)2∣e2c≥0otherwise))(re({−∣(p−1)2∣e2cNaNfor∣(p−1)2∣e2c>0otherwise)+iim({−∣(p−1)2∣e2cNaNfor∣(p−1)2∣e2c>0otherwise))
/ 4*re(c) + 4*I*im(c) / 2*c 2*c \
|-e | e e |
|---------------------- for And|----------- >= 0, ----------- > 0|
| 2 || 2| | 2| |
< | 2| \|(-1 + p) | |(-1 + p) | /
| |(-1 + p) |
|
| nan otherwise
\
⎩⎨⎧−∣(p−1)2∣2e4re(c)+4iim(c)NaNfor∣(p−1)2∣e2c≥0∧∣(p−1)2∣e2c>0otherwise
Piecewise((-exp(4*re(c) + 4*i*im(c))/Abs((-1 + p)^2)^2, (exp(2*c)/Abs((-1 + p)^2) >= 0)∧(exp(2*c)/Abs((-1 + p)^2) > 0)), (nan, True))
// 2*c 2*c \ // 2*c 2*c \
|| e e | || e e |
||--------- for ----------- >= 0| ||--------- for ----------- >= 0|
x1 = I*im|< 2 | 2| | + re|< 2 | 2| |
|||-1 + p| |(-1 + p) | | |||-1 + p| |(-1 + p) | |
|| | || |
\\ nan otherwise / \\ nan otherwise /
x1=re({∣p−1∣2e2cNaNfor∣(p−1)2∣e2c≥0otherwise)+iim({∣p−1∣2e2cNaNfor∣(p−1)2∣e2c≥0otherwise)
// 2*c 2*c \ // 2*c 2*c \
|| -e e | || -e e |
||----------- for ----------- > 0| ||----------- for ----------- > 0|
x2 = I*im|<| 2| | 2| | + re|<| 2| | 2| |
|||(-1 + p) | |(-1 + p) | | |||(-1 + p) | |(-1 + p) | |
|| | || |
\\ nan otherwise / \\ nan otherwise /
x2=re({−∣(p−1)2∣e2cNaNfor∣(p−1)2∣e2c>0otherwise)+iim({−∣(p−1)2∣e2cNaNfor∣(p−1)2∣e2c>0otherwise)
x2 = re(Piecewise((-exp(2*c)/Abs((p - 1)^2, exp(2*c)/Abs((p - 1)^2) > 0), (nan, True))) + i*im(Piecewise((-exp(2*c)/Abs((p - 1)^2), exp(2*c)/Abs((p - 1)^2) > 0), (nan, True))))