Evaluate: int(dx/x^{2}-4x+5)
I mean:\[\int\limits(dx/x^{2}-4x+5)\]
you can also write this like \[\int\limits (1/x^2-4x+5)dx\]
\[\int\limits(\frac{ 1 }{ x^2 }-4x+5)dx=-\frac{ 1 }{ x }-2x^2+5x\]
sorry + C cant forget the constant 'C' since this is an indefinite integral
please clear step 2: (-1/x-2x^2+5x)
did this help @bittuaryan ?
@sjerman1 How (1/(x^2−4x+5)) is change to ((1/x^2)−4x+5).
haha well you need to specify with parentheses because i thought only the first term was 1/x^2 ...
well then in this case since x^2-4x+5 can not be factored we can complete the square to get something that can be used
atan(-2+x) is the answer
after completing the square we get 1/(x-2)^2+1
use u-sub for x-2 and get 1/(u^2+1)
\[x ^{2}-4x+5=(x-5)(x+1)\]
sjerman1 is correct
we know that 1/u^2+1 is arctan so arctan(u)
then just plug in u=x-2
atan(x-2)
I verified in matlab. good job.
and @fmg78360 has the answer -> arctan(x-2)
I cheated you did the actual work
we all did good here. and now we know how to do it!
did you mean: \[\int\limits \frac{ dx }{ x^2-4x+5 }\]
yes, @abb0t he did, but i didn't catch that in the beginning.
Use partial fraction decomposition to solve the integral: \[\int\limits\limits \frac{ 1 }{ x^2-4x+5 }dx \neq \int\limits\limits \frac{ 1 }{ (x-5)(x+1) }\]
or you can use completing the square like i did
The integral was solved using the arctan integral identity.
I didn't see. But complete the square works.
Join our real-time social learning platform and learn together with your friends!