Linked Questions
49 questions linked to/from Getting different answers when integrating using different techniques
7 votes
2 answers
9k views
Can an indefinite integral have multiple answers? (Besides the ' + C') [duplicate]
So I came across with this integral today in my midterm: $$ \int \frac {\tan(\pi x)\sec^2(\pi x)}2 $$ And I got two correct answers: $$\frac {\sec^2(\pi x)}{4\pi} +C$$ And $$\frac {\tan^2(\pi x)}{...
3 votes
2 answers
11k views
Solving indefinite integrals gives multiple answers. Are all those answers correct? [duplicate]
While solving problems on indefinite integrals many a times I get answers which are different from those given in my text book's answer keys page. I then verify my solution steps to ensure that even ...
1 vote
2 answers
903 views
Same integration with 2 different answers? [duplicate]
$$\int x(x^2+2)^4\,dx $$ When we do this integration with u substitution we get $$\frac{(x^2+2)^5}{10}$$ as $u=x^2+2$ $du=2x\,dx$ $$\therefore \int (u+2)^4\,du = \frac{(x^2+2)^5}{10} + C$$ ...
1 vote
3 answers
2k views
Integration : different answers from two methods [duplicate]
There seems to be no way to get these expressions from both the methods to match. I know the arbitrary constant could vary in different methods but even the strcture of both these expressions are not ...
0 votes
3 answers
1k views
Should I add $C$ (constant of integration) before or after calculation (or does it matter)? [duplicate]
For example, determine $\int \left(\frac{1}{2x+1}\right)dx$. Given that $f(x)$ = $\ln(2x+1)$ and $f'(x)$ = $\ln\left(\frac{2}{2x+1}\right)$. Would this be $\frac{1}{2} \int\left (\frac{2}{2x+1}\...
0 votes
3 answers
1k views
Integral of $\tan^3(x)$ [duplicate]
I'm going through Stewart's Calculus, and in section 7.3, example 7 asks for $\int \tan^3(x)dx$. In the book, the solution is $\frac{\tan^2(x)}{2} - \ln|\sec x| + C$. This was obtained in the ...
7 votes
2 answers
286 views
Evaluating $\int \sqrt{\frac{5-x}{x-2}}\,dx$ with two different methods and getting two different results [duplicate]
I tried Evaluating $\int \sqrt{\dfrac{5-x}{x-2}}dx$ using two different methods and got two different results. Getting two different answers when tried using two different methods:- M-$1$: $$\int \...
0 votes
2 answers
162 views
Intergral of x/(2x-2) - Two different answers, which one is correct? [duplicate]
I want to find the integral $$\int\frac{x}{2x-2}dx$$ This is just a simple question from my textbook. But there seems to be two ways of solving it. If I simplify it to: $$\int1+\frac{2}{2x-2}dx$$ I ...
4 votes
1 answer
147 views
Evaluating $ \int\frac{a^x}{\sqrt{1-a^{2x}}}\ dx $ [duplicate]
Evaluate the integral $$ \int\frac{a^x}{\sqrt{1-a^{2x}}}\ dx $$ In a recent question, the OP asked what the problem was with their method and why it did not match the reference book. I tried the ...
0 votes
2 answers
324 views
Different answer for integral for two different methods [duplicate]
I am trying to integrate $\frac{1-x}{(x+1)^2}$, but I get to answers for two different methods: First, $\frac{1-x}{(x+1)^2} = \frac{1-x+1-1}{(x+1)^2} = \frac{2}{(x+1)^2} - \frac{x+1}{(x+1)^2} = \frac{...
1 vote
2 answers
134 views
Which solution to $\int \frac{x^3}{(x^2+1)^2}dx$ is correct? [duplicate]
I tried solving the following integral using integral by parts : $$\int \frac{x^3}{(x^2+1)^2}dx$$ but I got a different answer from Wolfram Calculator This is the answer that I got : $$\int \frac{x^3}{...
3 votes
1 answer
112 views
Same integration question yields to 2 possible answers; why? [duplicate]
In looking at the equality $$\int \frac{a}{b(c-x)}dx = \int dt$$ I obtained different answers via different methods. Via one method, I got $$- \frac{a}{b} \ln(c-x) = t+C$$ Via another, I got $$- \frac ...
1 vote
1 answer
106 views
Integrating $\int\frac{\sin x}{\cos^3x}dx$ two ways gives different results [duplicate]
I was solving the integral $$\int\frac{\sin x}{\cos^3x}dx$$ I used the substitution $$u=\cos x \qquad du=-\sin x\,dx \qquad -du=\sin x dx$$ So the integral has the form $$\int-\frac{du}{u^3}=\frac{1}{...
1 vote
1 answer
192 views
How can one integral have two answers? [duplicate]
I am currently taking a calculus class. My teacher while teaching a specific type of indefinite integral told one mysteriously beautiful of the solving the integral. The general form of the integral ...
0 votes
3 answers
112 views
integration yields different values if done by parts or by substitution [duplicate]
If you compute the integral: $$ \int \frac{2x}{(x+1)^2}.$$ by substitution (using $u=x+1$, then you will get. $$ 2 \ln | 1 + x | + \frac{2}{1+x} + C.$$ But if, instead, you use integration by parts: $...
2 votes
2 answers
92 views
Same integration different answers [duplicate]
I have a doubt regarding basic integration $$ \int (1+x) \mathrm{d} x= \int 1 \mathrm{d}x+ \int x \mathrm{d} x =x+ \frac{x^2}{2} +c $$ But in another method it can also be done as $$ \int(...
0 votes
1 answer
135 views
Integral of 1/(1+sin(x)) using 2 methods results in 2 formulas that aren't equivalent [duplicate]
When trying to integrate $\frac{1}{1+sin(x)}$, I used two methods. Weierstrass substitution gives me $\frac{-2}{\tan(\frac{x}{2}) + 1}$ Multiplying by the conjugate gives me $\tan x - \frac{1}{\cos ...
1 vote
1 answer
113 views
Possible counter-proof of the constant rule of integration [duplicate]
$$∫(2x+10)^{-1}dx$$ $$=\frac{1}{2}∫(x+5)^{-1}dx$$ $$=\frac{1}{2}\ln|x+5|+C$$ but here is the same integral, yet different answer $$∫(2x+10)^{-1}dx$$ Let $u = 2x+10\implies \frac{du}{dx} = 2 \implies ...
1 vote
1 answer
77 views
Same integral, different results: $\int \frac{e^{\ln(1+x)}}{1+x} dx$. [duplicate]
I have $\int \frac{e^{\ln(1+x)}}{1+x} dx$. Now, if I simplify $e^{\ln(1+x)}$ to $1+x$, I simply obtain $\int \frac{1+x}{1+x} dx= \int 1dx = x+C$. If I do not simplify and I apply the rule $\int f'(x)e^...
-1 votes
3 answers
90 views
integral of $-\csc^2x\cot x$ [duplicate]
Find $\int-\csc^2x\cot xdx$ Using $\int f'f^{n}dx=\frac{f^{n+1}}{n+1}$ rule, I am getting two answers for the above question. Considering that the derivatives of $\csc x$ and $\cot x$ are $-\csc x\cot ...
2 votes
1 answer
104 views
Where is the mistake in computation of $\int\!\frac{\mathrm dx}{10x-3}\;?$ [duplicate]
$\displaystyle\int\frac{\mathrm dx}{10x-3}=$ ? Obviously, if we say $\,u=10x-3\,,\,$ then integration becomes $\displaystyle\frac{1}{10}\int\frac{\mathrm du}{u}=\frac {1}{10}\ln(10x-3)+c$ However, I ...
0 votes
1 answer
74 views
Why am I getting a different answer when I use different methods? [duplicate]
I just graduated high school and was doing some math in my spare time, but I can't seem to figure out why when I integrate this particular integral, $I = \int{\frac{x}{3-x}}dx$ I get different answers....
0 votes
1 answer
52 views
Obtaining constant in result after integration [duplicate]
I was integrating the function $f(x)=\frac{x^2}{x-1}$ with two methods: 1) by starting with $u$-substitution and 2) by starting with polynomial long division. Upon my attempt at method 1, I let $u=x-1$...
0 votes
1 answer
70 views
Does $-2 \int (\cos^2\,x-\sin^2\,x)\,\sin\,2x\,dx$ have multiple answers? [duplicate]
After working $-2 \displaystyle\int (\cos^2\,x-\sin^2\,x)\,\sin\,2x\,dx$, I got $\frac{-\sin^2(2x)}{2}+c$. The answer I was given was $\frac{\cos^2(2x)}{2}+c$. Are these both legitimate solutions, ...
0 votes
0 answers
60 views
Integrating $e^x\sinh x$ gives two different answers [duplicate]
I integrated $e^x\sinh(x)$ by writing out $\sinh x$ as $\frac{e^x-e^{-x}}{2}$ and multiplying to get $\int$$\frac{e^{2x}-e^{0}}{2}dx$ which comes out to be $\frac{e^{2x}}{4}- \frac{x}{2}$ + C however, ...
0 votes
0 answers
46 views
Integration via Weierstraß substitution and u-substitution on $\int{\dfrac{\cos{x}}{2+\sin{x}}} dx$ yields seemingly different results [duplicate]
I tried finding $\int{\dfrac{\cos{x}}{2+\sin{x}}}dx$ via Weierstraß substitution: $t = \tan{\frac{x}{2}}$ and alternatively via $u = 2 + \sin{x}$. The first approach results in a rational function in $...
1 vote
0 answers
44 views
Ambiguity regarding the solution for $\int \sec^2x\tan x dx$ [duplicate]
I had my first integration test today. There, I met up with a integrand that gives two different functions as a whole. Taking $t=\tan x$:- $$\int \sec^2x\tan x dx = \int t \ dt=\frac{t^2}{2}+C=\frac{\...
53 votes
6 answers
10k views
How can this function have two different antiderivatives?
I'm currently operating with the following integral: $$\int\frac{u'(t)}{(1-u(t))^2} dt$$ But I notice that $$\frac{d}{dt} \frac{u(t)}{1-u(t)} = \frac{u'(t)}{(1-u(t))^2}$$ and $$\frac{d}{dt} \frac{...
9 votes
3 answers
5k views
Two different solutions to integral
Given the very simple integral \begin{equation} \int -\frac{1}{2x} dx \end{equation} The obvious solution is \begin{equation} \int -\frac{1}{2x} dx = -\frac{1}{2} \int \frac{1}{x} dx = -\frac{1}{2} ...
2 votes
3 answers
865 views
Which of these answers is the correct indefinite integral? (Using trig-substitution or $u$-substitution give different answers)
Answers obtained from two online integral calculators: $$\begin{align}\int\dfrac{\sqrt{1 + x}}{\sqrt{1 - x}}\,\mathrm dx &= -\sqrt{\dfrac{x + 1}{1 - x}} + \sqrt{\dfrac{x + 1}{1 - x}}x - 2\arcsin\...
0 votes
4 answers
795 views
Integration by Parts: choosing "$u$" and "$\mathrm{d}v$"
In general, when doing integration by parts, shouldn't you get the same result no matter what "$u$" or "$\mathrm{d}v$" you pick? I understand the strategy for picking "$u$&...
3 votes
2 answers
875 views
Evaluating $\int \cot x \csc^2x \,\mathrm{d}x$ with $u=\cot x$
$\newcommand{\d}{\mathrm{d}}$ Evaluate the integral using the indicated substituion. $$\int \cot x \csc^2x \,\d{x}, \qquad u= \cot x .$$ Differentiating both sides of $u$, then making the ...
1 vote
2 answers
156 views
What's wrong with the integration?
I'm reading Thomas calculus on page 657. There is an integral of a function $$\frac{45}{2000-5t}$$ And I found the integration of $$\frac{45}{2000-5t}$$ is totally different from $$\frac{9}{...
2 votes
2 answers
326 views
$\int \sin( \pi x) \cos( \pi x)\ dx$
I would like some help computing this integral: $$\int \sin(\pi t)\cos(\pi t)dt$$ Apparently, the answer should be $\frac{\sin^2(\pi t)}{2\pi}+C$ but I get $\frac{-\cos(2 \pi t)}{4 \pi}$+C instead. ...
0 votes
3 answers
147 views
Brainfreeze, can't integrate $x-1$
If $f(x)=x-1$, I want to find $$ \int (x-1) \ dx $$. I make a variable substitution z = x-1, dx = dz so it becomes $$ \int z \ dz \\ = \frac{z^2}{2} + C $$. If I now substitute back $z=x-1,$ I get: $$ ...
2 votes
3 answers
250 views
Evaluate $\int\frac{\mathrm{d}x}{(1+x^2)\sqrt{1-x^2}}$
Evaluate $$ \int\frac{\mathrm{d}x}{(1+x^2)\sqrt{1-x^2}}. $$ Set $x=\tan u\implies\mathrm{d}x=\sec^2u\,\mathrm{d}u$. $$ I=\int\frac{\mathrm{d}x}{(1+x^2)\sqrt{1-x^2}}=\int\frac{\sec^2u\,\mathrm{d}u}{\...
0 votes
3 answers
163 views
does $\int{\frac{1}{1+x²}dx}$ have 2 answers?
i know that $\int{\frac{1}{1+x²}dx}=\arctan(x)$ but a colleague showed me that we can do this trick : $$\int{\frac{1}{1+x²}dx}=\int{\frac{1}{(x+i)(x-i)}dx} =\frac{1}{2}i\int{\frac{1}{x+i}}dx-\frac{1}{...
0 votes
2 answers
430 views
Why integration by long division gives different answer than using u substitution? [closed]
So, after solving this question, I got two different answers? and I don't think it's supposed to be this way? Evaluate the integral $$\int \frac{x^2+2}{x+2} dx$$ Using polynomial long division, I ...
1 vote
2 answers
174 views
Correct way to integrate $\int x(x^2-16)dx$
Evaluate: $$\int x(x^2-16)dx$$ I have noticed that this integral can be solved using two different methods, but I am not sure which one is the correct one. Way 1: Using $u$-subtitution Let $u=x^2-16, ...
2 votes
1 answer
271 views
Can one Integral have different solutions based on the algorithm used to solve it?
This is my first post here and I searched the internet for things like "can u substitution yield an invalid result when finding an antiderivative?" and "manual integration and maxima produce different ...
2 votes
2 answers
249 views
What is $\int {\sqrt {1 + 2\sin(x)\cos(x)}dx}$?
I'm having trouble solving this problem. So I got that $\sqrt {1 + 2\sin(x)\cos(x)} = \sqrt{(\sin(x) + \cos(x))^2}$ using the Pythagorean Identity for 1, but then I get $\lvert \sin(x) + \cos(x) \...
1 vote
1 answer
112 views
What is wrong with my two solutions for indefinite integral? Are they the same result?
I have calculated the indefinite integral $\int \frac{-\sin x}{\cos^3x}dx$ by two ways and I get different solutions. First, I substitute $u=\cos x$. Therefore, $$\int \frac{-\sin x}{\cos^3x}dx=\int u^...
0 votes
1 answer
92 views
Why am i getting two different answers for two different ways of solving the integral.
So the Integral is $$\int \frac {dt}{t(t+1)^2}$$ So i thought of it two ways. 1.Substituting $\displaystyle y=\frac 1t$ Solution: $\displaystyle \ln\left|\frac{t}{1+t}\right|-\frac{t}{1+t}$ 2....
1 vote
1 answer
99 views
Why do I get 2 different integral solutions?
So the first is obvious: $$\int \frac{1}{2x+2} dx = \frac{1}{2}\ln(2x+2) + C$$ Now, what if I do something like this: $$\int \frac{1}{2x+2} dx = \int \frac{1}{2(x+1)} dx = (\frac{1}{2}\int \frac{1}{x+...
3 votes
1 answer
89 views
Integrating $\int{\cot^5(x)}dx$ with the substitution $u=\csc x$ seems to give the wrong answer
To take $$\int{\cot^5(x)}dx$$ I substitute $\csc(x)=u$, $du=-\csc(x)\cot(x)dx$ and then it seems like $$du = -u\cot(x)dx \quad\implies\quad \cot(x)dx=-\frac{du}{u} \tag1$$ is it not? but then $$\begin{...
0 votes
1 answer
95 views
Two possible answers of $\int\frac{x}{4x-1}dx$
I have to solve the following ODE $$y'=\frac{xe^{y}}{4x-1}$$ with $y(0)=0$. From the equation, I get $$\int e^{-y}dy=\int\frac{x}{4x-1}dx$$ In the second integral, if $u=4x-1\Rightarrow x=(u+1)/4$ and ...
0 votes
3 answers
40 views
Function different from original by differentiating it and integrating it again. [duplicate]
Let a function be defined $f(x)=sin^4x+cos^4x,$ $x\in R$.Rewriting this, $$f(x)=(sin^2x+cos^2x)^2-2sin^2xcos^2x$$$$\implies f(x)=1-\frac{sin^22x}{2}$$$$\implies \frac{1}{2}\leq f(x)\leq1 $$ However,...
4 votes
0 answers
103 views
Problem expanding $f(x)=x\ln(x+\sqrt{1+x^2})-\sqrt{1+x^2}$ into a power series
So here is my solving process: $$ \begin{split} f(x)=x\ln(x+\sqrt{1+x^2})-\sqrt{1+x^2}&\Rightarrow f'(x)=\ln(x+\sqrt{1+x^2})\\ &\Rightarrow f''(x)=\frac{1}{\sqrt{1+x^2}} \end{split} $$ and ...
0 votes
0 answers
42 views
two ways to compute an integral
One way to compute $\int \frac{dx}{a-x}$ for $a>0$ is $- \int \frac{d(a-x)}{a-x} = - \ln |a-x|$; another way is factoring out the $a$ in the denominator first: $$ \int \frac{\frac{1}{a}}{1 - \frac{...