Average Distance Between Two Points on f(x)=sin(x)

Calculus Level 4

Let x 1 x_{1} and x 2 x_{2} be chosen randomly and independently on the interval [ 0 , 2 π ] [0,2\pi] and let f ( x ) = sin ( x ) f(x)=\sin(x) .

If a a is the average distance between the two points P 1 = ( x 1 , f ( x 1 ) ) P_{1}=( x_{1} ,\ f( x_{1})) and P 2 = ( x 2 , f ( x 2 ) ) P_{2}=( x_{2} ,\ f( x_{2})) , then find a a to three significant figures.


The answer is 2.29.

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

Otto Bretscher
Nov 23, 2018

It's a straightforward computation of an average, 1 ( 2 π ) 2 0 2 π 0 2 π ( x y ) 2 + ( sin x sin y ) 2 d y d x 2.288 \frac{1}{(2\pi)^2}\int_{0}^{2\pi}\int_{0}^{2\pi}\sqrt{(x-y)^2+(\sin x- \sin y)^2}dydx \approx \boxed{2.288}

can you explane it more pleace

Nahom Assefa - 2 years, 6 months ago

Log in to reply

The average value of a function f ( x , y ) f(x,y) on a compact domain D D with area A A is defined as f a v g = 1 A D f ( x , y ) d A f_{avg}=\frac{1}{A}\int_D f(x,y) dA . In our case, this function is the distance between the points ( x , sin x ) (x,\sin x) and ( y , sin y ) (y,\sin y) , namely, f ( x , y ) = ( x y ) 2 + ( sin x sin y ) 2 f(x,y)=\sqrt{(x-y)^2+(\sin x- \sin y)^2} on D = [ 0 , 2 π ] × [ 0 , 2 π ] D=[0,2\pi]\times [0,2\pi] .

Otto Bretscher - 2 years, 6 months ago

Log in to reply

no im saying how did you get that formula for averege where did come from

Nahom Assefa - 2 years, 6 months ago

Log in to reply

@Nahom Assefa As I said, it's the definition of "average value." You will find it in any good introductory calculus text. Here is a random link that I googled. You can think of it as a continuous version of the notion of "average" we use in discrete maths; take the limit of a Riemann sum!

Otto Bretscher - 2 years, 6 months ago

Log in to reply

@Otto Bretscher you cant find this in calculus text book

Nahom Assefa - 2 years, 6 months ago

Log in to reply

@Nahom Assefa Sure you can! Look in Stewart or Thomas... I have them right in front of me... search the index: average value of a function of two variables

Otto Bretscher - 2 years, 6 months ago

Log in to reply

@Otto Bretscher oh i see it now i understand

Nahom Assefa - 2 years, 6 months ago

Log in to reply

@Nahom Assefa Averages are certainly an important application of integrals, both single-variable and multi-variable, and they should be discussed in every course on calculus.

Otto Bretscher - 2 years, 6 months ago

@Otto Bretscher but why do you have a doubel inegraton.

Nahom Assefa - 2 years, 6 months ago

Log in to reply

@Nahom Assefa we need to make two independent choices, for the two points

Otto Bretscher - 2 years, 6 months ago

Log in to reply

@Otto Bretscher now it makes sense

Nahom Assefa - 2 years, 6 months ago
Aaghaz Mahajan
Nov 22, 2018

@Mark Hennings @Otto Bretscher @David Vreken Sir, can the Integral be evaluated manually??? Does it have an elementary closed form?? Because, I used a calculator to evaluate the integral.......

I certainly used numerical techniques.

One of my applied maths profs at Harvard used to say that "finding integrals in closed form is not a marketable skill these days"; it is merely a passtime for those who are bored ;)

Otto Bretscher - 2 years, 6 months ago

Log in to reply

Can you pls post the solution

Yash Chaudhari - 2 years, 6 months ago

Log in to reply

sure...it's just a straightforward computation of an average, according to the definition.

Otto Bretscher - 2 years, 6 months ago

Hah.......No offense Sir, but I don't know why, but I just can't agree with your prof........Because, well according to me, it is more fun in evaluating the EXACT closed form........even if they are much much complicated...........because, that is what makes it fun........even if it isn't a marketable skill, it IS a skill which sometimes lead to BEAUTIFUL results...........!!!! Personal perspectives tho........:)

Aaghaz Mahajan - 2 years, 6 months ago

Log in to reply

Finding antiderivatives is an (almost) algorithmic process, and, as such, not very creative. I don't think it should be emphasised in maths education. But, if you find it a fun thing to do in your spare time, go for it! It simply isn't my thing; you will rarely find me doing (single-variable) integration problems, on Brilliant or otherwise.

Otto Bretscher - 2 years, 6 months ago

that would take me a long time.

Nahom Assefa - 2 years, 6 months ago

Actually, I wrote a small computer program that simulated finding the distance between two random points on the curve one million times and gave me the average. It wasn't elegant or exact, but close enough to obtain the correct answer.

David Vreken - 2 years, 6 months ago

Log in to reply

Yeah, that can work too......!!!

Aaghaz Mahajan - 2 years, 6 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...