Problems while reading a mathematics books

Click For Summary

Discussion Overview

The discussion revolves around challenges faced while reading mathematics books, specifically focusing on integrals involving absolute values and piecewise functions. Participants explore the integration of functions defined by maximum and minimum conditions, as well as the implications of continuity in piecewise integrals.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant presents a problem involving the integral of the maximum function, questioning the appearance of a signum function in the book's solution.
  • Another participant suggests that the signum function is necessary to account for changes in the function's behavior at critical points.
  • Several participants discuss breaking the integral into subproblems to handle the piecewise nature of the functions involved.
  • One participant proposes interpreting a second integral as involving the minimum function, indicating a possible alternative approach.
  • There is a discussion about the continuity of the integral and the need to relate constants of integration across different intervals.
  • Participants share specific calculations for the integrals, emphasizing the importance of continuity at the boundaries of the piecewise definitions.

Areas of Agreement / Disagreement

Participants express differing views on the necessity and role of the signum function in the first integral, and there is no consensus on the best approach to handle the integrals involving absolute values. The discussion remains unresolved regarding the interpretation and integration of these functions.

Contextual Notes

Participants note the importance of continuity in determining constants of integration, but the specific mathematical steps and assumptions involved in the calculations are not fully resolved.

VietDao29
Homework Helper
Messages
1,424
Reaction score
3
Hi,
I've come across some problems while reading a mathematics books.
1. The first problem is:
[tex]\int \max (1, x ^ 2) dx[/tex]
My answer is:
[tex]x + C, |x| \leq 1[/tex]
[tex]\frac{x ^ 3}{3} + C, |x| > 1[/tex]
But the book does not seem to agree with me. It reads:
[tex]x + C, |x| \leq 1[/tex]
[tex]\frac{x ^ 3}{3} +\frac{2}{3} \mbox{sgn} x + C, |x| > 1[/tex] :confused:
Why does the [tex]\frac{2}{3} \mbox{sgn} x[/tex] appears there?? What am I missing here? :confused:
2. The second problem is:
[tex]\int (|1 + x| - |1 - x|) dx[/tex]
I've never seen an absolute value in an integral before... What should I do?
Any help will be appreciated.
Viet Dao,
 
Physics news on Phys.org
I haven't a clue about where that signum comes from in the first integral, but as for the second, abs(f(x)) = f(x)*sgn(x), and d(sgn(x))/dx = 0 except at x=0. Or you can do it by finding the integral of abs(x)dx and using substitution for abs(u)du for more complicated u(x). If you don't like writing sgn(x) in your answer, note that sgn(x) = x/|x| for x<>0 and 0 for x=0.
 
Last edited:
You appear to be assuming that x> 0 in your calculations. Certainly for x< 0, there will come a sharp change at x= -1 as well as your change at x= 1. I haven't worked out the calculation but certainly sgn(x) would be there to distinguish between x< 0 and x> 0. Your integrand is an even function so the integral will be an odd function.
 
1. Basically, the problem is this: you divided the problem into three subproblems, but you forgot that you need to put the three answers together to get your final answer! (and putting them together, while easy, is not trivial)

Your analysis on each of the three individual subproblems is correct, though. (Yes, I mean three, not two... think about it)


2. Do the same thing you did in 1: break the problem up into pieces.

If that isn't enough, recall that |x| = max(x, -x)
 
For problem 2, I think you can interpret it as the integral of 2*min(1,x)dx.
 
Uhmm, I didn't really get what you mean...
So I have:
[tex]f(x) = \left\{ \begin{array}{ll} x ^ 2 & \mbox{if } x < -1 \\ 1 & \mbox{if }-1 \leq x \leq 1 \\ x ^ 2 & \mbox{if } x > 1 \end{array} \right[/tex]
And I integrate each of them, then... how can I put them together?? Can you give me a small example, please?
Thanks,
Viet Dao,
 
Last edited:
You will have a constant of integration in each part- but your answer, the integral of the entire function, should have only one such constant. Requiring that the integral be continuous at -1 and 1 gives you two equations relating the three constants.
 
Uhmm, do you mean:
Let C1, C2, C3 be the constant of the first, second, and third integral.
So the two equation will be:
[tex]\left\{ \begin{array}{l} \mathop{\lim} \limits_{x \rightarrow -1} \frac{x ^ 3}{3} + C_1 = \mathop{\lim} \limits_{x \rightarrow -1} x + C_2 \\ \mathop{\lim} \limits_{x \rightarrow 1} x + C_2 = \mathop{\lim}\limits_{x \rightarrow 1} \frac{x ^ 3}{3} + C_3 \end{array} \right[/tex]
Is that correct?
Viet Dao,
 
Last edited:
Use:
Code:
\mathop {\lim }\limits_{x \to 1}

=> [tex]\mathop {\lim }\limits_{x \to 1}[/tex]
 
  • #10
[tex]\int (|1 + x| - |1 - x|) dx[/tex]
[tex]x>1: \int (|1 + x| - |1 - x|) dx = \int (1+x)-(x-1) dx = \int 2 dx = 2x + A[/tex]
[tex]-1<x<1: \int (|1+x| - |1-x|) dx = \int (1+x)-(1-x) dx = \int 2x dx = x^{2} + B[/tex]
[tex]x<-1: \int(|1+x| - |1-x|) dx = \int (-1-x)-(1-x) dx = \int -2 dx = -2x+C[/tex]
 
  • #11
VietDao29 said:
Uhmm, do you mean:
Let C1, C2, C3 be the constant of the first, second, and third integral.
So the two equation will be:
[tex]\left\{ \begin{array}{l} \lim_{x \rightarrow -1} \frac{x ^ 3}{3} + C_1 = \lim_{x \rightarrow -1} x + C_2 \\ \lim_{x \rightarrow 1} x + C_2 = \lim_{x \rightarrow 1} \frac{x ^ 3}{3} + C_3 \end{array} \right[/tex]
Is that correct?
-----------

Yes, that's correct. And since those are continuous functions you have:
[itex]-\frac{1}{3}+ C_1= -1+ C_2[/itex] or [itex]C_2= C_1+ \frac{2}{3}[/itex] as well as [itex]1+ C_2= \frac{1}{3}+ C_3[/itex] so [itex]C_3= C_2+ \frac{2}{3}= C_1+ \frac{4}{3}[/itex].
 
  • #12
Gaz031 said:
[tex]\int (|1 + x| - |1 - x|) dx[/tex]
[tex]x>1: \int (|1 + x| - |1 - x|) dx = \int (1+x)-(x-1) dx = \int 2 dx = 2x + A[/tex]
[tex]-1<x<1: \int (|1+x| - |1-x|) dx = \int (1+x)-(1-x) dx = \int 2x dx = x^{2} + B[/tex]
[tex]x<-1: \int(|1+x| - |1-x|) dx = \int (-1-x)-(1-x) dx = \int -2 dx = -2x+C[/tex]

I don't understand. Are these related to the topic of this thread?

If these are intended as an additional example, again, you have to use the continuity of the integral to determine the constants.

At x= 1, 2x+ A= 2+ A= 1+ B= x2+ B so B= A+ 1.
At x= -1, x^2+ B= 1+ B= 2+ C= -2x+ C so C= B- 1= A

The integral is 2x+ A if x>1, [itex]x^2+ 1+ A[/itex] if [itex]-1\le x\le 1[/itex], and -2x+ A if x< -1.
 
  • #13
Thanks a lot, I get it now. :smile:
Viet Dao,
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 16 ·
Replies
16
Views
5K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K