MHB Richardson's Extrapolation for Derivative Estimation

  • Thread starter Thread starter CaptainBlack
  • Start date Start date
  • Tags Tags
    Extrapolation
AI Thread Summary
Richardson's extrapolation is applied to estimate the first derivative of the function y=(x^3)sinx at x=2 using centered difference schemes with step sizes h1=0.5 and h2=0.25. The central difference estimates yield approximately 7.17838 for h=0.5 and 7.48111 for h=0.25. Using Richardson's formula, the extrapolated derivative is calculated to be approximately 7.58202. The actual derivative value can be compared to assess the percentage error. This method effectively improves derivative estimates by reducing error through extrapolation.
CaptainBlack
Messages
801
Reaction score
0
From Randy Blythe's Yahoo Answers Question:

Use Richardson’s extrapolation, using a centred difference scheme for the initial estimates, to estimate the first derivative of y=(x^3)sinx at x=2 with step sizes h1=0.5 and h2=0.25. Calculate the actual derivative and the percentage error
 
Mathematics news on Phys.org
CaptainBlack said:
From Randy Blythe's Yahoo Answers Question:

Use Richardson’s extrapolation, using a centred difference scheme for the initial estimates, to estimate the first derivative of y=(x^3)sinx at x=2 with step sizes h1=0.5 and h2=0.25. Calculate the actual derivative and the percentage error

First you need to find the central difference estimate of \(y'(2)\) with \(h=0.5\) and \(h=0.25\).

As the central difference estimate of the derivative at \(x\) with step size \(h\) is:

\[y'_h(x)= \frac{y(x+h/2)-y(x-h/2)}{h}\]

we heve

\[y'_{0.5}(2) = \frac{ y(2+0.25) - y(2-0.25) }{ 0.5} \approx 7.17838 \]

and

\[y'_{0.25}(2) = \frac{ y(2+0.125) - y(2-0.125) }{ 0.25} \approx 7.48111 \]Now we know that the central differences approximation for the derivative is or order \(h^2\), so our Richardson extrapolation \(y'_R(x)\) for \(\lim_{h\to 0} y'_h(x)\) is:

\[y'_R(x)= \frac{ 2^n y'_{h/2}(x) - y'_{h}(x) }{ 2^n-1 } \]

with \(n=2\).

Hence:

\[ y'_R(2) = \frac{ 2^2 y'_{0.25}(2) - y'_{0.5}(2) }{ 2^2-1 } \approx 7.58202\]

I will leave the last part, the comparison with the true value to you.

CB
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Thread 'Imaginary Pythagoras'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...

Similar threads

Back
Top