Solving for Coth Manually: A Challenge for Experts

  • MHB
  • Thread starter ognik
  • Start date
  • Tags
    Challenge
In summary, the conversation revolves around finding a power series for the function $\coth x$. Various methods are suggested, including using derivatives and the Binomial series, but the most efficient solution involves using the power series for $\cosh x$ and $\sinh x$, without the long division, and using the "trick" of reciprocating a polynomial. The conversation ends with a discussion about the existence of a general formula for reciprocating a polynomial, with a solution involving long division or geometric expansion. However, it is noted that in practice, it is often sufficient to approximate the reciprocal of a polynomial.
  • #1
ognik
643
2
I must be in the 'optional for experts' section. I can get a series for coth using mathmatica, but would like to do it 'manually'. The power series for cosh & sinh leaves a division I don't want to attempt. I tried $ \frac{cosh}{sinh} = \frac{{e}^{2x+1}+1}{{e}^{2x-1}+1} $ and using Maclauren, but that has a singularity for f(0) ... A clue perhaps?
 
Physics news on Phys.org
  • #2
ognik said:
I must be in the 'optional for experts' section. I can get a series for coth using mathmatica, but would like to do it 'manually'. The power series for cosh & sinh leaves a division I don't want to attempt. I tried $ \frac{cosh}{sinh} = \frac{{e}^{2x+1}+1}{{e}^{2x-1}+1} $ and using Maclauren, but that has a singularity for f(0) ... A clue perhaps?

Maybe you can use a derivative to help you. Warning, this won't be pretty...

$\displaystyle \begin{align*} \frac{\mathrm{d}}{\mathrm{d}x} \,\left[ \coth{(x)} \right] &= \frac{\mathrm{d}}{\mathrm{d}x} \, \left[ \frac{\cosh{(x)}}{\sinh{(x)}} \right] \\ &= \frac{\sinh{(x)}\sinh{(x)} - \cosh{(x)}\cosh{(x)}}{\left[ \sinh{(x)} \right] ^2 } \\ &= \frac{- \left[ \cosh^2{(x)} - \sinh^2{(x)} \right] }{\sinh^2{(x)}} \\ &= -\frac{1}{\sinh^2{(x)}} \\ &= -\frac{1}{ \left( \frac{\mathrm{e}^x - \mathrm{e}^{-x}}{2} \right) ^2 } \\ &= -\frac{4}{ \left( \mathrm{e}^x - \mathrm{e}^{-x} \right) ^2 } \\ &= -\frac{4}{ \left( \mathrm{e}^{-x} \right) ^2 \left( \mathrm{e}^{2x} - 1 \right) ^2 } \\ &= -4\,\mathrm{e}^{2x}\,\left( 1 - \mathrm{e}^{2x} \right) ^{-2} \end{align*}$

Now I would advise you to expand $\displaystyle \begin{align*} \left[ 1 + \left( - \mathrm{e}^{2x} \right) \right] ^{-2} \end{align*}$ using the Binomial series, and then substitute the entire exponential series. Multiply everything out and you will have a series for $\displaystyle \begin{align*} \frac{\mathrm{d}}{\mathrm{d}x} \, \left[ \textrm{coth}\,(x) \right] \end{align*}$, which you can then integrate to get a series for $\displaystyle \begin{align*} \textrm{coth}\,(x) \end{align*}$. Told you it wasn't pretty :P
 
  • #3
Trying again, the full problem is to expand as a power series P(X), where $ P(x) = c(\frac{cosh(x)}{sinh(x)} - \frac{1}{x}) $ (I'm told the classical Langevin theory of paramagnetism leads to this expression for the magnetic polarization)

So Mathematica gives me $ \frac{cosh(x)}{sinh(x)} = \frac{1}{x} + \frac{x}{3} - \frac{{x}^{3}}{45} + \frac{2x^5}{945} + ... $
and I immediately saw how neatly the $ \frac{1}{x} $ cancels, when the 'series' $ \frac{1}{x} $ is subtracted from the coth series, all good.

But, other than this, I have really struggled for a 'clever' way to expand $ \frac{cosh(x)}{sinh(x)} $. I also tried letting $e^{x} $ =u, giving $ \frac{u+\frac{1}{u}}{u-\frac{1}{u}} $ etc., but that just gave me a series in $ e^{2x} $ or brought me back to the exponential version of $ \frac{cosh(x)}{sinh(x)} = \frac{e^{2x}+1}{e^{2x}-1} $

I thought of using $ ln(1+x) = \sum_{n=1}^{\infty}(-1)^{n+1}\frac{x^{n}}{n} $, but again I only managed a series in $ e^{2x} $... need a hint please.
 
  • #4
The power series expansion of $\coth x$ involves Bernoulli numbers. The formula \(\displaystyle \coth x = \frac1x + \sum_{n=1}^\infty \frac{2^{2n}B_{2n}x^{2n-1}}{(2n)!}\) (valid for $0<|x|<\pi$) is given here, but without any details of how to derive it.
 
  • #5
Thanks Opalg, that works.

I have also found an example of the type of expansion I was looking for - using the power series of Cosh and Sinh, but WITHOUT the long division - see calculus - Power (Laurent) Series of $\coth(x)$ - Mathematics Stack Exchange.

That uses a 'trick' that I didn't know, but would like to understand better - 'reciprocating a polynomial' - the solution in the above article implies there is a formula to find the reciprocal of a polynomial (I expect to a limited power?). For example the author of the solution reciprocates $ \frac{1}{1+ax^2+bx^4+O(x^4)} = 1-ax^2+(a^2-b)x^4 + O(x^4) $
Does anyone know a general formula for reciprocating a polynomial?
 
  • #6
ognik said:
Does anyone know a general formula for reciprocating a polynomial?

That particular post explains immediately after - by writing it as a geometric series.
 
  • #7
I could follow that, just wondered if there was a generalised formula that could also give the higher power coefficients for the reciprocal? For example if the polynomial was a + bx^2 + cx^3 + dx^4 + ex^5 - it could get messy using that geo-series trick...
 
  • #8
ognik said:
I could follow that, just wondered if there was a generalised formula that could also give the higher power coefficients for the reciprocal? For example if the polynomial was a + bx^2 + cx^3 + dx^4 + ex^5 - it could get messy using that geo-series trick...

Well, if we write your polynomial $a + bx^2 + cx^3 + dx^4 + ex^5 + ...$ as $a\Big(1-a_1x-a_2x^2-a_3x^3-a_4x^4-O(x^5)\Big)$, using geometric expansion or long division, we can find that:
$$\frac{1}{a\Big(1-a_1x-a_2x^2-a_3x^3-a_4x^4-O(x^5)\Big)} = \\
\frac{1}{a}\Big(1+a_1x+(a_1^2+a_2)x^2 + (a_1^3+2a_2a_1+a_3)x^3 + (a_1^4 + 3a_2a_1^2+2a_3a_1+a_2^2+a_4)x^4 + O(x^5)\Big)
$$

That's not too messy, is it? (Wondering)
 
  • #9
Not too messy - I was looking for a formula because I find I sometimes make mistakes with long, drawn out workings; I need to be more patient I know.
It appears there is no commonly known formula for this, fortunately we always have mathematica. Thanks ILS.
 
  • #10
For the record, in practice it usually suffices to approximate:
$$\frac{1}{1-ax-O(x^2)} = 1 + ax + O(x^2)$$
 

FAQ: Solving for Coth Manually: A Challenge for Experts

What is coth and how is it different from other mathematical functions?

Coth, also known as hyperbolic cotangent, is a mathematical function that is the inverse of the hyperbolic tangent function. It is used to solve mathematical equations involving hyperbolic functions. Unlike other mathematical functions, coth is not commonly used in everyday calculations, making it a challenge for experts to solve manually.

Why is solving for coth manually considered a challenge for experts?

Solving for coth manually requires a deep understanding of hyperbolic functions and their properties. It involves complex algebraic manipulations and can be time-consuming. Additionally, coth is not a commonly used function, making it a less familiar topic for many experts.

What are some common strategies used to solve for coth manually?

Some common strategies used to solve for coth manually include using the definition of coth as the ratio of hyperbolic cosine and sine, converting coth to its exponential form, and using trigonometric identities. Additionally, experts may use their knowledge of limits and derivatives to solve for coth.

How can solving for coth manually benefit mathematicians and scientists?

Solving for coth manually can benefit mathematicians and scientists by improving their problem-solving skills and deepening their understanding of hyperbolic functions. It can also help them develop new strategies and techniques for solving complex mathematical equations, which can be applied to other fields of research.

Are there any tools or techniques that can assist in solving for coth manually?

Yes, there are various tools and techniques that can assist in solving for coth manually, such as using graphing calculators, Wolfram Alpha, and symbolic computation software. However, these tools should be used as a supplement to manual solving, as they may not provide a full understanding of the process.

Similar threads

Replies
7
Views
2K
Replies
4
Views
1K
Replies
1
Views
1K
Replies
2
Views
2K
Replies
4
Views
2K
Replies
1
Views
2K
Back
Top