How can complex functions be separated into real and imaginary parts?

Created from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.

To separate a complex function into its real and imaginary parts, you represent the complex variable z in the form z=x+iy, where x and y are real variables and i is the imaginary unit (−1).123

Given a complex-valued function f(z), you can express it as:

f(z)=f(x+iy)=P(x,y)+iQ(x,y)

In this expression:
* P(x,y) represents the real part of the function.
* Q(x,y) represents the imaginary part of the function, which is the coefficient of the imaginary unit i.23

Both P and Q are real-valued functions of the two real variables x and y. This decomposition is fundamental in complex analysis, particularly when examining the properties of analytic functions, where the real and imaginary components must satisfy specific constraints, such as those found in the study of fluid flow.3