Variable substititon

Arkimedes

New member
Joined
Nov 25, 2018
Messages
8
When integrating

0L4sin2(πxL)dx\displaystyle \int_{0}^{\frac{L}{4}}sin^2(\pi \frac{x}{L}) dx

And making the variable substitution θ=πxL\displaystyle \theta=\pi \frac{x}{L} we get the integral

0π4sin2(θ)dθ\displaystyle \int_{0}^{\frac{\pi}{4}}sin^2(\theta) d\theta

But I don't understand why L4\displaystyle \frac{L}{4} becomes π4\displaystyle \frac{\pi}{4} ?
 
When integrating

0L4sin2(πxL)dx\displaystyle \int_{0}^{\frac{L}{4}}sin^2(\pi \frac{x}{L}) dx

And making the variable substitution θ=πxL\displaystyle \theta=\pi \frac{x}{L} we get the integral

0π4sin2(θ)dθ\displaystyle \int_{0}^{\frac{\pi}{4}}sin^2(\theta) d\theta

But I don't understand why L4\displaystyle \frac{L}{4} becomes π4\displaystyle \frac{\pi}{4} ?

According to the substitution

when x = L/4

θ=πL4L\displaystyle \theta=\pi \dfrac{\frac{L}{4}}{L}
 
Ok great! I then just wonder, if we add 2L\displaystyle \frac{2}{L} to the integral, so it becomes:

0L42Lsin2(πxL)dx\displaystyle \int_{0}^{\frac{L}{4}}\frac{2}{L}sin^2(\pi \frac{x}{L}) dx

And making the same variable substitution, how do you know how to substitute the the expression 2L\displaystyle \frac{2}{L} ?
 
When integrating

0L4sin2(πxL)dx\displaystyle \int_{0}^{\frac{L}{4}}sin^2(\pi \frac{x}{L}) dx

And making the variable substitution θ=πxL\displaystyle \theta=\pi \frac{x}{L} we get the integral

0π4sin2(θ)dθ\displaystyle \int_{0}^{\frac{\pi}{4}}sin^2(\theta) d\theta

But I don't understand why L4\displaystyle \frac{L}{4} becomes π4\displaystyle \frac{\pi}{4} ?
You also do not understand why the lower limit 0 becomes 0

θ=πxL\displaystyle \theta=\pi \frac{x}{L} so instead of the angle being πxL\displaystyle \pi \frac{x}{L} it is just θ\displaystyle \theta. But what about dx? Why does it become dθ\displaystyle \theta???? It is true that dθ\displaystyle \theta=piL\displaystyle \frac{pi}{L}dx. Now solve this for dx.

The answer to your question: when x = L4\displaystyle \frac{L}{4}, θ\displaystyle \theta = π4\displaystyle \frac{\pi}{4} AND when x=0, θ\displaystyle \theta = 0
 
Ok great! I then just wonder, if we add 2L\displaystyle \frac{2}{L} to the integral, so it becomes:

0L42Lsin2(πxL)dx\displaystyle \int_{0}^{\frac{L}{4}}\frac{2}{L}sin^2(\pi \frac{x}{L}) dx

And making the same variable substitution, how do you know how to substitute the the expression 2L\displaystyle \frac{2}{L} ?
2L\displaystyle \frac{2}{L} is not a function of 'x'. So it is not affected by the substitution for 'x'. So 2L\displaystyle \frac{2}{L} remains as 2L\displaystyle \frac{2}{L}.
 
2L\displaystyle \frac{2}{L} is not a function of 'x'. So it is not affected by the substitution for 'x'. So 2L\displaystyle \frac{2}{L} remains as 2L\displaystyle \frac{2}{L}.
What you are saying sounds like it's making sense to me but I actually took this example from a textbook. And there they also change 2L\displaystyle \frac{2}{L}, it doesn't remain the same. I copied the steps in the image below:

mat2.png

I don't understand why 2L\displaystyle \frac{2}{L} becomes 2π\displaystyle \frac{2}{\pi}. Please explain why this happens???
 

Attachments

  • mat.jpg
    mat.jpg
    11.7 KB · Views: 1
This example is actually from my textbook:

mat2.png

As you can see, for some reason 2/L became 2/pi. I understand why the integration interval changes now but Why does 2/L change to 2/pi ???
 
This example is actually from my textbook:

View attachment 10553

As you can see, for some reason 2/L became 2/pi. I understand why the integration interval changes now but Why does 2/L change to 2/pi ???
You need to work with the expression altogether!!!

Substitute:

θ=πxL\displaystyle \theta = \frac{\pi x}{L}

dθ=πLdx\displaystyle d\theta = \frac{\pi}{L}dx

dx=Lπdθ\displaystyle dx = \frac{L}{\pi}d\theta

Then

2Lsin2πxLdx\displaystyle \displaystyle{\frac{2}{L}sin^2\frac{\pi x}{L}dx}

=2Lsin2θdx\displaystyle \displaystyle{= \frac{2}{L}sin^2\theta dx} ........ now substitute for "dx"

=2Lsin2θ[Lπdθ]\displaystyle \displaystyle{= \frac{2}{L}sin^2\theta [\frac{L}{\pi}d\theta}]

=2LLπsin2θ[dθ]\displaystyle \displaystyle{= \frac{2}{L}\frac{L}{\pi}sin^2\theta [d\theta}] .... continue....
 
Top