Integration by substitution: Can I treat this as constant

In summary, the problem is that the function t is extremely nonlinear and very under-determined, so it is hard to approximate the integral.
  • #1
pamparana
128
0
I am trying to compute the following integral:

[itex]\int \exp^{w^T \Lambda w}\, d\theta[/itex] where [itex]\Lambda[/itex] is a constant wrt [itex]\theta[/itex]

[itex]w = y - t(x, \theta)[/itex]

So, I am trying to use substitution and I have:

[itex]d\theta = \frac{-dw}{t^{'}(x, \theta)}[/itex]

So, substituting it, I have the following integral to compute:

[itex]\int \frac{exp^{w^T \Lambda w}\, dw}{t^{'}(x, \theta)}[/itex]

Can I treat [itex]t^{'}(x, \theta)[/itex] as a constant? My instinct tells me no as there is a relationship between [itex]w[/itex] and [itex]\theta[/itex] given by this function [itex]t[/itex], but I just wanted to make sure.
 
Physics news on Phys.org
  • #2
I don't think so. As you can see t'(x,θ) still depends on θ, while your integration variable is now w. What you need to do is to invert the relation and express everything as a function of w. In general this won't be a constant.
 
  • Like
Likes 1 person
  • #3
Thank you. That is what i thought. Unfortunately, it is not easy to invert this function. I will need to think in terms of linearisation with Taylor series or something...

Thanks!
 
  • #4
Be careful when using Taylor series inside an integral. Keep in mind that you are integrating over all the possible values of θ and so you can never truncate a series in θ. What you can do is, for example, Taylor expand in x, if it is small, since you are not integrating over it.
 
  • Like
Likes 1 person
  • #5
Thanks for that. However, at least in this problem, x is a constant. So, I am interested in expansion in the [itex]\theta[/itex]. However, I thought this was the standard way to deal with such non-linear terms, otherwise I am not sure what can be done. As long as I am expanding close to the point of interest, I thought I should be able to avoid these higher order terms without the accuracy suffer too much?
 
  • #6
It strongly depends on what are your boundaries for the integration. If for example, θ is integrated from -∞ to +∞ then you can't really say what higher order terms are negligible since θ range from arbitrarily small values to arbitrarily large ones.
On the other hand if, for example, θ is only integrated over a small region around zero, depending on how large is this region, you could maybe expand around small values of θ.

I recommend extra caution when doing Taylor expansion inside an integral.
 
  • Like
Likes 1 person
  • #7
That is a good point. Thank you for pointing that out. I will need to think about this.
 
  • #8
I was just reading a bit about this quadrature based integration and I was wondering if that can somehow be applied to this case? I am afraid I do not know much about it but was wondering if this is something worth looking into.

Any suggestions on how to approach this problem would be very appreciated!
 
  • #9
From your post I don't understand if you have an explicit expression for t. If so, what is that?
 
  • #10
[itex]t[/itex] is some non-linear mapping between the space of x and y. They do not necessarily have a parametric form though I can probably find some parametric representation for this mapping in terms of splines or something. However, in general I do not have an explicit expression for it.

Just to give a background, I am working in image analysis and x and y are observed images. t is the non-linear mapping that takes one from space of x to the space of y.
 
  • #11
Well, if you don't know what the expression for t is then it's pretty hard to tell whether or not you can use a certain method to approximate your integral or not. The most suitable method could depend, for example, if t' is varying fast or slowly, if it is peaked at some particular value and so on. Without any such information you can't clearly solve the integral.
 
  • #12
Yes, typically each 3D point in the space of image x is moving to another 3D point in the space of image y. The problem is regularised in some way but the function is still highly non linear with many local minima possible and quite severely under-determined. So, I guess I am a bit stuck here.
 
  • #13
I was wondering if I can assume that [itex]t[/itex] varies slowly, if this could help with this integration in some way. So, I can assume that [itex]t[/itex] is a smoothly changing function and can be differentiated infinitely even. Would that help in solving this integral?
 
  • #14
What I honestly don't understand is what you mean by "solving the integral". Since you don't exactly know the expression for t you can't solve the integral, you will alway have to figure out what t is, even if you can use some of its properties.
 
  • Like
Likes 1 person
  • #15
I will start a new thread about this as things will get confused perhaps. I will try and generate an expression for t using some interpolation function.
 

Related to Integration by substitution: Can I treat this as constant

1. Can I use integration by substitution even if the variable is not explicitly mentioned?

Yes, you can still use integration by substitution as long as the variable can be expressed in terms of another variable within the integrand.

2. What is the purpose of substitution in integration?

The purpose of substitution is to simplify the integrand by replacing the original variable with a new one, making it easier to integrate.

3. Do I always need to use integration by substitution?

No, integration by substitution is only necessary when the integrand contains a function that can be expressed in terms of another variable.

4. What should I look for when deciding to use integration by substitution?

You should look for a function within the integrand that can be expressed as a derivative of another function, as this will make substitution possible.

5. How do I know if I have chosen the correct substitution?

You can check if you have chosen the correct substitution by differentiating the new variable and substituting it back into the integrand. If the original integrand is obtained, then the substitution is correct.

Similar threads

Replies
3
Views
1K
  • Calculus
Replies
8
Views
280
Replies
2
Views
360
  • Calculus
Replies
6
Views
1K
  • Calculus
Replies
7
Views
1K
Replies
4
Views
462
Replies
16
Views
1K
Replies
8
Views
497
  • Calculus
Replies
6
Views
1K
Back
Top