Maclaurin Series for (x2+4)-1: Terms 1-3

In summary, the first three non-vanishing terms in the Maclaurin series for (x2+4)-1 are 1/4, -1/8, and 1/16x2. The coefficient of the x2 term should be -1/16, not -1/8 as originally stated. It is recommended to take a break or go to bed when making mistakes like this, as it could indicate being over-tired and less effective in problem-solving.
  • #1
MelissaJL
50
0

Homework Statement


Determine the first three terms in the Maclaurin series for:
(x2+4)-1


Homework Equations


f(x)=f(a)+f'(a)(x-a)+f''(a)[itex]\frac{(x-a)^{2}}{2!}[/itex]+f'''(a)[itex]\frac{(x-a)^{3}}{3!}[/itex]


The Attempt at a Solution


So I start out with getting my primes of f(x):
f'(x)=[itex]\frac{-2x}{(x^{2}+4)^{2}}[/itex]
f''(x)=[itex]\frac{6x^{2}-8}{(x^{2}+4)^{3}}[/itex]
f'''(x)=[itex]\frac{24x(x^{2}-4)}{(x^{2}+4)^{4}}[/itex]

So my issue is that when I set a=0 for the Maclaurin series then the entire series is equal to zero. Is that correct? and if it is how would I write it up as an answer for my question?
 
Physics news on Phys.org
  • #2
MelissaJL said:
So my issue is that when I set a=0 for the Maclaurin series then the entire series is equal to zero. Is that correct?
No. To start with f(0)≠0 ... please show your working.
 
  • #3
But doesn't Maclaurin series say that a=0? So then how would it not equal zero? It would have just been a lot to show my work on the derivatives and I'm on a crappy laptop right now. So I just put down the answers I got after I did my work on paper.
 
  • #4
Plug in 0 for x and you will not get all zero coefficients. Some might be zero.
 
  • Like
Likes 1 person
  • #5
I just need the first three terms in the Maclaurin series. I'm not sure what exactly that means in the question so I decided it would be safe to think that what they mean by the first three terms is to go to the third prime.

f'(0)=0
f''(0)=0
f'''(0)=0

So that Maclaurin series for the first three terms looks like:

(x2+4)-1=1/4+0+0+0

Is that right?
 
  • #6
MelissaJL said:
But doesn't Maclaurin series say that a=0? So then how would it not equal zero?
I would hope you know the difference between x=0 and f(0).

It would have just been a lot to show my work on the derivatives and I'm on a crappy laptop right now. So I just put down the answers I got after I did my work on paper.
The problem is when all you do is write down a wrong answer, it's impossible for us to see what mistakes you are making.

We don't need to see your calculations of the derivatives, but it would help us to see how you managed to go from those expressions to all of the terms in the series being 0. For example, how did you manage to get f(0)=0 or f''(0)=0?

MelissaJL said:
I just need the first three terms in the Maclaurin series. I'm not sure what exactly that means in the question so I decided it would be safe to think that what they mean by the first three terms is to go to the third prime.

f'(0)=0
f''(0)=0
f'''(0)=0

So that Maclaurin series for the first three terms looks like:

(x2+4)-1=1/4+0+0+0

Is that right?
No. The very first term is right though.
 
  • #7
No.
You figured out why f(0)≠0?
Did you check the others too?

Please show your working.
I'll show you what I mean. Showing the working for the 1st term would go like this:

$$f(x)=\frac{1}{x^2+4} \Rightarrow f(a)=\frac{1}{a^2+4}\\ \Rightarrow f(a=0)=\frac{1}{0^2+4}=\frac{1}{4}$$ ... see? Now do that for the other terms.
 
  • #8
MelissaJL said:

Homework Statement


Determine the first three terms in the Maclaurin series for:
(x2+4)-1


Homework Equations


f(x)=f(a)+f'(a)(x-a)+f''(a)[itex]\frac{(x-a)^{2}}{2!}[/itex]+f'''(a)[itex]\frac{(x-a)^{3}}{3!}[/itex]


The Attempt at a Solution


So I start out with getting my primes of f(x):
f'(x)=[itex]\frac{-2x}{(x^{2}+4)^{2}}[/itex]
f''(x)=[itex]\frac{6x^{2}-8}{(x^{2}+4)^{3}}[/itex]
f'''(x)=[itex]\frac{24x(x^{2}-4)}{(x^{2}+4)^{4}}[/itex]

So my issue is that when I set a=0 for the Maclaurin series then the entire series is equal to zero. Is that correct? and if it is how would I write it up as an answer for my question?

Do you really believe that 1/(4+0) = 0? That IS what you claim!
 
  • #9
f(x)=(x2+4)-1

f'(x)=(-1)(x2+4)-2=[itex]\frac{-2x}{(x^{2}+4)^{2}}[/itex]
f''(x)=d/dx(-2(x2+4)-2)=-2(x2+4)-2+(-2x)(-2)(x2+4)-3(2x)=-2(x2+4)-2+8x2(x2+4)-3=[itex]\frac{-2}{(x^{2}+4)^{3}}[/itex]+ [itex]\frac{8x^{2}}{(x^{2}+4)^{4}}[/itex] =[itex]\frac{6x^{2}-8}{(x^{2}+4)^{3}}[/itex]
f'''(x)=d/dx(6x2-8)(x2+4)-3=12x(x2+4)-3-6x(6x2-8)(x2+4)-4=[itex]\frac{-24x(x^{2}-4)}{(x^{2}+4)^{4}}[/itex]

f'(0)=0
f''(0)=[itex]\frac{0-8}{(0+4)^{3}}[/itex]=[itex]\frac{-8}{64}[/itex]=[itex]\frac{-1}{8}[/itex]
f'''(0)=0

(x2+4)-1=[itex]\frac{1}{4}[/itex]+0+[itex]\frac{-1}{8}[/itex][itex]\frac{x^{2}}{2!}[/itex]+0=[itex]\frac{1}{4}[/itex]+0+[itex]\frac{-x^{2}}{8}[/itex]+0
 
  • #10
... Most days I spend at least 10 hours solving problems... Sometimes I overlook things. It's not that I don't know what f(0) means. Near the end of a long day equations start to mash together...
 
  • #11
MelissaJL said:
(x2+4)-1=[itex]\frac{1}{4}[/itex]+0+[itex]\frac{-1}{8}[/itex][itex]\frac{x^{2}}{2!}[/itex]+0=[itex]\frac{1}{4}[/itex]+0+[itex]\frac{-x^{2}}{8}[/itex]+0
Close. The coefficient of x2 should be -1/16. You dropped the factor of 2.

The problem is asking for the first three non-vanishing terms, so you need to calculate the x4 term too.

Do you have to use the expansion in terms of derivatives? There are faster ways to obtain the series.

MelissaJL said:
... Most days I spend at least 10 hours solving problems... Sometimes I overlook things. It's not that I don't know what f(0) means. Near the end of a long day equations start to mash together...
Most of us can empathize. When you start making glaring mistakes like that, it's usually a sign to go to bed — or at least take a long break.
 
  • Like
Likes 1 person
  • #12
Oh shoot! Why did I forget the factorial now... Yeah I think I need to go to bed but I want to finish this assignment so I can have the day off tomorrow... Sadly I still have 4 more questions to do. If I'm making mistakes like this though I'm probably over-tired and useless. I wasn't sure by the question if I just needed to go to f'''(x) or if I needed to find three non-zero terms in the series. Do you think I should just go to three non-zero terms to be safe? Haha If that's the case then I'll be up much longer then because my other questions I just left zero as a term in the Maclaurin series.
 
  • #13
I could make a general sum formula for these but I think my teacher wants me to show all of my work in this way.
 
  • #14
Haha, on my piece of paper I was doing the problem on I wrote -x^2/16 for that term. I think it's time to sleep or take a good half hour break.
 
  • #15
vela said:
The problem is asking for the first three non-vanishing terms, so you need to calculate the x4 term too.
you mean... "IF the problem is asking for..."; the stated problem doesn't.

MelissaJL said:
I think it's time to sleep or take a good half hour break.
Looks like the 2am effect there :) Do something else for 15mins then sleep.
Otherwise you'll have to go through in tiny steps like when you first learned algebra.
The person setting the problem wanted you to notice that basically every other term in the series is zero ... since that's a discovery process, telling you would have been "doing your work for you" and against the rules.
Cheers.
 
  • Like
Likes 1 person
  • #16
Yeah I tried taking a bit of a break and my eyes are still fuzzy from the long day. I think it's time for sleep. Thank you all for your help. I'm sure I'm going to feel stupid in the morning when I look at the mistakes I made tonight :P
 
  • #17
Happens to everyone :)
One of the more powerful tools for problem-solving is "sleep on it". ;D
 

1. What is a Maclaurin series?

A Maclaurin series is a type of mathematical series that represents a function as an infinite sum of terms. It is named after the Scottish mathematician Colin Maclaurin and is a special case of a Taylor series, where the function is centered at x = 0.

2. How is a Maclaurin series calculated?

A Maclaurin series is calculated by taking the derivatives of a function at x = 0 and plugging them into the formula for a Maclaurin series. The formula is: f(x) = f(0) + f'(0)x + (f''(0)x^2)/2! + (f'''(0)x^3)/3! + ...

3. What is the Maclaurin series for (x2+4)-1?

The Maclaurin series for (x2+4)-1 is: 3 + 0x + (2x2)/2! + (0x3)/3! + (2x4)/4! + ...

4. How many terms are needed to approximate (x2+4)-1 to within a certain accuracy?

The number of terms needed to approximate (x2+4)-1 to within a certain accuracy depends on the desired accuracy and the complexity of the function. Generally, the more terms used, the more accurate the approximation will be.

5. What is the significance of the first three terms in the Maclaurin series for (x2+4)-1?

The first three terms in the Maclaurin series for (x2+4)-1 represent the constant term, the linear term, and the quadratic term of the function. These terms are the most important in determining the behavior of the function near x = 0 and can be used to approximate the function in that region.

Similar threads

  • Calculus and Beyond Homework Help
Replies
6
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
255
  • Calculus and Beyond Homework Help
Replies
3
Views
283
  • Calculus and Beyond Homework Help
Replies
10
Views
1K
  • Calculus and Beyond Homework Help
Replies
17
Views
885
  • Calculus and Beyond Homework Help
Replies
27
Views
2K
  • Calculus and Beyond Homework Help
Replies
17
Views
611
  • Calculus and Beyond Homework Help
Replies
2
Views
543
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
414
Back
Top