• Support PF! Buy your school textbooks, materials and every day products via PF Here!

Very quick and easy question about integrating and completing the square

  • Thread starter twisted079
  • Start date
25
1
1. Homework Statement

The problem could be any variation of dx/(x2-2x)

2. Homework Equations

∫dx/x2-a2 = 1/2a ln ((x-a)/(x+a)) + C

3. The Attempt at a Solution

I understand the answer to be 1/2 ln ((x-2)/x) + C

My question is why is it just x on the bottom in the solution? Shouldnt it be x+2 since the equation states "x+a"? Similar to the way it is x-2 on the top which makes sense since the formula states "x-a". Any help is greatly appreciated.
 
32,766
4,472
1. Homework Statement

The problem could be any variation of dx/(x2-2x)

2. Homework Equations

∫dx/x2-a2 = 1/2a ln ((x-a)/(x+a)) + C
This integration formula isn't directly relevant to your problem. In this formula, the denominator is a difference of squares. In your problem, you don't have a difference of squares.

You could manipulate your denominator to get a difference of squares, since
x2 - 2x = x2 - 2x + 1 - 1 = (x - 1)2 = 1.
3. The Attempt at a Solution

I understand the answer to be 1/2 ln ((x-2)/x) + C

My question is why is it just x on the bottom in the solution? Shouldnt it be x+2 since the equation states "x+a"? Similar to the way it is x-2 on the top which makes sense since the formula states "x-a". Any help is greatly appreciated.
 
25
1
Ah yes, I overlooked the minor details. Thank you.
 

Related Threads for: Very quick and easy question about integrating and completing the square

Replies
1
Views
1K
Replies
7
Views
920
Replies
6
Views
6K
  • Posted
Replies
3
Views
2K
Replies
5
Views
4K
Replies
1
Views
2K
Replies
3
Views
954
Replies
1
Views
1K

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving
Top