Integration by substitution: Can I treat this as constant

Click For Summary

Discussion Overview

The discussion revolves around the computation of an integral involving a non-linear mapping function, specifically addressing the use of substitution and the treatment of derivatives as constants. Participants explore the implications of these choices on the integration process, considering Taylor series expansion and quadrature methods.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant questions whether the derivative t'(x, θ) can be treated as a constant during integration, noting its dependence on θ.
  • Another participant suggests inverting the relationship to express everything as a function of w, indicating that t'(x, θ) is generally not constant.
  • Concerns are raised about using Taylor series within the integral, particularly regarding the integration over all possible values of θ and the implications of truncating the series.
  • Discussion includes the idea of expanding around small values of θ if the integration is limited to a small region, while cautioning against neglecting higher-order terms without justification.
  • A participant introduces the concept of quadrature-based integration and inquires about its applicability to the problem at hand.
  • Another participant emphasizes the difficulty of approximating the integral without an explicit expression for the mapping function t, noting that the behavior of t' could significantly affect the choice of integration method.
  • There is a suggestion to assume that t varies slowly, which could potentially aid in the integration, although this remains speculative without further information about t.
  • One participant expresses uncertainty about what is meant by "solving the integral" given the lack of an explicit expression for t.

Areas of Agreement / Disagreement

Participants generally agree on the complexity of the integral due to the non-linear mapping and the challenges posed by the dependence of t' on θ. However, there are multiple competing views on how to approach the integration, particularly regarding the use of Taylor series and the assumptions about the behavior of t.

Contextual Notes

Limitations include the lack of an explicit expression for the mapping function t, which affects the ability to determine suitable methods for integration. The discussion also highlights the dependence of results on the range of integration and the behavior of t.

pamparana
Messages
123
Reaction score
0
I am trying to compute the following integral:

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

w = y - t(x, \theta)

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

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

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

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

Can I treat t^{'}(x, \theta) as a constant? My instinct tells me no as there is a relationship between w and \theta given by this function t, but I just wanted to make sure.
 
Physics news on Phys.org
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   Reactions: 1 person
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!
 
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   Reactions: 1 person
Thanks for that. However, at least in this problem, x is a constant. So, I am interested in expansion in the \theta. 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?
 
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   Reactions: 1 person
That is a good point. Thank you for pointing that out. I will need to think about this.
 
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!
 
From your post I don't understand if you have an explicit expression for t. If so, what is that?
 
  • #10
t 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 t varies slowly, if this could help with this integration in some way. So, I can assume that t 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   Reactions: 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.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K