Could someone help me get my head around this Taylor Series stuff

In summary, the conversation discusses finding the Taylor series for f(x) = ln(sec(x)) at a = 0 and determining the first few coefficients. The formula for a Taylor series is provided and the process of finding the first few terms is explained. The conversation also includes a discussion about differentiating the function and simplifying the process by canceling out secant terms.
  • #1
the7joker7
113
0

Homework Statement



The Taylor series for f(x) = ln(sec(x)) at a = 0 is sum_(n=0to infinity) c(sub n) (x)^n.

Find the first few coefficients.

The Attempt at a Solution



I've been trying to figure out where to start by looking it up...I've seen instructions that each coefficient is just the nth derivative of the function, other's saying it's the nth derivative divided by n!, others say it's the nth derivative times n...and nothing comes out properly.

Help!
 
Physics news on Phys.org
  • #2
The Taylor series of a function,f(x) about a point x=a is given by:

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


as you can see, the nth term of a Taylor series is [itex]\frac{f^n(a)(x-a)^n}{n!}[/itex].
But what you need to find are the first few terms, so find f(a), then f'(a) and so forth and just put those values into the equation above.
 
  • #3
Okay, so I did...

ln(sec(0)) = 0, first term, this is correct...

(sec(1) * tan(1) / sec(1)) * (1 - 0) = 1.5574, but the correct answer is 0...ugh!

Help?
 
  • #4
the7joker7 said:
Okay, so I did...

ln(sec(0)) = 0, first term, this is correct...

(sec(1) * tan(1) / sec(1)) * (1 - 0) = 1.5574, but the correct answer is 0...ugh!

Help?

Your f(x)=ln(secx). You chose to expand about the point x=0. So the 'a' in the equation is 0

f'(x)=secxtanx/secx, f'(0)=sec0tan0/sec0=0.
 
  • #5
Is (sec(x)*(sec(x)*sec(x)^2+tan(x)*sec(x)*tan(x))-sec(x)*tan(x)*sec(x)*tan(x))/sec(x)^2 f''(x)?

EDIT: Jeez, these derivatives get huge...I must be working too hard somehow.
 
Last edited:
  • #6
No it does not.

f'(x) is given above by rock.freak667. Just differentiate it to get the answer. Note that you can cancel out sec x in the given expression to make your life much, much easier.
 
  • #7
the7joker7 said:
Is (sec(x)*(sec(x)*sec(x)^2+tan(x)*sec(x)*tan(x))-sec(x)*tan(x)*sec(x)*tan(x))/sec(x)^2 f''(x)?

EDIT: Jeez, these derivatives get huge...I must be working too hard somehow.

Yes, it is right. If you simplify that godawful mess by cancelling sec's, you just get sec^2(x). You are right. But listen to Defennder, you are working WAY TOO HARD.
 

FAQ: Could someone help me get my head around this Taylor Series stuff

What is a Taylor Series?

A Taylor Series is a mathematical representation of a function as an infinite sum of terms. It is used to approximate the value of a function at a specific point by using derivatives of the function at that point.

Why is understanding Taylor Series important?

Understanding Taylor Series allows us to approximate complex functions and make calculations that would otherwise be difficult or impossible. It is also a fundamental concept in calculus and is used extensively in various fields of science and engineering.

How do I calculate a Taylor Series?

To calculate a Taylor Series, you need to find the derivatives of the function at a specific point and plug them into the formula for the series. This will give you an infinite sum of terms, which you can then use to approximate the value of the function at that point.

What is the difference between a Taylor Series and a Maclaurin Series?

A Taylor Series is a generalization of a Maclaurin Series, which is a special case where the point of approximation is 0. In other words, a Maclaurin Series is a Taylor Series centered at 0.

How can I use Taylor Series in real-world applications?

Taylor Series can be used in various real-world applications, such as physics, engineering, and economics. For example, it can be used to approximate the trajectory of a projectile, calculate the value of an investment over time, or model the behavior of a chemical reaction.

Back
Top