Partial Fractions with Complex Numbers

In summary: Thanks for clearing that up!In summary, the conversation discusses the use of complex numbers in integration and the justification for performing a partial fraction decomposition. It is noted that using complex numbers eliminates the need for absolute values in logarithms. The conversation also mentions the importance of defining a branch cut for logarithmic functions and the implications for differentiability.
  • #1
pierce15
315
2
Let's start with:

$$ \int \frac{dx}{1+x^2} = \arctan x + C $$

This is achieved with a basic trig substitution. However, what if one were to perform the following partial fraction decomposition:

$$ \int \frac{dx}{1+x^2} = \int \frac{dx}{(x+i)(x-i)} = \int \left[ \frac{i/2}{x+i} - \frac{i/2}{x-i} \right] \, dx $$

I believe that this is justified because plugging in any real number ##a## into the integrand would simplify to a real number (namely ##1+a^2##).

Thus,

$$ \int \frac{dx}{1+x^2} = (i/2) \ln |x+i| - (i/2) \ln |x-i| + C $$

In conclusion:

$$ \arctan z = \frac{i}{2} \ln \left| \frac{z+i}{z-i} \right| $$

The right side should yield real value outputs for real value inputs.



Word?
 
Physics news on Phys.org
  • #2
Actually once you go to complex numbers you don't want the absolute values in your logarithms anymore. Have you studied complex analysis at all (it makes the explanation of what's going on easier)?
 
  • #3
Office_Shredder said:
Actually once you go to complex numbers you don't want the absolute values in your logarithms anymore. Have you studied complex analysis at all (it makes the explanation of what's going on easier)?

Not at all. I am, however, obsessed with complex numbers, and am taking an introductory level complex analysis course next year.

Is it correct though? Also, reflecting now, there should be a " ## + 2\pi i k ## on either side of the equation, right?
 
  • #4
piercebeatz said:
Is it correct though? Also, reflecting now, there should be a " ## + 2\pi i k ## on either side of the equation, right?

I don't understand why you would want that. (and if it's on both sides, why you can't cancel it)

The basic thing is that you can define logarithm to be nice and diferentiable for all complex numbers except for a single half-axis. That half-axis is usually picked to be the negative real numbers. You can define logarithm differently to get it to be defined everywhere except for a different half-axis, for example the positive real numbers.

The usual definition of logarithm that is defined for positive numbers extends to something which is defined everywhere except for negative real numbers, with no problem. And for this definition of logarithm,
[tex] \frac{d}{dz} \log(z) = \frac{1}{z} [/tex]
So the antiderivatives of [itex] \frac{1}{z} [/itex] are just log(z)+C in this whole region.

When you take your complex analysis class you will probably learn about this - defining a function everywhere except for a line is what's known as picking a branch cut for the function.

Have you seen the expression/understand the expression [tex] e^{i\theta} = \cos(\theta) + i \sin(\theta)[/tex]
Because if you do, then explaining why log needs a branch cut becomes fairly simple
 
  • #5
Office_Shredder said:
I don't understand why you would want that. (and if it's on both sides, why you can't cancel it)

The usual definition of logarithm that is defined for positive numbers extends to something which is defined everywhere except for negative real numbers, with no problem. And for this definition of logarithm,
[tex] \frac{d}{dz} \log(z) = \frac{1}{z} [/tex]
So the antiderivatives of [itex] \frac{1}{z} [/itex] are just log(z)+C in this whole region.

Well, when I said "either", I meant "one". The natural log is the inverse to e^z, which has period ##2\pi i##. If ##u = (i+z)/(i-z)## (from the equation above), then:

$$ \ln u = y $$

$$ u = e^y $$

$$ u = e^y \cdot e^{2 \pi i k}, \quad k\in \mathbb{Z} $$

$$ \ln u = y + 2 \pi i k $$

$$ y = \ln u + 2 \pi i k $$Also, what's the problem with defining the natural log for negative reals? Can't you just do some algebra:

$$ \ln (-x), \quad x>0 $$

$$ = \ln(-1) + \ln x $$

$$ e^{i \pi + 2 i \pi k} = e^{i \pi (1+2k)} = -1 $$

$$ \implies \ln(-1) = i \pi (1+2k), \quad k \in \mathbb{Z} $$

Thus, is it safe to say that:

$$ \ln (-x), \quad x>0 = \ln x + i \pi (1+ 2k), \quad k \in \mathbb{Z} $$
 
  • #6
piercebeatz said:
Well, when I said "either", I meant "one". The natural log is the inverse to e^z, which has period ##2\pi i##. If ##u = (i+z)/(i-z)## (from the equation above), then:

$$ \ln u = y $$

$$ u = e^y $$

$$ u = e^y \cdot e^{2 \pi i k}, \quad k\in \mathbb{Z} $$

$$ \ln u = y + 2 \pi i k $$

$$ y = \ln u + 2 \pi i k $$
Combining your first and your last lines you get
[tex] y = y+2\pi i k [/tex]
Which is clearly false. For each choice of k you can define a natural log function, but once you pick a k you have to stick with it. This is because ln is what's called a multi-valued function. If you want to do analysis, you have to pick a branch (this is related to the branch cut I mentioned earlier) which means pick a specific choice of values and never look back. For ln this means pick a choice of k (usually k=0) and work with that


The problem with ln for negative reals is that I want ln to be a differentiable function. That means I pick a choice of k (to make it a function) and then I try to make it differentiable. This means that I can't include all the numbers on the unit circle because
[tex] \ln(e^{i\theta}) = i\theta [/tex]
causes a lot of problems if I start with [itex] \theta = 0[/itex] and go around the unit circle. It's continuous, but when I get back to the number 1 I have [itex]\ln(1) = 2\pi i[/itex] which is problematic - the function cannot be defined continuously if I allow myself to go around the whole circle. So you have to pick some axis to declare a branch cut - where you aren't allowed to evaluate the function at, and you just remove from the domain - and the most common choice is the negative real axis. This means that if we throw away the negative real axis, we can define ln(z) so that it is a differentiable function everywhere else
 
  • #7
Ok, that makes sense.
 

1. What are partial fractions with complex numbers?

Partial fractions with complex numbers is a method used to break down a complex fraction into simpler fractions. It is commonly used in calculus and algebra to simplify equations and solve for unknown variables.

2. How do you solve partial fractions with complex numbers?

To solve partial fractions with complex numbers, the first step is to factor the denominator of the complex fraction into linear and quadratic factors. Then, use the method of undetermined coefficients to determine the constants in the partial fractions. Finally, combine the partial fractions to get the simplified form.

3. Why are complex numbers used in partial fractions?

Complex numbers are used in partial fractions because they can help to simplify equations and make them easier to solve. They also allow for a more accurate representation of functions and can help to solve equations that involve imaginary numbers.

4. What are some applications of using partial fractions with complex numbers?

Partial fractions with complex numbers have various applications in mathematics, physics, and engineering. They are used to solve differential equations, evaluate integrals, and analyze circuits in electrical engineering.

5. Are there any limitations when using partial fractions with complex numbers?

Yes, there are some limitations when using partial fractions with complex numbers. The method may not work for all complex fractions, and it can become more complicated when dealing with higher degree polynomials in the denominator. It is important to check for extraneous solutions and to simplify the final answer to avoid any errors.

Similar threads

Replies
3
Views
333
Replies
1
Views
939
Replies
8
Views
178
Replies
3
Views
1K
Replies
6
Views
881
Replies
2
Views
1K
Replies
2
Views
932
Replies
3
Views
1K
Back
Top