# How to Derive the Taylor Series for log(x)?

• I
• PainterGuy
In summary, you were trying to solve the following problem yourself but couldn't figure out how the given Taylor series for log(x) is found.
PainterGuy
Hi,

I was trying to solve the following problem myself but couldn't figure out how the given Taylor series for log(x) is found.

Taylor series for a function f(x) is given as follows.

Question 1:
I was trying to find the derivative of log(x).

My calculator gives it as d{log(x)}/dx=1/In(x)*x.

How do I convert log(e)/x to 1/In(x)*x? Logarithm base change formula isn't working for me. Thank you for your help!

#### Attachments

• taylor_logx.jpg
19.5 KB · Views: 2,308
• taylor_fx.jpg
4.5 KB · Views: 618
• derivative_log.jpg
6.8 KB · Views: 631
Last edited:
The log function in the example is the natural log, so log(e) = 1.

PainterGuy
Thank you!

Question 1:
vela said:
The log function in the example is the natural log, so log(e) = 1.

I believe that you are referring to Example 6 shown below.

You can see that the Taylor series in Example 6 doesn't have "x" and "x²" in denominator for the first two terms. But the Taylor series found by me has "x" and "x²" in denominator as shown below. Where am I going wrong?

Question 2:

#### Attachments

• taylor_logx1.jpg
26.4 KB · Views: 1,150
• derivative_log1.jpg
21.5 KB · Views: 588
PainterGuy said:
Thank you!

Question 1:I believe that you are referring to Example 6 shown below.

View attachment 245372

You can see that the Taylor series in Example 6 doesn't have "x" and "x²" in denominator for the first two terms. But the Taylor series found by me has "x" and "x²" in denominator as shown below. Where am I going wrong?

View attachment 245373

I think you've calculated f'(x) = 1/x and f''(x) = -1/x^2, but forgot that these derivatives are evaluated at x = a, and should therefore be 1/a = 1 and -1/a^2 = -1.

PainterGuy
On your calculator, "log" means ##\log_{10}## whereas in the example "log" means ##\log_e## or what on your calculator is called ##\ln##. It's pretty common in mathematics to dispense with the ##\ln## notation and use ##\log## to refer to the natural logarithm.

PainterGuy
Thanks a lot!

I understand it now.

The following is a related example with a=2.

Also:

#### Attachments

• related_example.jpg
31.3 KB · Views: 504
• LOG_TAYLOR.jpg
2.4 KB · Views: 497

## 1. What is a Taylor series for log(x)?

A Taylor series for log(x) is a mathematical representation of the natural logarithm function using a finite sum of terms. It is used to approximate the value of log(x) for any given input value of x.

## 2. How is a Taylor series for log(x) calculated?

A Taylor series for log(x) is calculated using the formula: log(x) = (x-1) - (x-1)^2/2 + (x-1)^3/3 - (x-1)^4/4 + ... + (-1)^(n+1) * (x-1)^n/n, where n is the number of terms used in the approximation.

## 3. What is the purpose of using a Taylor series for log(x)?

The purpose of using a Taylor series for log(x) is to approximate the value of log(x) for any given input value of x, especially when the input value is not a whole number or is a very large or small number. It is also used in calculus to simplify complex functions and make them easier to work with.

## 4. What is the difference between a Taylor series for log(x) and a Maclaurin series for log(x)?

A Taylor series for log(x) is centered around any given value of x, while a Maclaurin series for log(x) is centered around x = 0. This means that a Maclaurin series for log(x) is a special case of a Taylor series for log(x) where the input value of x is 0.

## 5. How accurate is a Taylor series for log(x)?

The accuracy of a Taylor series for log(x) depends on the number of terms used in the approximation. The more terms that are used, the more accurate the approximation will be. However, as the number of terms increases, the complexity of the calculation also increases.

• Calculus
Replies
2
Views
1K
• Calculus
Replies
9
Views
818
• Calculus
Replies
3
Views
2K
• Calculus
Replies
3
Views
965
• Calculus
Replies
3
Views
1K
• Calculus
Replies
19
Views
2K
• Calculus
Replies
2
Views
1K
• Calculus
Replies
3
Views
1K
• Calculus
Replies
2
Views
1K
• Calculus
Replies
17
Views
3K