Deriving Quadratic Equation from Taylor Expansion: An Exercise

Click For Summary

Homework Help Overview

The discussion revolves around deriving a quadratic equation from a Taylor expansion. The original poster presents a complex expression involving values y1, y2, and y3, and seeks to demonstrate its equivalence to a Taylor expansion representation of a function y, evaluated at specific points.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • The original poster attempts to relate a given expression to a Taylor expansion but expresses confusion regarding the role of the double derivative term and the values of y1, y2, and y3.
  • Some participants question the consistency of variable notation and the assumptions regarding the values of y1, y2, and y3, suggesting that clarification is needed on their definitions.
  • Others suggest that a clearer notation for the values of y could simplify the understanding of the problem.

Discussion Status

The discussion is ongoing, with participants actively seeking clarification on the relationships between the variables and the assumptions made in the problem. Some guidance has been offered regarding the need for consistent definitions, but no consensus has been reached on the equivalence of the two expressions.

Contextual Notes

There is mention of a problem sheet and lecturer's notes that may provide additional context, but these have not been fully integrated into the discussion. The original poster's understanding of Taylor expansions appears to be a significant factor in their confusion.

kel
Messages
62
Reaction score
0

Homework Statement



I have the following question to answer:
Show that
(X^2/h^2)*((1/2*y1) - y2 + (1/2*y3)) + (X/h)*((-1/2 y1)+(1/2 y3))+y2 (sorry about the format)

is equal to (taylor expansion):
y = y2+(x(dy/dx)¦0 + (x^2/2*((d^2)y)/(dx^2))¦0

Homework Equations


also given in dy/dx¦0 is value of dy/dx when x = 0

and

dy/dx¦0 (approximately) = 1/2h (y(+h)-y(-h))


The Attempt at a Solution



I know how to derive the quadratic, but I never really got the hang of taylor expansions so I'm lost.

I can see that there is a double derivative term, but as this i the derivative of the dy/dx¦0 term with no x values in it, does it then become zero? Also, all I have ended up with for the taylor expansion is:

y= y2 + x(1/2h(y(+h)-y(-h))) + x^2/2 ((double derivative term = 0)
giving
y= y2 + x(1/2h(y(+h)-y(-h))) and then I've tried to multiply out the brackets.

I can see that I've gone wrong as I can't get an answer.

Can anyone point me in the right direction please??

Cheers
Kel
 
Physics news on Phys.org
I'm afraid this doesn't make much since to me. Is "X" in the first formula the same as "x" in the second? Are y1, y2, y3 arbitrary values of y? You use y2 in the second formula but not y1 or y3. What happened to them? There is an "h" in the first formula that is not present in the second.

I don't see how the two formulas could be the same since one contains much more information (h, y1, y3) than the other.

IF you are assuming that y1= y(0), y2= y(h), and y3= y(2h) please say so!
 
Ok, here's a copy of the problem sheet (I'm on question 3)

and a copy of the lecturers notes - the relevant part is on page and 7, hopefully this will explain it a bit better than I can.

Cheers
 

Attachments

pages 6 & 7 I mean
 
Wouldn't it have been simpler just to say y2= y(X), y1= y(X-h), and y2= y(X+h)?

Notice an important difference: in deriving the Taylor's expansion (2nd degree Taylor polynomial), you must assume that you KNOW y(x), that is, y as a function of x. Then show that, whatever y(x) is, you can arrive at the interpolation polynomial.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
4
Views
3K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
3
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K