Question
Question: How do you use Taylor series to estimate the accuracy of approximation for \[f(x)=\sqrt{x}\] and \[a...
How do you use Taylor series to estimate the accuracy of approximation for f(x)=x and a=1 and n=3 with 0.9≤x≤1.1
Solution
First of all we will differentiate the function f(x) with respect to x on both sides then we will keep differentiating the function with respect to x to get the maximum value of the function and after that we will use Taylor's inequality theorem to obtain the required result.
Complete step-by-step solution:
The Taylor series was discovered by James Gregory a Scottish mathematician and was formally introduced by an English mathematician named Brook Taylor.
A Taylor series is an expansion of some function into an infinite sum of terms where each term has a larger exponent. You may also represent Taylor series in the form of functions of several variables. Taylor Series is used to evaluate the value of a whole function in each point if the functional values and derivatives are identified at a single point.
If the Taylor Series is centred at 0then the series is known as the Maclaurin series.
In order to use an approximation method intelligently, we need to have an idea of how good our approximation is. That is, how big an error could we be making. The error is the difference between the approximation value and the exact answer. Notice, that we cannot know exactly how far off we are, without know the exact answer in the first place
We write a general nth degree polynomial f(x)=a0+a1(x−c)+a2(x−c)2+...............
Where a0,a1,... are coefficients on each polynomial term, whereas c is a constant that represents where on x−axis to start the approximation.
We have given f(x)=x
Now differentiating f(x) with respect to x on both sides:
⇒dxdf(x)=dxdx
⇒f′(x)=21x21−1
⇒f′(x)=21x−21
Now again differentiating f′(x) with respect to x on both sides:
⇒dxdf′(x)=dxd(21x−21)
⇒f′′(x)=21×(−21)x−21−1
⇒f′′(x)=−41x−23
Now again differentiating f′′(x) with respect to x on both sides:
⇒dxdf′′(x)=dxd(−41x−23)
⇒f′′′(x)=−41×(−23)x−23−1
⇒f′′′(x)=83x−25
Now the fourth derivative will be negative. So we know that f′′′(x) will be decreasing over the interval
If we differentiate f′′′(x) with respect to x on both sides:
⇒dxdf′′′(x)=dxd(83x−25)
⇒f′′′′(x)=43×(−25)x−25−1
⇒f′′′′(x)=−815x−27
As fourth derivative ∣f′′′′(t)∣=1615t−27 that is maximized for t∈[0.9,1.1] hence we can take:
⇒∣f′′′′(0.9)∣≤M
⇒1615×(0.9)−27≤M
⇒1.35557≤M
By Taylor’s inequality, we have:
⇒∣Rn(x)∣≤(n+1)!M∣x−a∣n+1
Where n=3 and a=1
⇒∣Rn(x)∣≤(3+1)!1.35557∣1.1−1∣3+1
⇒∣Rn(x)∣≤(4)!1.35557(0.1)4
⇒∣Rn(x)∣≤4×3×2×11.35557(0..0001)
⇒∣Rn(x)∣≤0.000005648
Hence ∣Rn(x)∣≤0.000005648 for x∈[0.9,1.1]
Note: We must remember that the sum of partial series can be used as an approximation of the whole series. Taylor Series is used in computer science, chemistry, calculus, physics and also in the power flow analysis of electrical power systems. It is a series that is used to create an estimation of a function.