View Full Version : [SOLVED] TI-89 integral
ehrenfest
Mar9-08, 03:38 PM
1. The problem statement, all variables and given/known data
My TI-89 says that
\int \frac{1}{\cos x} dx = \ln \left(\frac{-\cos(x)}{\sin(x)-1}\right)
which is just wrong isn't it!?!?!
See http://en.wikipedia.org/wiki/Lists_of_integrals
2. Relevant equations
3. The attempt at a solution
feuerwasser
Mar9-08, 04:26 PM
mine is giving me the same answer, but in absolute values... maybe your in a different format? Also, wikipedia can be edited by anyone so you probably shouldn't trust it for most things
ehrenfest
Mar9-08, 04:37 PM
OK. Here is a better source https://www.math.lsu.edu/~adkins/m2065/IntegralTable.pdf. Even with absolute values the result is still clearly wrong as you can see from number 8 at the link. Wikipedia had the same result therefore I trust Wikipedia more than Texas Instruments :)
EDIT: maybe it is not wrong; but then how do you manipulate the TI-89 answer to get the integral table answer?
rock.freak667
Mar9-08, 06:27 PM
It is correct as the expression in the brackets is equivalent to tanx+secx. But I don't have a TI-89 so I can't really help you. But why do you want it to show it in the way the integral table has it?
feuerwasser
Mar9-08, 06:50 PM
well... i know that cos(x)/sin(x)= cot(x) and cot(x)-1= (cos(x)-sin(x))/sin(x)
so.. i don't know they probably go together somehow
Indefinite integrals of a function are unique only up to a constant.
HallsofIvy
Mar10-08, 06:49 AM
Well, I, not having a TI89 calculator at hand, would have to do the integral by hand (Poor me!).
\int \frac{1}{cos x}dx= \int \frac{cos x}{cos^2 x} dx= \int \frac{cos x}{1- sin^2x}dx
Letting u= sin(x), du= dx, the integral becomes
\int \frac{du}{1- u^2}= \frac{1}{2}\int \frac{du}{1-u}+ \frac{1}{2}\int \frac{du}{1+u}
by partial fractions. Integrating each of those, I get
\frac{1}{2}ln(1-u)}+ \frac{1}{2}ln(1+u)}= ln\left(\sqrt{\frac{1+u}{1- u}}\right)+ C
= ln\left(\sqrt{\frac{1+ sin(x)}{1- sin(x)}}\right)+ C
Multiplying both numerator and denominator of the fraction by 1- sin(x),
= ln\left(\sqrt\frac{1-sin^2(x)}{1+sin(x)^2}}\right)+ C= ln\left(\sqrt{\frac{cos^2(x)}{(1- sin2(x))^2}}\right)+ C[/itex]
[tex]= ln\left(\frac{cos(x)}{1- sin(x)}\right)+ C
Yes, it looks like the TI89 is right!
As far as the Wikipedia result is concerned, I suspect a trig identity would give the same thing but I will let someone else show that.
\tan x + \sec x = \frac{\sin x}{\cos x} + \frac{1}{\cos x} = \frac{1+ \sin x}{\cos x}
\frac{\cos x}{1-\sin x} = \frac{\cos x (1+ \sin x)}{1-\sin^2 x} = \frac{\cos x(1+ \sin x)}{\cos^2 x} = \frac{1+\sin x}{\cos x}.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.