Change of Variable issue with Integration

In summary: The correct solution should be:In summary, the given equation is I = \frac{a}{2} \int_{-a/2}^{a/2} x sin^{2}\left[ \pi (\frac{x}{a}-\frac{1}{2})\right] dx. After substituting y = \frac{x}{a}-\frac{1}{2} and dy = dx/a, the new integral should be I = {a} \int_{-1}^{0} (2y+1) sin^{2}\left[ \pi y\right] dy. However, due to an error in the book, the correct integral is I = \frac{a}{2} \int
  • #1
dimensionless
462
1
I have the following equation:

[tex]
I = \frac{a}{2} \int_{-a/2}^{a/2} x sin^{2}\left[ \pi (\frac{x}{a}-\frac{1}{2})\right], dx
[/tex]

I have set

[tex]
y= \frac{x}{a}-\frac{1}{2}
[/tex]

and

[tex]
dy = dx/a
[/tex]

When I substitute the two latter equations into the first equation I should get this:

[tex]
I = {a} \int_{-1}^{0} (2y+1) sin^{2}\left[ \pi y\right], dy
[/tex]

For some reason I get this instead:

[tex]
I = \frac{a}{2} \int_{-1}^{0} (y+\frac{1}{2}) sin^{2}\left[ \pi y\right], dy
[/tex]

I'm off by a factor of four. What am I doing wrong?
 
Last edited:
Physics news on Phys.org
  • #2
It looks like you substitued y = x/a + 1/2 in the integral, and used x/a - 1/2 to determine the new limits of integration.

[tex]
I = \frac{a}{2} \int_{-a/2}^{a/2} x sin^{2}\left[ \pi (\frac{x}{a}+\frac{1}{2})\right], dx
[/tex]

Or should have this been

[tex]
I = \frac{a}{2} \int_{-a/2}^{a/2} x sin^{2}\left[ \pi (\frac{x}{a}-\frac{1}{2})\right], dx
[/tex]
 
  • #3
The given equation should have been

[tex]
I = \frac{a}{2} \int_{-a/2}^{a/2} x sin^{2}\left[ \pi (\frac{x}{a}-\frac{1}{2})\right] dx
[/tex]

I have corrected this in the initial post.

Unfortunately I'm still stuck same answer (and this answer does not match the one in my book).
 
  • #4
If [tex]y= \frac{x}{a}-\frac{1}{2}[/tex] then [tex]x = a(y + \frac{1}{2})[/tex]

and

[tex]dx = ady [/tex]

So we get for the integral

[tex] I = \frac{a}{2} \int_{-1}^{0} a(y + \frac{1}{2}) sin^{2}\left[ \pi y \right] ady [/tex]

marlon
 
  • #5
Well, this book does have some errors in it.
 

FAQ: Change of Variable issue with Integration

What is a change of variable in integration?

A change of variable in integration is a technique used to simplify and solve integrals by substituting a new variable for the existing one. This allows for more complicated integrals to be solved using simpler techniques.

Why is a change of variable useful in integration?

A change of variable can be useful in integration because it can transform a difficult integral into a simpler one. This makes it easier to evaluate and can lead to a more efficient solution.

How do you choose the appropriate variable to substitute in a change of variable?

The appropriate variable to substitute in a change of variable is typically chosen based on the structure of the integral. The goal is to find a substitution that will simplify the integral, so it is important to look for patterns and relationships between the existing variable and the desired substitution.

What are the common mistakes to avoid when using a change of variable in integration?

One common mistake when using a change of variable in integration is forgetting to change the limits of integration. It is important to also pay attention to the differential, as it may change when substituting a new variable. Another mistake is choosing a substitution that does not simplify the integral, which defeats the purpose of using this technique.

Can a change of variable be used for all integrals?

No, a change of variable may not always be applicable or necessary for solving an integral. It is important to consider if the substitution will actually simplify the integral before using this technique. In some cases, other integration techniques may be more appropriate.

Back
Top