If I have a function whose denominator has only complex roots, could I integrate it and perform partial fraction decomposition by separating the factors? For example, am I allowed to evaluate $$\int\frac{1}{(x+i)(x-i)}dx$$Or $$\int\frac{1}{(x+2i)(x-2i)}dx$$By partial fractions (without getting rid of $i$)? I don't think I could continue since we are integrating along the $x$-axis. Edit: I am asking if in general I could integrating with imaginary numbers, not just in this specific example. I was giving a background.
2026-03-28 07:16:40.1774682200
Imaginary numbers and partial fraction decomposition in integration
329 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
There are 2 best solutions below
Related Questions in CALCULUS
- Equality of Mixed Partial Derivatives - Simple proof is Confusing
- How can I prove that $\int_0^{\frac{\pi}{2}}\frac{\ln(1+\cos(\alpha)\cos(x))}{\cos(x)}dx=\frac{1}{2}\left(\frac{\pi^2}{4}-\alpha^2\right)$?
- Proving the differentiability of the following function of two variables
- If $f ◦f$ is differentiable, then $f ◦f ◦f$ is differentiable
- Calculating the radius of convergence for $\sum _{n=1}^{\infty}\frac{\left(\sqrt{ n^2+n}-\sqrt{n^2+1}\right)^n}{n^2}z^n$
- Number of roots of the e
- What are the functions satisfying $f\left(2\sum_{i=0}^{\infty}\frac{a_i}{3^i}\right)=\sum_{i=0}^{\infty}\frac{a_i}{2^i}$
- Why the derivative of $T(\gamma(s))$ is $T$ if this composition is not a linear transformation?
- How to prove $\frac 10 \notin \mathbb R $
- Proving that: $||x|^{s/2}-|y|^{s/2}|\le 2|x-y|^{s/2}$
Related Questions in INTEGRATION
- How can I prove that $\int_0^{\frac{\pi}{2}}\frac{\ln(1+\cos(\alpha)\cos(x))}{\cos(x)}dx=\frac{1}{2}\left(\frac{\pi^2}{4}-\alpha^2\right)$?
- How to integrate $\int_{0}^{t}{\frac{\cos u}{\cosh^2 u}du}$?
- Show that $x\longmapsto \int_{\mathbb R^n}\frac{f(y)}{|x-y|^{n-\alpha }}dy$ is integrable.
- How to find the unit tangent vector of a curve in R^3
- multiplying the integrands in an inequality of integrals with same limits
- Closed form of integration
- Proving smoothness for a sequence of functions.
- Random variables in integrals, how to analyze?
- derive the expectation of exponential function $e^{-\left\Vert \mathbf{x} - V\mathbf{x}+\mathbf{a}\right\Vert^2}$ or its upper bound
- Which type of Riemann Sum is the most accurate?
Related Questions in COMPLEX-NUMBERS
- Value of an expression involving summation of a series of complex number
- Minimum value of a complex expression involving cube root of a unity
- orientation of circle in complex plane
- Locus corresponding to sum of two arguments in Argand diagram?
- Logarithmic function for complex numbers
- To find the Modulus of a complex number
- relation between arguments of two complex numbers
- Equality of two complex numbers with respect to argument
- Trouble computing $\int_0^\pi e^{ix} dx$
- Roots of a complex equation
Related Questions in PARTIAL-FRACTIONS
- Partial Fraction Decomposition of A/[x(x-a)^m]
- $\int{\frac{1}{(\alpha x^2+\beta x+\gamma)^2}\;dx}$, where $\beta^2-4\alpha\gamma < 0$
- I am stuck on a question Algebra:Sequence and series
- Partial Fraction problem solution deviates from the Rule
- Getting rid of the absolute value in the resolution of a differential equation
- How do we compute higher order derivatives of a rational function?
- Convert $\frac{2x^3+4}{x^2-1}$ into partial fractions.
- How to integrate $\int{\frac{x^2+5}{x^3+3x}}dx$
- Partial Frac. Decomp. I tried both B and Bx+C. Which is correct?
- Integration by Partial Fractions, Complex Long Division
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
Yes, but you need to be a bit careful. Formally you are just embedding the space of integrable functions $\mathbb{R} \to \mathbb{R}$ into the space of integrable functions $\mathbb{R} \to \mathbb{C}$ (which is its complexification), and this embedding is compatible with taking antiderivatives. Even though complex numbers appear in the calculation, because the original function you're integrating is real, the final answer must necessarily be real, so the imaginary parts have to cancel out somehow. Note that it is not necessary to allow $x$ to be complex.
The simplest examples where everything works out quite cleanly involve trigonometric functions. For example you can see this old thread which explains how to compute $\int_0^{2 \pi} \sin^{100} x \, dx$ by writing $\sin x = \frac{e^{ix} - e^{-ix}}{2i}$ and then expanding using the binomial theorem.
The case of rational functions is more complicated because logarithms appear. $\int \frac{1}{x^2 + 1} \, dx$ is a good example so let's work through that in some detail. The partial fraction decomposition is
$$\frac{1}{(x + i)(x - i)} = \frac{1}{2i} \left( \frac{1}{x + i} - \frac{1}{x - i} \right)$$
and integrating formally gives an antiderivative of
$$\int \frac{1}{1 + x^2} \, dx = \frac{1}{2i} \left( \ln (x + i) - \ln (x - i) \right).$$
But is this the right answer? We were expecting $\arctan x$, of course. This answer is actually correct if properly interpreted, but there is a subtlety here. Even if $x$ is real, $x + i$ and $x - i$ are complex, so to make sense of these expressions we have to pick a branch of the complex logarithm, which complicates things; different choices will differ by a constant (which isn't a big deal, that's just how antiderivatives work), but we also have to pick a branch cut, which is a complication you might want to avoid since the final answer shouldn't really depend on this choice.
To make things less confusing I would personally rewrite the partial fraction decomposition slightly, as
$$\frac{1}{(1 + ix)(1 - ix)} = \frac{1}{2} \left( \frac{1}{1 + ix} + \frac{1}{1 - ix} \right)$$
which, again integrating formally, gives an antiderivative of
$$\int \frac{1}{1 + x^2} \, dx = \frac{1}{2} \left( \frac{\log (1 + ix)}{i} - \frac{\log (1 - ix)}{i} \right)$$
where we define
$$\log (1 + z) = \sum_{n \ge 1} (-1)^{n-1} \frac{z^n}{n}$$
even if $z$ is complex (as long as $|z| < 1$). Now there's no issue with branches and branch cuts, or rather, the choice to use the Taylor series around $1$ makes this choice for us. From here we can write
$$\log (1 + ix) - \log (1 - ix) = \log \frac{1 + ix}{1 - ix}$$
(this is no longer entirely obvious with our specific choice of branch of the logarithm and needs to be checked) and now we need to stop and think a bit about what this function is actually doing. If $x$ is real, $1 + ix$ is a complex number which has polar form $re^{i \theta}$ such that $x = \tan \theta$. Then $1 - ix$ is its complex conjugate, which is $re^{-i \theta}$. So their ratio is $e^{2 i \theta}$. This gives, again at least formally,
$$\frac{1}{2i} \left( \log (1 + ix) - \log (1 - ix) \right) = \frac{1}{2i} \log e^{2i \theta} = \theta = \arctan x.$$
But you might rightfully feel a little wary of this argument, since it involves applying logarithm rules to the complex logarithm (again, even if $x$ is real) which generally only hold up to a multiple of $2 \pi i$, due to the whole issue with branches, and we also need to potentially say some things about the domain and range of $\arctan$ and so forth. You can check that everything is fine (computationally the worst that'll happen is that you pick up an additive constant, which is not an issue for antiderivatives) but at this point it is maybe more work than it's worth.