Calculating Length Along ln(x) Using Trig Substitution

  • Thread starter Thread starter danielatha4
  • Start date Start date
  • Tags Tags
    Length
danielatha4
Messages
113
Reaction score
0
I'm currently trying to find the length along function of ln(x) for the heck of it.

I set up this integral for length

L= int/ sqrt(1+(y')^2)

so y'=1/x

so the integral becomes

int/ sqrt(1+(1/x^2)) = int/ sqrt(x^2+1)/x

So I used trig substitution. I set
tanA=x
secA=sqrt(x^2+1)
dx = sec^2(A) dA

so the integral becomes

int/ secA/tanA * sec^2A dA= int/ sec^2A cscA dA

d/dA cscA = -cotAcscA rearrange this and get -dsecA = cscA

so the integral becomes - int/ sec^2A dsecA

set u=secA

so the integral becomes - int/ u^2 du

so -(u^3/3) evaluated from limit a to b

let the original limits be x=1 and x=5
therefore they become A=arctan1 and A=arctan5
and u=sec(arctan(1)) and u=sec(arctan(5))
where sec(arctan(1))=sqrt(2) and sec(arctan(5)=sqrt(26)

However, if you plug these limits in you get a negative answer. Where did I go wrong?
 
Physics news on Phys.org
d/dA cscA = -cotAcscA rearrange this and get -dsecA = cscA

Sorry, but this is meaningless! You need to learn better about differential forms. In reality, we have

-d\,\sec A=-\sec A\tan A \,dA.
 
d/dA cscA = -cotAcscA

so dcscA = -cotAcscA dA

d cscA/-cotA = cscA dA

cscA/cotA = secA

-dsecA = cscA dA

Which step is wrong?
 
d cscA/-cotA = cscA dA

This is step is wrong because -\cot A is not a constant with respect to A. So you cannot divide by -\cot A in the differential form.
 
Oh ok, I see that now. Thanks. I'll try a different way of solving this problem.
 
I think this integral cannot be evaluated at all except by numerical methods. Ask your teacher about it. I guess there's a theorem in Differential Algebra that can decide whether an integral may be evaluated in terms of elementary functions or not.
 
I did manage to get this far

int/ sec^2A cscA
= int/ (tan^2A + 1) cscA
= int/ tanAsecA + int/ cscA
= secA + int/ cscA

is this right?

isn't the integral of cscA equal to ln| tan x/2 | ?
 
I think you've got a point. And you can write

\int\frac{\sqrt{1+x^2}}{x}dx=\sqrt{1+x^2}-\ln\left|\frac{\sqrt{1+x^2}+1}{x}\right|

And, if I haven't done any typo,

\int_1^5\frac{\sqrt{1+x^2}}{x}dx=4.3674894278899,

which is the length you desired. Yeah, two heads do think better than one. Mission accomplished! Now, please check my results, noting also that

\int\csc A\, dA=-\ln|\csc A+\cot A|=\ln|\tan A/2|.
 
Yeah, looks right to me. Thanks for the help.
 
Back
Top