Taylor series with 3 variables

Click For Summary
SUMMARY

The discussion focuses on solving a Taylor series expansion for the function f(x,y,z) = 2x + (1 + y) * sin(z) at the point (0.1, 0.2, 0.3) using only linear terms. The user evaluates the function at (0,0,0) and derives a differential equation leading to the approximation df = 2dx + dz * cos(0) + dydz * cos(0). The calculated result of 0.56 does not match the expected solution of 0.5546, indicating that the sine term sin(0.3) is significant enough to affect the accuracy of the first-order approximation.

PREREQUISITES
  • Understanding of Taylor series expansion in multiple variables
  • Familiarity with partial derivatives and differential equations
  • Basic knowledge of trigonometric functions and their derivatives
  • Experience with evaluating functions at specific points
NEXT STEPS
  • Study Taylor series expansion for functions of multiple variables
  • Learn about the significance of higher-order terms in Taylor series approximations
  • Explore the impact of trigonometric functions in Taylor series calculations
  • Review examples of first-order approximations in multivariable calculus
USEFUL FOR

Students and educators in calculus, particularly those focusing on multivariable functions and Taylor series, as well as mathematicians seeking to refine their understanding of approximation methods in higher dimensions.

ozharu
Messages
1
Reaction score
0
Hi am trying to solve this Taylor series with 3 variables but my result is not equal to the solution- So i think i might be wrong expanding the taylor series, or the solution is not correct

Homework Statement


Find an a approximated value for the function f(x,y,z) = 2x + ( 1 + y) * sin z at the point
x= 0.1 y = 0.2 z = 0.3 [asnwer = 0.5546]

Use only linear terms ( dx dy dz has only 1 power)

Homework Equations



df = dx*[tex]\frac{f'(f)}{f'(x)}[/tex] + dy*[tex]\frac{f'(f)}{f'(y)}[/tex] + dz *[tex]\frac{f'(f)}{f'(z)}[/tex] + ...

The Attempt at a Solution


So i started evaluating the function at the point (0,0,0) which gives me the value 0. Then i expand the taylor series like this

df = dx *[tex]\frac{f'(f)}{f'(x)}[/tex] + dy *[tex]\frac{f'(f)}{f'(y)}[/tex] + dz *[tex]\frac{f'(f)}{f'(z)}[/tex] + dxdy *[tex]\frac{f''(f)}{f'(x)f'(y) }[/tex] + dxdz *[tex]\frac{f'(f)}{f''(x)f'(z)}[/tex] + dydz *[tex]\frac{f''(f)}{f'(y)f'(z)}[/tex] + dxdydz [tex]\frac{f'''(f)}{f'(x)f'(y)f'(z)}[/tex]

Then i calculate the differential equations
[tex]\frac{f'(f)}{f'(x)}[/tex] = 2
[tex]\frac{f'(f)}{f'(y)}[/tex] = sin z
[tex]\frac{f'(f)}{f'(z)}[/tex] = (1 + y) cos z
[tex]\frac{f''(f)}{f'(x)f'(y) }[/tex] = 0
[tex]\frac{f'(f)}{f''(x)f'(z)}[/tex] = 0
[tex]\frac{f''(f)}{f'(y)f'(z)}[/tex] = cos z
[tex]\frac{f'''(f)}{f'(x)f'(y)f'(z)}[/tex] = 0

So my final formula is

df = 2 dx + dz * cos(0) + dydz * cos (0)

An evaluating that formula in (0.1,0.2,0.3)

df(0.1,0.2,0.3) = 2 *0.1 + 0.3 + 0.06 = 0.56

But the solution given by the exercise is 0.5546
 
Last edited:
Physics news on Phys.org
sin (.3) is not small enough to be approximated by first order.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
Replies
3
Views
2K
Replies
4
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 27 ·
Replies
27
Views
4K
  • · Replies 21 ·
Replies
21
Views
2K
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K