Integrating hyperbolic functions


by peripatein
Tags: functions, hyperbolic, integrating
peripatein
peripatein is offline
#1
Nov9-12, 07:03 AM
P: 816
Hi,
I am trying to integrate (tanh(x)+coth(x))/((cosh(x))^2)
I am substituting u=tanh(x), du=dx/((cosh(x))^2)
and end up with 1/2(tanh(x))^2 + ln |tanh(x)| + C
which is incorrect. What am I doing wrong??
Phys.Org News Partner Science news on Phys.org
SensaBubble: It's a bubble, but not as we know it (w/ video)
The hemihelix: Scientists discover a new shape using rubber bands (w/ video)
Microbes provide insights into evolution of human language
peripatein
peripatein is offline
#2
Nov9-12, 02:21 PM
P: 816
Does someone have an idea what is stymying my answer?
SteamKing
SteamKing is offline
#3
Nov9-12, 03:32 PM
HW Helper
Thanks
P: 5,591
Why did you chose u = tanh(x)? What happens if you expand (tanh(x) + coth (x))?

peripatein
peripatein is offline
#4
Nov9-12, 03:42 PM
P: 816

Integrating hyperbolic functions


I used u=tanhx, as 1/(coshx)^2 is its derivative.
Dick
Dick is offline
#5
Nov9-12, 04:36 PM
Sci Advisor
HW Helper
Thanks
P: 25,175
Quote Quote by peripatein View Post
Does someone have an idea what is stymying my answer?
There is nothing wrong with your answer. If the book is giving one that looks different it may differ from yours by a constant.
peripatein
peripatein is offline
#6
Nov9-12, 04:52 PM
P: 816
Online calculators claim the integral to be -1/2*(coshx)^2 + ln |tanhx| + c.
1/2*(tanhx)^2 (which is the first term in my answer) is not equal to -1/2*(coshx)^2, is it?
Dick
Dick is offline
#7
Nov9-12, 05:00 PM
Sci Advisor
HW Helper
Thanks
P: 25,175
Quote Quote by peripatein View Post
Online calculators claim the integral to be -1/2*(coshx)^2 + ln |tanhx| + c.
1/2*(tanhx)^2 (which is the first term in my answer) is not equal to -1/2*(coshx)^2, is it?
Wolfram Alpha gives the first term as -(sechx)^2/2 and that does differ from (tanhx)^2/2 by a constant. What's the constant? Are you sure the online calculator isn't saying -1/(2*(coshx)^2)? You should use more parentheses when you write something like -1/2*(coshx)^2. It's ambiguous.
peripatein
peripatein is offline
#8
Nov9-12, 05:21 PM
P: 816
I am not following your argument. Is the answer which Wolfram's calculator yields equal to mine?
My answer is: (0.5)(tanh(x))^2 + ln |tanh(x)| + C
Wolfram's calculator's answer: (-0.5)(sech(x)^2) + ln [tanh(x)] + C
Dick
Dick is offline
#9
Nov9-12, 05:24 PM
Sci Advisor
HW Helper
Thanks
P: 25,175
Quote Quote by peripatein View Post
I am not following your argument. Is the answer which Wolfram's calculator yields equal to mine?
My answer is: (0.5)(tanh(x))^2 + ln |tanh(x)| + C
Wolfram's calculator's answer: (-0.5)(sech(x)^2) + ln [tanh(x)] + C
They are only 'equal' if you consider the '+C' part. (tanhx)^2+(sechx)^2=1. Use that identity.
peripatein
peripatein is offline
#10
Nov9-12, 05:32 PM
P: 816
I see. Thanks a lot!


Register to reply

Related Discussions
hyperbolic area sector confirmed with hyperbolic functions Calculus 0
Hyperbolic Functions Calculus & Beyond Homework 5
Hyperbolic Functions Calculus & Beyond Homework 3
problem with integrating to find scattering angle in hyperbolic orbit Advanced Physics Homework 0
Hyperbolic functions Calculus & Beyond Homework 2