Definitions: 
i = sqrt(-1) 
A = sqrt(B) + sqrt(-B) 

The puzzle: 
i*A = sqrt(-1) * sqrt(B) + sqrt(-1) * sqrt(-B) 
    = sqrt(-B) + sqrt(B) 
    = A 

What happened?