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

Click For Summary
SUMMARY

The discussion focuses on finding the Taylor series coefficients for the function f(x) = ln(sec(x)) at the point a = 0. The correct formula for the nth coefficient is established as c(n) = f^(n)(a) / n!, where f^(n)(a) represents the nth derivative evaluated at a. Participants emphasize the importance of simplifying derivatives, particularly noting that f'(x) = sec(x)tan(x) can be simplified to ease calculations. The initial term is confirmed as ln(sec(0)) = 0, leading to confusion over subsequent terms.

PREREQUISITES
  • Understanding of Taylor series expansion
  • Knowledge of derivatives and their calculations
  • Familiarity with trigonometric functions, specifically secant and tangent
  • Ability to simplify complex expressions
NEXT STEPS
  • Study the derivation of Taylor series for various functions
  • Practice calculating higher-order derivatives of trigonometric functions
  • Learn techniques for simplifying complex derivatives
  • Explore the application of Taylor series in approximating functions
USEFUL FOR

Students studying calculus, particularly those focusing on series expansions and derivatives, as well as educators seeking to clarify concepts related to Taylor series.

the7joker7
Messages
111
Reaction score
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
The Taylor series of a function,f(x) about a point x=a is given by:

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!}+...


as you can see, the nth term of a Taylor series is \frac{f^n(a)(x-a)^n}{n!}.
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.
 
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?
 
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.
 
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:
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.
 
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.
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
9
Views
4K
Replies
18
Views
4K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
8K
  • · Replies 3 ·
Replies
3
Views
4K