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

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 3K views
SMA_01
Messages
215
Reaction score
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:
Physics news on Phys.org
SMA_01 said:

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.