My First Ever Self Made Calculus - Probability Question

Calculus Level 5

f ( x ) = x 4 4 2 x 3 3 5 x 2 2 + 6 x + 69 , x [ 10 , 10 ] \large f(x) = \cfrac{x^4}{4} - \cfrac{2x^3}{3} - \cfrac{5x^2}{2} + 6x + 69 \ , \ x \in [-10 , 10] For f ( x ) f(x) as defined above, let A A be the largest local maximum point and B B , the smallest local minimum point. If you choose a random real number z z in the interval [ 10 , 10 ] [ -10, 10 ] , what is the probability that the point ( z , f ( z ) ) \big(z \ , \ f(z)\big) lie on the curve A B AB ?


The answer is 0.4.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Tom Engelsman
Feb 22, 2017

Let us begin solving this probability problem by first finding the extrema of f ( x ) f(x) above:

f ( x ) = x 3 2 x 2 5 x + 6 = ( x + 2 ) ( x 1 ) ( x 3 ) = 0 x = 2 , 1 , 3 f'(x) = x^3 - 2x^2 - 5x + 6 = (x+2)(x-1)(x-3) = 0 \Rightarrow x = -2, 1, 3

f ( x ) = 3 x 2 4 x 5 f ( 2 ) , f ( 3 ) > 0 ; f ( 1 ) < 0 f''(x) = 3x^2 - 4x - 5 \Rightarrow f''(-2), f''(3) > 0; f''(1) < 0

Thus, the local minima are x = 2 , 3 x = -2, 3 and the local maximum is x = 1. x = 1. If we compare these points against the endpoints of the closed interval in question, namely [ 10 , 10 ] , [-10, 10], we find:

f ( 10 ) = 2925.67 ; f ( 2 ) = 56.33 ; f ( 1 ) = 72.083 ; f ( 3 ) = 66.75 ; f ( 10 ) = 1712.33 f(-10) = 2925.67; f(-2) = 56.33; f(1) = 72.083; f(3) = 66.75; f(10) = 1712.33

or f ( 10 ) > f ( 10 ) > f ( 1 ) > f ( 3 ) > f ( 2 ) f(-10) > f(10) > f(1) > f(3) > f(-2)

which means A = ( 10 , f ( 10 ) ) A = (-10, f(-10)) and B = ( 2 , f ( 2 ) ) B = (-2, f(-2)) . We are interested in the probability that the point z [ 10 , 2 ] z \in [-10, -2] , which can be found by calculating the arc lengths L A B , L t o t a l L_{AB}, L_{total} :

L A B = 10 2 1 + ( f ( x ) ) 2 d x = 10 2 1 + ( x 3 2 x 2 5 x + 6 ) 2 d x 2869.8 L_{AB} = \displaystyle \int_{-10}^{-2} \sqrt{1 + (f'(x))^{2}}\, dx = \displaystyle \int_{-10}^{-2} \sqrt{1 + (x^3 - 2x^2 - 5x + 6)^{2}}\, dx \approx 2869.8

L t o t a l = 10 10 1 + ( f ( x ) ) 2 d x = 10 10 1 + ( x 3 2 x 2 5 x + 6 ) 2 d x 4537.3 L_{total} = \displaystyle \int_{-10}^{10} \sqrt{1 + (f'(x))^{2}}\, dx = \displaystyle \int_{-10}^{10} \sqrt{1 + (x^3 - 2x^2 - 5x + 6)^{2}}\, dx \approx 4537.3

and P ( z [ 10 , 2 ] ) = L A B L t o t a l = 2869.8 4537.3 0.6324 . P(z \in [-10, -2]) = \frac{L_{AB}}{L_{total}} = \frac{2869.8}{4537.3} \approx \boxed{0.6324}.

My Solution is similar to yours. :) Thanks for uploading your solution. :)

Christian Daang - 4 years, 3 months ago

Log in to reply

No prob, Christian! It's a good problem that sparked some great healthy engagement here :)

tom engelsman - 4 years, 3 months ago

How you solve this integrals ???

Kushal Bose - 4 years, 3 months ago

Log in to reply

Kushal, I confess I used Wolfram Alpha to evaluate the two arc length integrals due to my schedule today, but the reasoning is there. I welcome any suggestions/tricks on this ugly integrand!

tom engelsman - 4 years, 3 months ago

Log in to reply

I also stopped at this point that's why I asked you

Kushal Bose - 4 years, 3 months ago

Isn't this about 1-d geometric probability, why do you need an integral for finding the length of the function curve in the given interval. If we choose any x in the interval [-10, -2] then the point will be on the curve AB and any x in the interval (-2, 10] will not fall on the curve. So the probability is simply (-2 - (-10)) / (10 - (-10)) = 8/20 = 0.4?

Siva Bathula - 4 years, 3 months ago

Log in to reply

Siva, the important concept in this problem is to treat AB as a portion of the physical curve f(x), that is all of the points (x, f(x)) between (-10, f(-10)) and (-2, f(-2)). It does not include the line AB connecting these two extreme points. The probability takes into account the length of f(x) between A and B to the total length of f(x) between x = -10 and x = 10.

tom engelsman - 4 years, 3 months ago

Log in to reply

I am saying, pick any x between [-10,-2] the point(x,f(x) falls on the curve AB and any x between (-2,10] doesn't fall on the curve AB. So its simply a 1-d geometric probability, 8/20?

Siva Bathula - 4 years, 3 months ago

Log in to reply

@Siva Bathula Actually, 8 20 \cfrac{8}{20} is not the probability of getting the z value between [-10 , -2] if f ( x ) = x 4 4 2 x 3 3 5 x 2 2 + 6 x + 69 \displaystyle f(x) = \cfrac{x^4}{4} - \cfrac{2x^3}{3} - \cfrac{5x^2}{2} + 6x + 69 . to be simple, i will give an example:

Let f ( x ) = { 1 9 x 2 , 0 x 3 0 , otherwise f(x) = \begin{cases} \begin{aligned} \cfrac{1}{9}x^2 & , \ 0 \le x \le 3 \\ 0 & , \ \text{otherwise} \end{aligned} \end{cases}

P ( 1 x 2 ) = 1 2 1 9 x 2 = 7 27 P(1 \le x \le 2) = \displaystyle \int_{1}^{2} \cfrac{1}{9}x^2 = \cfrac{7}{27}

Hence, if I will use your approach,

the answer will be 2 1 3 0 = 1 3 \cfrac{2 - 1}{3 - 0} = \cfrac{1}{3} which is not equal to 7 27 \cfrac{7}{27} .

So, you should use integration, not just subtracting it since the pdf is not a continuous uniform ( if i am not mistaken ) .

Then, this problem can be solved by just doing this:

10 2 f ( x ) 10 10 f ( x ) 0.62795 \cfrac{\int_{-10}^{-2} f(x)}{\int_{-10}^{10} f(x)} \approx 0.62795

the alternative way is using the formula of the length of an arc, since the problem is talking about point ( z , f ( z ) ) ( z , f(z) ) , not just the value of z.

Christian Daang - 4 years, 3 months ago

Log in to reply

@Christian Daang Why did the line integral even enter the picture? The problem is talking of an x chosen in between [-10, 10] and whether the point (x,f(x)) falls on the curve AB, the set of all points (x,f(x)) for x in [-10, -2]. And I am not convinced with your counter-example, that problem talks of probability distribution, which is different from the current problem. I suggest you take a look at the wording of the problem, and not jump to using line integrals.

Siva Bathula - 4 years, 3 months ago

Due to the phrasing of the problem, we're looking for the probability that z [ 10 , 2 ] z \in [-10, 2 ] when it is randomly chosen from [ 10 , 10 ] [ -10, 10 ] . The length of the line segment is immaterial.

Calvin Lin Staff - 4 years, 3 months ago
Christian Daang
Feb 24, 2017

Alternative Solution:

10 2 f ( x ) 10 10 f ( x ) 0.62795 0.630 \cfrac{\int_{-10}^{-2} f(x)}{\int_{-10}^{10} f(x)} \approx 0.62795 \approx 0.630

The upper bound and the lower bound of the integral of the numerator has been discussed by Mr. @Tom Engelsman . :)

Now, this solution is slightly wrong (fortunately, it is so closed to the answer. XD ) because the question is talking about the point ( z , f ( z ) ) (z , f(z) ) not just the probability of z that it lies under the graph of f ( x ) f(x) or z is in the interval of [-10 , -2] (the lower bound and upper bound of the integral of the numerator. ) .

So, the much appropriate way is to solve this using the length of an arc. :)

The function is continuous and well-defined for [-10,10]. So for any value of x, f(x) is well-defined and falls somewhere on the curve of the graph of f(x) between the points (-10,f(-10)) and (10,f(10)). So the probability of a point (x,f(x)) falling on AB simply has to do with x lying between -10 and -2? So isn't this a simple case of 1-d geometric probability?

Siva Bathula - 4 years, 3 months ago

Log in to reply

I don't mean the continuity, i mean the probability distribution. :) the probability distribution is not just a continuous uniform, that's why, you can't use that. The formula that you used can be used if the distribution type is a continuous - uniform/uniform distribution type. ( But as you notice, the pdf of this one is not a continuous uniform. :) )

Christian Daang - 4 years, 3 months ago

Due to the phrasing of the problem, we're looking for the probability that z [ 10 , 2 ] z \in [-10, 2 ] when it is randomly chosen from [ 10 , 10 ] [ -10, 10 ] . The length of the line segment is immaterial.

Calvin Lin Staff - 4 years, 3 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...