Video Transcript
Determine the least degree of the
Maclaurin polynomials 𝑛 needed to approximate the value of sin of 0.3 with an
error less than 0.001 using the Maclaurin series of 𝑓 of 𝑥 equals sin of 𝑥.
We begin by recalling that the
Lagrange error bound tells us that if the absolute value of the 𝑛 plus oneth
derivative of 𝑓 is less than or equal to sum 𝑚, then the absolute value of the
remainder term 𝑅 sub 𝑛 of 𝑥 is less than or equal to the absolute value of 𝑚
over 𝑛 plus one factorial times 𝑥 minus 𝑎 to the power of 𝑛 plus one. To answer this question then, we’ll
just begin by defining each part. We’re not told the degree of our
McLaurin polynomial. So we’ll let 𝑛 be equal to 𝑛? This is what we’re trying to
find. We’re told though that 𝑓 of 𝑥 is
equal to sin of 𝑥. And we’re finding the Maclaurin
series for 𝑓 of 𝑥. That’s the tailor series when 𝑎 is
equal to zero.
We’re then going to use this to
estimate the value of sin of 0.3. Now, since our function 𝑓 of 𝑥 is
equal to sin of 𝑥, we can say that we’re going to let 𝑥 be equal to 0.3. We want to ensure that our error
bound is less than 0.001. So we’ll start with this
formula. We’re going to replace 𝑥 with 0.3
and 𝑎 with zero. And so we have the absolute value
of 𝑚 over 𝑛 plus one factorial times 0.3 minus zero to the power of 𝑛 plus
one. And of course, we want this error
to be less than 0.001. Let’s replace 0.3 minus zero with
0.3. And then we know that 𝑚 is found
by maximising the absolute value of the 𝑛 plus oneth derivative on the interval
between 𝑎 and 𝑥.
So let’s find an expression for 𝑚
by considering the 𝑛 plus oneth derivative of our function. We know the 𝑓 of 𝑥 is equal to
sin of 𝑥. And when we differentiate sin of
𝑥, we get cos of 𝑥. So the first derivative 𝑓 prime of
𝑥 is cos of 𝑥. Differentiating once more, we get
negative sin of 𝑥. And then the third derivative 𝑓
triple prime of 𝑥 is negative cos of 𝑥. We differentiate one more time. And we find that the fourth
derivative is sin of 𝑥. And so we see we have a cycle. We want to generalise it. So we’re going to say that, in
fact, cos of 𝑥 is equal to sin of 𝑥 plus 𝜋 by two. Remember, that’s simply because the
sin and cos graphs are horizontal translations of one another.
We say that negative sin 𝑥 is
equal to sin of 𝑥 plus 𝜋, negative cos 𝑥 is sin of 𝑥 plus three 𝜋 by two, and
sin of 𝑥 is equal to sin of 𝑥 plus two 𝜋. Now, in fact, if we write 𝜋 as two
𝜋 over two and two 𝜋 as four 𝜋 over two, we see that the 𝑛th derivative of 𝑓 is
sin of 𝑥 plus 𝑛𝜋 over two. And so the 𝑛 plus oneth
derivative, which is what we’re looking for, is sin of 𝑥 plus 𝑛 plus one 𝜋 over
two. We want to maximise the absolute
value of sin of 𝑥 plus 𝑛 plus one 𝜋 over two on the closed interval zero to
0.3. Well, the largest value of sin of
𝑥 plus 𝑛 plus one 𝜋 over two is one. So we’re going to let 𝑚 be equal
to one.
Now, note that the maximum value of
the trigonometric function sign on the interval between zero and 0.3 might not
actually be one. But we do know it must be less than
or equal to one. By letting 𝑚 be equal to one, we
know that our error bound might be larger than it has to be, but that’s still
allowed. Then our earlier inequation becomes
the absolute value of one over 𝑛 plus one factorial times 0.3 to the power of 𝑛
plus one. And this must be less than or equal
to 0.001. Now, in fact, this is always
positive. So we no longer need the absolute
value signs. And unfortunately, there’s no nice
way at this stage to solve this inequation. So instead, we’re going to try some
values of 𝑛, knowing, of course, that it can take integer values only.
We’ll begin by letting 𝑛 be equal
to one. Then we have one over one plus one
factorial times 0.3 to the power of one plus one. That gives us 0.045. Now, actually, that’s not less than
0.001, but we’re close. Next, let’s try 𝑛 equals two. We get one over two plus one
factorial times 0.3 to the power of two plus one. That’s 0.0045, again not quite less
than 0.001, but, again, getting closer. Let’s try 𝑛 equals three. We get one over three plus one
factorial times 0.3 to the power of three plus one. That’s 0.0003375, which is indeed
less than 0.001. And we can, therefore, say that the
value of 𝑛 which ensures that the Maclaurin series approximates sin of 0.3 with an
error less than 0.001 is 𝑛 equals three.