Trapezoidal Rule Homework: Find Expression for wj

  • Thread starter Thread starter sara_87
  • Start date Start date
Click For Summary
SUMMARY

The discussion centers on deriving the expression for the weights \( w_j \) in the context of applying the trapezoidal rule to a numerical solution of an integral equation using the Nyström method. The integral equation is given as \( \lambda x(t) - \int{K(t,s)x(s)ds} = y(t) \). The trapezoidal rule approximates the integral by dividing the interval into \( n \) subintervals of length \( h \), leading to the expression \( w_j = \frac{h}{2} \) for the endpoints \( j = 0 \) and \( j = n \), while \( w_j = h \) for all other points \( 0 < j < n \).

PREREQUISITES
  • Understanding of integral equations and numerical methods
  • Familiarity with the Nyström method for numerical integration
  • Knowledge of the trapezoidal rule for approximating integrals
  • Basic concepts of partitioning intervals in numerical analysis
NEXT STEPS
  • Study the derivation of the Nyström method for integral equations
  • Learn about the error analysis of the trapezoidal rule
  • Explore advanced numerical integration techniques, such as Simpson's rule
  • Investigate the application of numerical methods in solving differential equations
USEFUL FOR

Students and professionals in applied mathematics, numerical analysts, and anyone involved in solving integral equations using numerical methods.

sara_87
Messages
748
Reaction score
0

Homework Statement



if i have an integral equation of the form:

[tex]\lambda x(t)-\int{K(t,s)x(s)ds}=y(t)[/tex]

and i want to apply the nystrom method to find a numerical solution, then the quadrature rule gives:

[tex]\lambda x(t_i)-\sum^n_{j=1}{w_{j}K(t_i,t_j)x(t_j)}=y(t_i)[/tex]

my question is:
What is (using the trapezoidal rule) the expression for wj

Homework Equations





The Attempt at a Solution



i have no idea except that there's a 'h' somewhere (step length)
thank you
 
Physics news on Phys.org
At the risk of telling you something you might already know, here's what's going on in the trapezoid rule.

You have a function f(t) that you want to integrate, and you have divided your interval [a, b] into n subintervals of length h, using a partition {t0, t1, ... , ti, ti + 1, ..., tn}.

The trapezoid rule approximates [tex]\int_{t_i}^{t_{i + 1}} f(t) dt[/tex] by a trapezoid whose area is [tex]\frac{f(t_i) + f(t_{i + 1}}{2}h[/tex].

When you add up all the trapezoidal regions, you get
[tex]\frac{f(t_0) + f(t_{1})}{2}h + \frac{f(t_1) + f(t_{2})}{2}h + \frac{f(t_2) + f(t_{3})}{2}h + ... + \frac{f(t_{n - 1}) + f(t_{n})}{2}h[/tex]

This works out to (1/2)h*[f(t0) + 2f(t1) + 2f(t2) + ... + 2f(tn - 1) + f(tn)], because all of the f(ti) terms appear twice except for the first one and the last one.

So... my guess is that wj in your integral is going to one of two different values, depending on the value of j; wj = (h/2) for j = 0 and j = n, and wj = h for 0 < j < n.
 

Similar threads

Replies
6
Views
3K
  • · Replies 37 ·
2
Replies
37
Views
8K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
7
Views
2K