Problem with integration, relating natural log and arctanh

Click For Summary

Homework Help Overview

The problem involves a differential equation from chemical kinetics, specifically a Riccati type equation. The original poster is attempting to solve the equation using separation of variables and is integrating to express the solution in terms of natural logarithms, while the expected solution is in terms of the inverse hyperbolic tangent function (arctanh).

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • The original poster integrates using partial fraction decomposition and expresses the integral in terms of natural logarithms, questioning how to relate this to arctanh. Some participants suggest checking for sign errors and manipulating the logarithmic expression to match the expected form.

Discussion Status

Participants are actively discussing the relationship between the logarithmic and arctanh forms. There are suggestions to manipulate the expressions and check for errors, indicating a productive exploration of the problem. However, there is no explicit consensus on the resolution of the issue at this stage.

Contextual Notes

Participants note potential sign errors and the need to consider identities related to logarithms and hyperbolic functions. The original poster is working within the constraints of a chemistry class context, where not all participants may have a strong background in differential equations.

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: 571
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   Reactions: 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   Reactions: 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:

Similar threads

Replies
2
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K