Here is a problem that wolfram won't evaluate that someone had a question about. \[int_{}^{} sqrt{1+\frac{1}{4} \cdot frac{x^2 (x-2)^2}{(1-x)^2}} dx\]
\[\int\limits_{}^{} \sqrt{1+\frac{1}{4} \cdot \frac{x^2 (x-2)^2}{(1-x)^2}} dx \]
I honestly don't see a way by elementary ways.
JamesJ can do it!
Let's see if my calc evaluate it :P
Otherwise I will try sympy
breaking it into partial fractions is a possibility
It doesn't come out to anything simple at all
partial fractions then substitution
Ok, the integrand is equal to \[ \frac{1}{2} \sqrt{ \frac{ 4(1-x)^2 + x^2(x-2)^2 }{ (1-x)^2 } } = \frac{1}{2} \sqrt{ \frac{ (x^2 - 2x + 2)^2}{(1-x)^2} } \] \[ = \frac{1}{2} \frac{ x^2 - 2x + 2}{1-x} = -x - \frac{1}{x-1} + 1\]
Well, someone said james could do it and he did it
why didn't i see that?
I'm just happy to find another example of Wolfram Alpha defeated by pencil and paper. :-)
good job another point for the human team
pencil and paper > modern CAS
TI-Nspire CAS defeated too
Apparently James is traditionalist! ;D
I couldn't figure out how to use sympy :-P
**Correction: I dropped the half in the last expression.
that's cool who cares about the constant multiple we put it in a form easy to integrate well you did anyways
The factorization of the numerator isn't obvious. Don't feel bad. But I do think this problem is a bit silly. What was the motivation for that integrand in that form? I'd bet a nickel the integrand was constructed from the simplified form as a puzzle, rather than being motivated by any other problem in mathematics or the sciences.
lol i made a puzzle by accident
the original problem was find the length of \[y=\frac{x}{2}-\frac{x^2}{4}+\frac{1}{2}\ln(1-x) \text{ on interval } [0, .5]\] so i found y' which is \[y'=\frac{1}{2}(1-x-\frac{1}{x-1})\] then i wrote (y')^2 as \[(y')^2=\frac{1}{4} \cdot \frac{x^2(x-2)^2}{(1-x)^2}\] which made it uglier than it should had been
wasn't thinking
No, I owe you a nickel. This did come from a real problem.
What do you mean?
I mean the integral came from a real problem, vs. just being a slightly annoying puzzle.
Ok. lol
so what was your trick for factoring the numerator?
he used... wolfram!
no james doesn't use wolfram he doesn't believe in it lol
right
I knew I wanted a perfect square to get rid of the square trot. So I went looking for it. As ever with three things squared, I think it's easier to find it as \[ ((a+b) + c)^2 \] vs as \[ (a+b+c)^2 \] So after I realized it wasn't (a+b)^2, I went looking for things in that form.
*square root
JamesJ - this is the 2nd such problem that wolfram couldn't deal with. should these be reported to the wolfram team so that they can improve their algorithms?
Geez asnaneer. Just send me to the glue factory already. ;-)
the integral algorithm is probably complicated :-D
James thanks you are the coolest i think i learned a little
:-) - just trying to improve the mathematical community - thats all...
I bet that on JamesJ's copy of the monograph on the Riemann Hypothesis is a note on the margin saying : "I have discovered a truly marvellous proof of this, which this margin is too narrow to contain."
BTW JamesJ - what type of glue do you prefer? :-D
I'm sure Wolfram could find it, but it has to make decisions about how long to run certain algorithms. With a tweak of its "time out" parameters (or @agd, tree pruning heuristic), it would find this solution.
the wolfram solution is not as elegant as JamesJ's solution though. I think it's an interesting exercise to do a little research on how those symbolic integration/factoring stuff work
I dread to think how it found that solution, because it suggests quite a tortured process. But the real problem is once it did, it stopped and it didn't try and simplify the answer, which clearly it could have. But in any case, it looks like it didn't use the procedure I did: try and find a perfect square and rid of the square root asap. Anyway, time to celebrate by making a cup of tea. ;-)
I agree - plus the wolfram solution doesn't really improve your understanding of the problem.
lol
let's see what that function returns when I try to evaluate myininaya's integral
still running :-P
I think we should check in 50 minutes for the output of the integral method. :-D
\[# ______________________ / 2 2 / 0.25*x *(x - 2) / ---------------- + 1 / 2 \/ (-x + 1) \] was what I gave it,
It couldn't do it. It returned :\ / | | _________________ | / 2 2 | / x *(x - 2) | / ----------- + 1 dx | / 2 | \/ 4*(-x + 1) | /
Join our real-time social learning platform and learn together with your friends!