Register to reply

Integrating hyperbolic functions

by peripatein
Tags: functions, hyperbolic, integrating
Share this thread:
peripatein
#1
Nov9-12, 07:03 AM
P: 818
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
World's largest solar boat on Greek prehistoric mission
Google searches hold key to future market crashes
Mineral magic? Common mineral capable of making and breaking bonds
peripatein
#2
Nov9-12, 02:21 PM
P: 818
Does someone have an idea what is stymying my answer?
SteamKing
#3
Nov9-12, 03:32 PM
Emeritus
Sci Advisor
HW Helper
Thanks
PF Gold
P: 6,321
Why did you chose u = tanh(x)? What happens if you expand (tanh(x) + coth (x))?

peripatein
#4
Nov9-12, 03:42 PM
P: 818
Integrating hyperbolic functions

I used u=tanhx, as 1/(coshx)^2 is its derivative.
Dick
#5
Nov9-12, 04:36 PM
Sci Advisor
HW Helper
Thanks
P: 25,246
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
#6
Nov9-12, 04:52 PM
P: 818
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
#7
Nov9-12, 05:00 PM
Sci Advisor
HW Helper
Thanks
P: 25,246
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
#8
Nov9-12, 05:21 PM
P: 818
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
#9
Nov9-12, 05:24 PM
Sci Advisor
HW Helper
Thanks
P: 25,246
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
#10
Nov9-12, 05:32 PM
P: 818
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