- 1,424
- 3
Hi,
I've come across some problems while reading a mathematics books.
1. The first problem is:
\int \max (1, x ^ 2) dx
My answer is:
x + C, |x| \leq 1
\frac{x ^ 3}{3} + C, |x| > 1
But the book does not seem to agree with me. It reads:
x + C, |x| \leq 1
\frac{x ^ 3}{3} +\frac{2}{3} \mbox{sgn} x + C, |x| > 1
Why does the \frac{2}{3} \mbox{sgn} x appears there?? What am I missing here?
2. The second problem is:
\int (|1 + x| - |1 - x|) dx
I've never seen an absolute value in an integral before... What should I do?
Any help will be appreciated.
Viet Dao,
I've come across some problems while reading a mathematics books.
1. The first problem is:
\int \max (1, x ^ 2) dx
My answer is:
x + C, |x| \leq 1
\frac{x ^ 3}{3} + C, |x| > 1
But the book does not seem to agree with me. It reads:
x + C, |x| \leq 1
\frac{x ^ 3}{3} +\frac{2}{3} \mbox{sgn} x + C, |x| > 1

Why does the \frac{2}{3} \mbox{sgn} x appears there?? What am I missing here?

2. The second problem is:
\int (|1 + x| - |1 - x|) dx
I've never seen an absolute value in an integral before... What should I do?
Any help will be appreciated.
Viet Dao,