Series expansion of logarithmic function ln(cosx)

Click For Summary
SUMMARY

The forum discussion focuses on finding the first three non-zero terms of the logarithmic function ln(cos x). The user initially attempted to express cos x as 1 + (1 - cos x) and applied the power series of the logarithm, resulting in the terms 1/2x^2 - 1/6x^4 + 1/16x^6. However, this approach was identified as incorrect. The correct method involves expanding ln(1-z) in powers of z, substituting the series expansion of 1-cos(x) for z, and considering the Taylor series derived from the first six derivatives of ln(cos x) at zero.

PREREQUISITES
  • Understanding of Taylor series and Maclaurin series
  • Familiarity with the logarithmic function and its properties
  • Knowledge of trigonometric functions, specifically cosine
  • Ability to perform calculus operations such as differentiation and integration
NEXT STEPS
  • Learn how to derive Taylor series for functions, specifically ln(cos x)
  • Study the power series expansion of ln(1-z) and its applications
  • Explore the relationship between differentiation, integration, and power series convergence
  • Practice calculating derivatives of trigonometric functions to form Taylor series
USEFUL FOR

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

seboastien
Messages
52
Reaction score
0

Homework Statement


A question asks me to find the first three non-zero terms of ln(cosx)


Homework Equations





The Attempt at a Solution



I wrote cos x as 1+(1-cos x), used the power series of ln function, expanded cosx and simplified, here is my answer: 1/2x^2 - 1/6x^4 + 1/16x^6

Is that right?
 
Physics news on Phys.org
seboastien said:
[A question asks me to find the first three non-zero terms of ln(cosx)

I wrote cos x as 1+(1-cos x), used the power series of ln function, expanded cosx and simplified, here is my answer: 1/2x^2 - 1/6x^4 + 1/16x^6

Is that right?

You can easily check for yourself. Try some suitable data, and use your calculator. Say, x=0.7

ln(cos(0.7)) = -0.282

How close is your approximation to this, for x=0.7 ?
 
okay, so It's wrong... where exactly have I messed up then?
 
They're being cute here. What is ln(cos x) the integral of? (If you don't recall, differentiate this function.) What is the series expansion of that function? Now integrate that term-by-term.
 
thanks, I'm not entirely certain, but is the differential -tanx?
 
seboastien said:

Homework Statement


A question asks me to find the first three non-zero terms of ln(cosx)


Homework Equations





The Attempt at a Solution



I wrote cos x as 1+(1-cos x), used the power series of ln function, expanded cosx and simplified, here is my answer: 1/2x^2 - 1/6x^4 + 1/16x^6

Is that right?

If all you want are a few terms, the easiest method is to expand ln(1-z) in powers of z, then substitute the first few terms of 1-cos(x) in place of z, that is, to use z = x^2/2 - x^4/4! + x^6/6! - ... . As to where you messed up: do you *really* think that cos(x) = 1 + (1 - cos(x))?

RGV
 
seboastien said:
thanks, I'm not entirely certain, but is the differential -tanx?

It is: you have either worked out its series expansion in your course, or you can get the first few terms yourself.
 
seboastien said:

Homework Statement


A question asks me to find the first three non-zero terms of ln(cosx)


Homework Equations





The Attempt at a Solution



I wrote cos x as 1+(1-cos x), used the power series of ln function, expanded cosx and simplified, here is my answer: 1/2x^2 - 1/6x^4 + 1/16x^6

Is that right?

What's wrong with just brute-force calculation of the first six derivatives of that function at zero, then form the Taylor series at zero? Think it would have been easier than your persuit otherwise.
 
The solution suggested by dynamicsolo seems easy enough to me.
 
  • #10
jackmell said:
What's wrong with just brute-force calculation of the first six derivatives of that function at zero, then form the Taylor series at zero?

There's nothing wrong with the direct approach. However, if a function can be recognized as being related to another one through algebraic manipulation, differentiation, or integration, you could save yourself a lot of work (sometimes work you already did to get the other Taylor/Maclaurin series).

And you get a bonus: the radius of convergence of a power series is not altered by differentiation or integration (and can be re-evaluated easily in the case of algebraic manipulation)!
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 22 ·
Replies
22
Views
4K
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 9 ·
Replies
9
Views
6K
  • · Replies 12 ·
Replies
12
Views
3K