Indefinite Trignometric Integral

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 2K views
in the rye
Messages
83
Reaction score
6

Homework Statement


∫sinxcos(x/2)dx

This isn't an actual homework problem, but one I found that I'm working on for test prep.

Homework Equations

The Attempt at a Solution


[/B]
∫sinxcos(x/2) dx = ∫sinx√((1+cosx)/2) dx

u = ½ + ½ cosx
-2 du = sinx dx

-2∫√(u) du = -2(2/3⋅u3/2) + c

-2(2/3⋅u3/2) + c = -4/3⋅[(1+cosx)/2)3/2] + c
-4/3⋅[(1+cosx)/2)3/2] = -4/3⋅(cos(x/2))3/2 + c

I tried to check my solution by graphing my answer with theirs, but the table is displaying different values.
 
Last edited:
Physics news on Phys.org
in the rye said:

Homework Statement


∫sinxcos(x/2)dx

This isn't an actual homework problem, but one I found that I'm working on for test prep.

Homework Equations

The Attempt at a Solution


[/B]
∫sinxcos(x/2) dx = ∫sinx√((1+cosx)/2) dx

u = ½ + ½ cosx
-2 du = sinx dx

-2∫√(u) du = -2(2/3⋅u3/2) + c

-2(2/3⋅u3/2) + c = -4/3⋅[(1+cosx)/2)3/2] + c
-4/3⋅[(1+cosx)/2)3/2] = -4/3⋅(cos(x/2))3/2 + c

I tried to check my solution by graphing my answer with theirs, but the table is displaying different values.
You have an error in the last line:
The formula you used for the substitution is ##\sqrt{\frac{1+\cos x}{2}}=\cos \frac{x}{2}##
 
Samy_A said:
You have an error in the last line:
The formula you used for the substitution is ##\sqrt{\frac{1+\cos x}{2}}=\cos \frac{x}{2}##

Gotcha, so it's probably easier to leave it where I had it in the second line. For some reason the solution isn't working, still. Even when I just plug the integral on my graphic calculator. :/

Is there a trick to getting my square roots to look fancy like yours so I can clean it up when I post?
 
there's another way, I think it is easier. Remember the product to sum trigonometric identities? Use it!
 
in the rye said:
Gotcha, so it's probably easier to leave it where I had it in the second line. For some reason the solution isn't working, still. Even when I just plug the integral on my graphic calculator. :/
Weird, I get the same result as you, except for the erroneous square root in the final result.

@MidgetDwarf 's suggestion is also good, but as said, you really are one symbol away from the solution.

in the rye said:
Is there a trick to getting my square roots to look fancy like yours so I can clean it up when I post?
Yes, I use ##\LaTeX##. It may look difficult if you never used it, but you'll learn it quickly. It makes posts with equations much more readable, and I highly recommend the use of it.

There is a guide here, there is also a link to that guide in the bottom left of the edit box.
If you see a complex ##\LaTeX## expression and want to see how it was composed, right-click the expression written in it and select "Show Math As -> TeX Commands". A small window will appear containing the code used for that expression. Or just quote a post: the ##\LaTeX## code will in general appear between ## or $$ tags.
 
Last edited: