# Thread:

1. ## nasty looking but actually easy

I ran across this integral that looks horrendous, but is actually quite simple. I am sure a lot of you will see it right off, but it is kind of fun.

$\int sin(x)^{x}\left(ln(sin(x))+xcot(x)\right)dx$

Just thought I would share.

2. Originally Posted by galactus
I ran across this integral that looks horrendous, but is actually quite simple. I am sure a lot of you will see it right off, but it is kind of fun.

$\int sin(x)^{x}\left(ln(sin(x))+xcot(x)\right)dx$

Just thought I would share.
by inspection: $\int ( \sin(x))^{x}\left[ \ln( \sin(x))+x \cot(x)\right]dx = ( \sin x)^x + C$

i just had the urge of checking what the derivative of $(\sin x)^x$ was. because of that log sitting there

3. Yes, of course, I knew you would see it. I just thought it was cool. I am sure we could say that about a lot of them. Note that it includes ln(sin(x)) and xcot(x). Two famous non-elementary integrals having been addressed here on MHF.

4. Originally Posted by galactus
Yes, of course, I knew you would see it. I just thought it was cool. I am sure we could say that about a lot of them. Note that it includes ln(sin(x)) and xcot(x). Two famous non-elementary integrals having been addressed here on MHF.
indeed. i probably only saw it because you said it was really easy though. because you said that, i looked for ways to find the integral without doing anything difficult. looking to reverse some derivative seemed obvious after that

5. Yes, one would've studied first $(\sin x)^x=e^{x\ln(\sin x)},$ and the derivative seems clear from there.

6. Same concept with $\int\frac{\ln(x)}{(1+\ln(x))^2}~dx$
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 6, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 5, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9888750314712524, "perplexity_flag": "middle"}