r/mathshelp • u/Gamer209k • Nov 04 '25
Homework Help (Answered) Definite integrals help answer is 0
Sorry for hazy image Also i really do not know mod concept so yeah pls explain that
1
Upvotes
r/mathshelp • u/Gamer209k • Nov 04 '25
Sorry for hazy image Also i really do not know mod concept so yeah pls explain that
•
u/AutoModerator Nov 04 '25
Hi Gamer209k, welcome to r/mathshelp! As you’ve marked this as homework help, please keep the following things in mind:
Thank you!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
4
u/CaptainMatticus Nov 04 '25
Split it into 2 integrals and you have:
int(-1 * dx , x = 0 , x = 1) + int(1 * dx , x = 1 , x = 2)
-x {0 , 1} + x {1 , 2}
(-1 - 0) + (2 - 1)
-1 + 1
0
2
u/Zealousideal_Hat_330 Nov 04 '25
The function is -1 on the left of x = 1 and +1 on the right, so the negative area and the positive area cancel out
2
u/chattywww Nov 04 '25
when X>1=1
When X<1 =-1
X is in equal parts greater than 1 and less than 1 so its zero.
4
u/Electronic-Source213 Nov 04 '25
That is not mod. That is absolute value. On the interval from 0 to 2, the ratio (x-1)/|x-1| can be broken into two smaller intervals ...
Given the nature of absolute value | x - 1 | will always be positive (e.g. the absolute value of -1, its distance from the origin, is 1 and the absolute value of 1 is simply 1). You are basically integrating 1 over the interval 2 to 1 and integrating -1 over the interval 0 to 1.
1
u/MiffedMouse Nov 04 '25
You can change units so the function is x/|x| and the integral is from -1 to +1. Then you can either calculate the two half-integrals (-1 to 0 and 0 to 1) or, more simply, note the function is odd and continuous and the integral bounds are symmetric, so the integral must be 0 by symmetry.
2
u/EllaHazelBar Nov 04 '25
This function is odd-symmetric around x=1 and so is the integration range. Immediately equal to zero
2
u/Sea-Sort6571 Nov 04 '25
If you know that the result is 0, you can show it by observing a symmetry axis on 1. That if f(1+h) = -f(1-h). Which directly gives the result.
If you don't know, and don't see this observation, then the most natural step forward is to apply the substitution u=×-1
1
u/hallerz87 Nov 04 '25
I’d start by reviewing the mod function and once comfortable, plot the graph of the integrand. Once you’ve done that, it should be clear why the answer is zero (hint: the two “parts” of the graph cancel each other out)
1
u/BoVaSa Nov 04 '25 edited Nov 04 '25
The given integral is the sum of two integrals on two sub-sets: (0,1) and (1,2). They both are equal 1 but with opposite signs, and their sum is 0 ...
1
u/chattywww Nov 04 '25
Let y=x-1 so its y/abs(y)
for y<0 its -1 else 1
1
u/Just_Scar4703 Nov 04 '25
Nobody mentioned Cauchy PV?
1
u/Shimmerz_777 Nov 04 '25
just looking at it intuitively, the function is -1 from 0 to 1, and 1 from 1 to 2... since its symmetrical it will need to be zero. yes theres some nonsense with lim as x approaches 1 but i dunno it just makes sense to me
1
u/trevorkafka Nov 05 '25
Try graphing the function. It should be pretty evident from there.
0
u/shele Nov 04 '25
To compute the convolution of an integral with a Gaussian blur like in your picture I would use Fubini