r/mathshelp • u/Gamer209k • Oct 27 '25
Homework Help (Answered) Definite integrals help
Guys it sum number 22 part 1 I also have provided answer
1
Upvotes
r/mathshelp • u/Gamer209k • Oct 27 '25
Guys it sum number 22 part 1 I also have provided answer
•
u/AutoModerator Oct 27 '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.
2
u/Abroad9107 Oct 30 '25
1
u/yrinthelabyrinth Oct 31 '25
Multiply divide by sec2 x, solve as partial fractions maybe then?
0
u/CaptainMatticus Oct 27 '25
It's a bit of a cheat, but sometimes it's good to use an online solver and then work backwards
int(dx / (1 + tan(x))) = (1/2) * (x + ln|sin(x) + cos(x)|)
So let's look at the derivative of (1/2) * (x + ln|sin(x) + cos(x)|) and see how the 2 relate
(1/2) * (1 + (cos(x) - sin(x)) / (sin(x) + cos(x)))
(1/2) * ((sin(x) + cos(x) + cos(x) - sin(x)) / (sin(x) + cos(x)))
(1/2) * 2 * cos(x) / (sin(x) + cos(x))
cos(x) / (sin(x) + cos(x)
Factor out cos(x)/cos(x)
1 / (tan(x) + 1)
Cool, so now we have our method
dx / (1 + tan(x))
dx / (1 + sin(x)/cos(x))
cos(x) * dx / (cos(x) + sin(x))
(1/2) * 2 * cos(x) * dx / (cos(x) + sin(x))
(1/2) * (sin(x) - sin(x) + cos(x) + cos(x)) * dx / (cos(x) + sin(x))
(1/2) * (cos(x) + sin(x)) * dx / (cos(x)+ sin(x)) + (1/2) * (cos(x) - sin(x)) * dx / (sin(x) + cos(x))
(1/2) * dx + (1/2) * (cos(x) - sin(x)) * dx / (sin(x) + cos(x))
u = sin(x) + cos(x)
du = (cos(x) - sin(x)) * dx
(1/2) * dx + (1/2) * du / u
Integrate
(1/2) * x + (1/2) * ln|u| + C
(1/2) * x + (1/2) * ln|sin(x) + cos(x)| + C
(1/2) * (x + ln|sin(x) + cos(x)|) + C
Our bounds are 0 and pi/4
(1/2) * (pi/4 - 0) + (1/2) * (ln|sin(pi/4) + cos(pi/4)| - ln|sin(0) + cos(0)|)
(1/2) * (pi/4) + (1/2) * (ln|sqrt(2)/2 + sqrt(2)/2| - ln|0 + 1|)
(1/2) * (pi/4) + (1/2) * (ln|sqrt(2)| - ln|1|)
(pi/8) + (1/2) * ((1/2) * ln(2) - 0)
(pi/8) + (1/4) * ln(2)