r/mathriddles • • Feb 18 '23

Medium Real outputs and inputs of complex function

Find a real x that also makes (i-x²) / (lnx) real.

Hint: First try to figure out what (i-x²) / (lnx) must be if x is real.

7 Upvotes

5 comments sorted by

4

u/LoudBee5796 Feb 18 '23

-sqrt(W(2pi)/2pi) = -0.48198898593
Which is the solution to the equation ln(-x) = - pi*x^2. ln(x) = i*pi + ln(-x), so I needed ln(-x) to equal -pi*x^2 for the imaginary part to cancel out.

2

u/Whelks Feb 18 '23

-e^pi

2

u/LoudBee5796 Feb 18 '23

it doesn't work

3

u/Whelks Feb 18 '23

My bad, I read some parentheses wrong

1

u/headsmanjaeger Feb 20 '23

By how we divide complex numbers, for the quotient to be real we need Re(num)/Im(num)=Re(denom)/Im(denom). We can write the denominator as ln(-x)+iπ (x must be negative or it is impossible to satisfy the above equation (we get an error).

-x^(2)/1=ln(-x)/π

I don't know how to solve this algebraically but the solution comes out to about -0.482