Evaluate this index Integral containing Trig

Click For Summary

Homework Help Overview

The discussion revolves around evaluating the integral ##B_{ij}=\int_0^1 (1+x) \frac{d \phi_i}{dx} \frac{ d\phi_j}{dx} dx##, where ##\phi_i= \sin(i \pi x)## and ##\phi_j=\sin(j \pi x)##. Participants are specifically focused on the case where ##i=j=1## and are trying to reconcile their calculations with a reference value of ##B_{ij}=\frac{3 \pi^2}{4}##.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants are attempting to compute the integral by substituting the expressions for ##\phi_i## and ##\phi_j## and integrating. There are questions about the validity of substituting values for ##i## and ##j## before or after integration. Some participants express confusion regarding the appearance of a zero in the denominator when substituting ##i=j=1##.

Discussion Status

The discussion is ongoing, with participants providing insights and questioning the steps taken in the calculations. There is no explicit consensus, but some guidance is offered regarding the treatment of the integral when ##i=j##.

Contextual Notes

Participants are grappling with the implications of substituting index values into the integral and the resulting indeterminate forms that arise. The reference solution provided in the book is also a point of contention, as participants seek to understand how it was derived.

bugatti79
Messages
786
Reaction score
4

Homework Statement



Folks Evaluate ##B_{11}## given

##\displaystyle B_{ij}=\int_0^1 (1+x) \frac{d \phi_i}{dx} \frac{ d\phi_j}{dx} dx## where ##\phi_i= sin i \pi x## and ##\phi_j=sin j \pi x##

Homework Equations


The Attempt at a Solution



I calculate ##\displaystyle B_{ij}=\int_0^1 (1+x)[ i \pi \cos(i \pi x))(j \pi \cos(j \pi x)]=ij \pi^2 \int_0^1 (1+x) \left[\frac{1}{2} [\cos(i+j)\pi x+\cos(i-j)\pi x\right ]dx##



##\displaystyle = \frac{ij \pi^{2}}{2} \int_0^1\left [ \cos(i+j) \pi x+\cos(i-j) \pi x +x \cos(i+j) \pi x+x \cos(i-j) \pi x \right ]dx##

Now for the second and last term in the integrand if we substitue ##i=j=1## after integrating we will get a 0 in the denominator ...but the book calculates ##B_{ij}=\frac{3 \pi^2}{4}##

What have I don't wrong?
 
Physics news on Phys.org
bugatti79 said:

Homework Statement



Folks Evaluate ##B_{11}## given

##\displaystyle B_{ij}=\int_0^1 (1+x) \frac{d \phi_i}{dx} \frac{ d\phi_j}{dx} dx## where ##\phi_i= sin i \pi x## and ##\phi_j=sin j \pi x##

Homework Equations


The Attempt at a Solution



I calculate ##\displaystyle B_{ij}=\int_0^1 (1+x)[ i \pi \cos(i \pi x))(j \pi \cos(j \pi x)]=ij \pi^2 \int_0^1 (1+x) \left[\frac{1}{2} [\cos(i+j)\pi x+\cos(i-j)\pi x\right ]dx##



##\displaystyle = \frac{ij \pi^{2}}{2} \int_0^1\left [ \cos(i+j) \pi x+\cos(i-j) \pi x +x \cos(i+j) \pi x+x \cos(i-j) \pi x \right ]dx##

Now for the second and last term in the integrand if we substitute ##i=j=1## after integrating we will get a 0 in the denominator ...but the book calculates ##B_{ij}=\frac{3 \pi^2}{4}##

What have I done wrong?
Did you mean to say "numerator" ?

cos(0) = 1
 
bugatti79 said:

Homework Statement



Folks Evaluate ##B_{11}## given

##\displaystyle B_{ij}=\int_0^1 (1+x) \frac{d \phi_i}{dx} \frac{ d\phi_j}{dx} dx## where ##\phi_i= sin i \pi x## and ##\phi_j=sin j \pi x##

Homework Equations


The Attempt at a Solution



I calculate ##\displaystyle B_{ij}=\int_0^1 (1+x)[ i \pi \cos(i \pi x))(j \pi \cos(j \pi x)]=ij \pi^2 \int_0^1 (1+x) \left[\frac{1}{2} [\cos(i+j)\pi x+\cos(i-j)\pi x\right ]dx##
##\displaystyle = \frac{ij \pi^{2}}{2} \int_0^1\left [ \cos(i+j) \pi x+\cos(i-j) \pi x +x \cos(i+j) \pi x+x \cos(i-j) \pi x \right ]dx##

Now for the second and last term in the integrand if we substitue ##i=j=1## after integrating we will get a 0 in the denominator ...but the book calculates ##B_{ij}=\frac{3 \pi^2}{4}##

What have I don't wrong?

SammyS said:
Did you mean to say "numerator" ?

cos(0) = 1

Well no...looking at the second term ##\displaystyle \int_0^1 \cos(i-j) \pi x dx= \left [\frac{sin(i-j) \pi x}{\pi(i-j)} \right]_0^1## 1 is indeterminate...

I don't know how that answer ##\frac{3 \pi^2}{4}## was evaluated...
 
You can't integrate it like that when i=j. Assume i=j, simplify the integrand, and then integrate.
 
bugatti79 said:
Well no...looking at the second term ##\displaystyle \int_0^1 \cos(i-j) \pi x dx= \left [\frac{sin(i-j) \pi x}{\pi(i-j)} \right]_0^1## 1 is indeterminate...

I don't know how that answer ##\frac{3 \pi^2}{4}## was evaluated...
Well, if i = j then you are integrating cos((0)πx), but cos((0)πx) = 1
 
vela said:
You can't integrate it like that when i=j. Assume i=j, simplify the integrand, and then integrate.

SammyS said:
Well, if i = j then you are integrating cos((0)πx), but cos((0)πx) = 1


Thank you, I thought one has to insert the index values AFTER integration...? Where is the mathematical rule that asserts this?

Cheers
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
3
Views
2K
Replies
1
Views
1K
  • · Replies 34 ·
2
Replies
34
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 20 ·
Replies
20
Views
3K
Replies
3
Views
2K
Replies
3
Views
2K