Integration by parts/partial fractions

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 2K views
nameVoid
Messages
238
Reaction score
0
[tex]\int ln(x^2-x+2)dx[/tex]
[tex]\int ln( (x-\frac{1}{2})^2+\frac{7}{4} )dx[/tex]
[tex]u=x-\frac{1}{2}[/tex]
[tex]\int ln(u^2+\frac{7}{4})du[/tex]
[tex]uln(u^2+\frac{7}{4})-\int\frac{2u^2}{u^2+\frac{7}{4}}du[/tex]
[tex]uln(u^2+\frac{7}{4})-ln|u^2+\frac{7}{4}|+C[/tex]
[tex](x-\frac{1}{2})ln(x^2-x+2)-ln|x^2-x+2|+C[/tex]
 
Physics news on Phys.org
nameVoid said:
[tex]uln(u^2+\frac{7}{4})-\int\frac{2u^2}{u^2+\frac{7}{4}}du[/tex]
[tex]uln(u^2+\frac{7}{4})-ln|u^2+\frac{7}{4}|+C[/tex]

Not quite,

[tex]\int\frac{2u^2}{u^2+\frac{7}{4}}du\neq \ln|u^2+\frac{7}{4}|[/tex]
 
eh,
[tex] -\int \frac{2u^2}{u^2+\frac{7}{4}}du=\int 2-\frac{7}{2(u^2+\frac{7}{4})}du[/tex]
[tex] -2u+\frac{7}{\sqrt{7}}tan^{-1}\frac{2u}{\sqrt{7}}+C[/tex]
[tex] (x-\frac{1}{2})ln(x^2-x+2)-2x+1+\frac{7}{\sqrt{7}}tan^-1\frac{2x-1}{\sqrt{7}}[/tex]
 
nameVoid said:
[tex] (x-\frac{1}{2})ln(x^2-x+2)-2x+1+\frac{7}{\sqrt{7}}tan^-1\frac{2x-1}{\sqrt{7}}[/tex]

That looks more or less correct.:approve: You are, of course, missing a constant of integration here, and since 1 is also a constant you might as well absorb it into the integration constant and write it as

[tex]\int \ln\left(x^2-x+2\right)dx=\left(x-\frac{1}{2}\right)\ln\left(x^2-x+2\right)-2x+\sqrt{7}\tan^{-1}\left(\frac{2x-1}{\sqrt{7}}\right)+C[/tex]