Using Maclaurin Polynomials to Evaluate Trigonometric Functions at f(0.1)

Click For Summary
SUMMARY

The discussion focuses on evaluating trigonometric functions using the third Maclaurin polynomial at f(0.1). The user initially attempts to calculate the function f(x) = (x cos(x) - sin(x)) / (x - sin(x)) but encounters difficulties in obtaining the expected result of approximately -2. A key correction is provided, emphasizing the use of only the first two terms of the Maclaurin series for cosine and sine functions, which simplifies the calculations and leads to the correct evaluation.

PREREQUISITES
  • Understanding of Maclaurin series and polynomial approximation
  • Familiarity with trigonometric functions, specifically sine and cosine
  • Basic calculus concepts, including derivatives
  • Ability to perform algebraic manipulation of polynomial expressions
NEXT STEPS
  • Study the derivation of Maclaurin series for sine and cosine functions
  • Learn how to apply Taylor series for function approximation
  • Explore error analysis in polynomial approximations
  • Practice evaluating functions using higher-degree Maclaurin polynomials
USEFUL FOR

Students in calculus courses, educators teaching polynomial approximations, and anyone interested in the practical application of Maclaurin series in evaluating trigonometric functions.

francisg3
Messages
31
Reaction score
0
I am having some difficulty with a homework problem I was recently assigned. The problem says to "Replace each trigonometric function with its third Maclaurin polynomial and then evaluate the function at f(0.1)"

This is what I have done so far:

f(x)=(x cosx- sinx)/(x-sin⁡x)
1st trig function f(x)=x cos⁡x
f'(x) =cos⁡x-x sin⁡x
f''(x) =-sin⁡〖x-sin⁡x-x cos⁡x 〗
f'''(x) =-cos⁡〖x-cos⁡x-cos⁡x 〗+x sin⁡x f'''(0) =-3

3rd Maclaurin Polynomial-3/3! x^3

2nd trig functionf(x)=-sinx
f'(x)=-cosx
f''(x) =sinx
f'''(x) =cosx = f'''(0) =1

3rd Maclaurin Polynomial(1/3!) x3


Replacing those values in the original function I get:
(-3/3! x^3+1/3! x^3)/(1+1/3! x^3 )

I should get an answer around -2 I believe however this is not the case. Any help would be appreciated.

Thanks!
 
Physics news on Phys.org
francisg3 said:
I am having some difficulty with a homework problem I was recently assigned. The problem says to "Replace each trigonometric function with its third Maclaurin polynomial and then evaluate the function at f(0.1)"

This is what I have done so far:

f(x)=(x cosx- sinx)/(x-sin⁡x)
1st trig function f(x)=x cos⁡x
f'(x) =cos⁡x-x sin⁡x
f''(x) =-sin⁡〖x-sin⁡x-x cos⁡x 〗
f'''(x) =-cos⁡〖x-cos⁡x-cos⁡x 〗+x sin⁡x f'''(0) =-3

3rd Maclaurin Polynomial-3/3! x^3

2nd trig functionf(x)=-sinx
f'(x)=-cosx
f''(x) =sinx
f'''(x) =cosx = f'''(0) =1

3rd Maclaurin Polynomial(1/3!) x3


Replacing those values in the original function I get:
(-3/3! x^3+1/3! x^3)/(1+1/3! x^3 )

I should get an answer around -2 I believe however this is not the case. Any help would be appreciated.

Thanks!
Hi Francis.

I put in bold an important instruction in the above quote.

\cos(x)=1-\frac{x^2}{2}+\frac{x^4}{4!}-\dots

\sin(x)=x-\frac{x^3}{3!}+\frac{x^5}{5!}-\dots

f(x)= \frac{x \cos(x)- \sin(x)}{x-\sin(x)}

You probably meant third degree MacLaurin polynomial, in which case, use only the first two terms in each of the above.
 
it works, thank you very much.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
5K
Replies
7
Views
2K
Replies
3
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 7 ·
Replies
7
Views
22K
  • · Replies 7 ·
Replies
7
Views
2K