Integrating a product of two functions - one lags the other

Click For Summary
SUMMARY

The discussion centers on integrating a product of functions where one function lags the other, specifically the integral \int\limits_{x1}^{x2} x^2\left(x-a\right)^2\,dx. The user seeks a method to perform this integration without expanding the brackets, which is crucial for maintaining numerical stability and efficiency. The integral involves Bernstein basis polynomials represented as Bx_{k1}^{n1}(tx1(x))Bx_{k2}^{n2}(tx2(x)), with specific functions tx1 and tx2 defined. The user proposes using nested integration by parts as a potential solution, leveraging the properties of Bernstein polynomials.

PREREQUISITES
  • Understanding of integral calculus and integration techniques
  • Familiarity with Bernstein basis polynomials
  • Knowledge of numerical stability in mathematical computations
  • Experience with integration by parts method
NEXT STEPS
  • Research the properties and applications of Bernstein basis polynomials
  • Study the integration by parts technique in depth
  • Explore numerical methods for integrating complex functions
  • Investigate alternative approaches to avoid expanding brackets in integrals
USEFUL FOR

Mathematicians, engineers, and computational scientists involved in numerical integration, particularly those working with Bernstein polynomials and seeking efficient integration methods.

KOBES
Messages
2
Reaction score
0
Integrating a product of two functions - one "lags" the other

I am wondering if there is a way to integrate the following function without first expanding the brackets:

\int\limits_{x1}^{x2} x^2\left(x-a\right)^2\,dx

The idea behind the question is a bit more complex than I am letting on, but this example gets to the heart of the problem.

____________________________________________________________________________

For the interested reader I will give a bit more background; I am really trying to do the following integral:

\int\limits_{x1}^{x2} Bx_{k1}^{n1}(tx1(x))Bx_{k2}^{n2}(tx2(x))\,dx

where the functions tx1 and tx2 return values ranging from [0,1] over the domain to be integrated. Actually, I can just tell you what they are.

tx1=\frac{250x}{21}-\frac{5}{7} and tx2=\frac{250x}{21} while x_1=0.06 and x_2=0.084

The Bx functions are Bernstein basis polynomials. In the above example, I have used the "square" function instead.

Note that I can solve this problem by converting the Bernstein polynomials to the power basis (this is akin to expanding the brackets in the original question). However, I am trying to avoid doing this for reasons of numerical stability and efficiency.
 
Physics news on Phys.org
I just had a thought... it seems to me that a nested integration by parts might work. The idea came to me by looking at the "simple" but representative example above. This should also work for Bernstein polynomials, as their derivatives eventually become zero, in a similar fashion to the monomials.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 21 ·
Replies
21
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K