My Math Forum How to solve this integral...

 Pre-Calculus Pre-Calculus Math Forum

 December 6th, 2018, 03:01 AM #1 Senior Member     Joined: Jan 2012 Posts: 123 Thanks: 2 How to solve this integral... Hi, Please do let me know how do I solve this integral: $\displaystyle \int_{0}^{\left [ x \right ]}\left ( \left [ x \right ] -\left [ x-\frac{1}{2} \right ]\right )dx$ where, '[]' denotes greatest integer function (used at three places in this question ). Thx.
 December 6th, 2018, 03:08 AM #2 Senior Member     Joined: Sep 2015 From: USA Posts: 2,316 Thanks: 1230 do you mean $\displaystyle \int \limits_0^{\lfloor x \rfloor}~\lfloor s \rfloor - \left \lfloor s - \dfrac 1 2 \right \rfloor ~ds$ you can't have $x$ in the limit and as the integral dummy variable. Thanks from topsquark
 December 6th, 2018, 03:16 AM #3 Senior Member     Joined: Jan 2012 Posts: 123 Thanks: 2 Actually that was the question in a book which I typed exactly. Last edited by happy21; December 6th, 2018 at 03:16 AM. Reason: Quote not required.
 December 6th, 2018, 03:16 AM #4 Senior Member     Joined: Sep 2015 From: USA Posts: 2,316 Thanks: 1230 If you work it all out it turns out that the integral equals $\dfrac 1 2 \lfloor x \rfloor$
 December 6th, 2018, 03:23 AM #5 Senior Member     Joined: Jan 2012 Posts: 123 Thanks: 2 Thanks but plz elaborate.
December 6th, 2018, 03:28 AM   #6
Global Moderator

Joined: Dec 2006

Posts: 20,301
Thanks: 1971

Quote:
 Originally Posted by romsek . . . you can't have $x$ in the limit and as the integral dummy variable.
You can use any letter for the dummy variable. If you use an $x$, it's not the same variable as the $x$ used for the limit.

 December 6th, 2018, 04:14 AM #7 Senior Member     Joined: Jan 2012 Posts: 123 Thanks: 2 Can one elaborate step by step the result so obtained. Thx.
 December 6th, 2018, 06:20 AM #8 Global Moderator   Joined: Dec 2006 Posts: 20,301 Thanks: 1971 Consider the intervals [n, n+1/2) and [n+1/2, n+1), where n is an integer. The integrand evaluates to 1 on the first of those, and 0 on the second, so integrating over [n, n+1) gives 1/2. The interval $[0, \lfloor{x}\rfloor)$ consists of $\lfloor{x}\rfloor$ subintervals of that type (i.e. [n, n+1)), so the value of the original integral is $\lfloor{x}\rfloor$ × 1/2. Thanks from topsquark

 Tags integral, solve

 Thread Tools Display Modes Linear Mode

 Similar Threads Thread Thread Starter Forum Replies Last Post happy21 Pre-Calculus 12 October 25th, 2018 12:04 PM BadWolf Calculus 2 April 20th, 2017 05:23 AM nietzsche Calculus 3 December 19th, 2016 05:42 PM ineedahero Calculus 4 August 16th, 2013 05:03 PM malaguena Calculus 0 February 14th, 2011 02:18 AM

 Contact - Home - Forums - Cryptocurrency Forum - Top