Problem with integration, relating natural log and arctanh

alocs.3
Messages
2
Reaction score
0

Homework Statement


The problem is actually from chemical kinetics, but my problem is solving the differential equation obtained.

(dx(t))/(dt) = -j*x^2-k*x+k*a ; x is a function of t, and j,k,a are all real positive constants.

Homework Equations


I know this is a Ricatti type equation. But this is from a class for chemists who haven't taken any differential equations classes. So I was trying to solve it by separation of variables. So, the x integral you obtain is

∫ dx/ (-j*x^2-k*x+k*a) with x from 0 to x.

The Attempt at a Solution


I integrate this by means of partial fraction decomposition to obtain the answer in terms of natural log, and in terms of Δ (the discriminant of the second order polynomial)

∫=(j/√Δ)ln[(2jx+k-√Δ)/(2jx+k+√Δ)] + c (this is the indefinite integral)

but the answer expected to obtain is in terms of arctanh (inverse hyperbolic tangent function), I know they're related by arctanhx = ln(1+x/1-x)/2 , but I can't see how to relate my answer to this.

I attach basically the same information I already wrote but in paper, and the expected solution for the differential equation, even though I know that if I can relate the ln answer to the arctan one the rest of the problem is just solving for x.
Thanks for the help!
 

Attachments

  • 2015-05-01 22.58.34.jpg
    2015-05-01 22.58.34.jpg
    38.7 KB · Views: 550
Physics news on Phys.org
You dropped a factor of j and have a sign error. Also, use the fact that
$$\tanh^{-1} \alpha = \frac 12 \log \frac{1+\alpha}{1-\alpha}.$$
 
  • Like
Likes alocs.3
alocs.3 said:
but the answer expected to obtain is in terms of arctanh (inverse hyperbolic tangent function), I know they're related by arctanhx = ln(1+x/1-x)/2 , but I can't see how to relate my answer to this.

Just divide the numerator and denominator of the fraction you got in ln(..) by ##\sqrt\Delta##. Also j shouldn't be there , it is just ##\frac{1}{\sqrt\Delta}ln(...)##. ( I guess you forgot to put 1/j when taking the integral of ##\frac{1}{2jx+k+\sqrt\Delta}##)

In cases like this i ve to say wolfram is your best friend, just go www.wolframalpha.com and enter " integral dx/ (-j*x^2-k*x+k*a) " in the text box to see the answer. Ofcourse one should try to work out things by himself first, but its always good to know the answer if you know how to handle it properly.
 
Last edited:
  • Like
Likes alocs.3
Thanks for the help, both of you!
Delta² said:
Just divide the numerator and denominator of the fraction you got in ln(..) by ##\sqrt\Delta##.

I did checked Wolfram's answer, and it is in terms of arctanh, that's why I'm trying to relate my answer to it. Also, I tried what you said, dividing by ##\sqrt\Delta## but that gives something of the form ln(x-1/x+1) and the identity is in the form:

vela said:
Also, use the fact that
$$\tanh^{-1} \alpha = \frac 12 \log \frac{1+\alpha}{1-\alpha}.$$

is there an identity I'm missing for logarithms?

I can see I'm almost there, but I don't know how to change the sign inside the log term.
 
Perhaps you need to use the fact that ##\frac{1+a}{1-a} = \left(\frac{1-a}{1+a}\right)^{-1}##.
 
There is a sign error afterall, as vela pointed out early on, you actually factorized jx^2+kx-ka the way you did it. So, we must put a minus sign in front so it becomes after all (using -lny=ln(1/y), ##ln\frac{2jx+k+\sqrt\Delta}{2jx+k-\sqrt\Delta}## but hmm this last expression is equal to ##2coth^{-1}(\frac{2jx+k}{\sqrt\Delta})=2tanh^{-1}(\frac{\sqrt\Delta}{2jx+k})##. i wonder what is going on here...
 
Last edited:
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top