• Support PF! Buy your school textbooks, materials and every day products Here!

Finding the coefficients of an unknown function using Taylor's Theorem?

  • Thread starter SMA_01
  • Start date
  • #1
218
0

Homework Statement


Find coefficients A, B, and C.
f'(x)= Af(x)+Bf(x+h)+Cf(x+2h)+O(h2)
Using Taylor's Theorem.

Note: O stands for Big O in asymptotic order notation.



The Attempt at a Solution



Here are the expansions:

Bf(x+h)= Bf(x)+Bhf'(x)+(1/2)Bh2f"(x)+(1/6)Bh3f"'(x)....

Cf(x+2h)=Cf(x)+2Chf'(x)+2Ch2f"(x)+(4/3)Ch3f"'(X)...

And then I added them and factored out the coefficients

= (A+B+C)f(x)+(B+2C)hf'(x)+(1/2B+2C)h2f"(x)+....

Is this correct? I'm stuck as to what I am supposed to do next.

Thanks.
 
Last edited:

Answers and Replies

  • #2
Dick
Science Advisor
Homework Helper
26,258
618

Homework Statement


Find coefficients A, B, and C.
f'(x)= Af(x)+Bf(x+h)+Cf(x+2h)+O(h2)
Using Taylor's Theorem.

Note: O stands for Big O in asymptotic order notation.



The Attempt at a Solution



Here are the expansions:

Bf(x+h)= Bf(x)+Bhf'(x)+(1/2)Bh2f"(x)+(1/6)Bh3f"'(x)....

Cf(x+2h)=Cf(x)+2Chf'(x)+2Ch2f"(x)+(4/3)Ch3f"'(X)...

And then I added them and factored out the coefficients

= (A+B+C)f(x)+(B+2C)hf'(x)+(1/2B+2C)h2f"(x)+....

Is this correct? I'm stuck as to what I am supposed to do next.

Thanks.
That looks pretty odd. I think there is a typo in the problem. Try changing the left hand side from f'(x) to f'(x)*h. Now it makes a little more sense. Try it from there.
 

Related Threads on Finding the coefficients of an unknown function using Taylor's Theorem?

Replies
1
Views
1K
  • Last Post
Replies
6
Views
2K
Replies
1
Views
589
Replies
5
Views
1K
  • Last Post
Replies
4
Views
2K
Replies
1
Views
1K
Replies
1
Views
2K
Replies
4
Views
1K
Replies
3
Views
3K
  • Last Post
Replies
10
Views
420
Top