Evaluating a Complicated Integral; why is this method incorrect?

  • Thread starter Thread starter AmagicalFishy
  • Start date Start date
  • Tags Tags
    Integral Method
Click For Summary
SUMMARY

The discussion centers on the evaluation of the integral derived from the differential equation \(\frac{dP}{dt} = kP(Q-P)\). The user attempts to solve the integral using a substitution method involving the arctangent function, specifically \(\int \frac{1}{x^2 + a^2} = \frac{1}{a} \arctan\left(\frac{x}{a}\right)\). However, the user realizes that their approach is flawed due to a sign error in the completion of the square, which invalidates the entire substitution process. The key takeaway is the importance of correctly applying algebraic manipulations when solving integrals.

PREREQUISITES
  • Understanding of ordinary differential equations (ODEs)
  • Familiarity with integration techniques, specifically arctangent integrals
  • Knowledge of algebraic manipulation, particularly completing the square
  • Experience with substitution methods in calculus
NEXT STEPS
  • Review the method of completing the square in algebra
  • Study the properties and applications of the arctangent function in integration
  • Practice solving ordinary differential equations using various methods
  • Explore common pitfalls in integral evaluation and how to avoid them
USEFUL FOR

Students studying calculus, particularly those focusing on differential equations and integral evaluation, as well as educators looking for examples of common mistakes in mathematical problem-solving.

AmagicalFishy
Messages
50
Reaction score
1

Homework Statement


Solve (k and Q are constants):
\frac{dP}{dt} = kP(Q-P)

Homework Equations


∫\frac{1}{x^2 + a^2} = \frac{1}{a} arctan(\frac{x}{a})
Where "a" is a constant.

The Attempt at a Solution


Ok, none of this seems relevant to evaluating a complicated integral, but that differential problem is what gave rise to my question. I know how to solve it (and solve the associated integral using partial fractions), but I don't know why my uh... adventurous method of solving the integral is wrong. This is about solving an integral, not the ODE. :)

It's frequently the case that I understand one way of solving a problem, but don't understand why solving it another way is incorrect. If I can't differentiate between the correct and incorrect ways, then I'm not getting anywhere.

\frac{dP}{dt} = kP(Q-P) \\<br /> \frac{dP}{dt} = k(PQ-P^2) \\<br /> \frac{dP}{dt} + \frac{kQ^2}{4}= k(PQ-P^2 +\frac{Q^2}{4}) \text{—Completing the Square}\\<br /> \frac{dP}{dt} = k(P-\frac{Q}{2})^2 - \frac{kQ^2}{4} \\<br /> \frac{1}{k(P-\frac{Q}{2})^2 - \frac{kQ^2}{4}} dP = dt \\<br /> \frac{1}{\sqrt(k)^2(P-\frac{Q}{2})^2 - \frac{\sqrt{k}^2Q^2}{4}} dP = dt \\<br /> (1) = \frac{1}{[\sqrt(k)(P-\frac{Q}{2})]^2 - [\frac{\sqrt{k}Q}{2}]^2} dP = dt \\<br /> <br /> \text{Let:} \\<br /> \sqrt(k)(P-\frac{Q}{2}) = x \\<br /> - [\frac{\sqrt{k}Q}{2}] = a\\<br /> \frac{dx}{\sqrt(k)-\frac{Q}{2}} = dP \\<br /> \\<br /> \text{Then:} \\<br /> (1) = \frac{1}{\sqrt(k)-\frac{Q}{2}}\frac{1}{x^2 + a^2} dx = dt \\<br /> \frac{1}{\sqrt(k)-\frac{Q}{2}}∫\frac{1}{x^2 + a^2} dx = ∫dt<br />

When you integrate both sides, you use the above arctangent equation and replace "x" and "a" respectively. In the above substitution, "a" is a constant and "x" is the variable.

Algebraically, this all seems correct to me. I'm not worried about the answer to the differential equation—I'd like to know why evaluating that integral is incorrect. This is what I used to check whether or not this fruits the correct answer. If it had, Wolfram would say, simply, "True".

I think it has something to do with the substitution of "a" having a negative, where a sign issue invalidates everything, but I'd like to confirm that here.

Thanks for looking it through, anyone who does.
 
Physics news on Phys.org
AmagicalFishy said:
\frac{dP}{dt} = kP(Q-P) \\<br /> \frac{dP}{dt} = k(PQ-P^2) \\<br /> \frac{dP}{dt} + \frac{kQ^2}{4}= k(PQ-P^2 +\frac{Q^2}{4}) \text{—Completing the Square}

Except, that does not complete the square. You have a sign wrong for that.
 
...

... mother f#&@

ffffffuuuuuuuu.png


Thanks, dude. I just... ugh. :l
 

Similar threads

Replies
4
Views
2K
  • · Replies 105 ·
4
Replies
105
Views
11K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 25 ·
Replies
25
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
4
Views
3K
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K