Finding the Correct Solution to an Integral in Quantum Mechanics

Click For Summary

Homework Help Overview

The discussion revolves around evaluating a definite integral related to quantum mechanics, specifically involving the integral of a product of sine and hyperbolic cosine functions. Participants are comparing their results with a reference text, "Quantum Mechanics Demystified," to determine the correctness of their solutions.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants are attempting to evaluate the integral and have shared their results. They question the accuracy of their computations compared to the reference text. Some suggest checking for errors in their work and considering the implications of differentiating their results.

Discussion Status

There is ongoing exploration of the integral's evaluation, with participants actively comparing their results and questioning the correctness of the reference solution. Some guidance has been offered regarding checking work through differentiation, although the nature of the definite integral complicates this approach.

Contextual Notes

Participants have noted discrepancies in the formulation of the hyperbolic cosine function in their attempts, which may affect their results. There is also mention of specific values of n impacting the sine function's evaluation.

jbowers9
Messages
85
Reaction score
1

Homework Statement


I recently tried to do the following integral:
an = ∫√(2/a) sin(n∏x/a) cosh(x) dx
x=0 to x=a

Homework Equations


an = ∫√(2/a) sin(βx) cosh(x) dx
β = n∏/a
sin(βx) = ½i(eiβx – e-iβx)
cosh(x) = ½(ex + e-x)

The Attempt at a Solution



an = ¼ i √(2/a)∫ (eiβx – e-iβx) (ex + e-x)

after all is said and done, I get;

an = √(2/a)[(a2sin(n∏)sinh(a) – acos(n∏)cosh(a) + n∏a)/(n22 + a2)]


The text, “Quantum Mechanics Demystified”, however, gets;

an = √(2/a)[a(n∏cos(n∏)cosh(a) + sin(n∏)sinh(a))/( n22 + a2)]

Which is correct? And why?


 
Last edited:
Physics news on Phys.org
jbowers9 said:

Homework Statement


I recently tried to do the following integral:
an = ∫√(2/a) sin(n∏x/a) cosh(x) dx
x=0 to x=a

Homework Equations


an = ∫√(2/a) sin(βx) cosh(x) dx
β = n∏/a
sin(βx) = ½i(eiβx – e-iβx)
cosh(x) = ½(ex – e-x)

The Attempt at a Solution



an = ¼ i √(2/a)∫ (eiβx – e-iβx) (ex – e-x)

after all is said and done, I get;

an = √(2/a)[(a2sin(n∏)sinh(a) – acos(n∏)cosh(a) + n∏a)/(n22 + a2)]


The text, “Quantum Mechanics Demystified”, however, gets;

an = √(2/a)[a(n∏cos(n∏)cosh(a) + sin(n∏)sinh(a))/( n22 + a2)]

Which is correct? And why?

Your approach is the one I would take, so here is what I would do:

Check your work to see if you can find any errors.
Take the derivative of your result. Do you get the integrand?
Take the derivative of the book's result. Do you get the integrand?
If the answers to both questions are yes, the two antiderivatives are equal or differ by a constant.
If one answer is yes and the other is no, the result from the "yes" answer is almost surely correct and the other is incorrect. It's even possible that the answer in the book is wrong.
 
jbowers9 said:

Homework Statement


I recently tried to do the following integral:
an = ∫√(2/a) sin(n∏x/a) cosh(x) dx
x=0 to x=a

The Attempt at a Solution



I get;

an = √(2/a)[(a2sin(n∏)sinh(a) – acos(n∏)cosh(a) + n∏a)/(n22 + a2)]

If you've written the Integral correctly, then your solution is closer than the one from the text; it should have an aSin(...) term instead of an a2Sin(...)...Of course, if n is an integer then the sin (n*pi) term is zero and cos(n*pi)=(-1)n.

So, are you sure you are evaluating the correct integral?
 
Mark44 said:
Your approach is the one I would take, so here is what I would do:

Check your work to see if you can find any errors.
Take the derivative of your result. Do you get the integrand?
Take the derivative of the book's result. Do you get the integrand?
If the answers to both questions are yes, the two antiderivatives are equal or differ by a constant.
If one answer is yes and the other is no, the result from the "yes" answer is almost surely correct and the other is incorrect. It's even possible that the answer in the book is wrong.

Usually these are good strategies for checking a solution, but in this case the integral is a definite integral, so differentiating the textbook's solution will naturally give zero.
 
I made an error transcribing the above and corrected the cosh(x) term. I've redone it 3 times and still get my results.
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
Replies
2
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K