Integration w/ trig. substitution (x^2 + 1) / (x^2 - 2x + 2)^2

Click For Summary
SUMMARY

The integral discussed is \int \frac{x^2 + 1}{(x^2 - 2x + 2)^2}dx, which involves trigonometric substitution using tan(\Theta) = x - 1. The solution process leads to the expression \frac{3}{2}arctan(x-1) + \frac{2x^2-3x+1}{2(x^2-2x+2)} + C. A discrepancy arises when compared to WolframAlpha's output, which simplifies to - \frac{3}{2}arctan(1-x) + \frac{x-3}{2(x^2-2x+2)} + C. The difference in the second term is attributed to the constant of integration adjustment.

PREREQUISITES
  • Understanding of trigonometric substitution in integrals
  • Familiarity with the arctangent function and its properties
  • Knowledge of integral calculus, specifically integration techniques
  • Experience with symbolic computation tools like WolframAlpha
NEXT STEPS
  • Study trigonometric substitution techniques in integral calculus
  • Learn about the properties and applications of the arctangent function
  • Explore the use of WolframAlpha for verifying integral solutions
  • Review the concept of adjusting constants in integration to achieve proper fractions
USEFUL FOR

Students and educators in calculus, particularly those focusing on integration techniques, as well as anyone using computational tools for solving integrals.

SpicyPepper
Messages
20
Reaction score
0
Another even numbered problem in my book, so no textbook answer. I checked it in WolframAlpha(WA), but the answer came out slightly different. Hopefully no typos in this writeup.

Homework Statement


\int \frac{x^2 + 1}{(x^2 - 2x + 2)^2}dx

Homework Equations


I factor the denominator:
(x^2 - 2x + 2) = (x - 1)^2 + 1

Some potential trig. substitution:
tan(\Theta) = x - 1
x = tan(\Theta) + 1
dx = sec^2(\Theta)d\Theta
(x - 1)^2 + 1 = sec^2(\Theta)

The Attempt at a Solution


= \int \frac{x^2 + 1}{((x - 1)^2 + 1)^2}dx

= \int \frac{(tan^2(\Theta) + 2tan(\Theta) + 1) + 1}{(sec^2(\Theta))^2} sec^2(\Theta)d\Theta

= \int sin^2(\Theta)d\Theta + 2\int sin(\Theta)cos(\Theta)d\Theta + 2\int cos^2(\Theta)d\Theta

= \frac{1}{2}\int (1 - cos(2\Theta))d\Theta + 2 \int sin(\Theta)cos(\Theta)d\Theta + 2 \int 1/2(1 + cos(2\Theta))d\Theta

= \frac{1}{2}\Theta - \frac{1}{4}sin(2\Theta) + sin^2(\Theta) + \Theta + \frac{1}{2}sin(2\Theta) + C

= \frac{3}{2}arctan(x-1) + \frac{1}{4}2sin(\Theta)cos(\Theta) + sin^2(\Theta) + C

= \frac{3}{2}arctan(x-1) + (\frac{1}{2})(\frac{x-1}{\sqrt{x^2-2x+2}})(\frac{1}{\sqrt{x^2-2x+2}}) + \frac{(x-1)^2}{x^2-2x+2} + C

= \frac{3}{2}arctan(x-1) + \frac{2x^2-3x+1}{2(x^2-2x+2)} + C

However, plugging it into WA, the answer it spits out is:

= -\frac{3}{2}arctan(1-x) + \frac{x-3}{2(x^2-2x+2)} + C

I get the 1st term is the same thing, but in the 2nd term, I ended up with 2x^2-3x+1 instead of just x-3. Anyone see a misstep?

I looked through the steps of WA, but I'm not really familiar with what it's saying.
 
Last edited:
Physics news on Phys.org
Hi SpicyPepper! :smile:
SpicyPepper said:
= \frac{3}{2}arctan(x-1) + \frac{2x^2-3x+1}{2(x^2-2x+2)} + C

However, plugging it into WA, the answer it spits out is:

= -\frac{3}{2}arctan(1-x) + \frac{x-3}{2(x^2-2x+2)} + C

I get the 1st term is the same thing, but in the 2nd term, I ended up with 2x^2-3x+1 instead of just x-3. Anyone see a misstep?

No, the book's C is your C plus one …

always adjust the constant of integration so as to make any fraction a "proper" one. :wink:
 
why is it always so obvious after the fact :p

thx
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 20 ·
Replies
20
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 19 ·
Replies
19
Views
2K
Replies
3
Views
2K
Replies
2
Views
1K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K