Presentation is loading. Please wait.

Presentation is loading. Please wait.

Maclaurin and Taylor Series.

Similar presentations


Presentation on theme: "Maclaurin and Taylor Series."β€” Presentation transcript:

1 Maclaurin and Taylor Series

2 Maclaurin Taylor Series
KUS objectives BAT Adapt the Maclaurin series to find solutions of differential equations WB16: Given that 𝑦=π‘₯ 𝑒 π‘₯ a) Show that 𝑑 𝑛 𝑦 𝑑 π‘₯ 𝑛 = 𝑛+π‘₯ 𝑒 π‘₯ b) Find the Taylor expansion of 𝑦=π‘₯ 𝑒 π‘₯ in ascending powers of π‘₯+1 as far as the term in π‘₯+1 4

3 𝑓 π‘₯ =π‘₯ 𝑒 π‘₯ = 1 𝑒 βˆ’1+ 1 2 π‘₯+1 2 + 1 3 π‘₯+1 3 + 1 8 π‘₯+1 4 + …
WB16 solutions 𝑓 π‘₯ =π‘₯ 𝑒 π‘₯ 𝒇 βˆ’πŸ =βˆ’ 𝟏 𝒆 𝑓 β€² π‘₯ =π‘₯ 𝑒 π‘₯ + 𝑒 π‘₯ = 1+π‘₯ 𝑒 π‘₯ 𝒇 β€² (βˆ’πŸ)=𝟎 𝒇 β€²β€² (βˆ’πŸ)= 𝟏 𝒆 𝑓 β€²β€² π‘₯ = 𝑒 π‘₯ + 1+π‘₯ 𝑒 π‘₯ = 2+π‘₯ 𝑒 π‘₯ … … 𝒇 𝒏 (βˆ’πŸ)= π’βˆ’πŸ 𝒆 𝑓 𝑛 π‘₯ = 𝑛+π‘₯ 𝑒 π‘₯ 𝒇 𝒙 =𝒇 𝒂 + 𝒇 β€² 𝒂 (π’™βˆ’π’‚)+ 𝒇′′(𝒂) 𝟐! (π’™βˆ’π’‚) 𝟐 + 𝒇′′′(𝒂) πŸ‘! (π’™βˆ’π’‚) πŸ‘ … 𝑓 π‘₯ =π‘₯ 𝑒 π‘₯ =βˆ’ 1 𝑒 + π‘₯+1 Γ—0+ π‘₯ ! Γ— 1 𝑒 π‘₯ ! Γ— 2 𝑒 + π‘₯ ! Γ— 3 𝑒 +… 𝑓 π‘₯ =π‘₯ 𝑒 π‘₯ = 1 𝑒 βˆ’ π‘₯ π‘₯ π‘₯ …

4 Using the alternative notation for evaluated derivatives :
Notes The Maclaurin series for f(x) can be adapted to find solutions of differential equations Maclaurin series: Using the alternative notation for evaluated derivatives : By substituting given values into a differential equation, and differentiating the DE to find higher order derivatives, the coefficients can be found and β€˜plugged into’ the standard form above In fact, differential equations that cannot be solved using the methods seen already for 1st and 2nd order DEs can be solved in this way. Also, higher order differential equations involving, say, can also be solved.

5 given that when π‘₯=0, 𝑦=1 , and 𝑑𝑦 𝑑π‘₯ =2
WB use the Taylor method to find a series solution, in ascending powers of x, up to and including the term in x3, of 𝑑 2 𝑦 𝑑 π‘₯ 2 =π‘¦βˆ’ sin π‘₯ (1) given that when π‘₯=0, 𝑦=1 , and 𝑑𝑦 𝑑π‘₯ =2 Substitute to (1) π‘₯=0, 𝑦=1 , and 𝑑𝑦 𝑑π‘₯ =2 to get 𝑑 2 𝑦 𝑑 π‘₯ 2 = 1 βˆ’ sin 0 =1 Differentiate (1) to get 𝑑 3 𝑦 𝑑 π‘₯ 3 = 𝑑𝑦 𝑑π‘₯ βˆ’ cos π‘₯ (𝟐) Substitute to (2) π‘₯=0, 𝑦=1 , and 𝑑𝑦 𝑑π‘₯ =2 to get 𝑑 3 𝑦 𝑑 π‘₯ 3 = 2 βˆ’ π‘π‘œπ‘  0 =1 𝑓 π‘₯ =𝑓 0 + 𝑓 β€² 0 π‘₯+ 𝑓′′(0) 2! π‘₯ 2 + 𝑓′′′(0) 3! π‘₯ 3 … Substitute into the standard form 𝑦=1+2π‘₯+ π‘₯ 2 2 Γ—1+ π‘₯ 3 6 Γ—1+… 𝑦=1+2π‘₯+ π‘₯ π‘₯ …

6 a) Differentiating original equation
WB π‘₯ 𝑑𝑦 𝑑π‘₯ =π‘₯+4 𝑦 (1) a) Show that 1+2π‘₯ 𝑑 2 𝑦 𝑑 π‘₯ 2 = π‘¦βˆ’1 𝑑𝑦 𝑑π‘₯ (2) b) Differentiate equation (1) with respect to x to obtain an equation involving 𝑑 2 𝑦 𝑑 π‘₯ 𝑑 2 𝑦 𝑑 π‘₯ 2 , 𝑑 2 𝑦 𝑑 π‘₯ 2 , x and y given that when π‘₯=0, 𝑦= 1 2 c) find a series solution for y, in ascending powers of x, up to and including the term in x3 a) Differentiating original equation b) Differentiating again:

7 b) Differentiating again:
WB 18 b) Differentiating again: (3) Sub in (1) Sub in (2) Sub in (3) 𝑓 π‘₯ =𝑓 0 + 𝑓 β€² 0 π‘₯+ 𝑓′′(0) 2! π‘₯ 2 + 𝑓′′′(0) 3! π‘₯ 3 … c) Substitute into the standard form 𝑦= 1 2 +π‘₯+ π‘₯ 2 2 Γ—3+ π‘₯ 3 6 Γ—8+… 𝑦= 1 2 +π‘₯ π‘₯ π‘₯ 3 +…

8 One thing to improve is –
KUS objectives BAT Adapt the Maclaurin series to find solutions of differential equations self-assess One thing learned is – One thing to improve is –

9 END


Download ppt "Maclaurin and Taylor Series."

Similar presentations


Ads by Google