Taylor Polynomial Approximation of log(2.25)

Click For Summary

Homework Help Overview

The discussion revolves around finding the second-order Taylor polynomial for the function f(x, y) = log_e(1 + x^2 + y^4) centered at the point (0, 1). Participants are also tasked with using this polynomial to approximate log_e(2.25).

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the formulation of the Taylor polynomial and its application to approximate log_e(2.25). There are attempts to clarify the correct values for derivatives and the evaluation of the polynomial at specific points.

Discussion Status

Some participants have provided corrections regarding the derivatives and have engaged in clarifying the approach to evaluating the polynomial. There is an ongoing exploration of how to select appropriate values for x and y to achieve the desired approximation.

Contextual Notes

Participants are navigating potential errors in derivative calculations and the implications of their choices in the context of the Taylor polynomial approximation. There is also mention of using calculators to verify results, indicating a reliance on numerical methods alongside analytical approaches.

RyanV
Messages
12
Reaction score
0

Homework Statement


Determine the order two Taylor polynomial, p2(x, y), for

f(x, y) = log e (1 + x2 + y4)

about point (0, 1)


ANSWER:
loge (2) + 2y - 2 + [tex]\frac{1}{2}[/tex] [ x2 - 2y2 + 4y - 2 ]

Managed that question and should be correct. If not, do let me know =)



Part 2: Using p2 (x, y), find a quadratic approximation to log e (2.25) to 4 decimal places. Use a calculator to find the value of log e (2.25) to 4 decimal places, and comment on your answer.


Homework Equations



2nd Order Taylor Polynomial
p2(x, y) = f(x, y) + (x + a)[tex]\frac{\partial f}{\partial x}[/tex] + (y + b)[tex]\frac{\partial f}{\partial y}[/tex] + [tex]\frac{1}{2}[/tex] [ (x - a)2[tex]\frac{\partial ^2 f}{\partial x^2}[/tex] + (x - a)(y - b)[tex]\frac{\partial ^2 f}{\partial x\partial y}[/tex] + (y - b)2[tex]\frac{\partial ^2 f}{\partial y ^2}[/tex] ]


The Attempt at a Solution



I'm not too sure where to go from there...I thought of putting p2(x, y) as log 2 (2.25) but I'm not sure what that does after simplifying...

Any assistance would be of much help! =)
Thanks
 
Physics news on Phys.org
RyanV said:

Homework Statement


Determine the order two Taylor polynomial, p2(x, y), for

f(x, y) = log e (1 + x2 + y4)

about point (0, 1)


ANSWER:
loge (2) + 2y - 2 + [tex]\frac{1}{2}[/tex] [ x2 - 2y2 + 4y - 2 ]

Managed that question and should be correct. If not, do let me know =)
You got the sign of fyy wrong.
Part 2: Using p2 (x, y), find a quadratic approximation to log e (2.25) to 4 decimal places. Use a calculator to find the value of log e (2.25) to 4 decimal places, and comment on your answer.


Homework Equations



2nd Order Taylor Polynomial
p2(x, y) = f(x, y) + (x + a)[tex]\frac{\partial f}{\partial x}[/tex] + (y + b)[tex]\frac{\partial f}{\partial y}[/tex] + [tex]\frac{1}{2}[/tex] [ (x - a)2[tex]\frac{\partial ^2 f}{\partial x^2}[/tex] + (x - a)(y - b)[tex]\frac{\partial ^2 f}{\partial x\partial y}[/tex] + (y - b)2[tex]\frac{\partial ^2 f}{\partial y ^2}[/tex] ]


The Attempt at a Solution



I'm not too sure where to go from there...I thought of putting p2(x, y) as log 2 (2.25) but I'm not sure what that does after simplifying...

Any assistance would be of much help! =)
Thanks
What do you mean by "putting p2(x, y) as log 2 (2.25)"?

Just choose values of x and y so that f(x,y)=log 2.25 and plug those values into your expansion.
 
I got fyy = -2

This was from fyy = [tex]\frac{12y^2( 1 + x^2 + y^4 ) - 16y^2}{(1 + x^2 + y^4 ) ^2}[/tex]

and since at point (0,1),

fyy = [tex]\frac{12 (1)^2( 1 + (0)^2 + (1)^4 ) - 16 (1)^2}{(1 + (0)^2 + (1)^4 ) ^2}[/tex]
fyy = -2

Isn't it? Unless I stuffed up the Taylor polynomial part somewhere...


Oh, when I meant putting p2(x, y) as log e (2.25) [correction], I meant like:

loge(2.25) = loge (2) + 2y - 2 + [tex]\frac{1}{2}[/tex] [ x2 - 2y2 + 4y - 2 ]

But yeah..got me no where =(


I don't understand how I can choose values for x and y because how can we figure out what is loge (2.25) from something like loge (2) + constant. Seeing that we just choose values for x and y...unless there's the use of a calculator. Could you help shed some light on this? Thanks =)
 
You have f(x, y) = ln (1 + x2 + y4),
so f(0, 1) = ln(1 + 02 + 12) = ln 2

You want ln 2.25, which can be represented as f(.5, 1). Use the polynomial you found to approximate f(.5, 1) by p2(.5, 1).
 
RyanV said:
I got fyy = -2

This was from fyy = [tex]\frac{12y^2( 1 + x^2 + y^4 ) - 16y^2}{(1 + x^2 + y^4 ) ^2}[/tex]

and since at point (0,1),

fyy = [tex]\frac{12 (1)^2( 1 + (0)^2 + (1)^4 ) - 16 (1)^2}{(1 + (0)^2 + (1)^4 ) ^2}[/tex]
fyy = -2

Isn't it? Unless I stuffed up the Taylor polynomial part somewhere...
No, the top is 12x2-16 = 24-16 = 8, and the bottom is 4.
Oh, when I meant putting p2(x, y) as log e (2.25) [correction], I meant like:
The base of the log didn't confuse me; I figured that was a typo. It was your wording, particularly your choice of verb.
 
vela said:
No, the top is 12x2-16 = 24-16 = 8, and the bottom is 4.

The base of the log didn't confuse me; I figured that was a typo. It was your wording, particularly your choice of verb.

Oh sorry. What would have been a better choice of verb?


Thanks a lot guys, I believe I managed to get it now.

Worked it out to be loge (2) + [tex]\frac{1}{8}[/tex] = 0.8181

Hopefully that's right =)
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
1K
Replies
5
Views
2K
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
4
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
Replies
2
Views
1K
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K