- #1
Mandelbroth
- 611
- 24
Recently, a friend of mine asked for help on their calculus homework. The problem was to find [itex]\int cos(ln \ x) \ dx[/itex]. However, I've never gotten around to memorizing the derivatives and integrals of the trig functions.
I know that you can do it using integration by parts, with [itex]\int cos(ln \ x) \ dx = x \ cos(ln \ x) + \int sin(ln \ x) \ dx = x \ cos(ln \ x) + x \ sin(ln \ x) - \int cos(ln \ x) \ dx[/itex], implying that [itex]2\int cos(ln \ x) \ dx = x \ cos(ln \ x) + x \ sin(ln \ x)[/itex], and thus that [itex]\int cos(ln \ x) \ dx = \frac{x}{2}(cos(ln \ x) + sin(ln \ x)) + C[/itex].
However, I used the power rule for integration (I think the technical name is Cavalieri's quadrature formula). [itex]\int cos(ln \ x) \ dx = \int \frac{e^{i \ lnx}+e^{-i \ lnx}}{2} \ dx = \int \frac{x^{i}+x^{-i}}{2} \ dx = \frac{1}{2}(\frac{x^{i+1}}{i+1}+\frac{x^{1-i}}{1-i}) + C = \frac{x}{2}(\frac{x^{i}}{i+1}+\frac{x^{-i}}{1-i}) + C = \frac{x}{2}(\frac{x^{i}(1-i)+x^{-i}(1+i)}{2}) + C[/itex], which is obviously equivalent to the previous answer.
Can I take it from this problem that the process of using the complex number definitions of the trig functions is valid for all such integrals? That is, does Cavalieri's quadrature formula ALWAYS work for complex numbers (aside from the obvious of x-1, which is why I am asking...)?
I know that you can do it using integration by parts, with [itex]\int cos(ln \ x) \ dx = x \ cos(ln \ x) + \int sin(ln \ x) \ dx = x \ cos(ln \ x) + x \ sin(ln \ x) - \int cos(ln \ x) \ dx[/itex], implying that [itex]2\int cos(ln \ x) \ dx = x \ cos(ln \ x) + x \ sin(ln \ x)[/itex], and thus that [itex]\int cos(ln \ x) \ dx = \frac{x}{2}(cos(ln \ x) + sin(ln \ x)) + C[/itex].
However, I used the power rule for integration (I think the technical name is Cavalieri's quadrature formula). [itex]\int cos(ln \ x) \ dx = \int \frac{e^{i \ lnx}+e^{-i \ lnx}}{2} \ dx = \int \frac{x^{i}+x^{-i}}{2} \ dx = \frac{1}{2}(\frac{x^{i+1}}{i+1}+\frac{x^{1-i}}{1-i}) + C = \frac{x}{2}(\frac{x^{i}}{i+1}+\frac{x^{-i}}{1-i}) + C = \frac{x}{2}(\frac{x^{i}(1-i)+x^{-i}(1+i)}{2}) + C[/itex], which is obviously equivalent to the previous answer.
Can I take it from this problem that the process of using the complex number definitions of the trig functions is valid for all such integrals? That is, does Cavalieri's quadrature formula ALWAYS work for complex numbers (aside from the obvious of x-1, which is why I am asking...)?