Problem with the Absolute Value Signs in LaTeX

o_O

Full Member
Joined
Oct 20, 2007
Messages
396
Is it me or do the absolute signs not work?

Code:
[tex]\int secx dx = ln |secx + tanx | + C[/tex]
\(\displaystyle \int secx dx = ln |secx + tanx | + C\)

Dissecting it...

\(\displaystyle \int secx dx\)

\(\displaystyle \int secx dx = ln|secx + tanx\)

Adding that second absolute sign ..

\(\displaystyle \int secx dx = ln|secx + tanx|\)
 
Huh. Here I'd figured I must have been doing something wrong. Maybe there is a problem with the LaTeX installation.

Have you sent a message to Ted regarding this?

Eliz.
 
\(\displaystyle \int sec(x) dx\)
\(\displaystyle \int sec|x| dx\)
 
I had had the same problem fo at least 10 days.
Try this code. I cannot make it work.

\left| {x - c} \right| < \delta \quad \Rightarrow \quad \left| {f(x) - f(c)} \right| < \varepsilon
 
pka said:
\left| {x - c} \right| < \delta \quad \Rightarrow \quad \left| {f(x) - f(c)} \right| < \varepsilon

\(\displaystyle \left| {x - c} \right| < \delta \quad \Rightarrow \quad \left| {f(x) - f(c)} \right| < \varepsilon\)

Nope ...

----------

\(\displaystyle |x|\)

\(\displaystyle |secx|\)

\(\displaystyle ln|secx|\)

\(\displaystyle ln|secx tanx|\)

Interesting ... If I add the addition sign to ln|secx tanx|, it doesn't work anymore:

Code:
[tex]ln|secx + tanx|[/tex]

\(\displaystyle ln|secx + tanx|\)
 
\(\displaystyle ln|secx+tanx|\)

Try removing the space around the +
 
\(\displaystyle \int secx dx = ln|secx+tanx|+C\)

Ah it works now. Guess the spaces did something after all ...
 
pka said:
\left| {x - c} \right| < \delta \quad \Rightarrow \quad \left| {f(x) - f(c)} \right| < \varepsilon
\(\displaystyle \left|{x-c}\right|<\delta\quad\Rightarrow\quad\left|{f(x)-f(c)}\right|<\varepsilon\)
I got it to work only by removing all spaces in the code.
 
\(\displaystyle \int \sec x dx = \ln|secx+tanx| + C\)

Notice that placing the "\" prior to recognized math functions, the function name is no longer italicized and the variable is. However the reverse slash doesn't seem to work when within the absolute value signs. Also it seems to be very picky regarding the need and/or elimination of spaces.
 
Top