# Complex mappings

- Author:
- Juan Carlos Ponce Campuzano

- Topic:
- Functions

## Instructions:

Consider f(z) = u(x,y) +

*v(x,y). First find the real and imaginary components of the function f(z). Then type those values in the corresponding input boxes u and v. Drag the points A and B to change the size of the square, or drag the square to change its position.***i**## Example:

f(z) = z

^{2}= x^{2}- y^{2}+*(2xy), then u = x^2 - y^2 and v = 2xy***i**## More examples:

1. f(z) = exp(z) = exp(x)cos(y) + ), with r = and = Arg(z), that is, ; we need to use the function atan2. For example:
1. Consider the multiple value function f(z) = z ) ). Then
f(z) = (x^2 + y^2)^(1/4)cos( 1/2atan2(y, x) ) +

*exp(x)sin(y), then u = exp(x)cos(y) and v = exp(x)sin(y) 2. f(z) = sin(z) = sin(x)cosh(y) +***i***cos(x)sinh(y), then u = sin(x)cosh(y) and v = cos(x)sinh(y) For z = r exp(***i***i*^{1/2}= r^{1/2}exp(**(1/2***i**(x^2 + y^2)^(1/4)sin(1/2 atan2(y, x)) Thus u = (x^2 + y^2)^(1/4)cos(1/2 atan2(y, x)) and v = (x^2 + y^2)^(1/4)sin(1/2 atan2(y, x)) The second value of z***i**^{1/2}is given by f(z) = (x^2 + y^2)^(1/4)cos(1/2atan2(y, x) + pi) +*(x^2 + y^2)^(1/4)sin(1/2atan2(y, x) + pi) 2. Now consider the function f(z) = log(z) = log( ( x^2 + y^2 )^(1/2) ) +***i***atan2(y, x), then we have that u = log((x^2 + y^2)^(1/2)) and v = atan2(y, x)***i**Download our apps here: