Difference between revisions of "2015 AMC 12A Problems/Problem 23"
m (→Solution) |
|||
(31 intermediate revisions by 12 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{duplicate|[[2015 AMC 12A Problems|2015 AMC 12A #23]] and [[2015 AMC 10A Problems|2015 AMC 10A #25]]}} | ||
==Problem== | ==Problem== | ||
Let <math>S</math> be a square of side length 1. Two points are chosen independently at random on the sides of <math>S</math>. The probability that the straight-line distance between the points is at least <math>\frac12</math> is <math>\frac{a-b\pi}{c}</math>, where <math>a,b,</math> and <math>c</math> are positive integers and <math>\text{gcd}(a,b,c) = 1</math>. What is <math>a+b+c</math>? | Let <math>S</math> be a square of side length 1. Two points are chosen independently at random on the sides of <math>S</math>. The probability that the straight-line distance between the points is at least <math>\frac12</math> is <math>\frac{a-b\pi}{c}</math>, where <math>a,b,</math> and <math>c</math> are positive integers and <math>\text{gcd}(a,b,c) = 1</math>. What is <math>a+b+c</math>? | ||
− | <math> \textbf{(A)}\ 59 \qquad\textbf{(B)}\ 60 \qquad\textbf{(C)}\ 61 \qquad\textbf{(D) | + | <math> \textbf{(A)}\ 59 \qquad\textbf{(B)}\ 60 \qquad\textbf{(C)}\ 61 \qquad\textbf{(D)}\ 62 \qquad\textbf{(E)}\ 63</math> |
==Solution== | ==Solution== | ||
− | + | Divide the boundary of the square into halves, thereby forming 8 segments. Without loss of generality, let the first point <math>A</math> be in the bottom-left segment. Then, it is easy to see that any point in the 5 segments not bordering the bottom-left segment will be distance at least <math>\dfrac{1}{2}</math> apart from <math>A</math>. Now, consider choosing the second point on the bottom-right segment. The probability for it to be distance at least 0.5 apart from <math>A</math> is <math>\dfrac{0 + 1}{2} = \dfrac{1}{2}</math> because of linearity of the given probability. (Alternatively, one can set up a coordinate system and use geometric probability.) | |
− | + | If the second point <math>B</math> is on the left-bottom segment, then if <math>A</math> is distance <math>x</math> away from the left-bottom vertex, then <math>B</math> must be at least <math>\dfrac{1}{2} - \sqrt{0.25 - x^2}</math> away from that same vertex. Thus, using an averaging argument we find that the probability in this case is | |
+ | <cmath>\frac{1}{\frac{1}{2}^2} \int_0^{\frac{1}{2}} \dfrac{1}{2} - \sqrt{0.25 - x^2} dx = 4\left(\frac{1}{4} - \frac{\pi}{16}\right) = 1 - \frac{\pi}{4}.</cmath> | ||
+ | |||
+ | (Alternatively, one can equate the problem to finding all valid <math>(x, y)</math> with <math>0 < x, y < \dfrac{1}{2}</math> such that <math>x^2 + y^2 \ge \dfrac{1}{4}</math>, i.e. (x, y) is outside the unit circle with radius 0.5.) | ||
+ | |||
+ | Thus, averaging the probabilities gives | ||
+ | <cmath>P = \frac{1}{8} \left(5 + \frac{1}{2} + 1 - \frac{\pi}{4}\right) = \frac{1}{32} (26 - \pi).</cmath> | ||
+ | |||
+ | Our answer is <math>\textbf{(A)}</math>. | ||
+ | |||
+ | ==Case Solution== | ||
+ | Fix one of the points on a SIDE. There are three cases: the other point is on the same side, a peripheral side, or the opposite side, with probability <math>0.25, 0.5, 0.25</math>, respectively. | ||
+ | |||
+ | Opposite side: Probability is obviously <math>1</math>, no matter what. | ||
+ | |||
+ | Same side: Pretend the points are on a line with coordinates <math>x</math> and <math>y</math>. If <math>|a-b| \le \frac{1}{2}</math>, drawing a graph will give probability <math>\frac{1}{4}</math>. | ||
+ | |||
+ | Peripheral side: superimpose a coordinate system over the points; call them <math>(x, 0)</math> and <math>(0, y)</math>. WLOG set <math>x, y >= 0</math> and <math>x, y <= 1</math>. We need <math>x^2+y^2>0.25</math>, and drawing the coordinate system with bounds <math>(0, 0), (1, 0), (0, 1), (1, 1)</math> gives probability <math>1-\frac{\pi}{16}</math> that the distance between the points is <math>>0.5</math>. | ||
+ | |||
+ | Adding these up and finding the fraction gives us <math>\frac{1}{32} (26 - \pi)</math> for an answer of <math> \textbf{(A)}\ 59 </math>. | ||
+ | |||
+ | ==Solution 3 (Average Function Value/Quick Faux Integration)== | ||
+ | WLOG, let the first point be on the bottom side of the square. The points where the second point could exist are outside a circle of radius 0.5 centered on the first point. The parts of the square that lie in this circle are the distance from the point to the closest side of the square <math>n</math>, the distance from the point to the outside of the circle (the radius <math>0.5</math>), and any portion of the nearest side that lies within the circle as represented by the Pythagorean Theorem <math>\sqrt{\frac{1}{4}-n^2}</math>. Thus, the total length the second point can exist in can be represented by <math>f(n)=4-(0.5+n+\sqrt{\frac{1}{4}-n^2})</math>. Distributing, <math>f(n)=3.5-n-\sqrt{\frac{1}{4}-n^2}</math>. | ||
+ | |||
+ | Then, we can find the average of this function through calculus (wow more calc?). This formula is as follows, | ||
+ | <cmath>\frac{1}{a_{f} -a_{i}} \int_{a_{i}}^{a_{f}} f(x)\;dx</cmath> | ||
+ | |||
+ | For this case, the limits of integration are <math>0</math> and <math>0.5</math> (<math>0\leq n\leq 0.5</math>). Then, we have, | ||
+ | |||
+ | <cmath>2\int_{0}^{\frac{1}{2}} 3.5-n-\sqrt{\frac{1}{4}-n^2}\;dn</cmath> | ||
+ | <cmath>2(\int_{0}^{\frac{1}{2}} 3.5\;dn -\int_{0}^{\frac{1}{2}}n\;dn -\int_{0}^{\frac{1}{2}}\sqrt{\frac{1}{4}-n^2}\;dn) </cmath> | ||
+ | |||
+ | |||
+ | |||
+ | Even if you don't know how to integrate, as long as you know the idea of integration, you can figure these out. Graphing the first two, you can see that the first is a rectangle of length <math>0.5</math> and width <math>3.5</math>. The second is an isosceles right triangle of leg length <math>0.5</math>. | ||
+ | |||
+ | <cmath>\int_{0}^{\frac{1}{2}} 3.5\;dn=\frac{7}{4}, \int_{0}^{\frac{1}{2}}n\;dn=\frac{1}{8}</cmath> | ||
+ | |||
+ | Recognize that the third integral is a semicircle of radius <math>0.5</math> and centered at the origin. This is where <math>\pi</math> comes in. From <math>0</math> to <math>0.5</math>, the integral is simply a quarter circle. <math>\frac{\frac{1}{2}^2\pi}{4}=\frac{\pi}{16}</math>. | ||
+ | <cmath>\int_{0}^{\frac{1}{2}}\sqrt{\frac{1}{4}-n^2}\;dn)=\frac{\pi}{16}</cmath> | ||
+ | |||
+ | If you want me to actually integrate these, look below. Do note that this is for those that have a limited knowledge of integration or those that have little time but are being very clever. | ||
+ | |||
+ | Overall, where second point could lie to satisfy the problem is a length of <math>2(\frac{7}{4}-\frac{\pi}{16}-\frac{1}{8})=\frac{26-\pi}{8}</math>. By contrast, the total length where it could lie is the perimeter of the square <math>4</math>. So the possible points that the second point could be make up <math>\frac{\frac{26-\pi}{8}}{4}=\frac{26-\pi}{32}</math> of the square's perimeter. Obviously, <math>\gcd(32, 26, 1)=1</math>. <math>32+26+1=59\implies\boxed{A}</math> | ||
+ | |||
+ | ''Sorry for the long explanation!'' | ||
+ | '''Actual Integration as Promised''' | ||
+ | <cmath>2(\int_{0}^{\frac{1}{2}} 3.5\;dn -\int_{0}^{\frac{1}{2}}n\;dn -\int_{0}^{\frac{1}{2}}\sqrt{\frac{1}{4}-n^2}\;dn)</cmath> | ||
+ | |||
+ | First two integrals easily done by power rule | ||
+ | <math>\int_{0}^{\frac{1}{2}} 3.5\;dn=3.5\int_{0}^{\frac{1}{2}} 1\;dn=3.5n\Big|_0^{\frac{1}{2}}=7/4</math> | ||
+ | <math>\int_{0}^{\frac{1}{2}}n\;dn= \frac{n^2}{2}\Big|_0^{\frac{1}{2}}=1/8</math> | ||
+ | |||
+ | |||
+ | Last integral by trig substitution (long) | ||
+ | |||
+ | <math>\int_{0}^{\frac{1}{2}}\sqrt{\frac{1}{4}-n^2}\;dn=\frac{1}{2}\int_{0}^{\frac{1}{2}}\sqrt{1-(2n)^2}</math> | ||
+ | |||
+ | If <math>\sin(u)=2n</math>, then <math>dn=\frac{\cos(u)}{2}\;du</math> (differentiate both sides). | ||
+ | |||
+ | Then, <math>\frac{1}{4}\int_{n=0}^{n=\frac{1}{4}}\cos(u)\sqrt{1-\sin(u)^2}\;du=\frac{1}{4}\int_{n=0}^{n=\frac{1}{2}}\cos(u)\sqrt{\cos^2(u)}\;du=\frac{1}{2}\int_{n=0}^{n=\frac{1}{2}}\cos^2(u)\;du</math> | ||
+ | |||
+ | This is a known integral that can be derived from further trig identities (specifically double angle). For the sake of brevity, | ||
+ | |||
+ | <math>\frac{1}{4}\int_{n=0}^{n=\frac{1}{2}}\cos^2(u)\;du= \frac{1}{4}(\frac{2u + \sin(2u)}{4})\Big|_{x=0}^{x=\frac{1}{2}}=\frac{2u+\sin(2u)}{16}\Big|_{x=0}^{x=\frac{1}{2}}</math>. | ||
+ | |||
+ | Convert the limits: <math>\sin(u)=2\cdot0\implies u_1=0</math> and <math>\sin(u)=2\cdot\frac{1}{2} \implies u_2=\frac{\pi}{2}</math> | ||
+ | |||
+ | Finally, we have <math>\frac{2u+\sin(2u)}{16}\Big|_{0}^{\frac{\pi}{2}}=\frac{\pi+\sin(\pi)}{16}-0=\frac{\pi}{16}</math> | ||
+ | |||
+ | |||
+ | ~ Solution By BJHHar | ||
+ | |||
+ | ==Solution 4 (Extension, CALCULUS)== | ||
+ | Set the problem up similarly to in solution 1, where we split the square into 8 segments. Notice that each segment is the same, so WLOG use any one of them. For the purposes of this solution, I will assume the segment we use starts at (0, 0) and ends at (0.5, 0). The square I use will have vertices of <math>(0,0)</math>, <math>(1,0)</math>, <math>(0,1)</math>, and <math>(1,1)</math>. | ||
+ | |||
+ | A way we can figure out when the distance is at least <math>0.5</math> is if we figure out when it isn't <math>0.5</math>. Let's pick a point on our segment and denote it with <math>(x, 0)</math>. Then, there are three ways a second point can be within the boundaries of this first point. Either, it is to the left of it (if possible), to the right of it, or it is on the segment that forms a right angle with it. | ||
+ | |||
+ | Obviously, there is <math>x</math> distance if the point is to the left of the point <math>x</math>. Since we denoted this segment to be from <math>0</math> to <math>0.5</math>, then there will always be <math>0.5</math> distance to the right of the point <math>x</math> (as that's the maximum that we are trying to figure out). | ||
+ | |||
+ | The difficult part is finding the total length on the segment that is perpendicular to our segment. However, since the square has a right angle, we can first find that the segment should have a length of <math>\sqrt{0.25-x^2}</math> (by the Pythagorean theorem, with hypotenuse 0.5 and one leg being x). | ||
+ | |||
+ | Now that we have our three distances, all we need to do is find the average value of them. We can best do this with "Integral/Interval", and so we take the integral from <math>0</math> to <math>0.5</math> of <math>x+0.5+\sqrt{0.25-x^2}</math> and then divide it by <math>0.5</math> (the interval). To integrate <math>\sqrt{0.25-x^2}</math> by hand, we want to pull out the <math>1/4</math>, and then apply u-sub and our integration rules to find the answer. | ||
+ | |||
+ | We get <math>0.75 - \frac{\pi}{16} \cdot 2</math>. Simplify this into <math>\frac{6-\pi}{8}</math>. | ||
+ | |||
+ | Now we are on our last stage. Proceed to make this equivalent to what the question is asking, as we have found the probability that the second point is within a distance of <math>0.5</math>, whereas the question asks for at least a distance of <math>0.5</math> (so more than). We can do this simply by doing <math>4- \frac{6-\pi}{8}</math> (as <math>4</math> is the total amount of length). This equates to <math>\frac{26-\pi}{8}</math> and then we divide by <math>4</math> as that is the total amount of length (remember this is probability). | ||
+ | |||
+ | Thus, we get <math>\frac{26-\pi}{32}</math> for our probability, and so the answer is <math>26 + 1 + 32 = \textbf{(A)}\ 59</math>. | ||
+ | |||
+ | Some notes: I tried to explain everything but it's quite difficult to explain - there is a way of non-calculus (like there always is) that I think was mentioned above, something with circles (since the thing under the square root is just <math>x^2+y^2 = \frac{1}{4}</math>, so finding the average value of that isn't difficult). | ||
+ | |||
+ | IronicNinja~ Edited by AngelaLZ~ | ||
+ | |||
+ | ==Solution 5 (Area)== | ||
+ | Choose a certain side for one of the points to be on. Let the distance from the point to the vertex on its left be <math>x</math> | ||
+ | |||
+ | We split this into two cases: | ||
+ | |||
+ | Case 1: <math>0\leq x\leq \frac12</math>: | ||
+ | |||
+ | The total length of the segments for which the other point can be on such that the straight-line distance between the points is less than <math>\frac12</math> is <cmath>\sqrt{\frac14-x^2}+x+\frac12.</cmath> We can graph this in the Cartesian plane and find the area of the region below the curve and above the line <math>y=0</math>. | ||
+ | |||
+ | Case 2: <math>\frac12< x\leq 1</math>: | ||
+ | |||
+ | This is basically Case 1 but flipped over the line <math>x=\frac12</math>. | ||
+ | |||
+ | So our total probability is 1 minus the area of the graph over the total area (4, perimeter of square). Notice that the desired area of the region below the curve we found earlier is the sum of a quarter circle with radius <math>\frac12</math> and centered at <math>(0,0)</math> and a trapezoid with height <math>\frac12</math> and bases of length <math>\frac12</math> and <math>\frac32</math>. Adding this all up then multiplying by 2, we have <cmath>\frac{\pi}{8}+\frac34</cmath> and then the probability of the desired result would be <cmath>1-\frac{\pi+6}{32}=\frac{26-\pi}{32}</cmath> and our answer is <math>26+1+32=\boxed{59}</math>. ~caroline2023 | ||
+ | |||
+ | === Video Solution by Richard Rusczyk === | ||
+ | |||
+ | https://artofproblemsolving.com/videos/amc/2015amc12a/399 | ||
+ | |||
+ | ~ dolphin7 | ||
== See Also == | == See Also == | ||
{{AMC12 box|year=2015|ab=A|num-b=22|num-a=24}} | {{AMC12 box|year=2015|ab=A|num-b=22|num-a=24}} | ||
+ | {{AMC10 box|year=2015|ab=A|num-b=24|after=Last Problem}} |
Latest revision as of 02:17, 18 January 2021
- The following problem is from both the 2015 AMC 12A #23 and 2015 AMC 10A #25, so both problems redirect to this page.
Contents
Problem
Let be a square of side length 1. Two points are chosen independently at random on the sides of . The probability that the straight-line distance between the points is at least is , where and are positive integers and . What is ?
Solution
Divide the boundary of the square into halves, thereby forming 8 segments. Without loss of generality, let the first point be in the bottom-left segment. Then, it is easy to see that any point in the 5 segments not bordering the bottom-left segment will be distance at least apart from . Now, consider choosing the second point on the bottom-right segment. The probability for it to be distance at least 0.5 apart from is because of linearity of the given probability. (Alternatively, one can set up a coordinate system and use geometric probability.)
If the second point is on the left-bottom segment, then if is distance away from the left-bottom vertex, then must be at least away from that same vertex. Thus, using an averaging argument we find that the probability in this case is
(Alternatively, one can equate the problem to finding all valid with such that , i.e. (x, y) is outside the unit circle with radius 0.5.)
Thus, averaging the probabilities gives
Our answer is .
Case Solution
Fix one of the points on a SIDE. There are three cases: the other point is on the same side, a peripheral side, or the opposite side, with probability , respectively.
Opposite side: Probability is obviously , no matter what.
Same side: Pretend the points are on a line with coordinates and . If , drawing a graph will give probability .
Peripheral side: superimpose a coordinate system over the points; call them and . WLOG set and . We need , and drawing the coordinate system with bounds gives probability that the distance between the points is .
Adding these up and finding the fraction gives us for an answer of .
Solution 3 (Average Function Value/Quick Faux Integration)
WLOG, let the first point be on the bottom side of the square. The points where the second point could exist are outside a circle of radius 0.5 centered on the first point. The parts of the square that lie in this circle are the distance from the point to the closest side of the square , the distance from the point to the outside of the circle (the radius ), and any portion of the nearest side that lies within the circle as represented by the Pythagorean Theorem . Thus, the total length the second point can exist in can be represented by . Distributing, .
Then, we can find the average of this function through calculus (wow more calc?). This formula is as follows,
For this case, the limits of integration are and (). Then, we have,
Even if you don't know how to integrate, as long as you know the idea of integration, you can figure these out. Graphing the first two, you can see that the first is a rectangle of length and width . The second is an isosceles right triangle of leg length .
Recognize that the third integral is a semicircle of radius and centered at the origin. This is where comes in. From to , the integral is simply a quarter circle. .
If you want me to actually integrate these, look below. Do note that this is for those that have a limited knowledge of integration or those that have little time but are being very clever.
Overall, where second point could lie to satisfy the problem is a length of . By contrast, the total length where it could lie is the perimeter of the square . So the possible points that the second point could be make up of the square's perimeter. Obviously, .
Sorry for the long explanation!
Actual Integration as Promised
First two integrals easily done by power rule
Last integral by trig substitution (long)
If , then (differentiate both sides).
Then,
This is a known integral that can be derived from further trig identities (specifically double angle). For the sake of brevity,
.
Convert the limits: and
Finally, we have
~ Solution By BJHHar
Solution 4 (Extension, CALCULUS)
Set the problem up similarly to in solution 1, where we split the square into 8 segments. Notice that each segment is the same, so WLOG use any one of them. For the purposes of this solution, I will assume the segment we use starts at (0, 0) and ends at (0.5, 0). The square I use will have vertices of , , , and .
A way we can figure out when the distance is at least is if we figure out when it isn't . Let's pick a point on our segment and denote it with . Then, there are three ways a second point can be within the boundaries of this first point. Either, it is to the left of it (if possible), to the right of it, or it is on the segment that forms a right angle with it.
Obviously, there is distance if the point is to the left of the point . Since we denoted this segment to be from to , then there will always be distance to the right of the point (as that's the maximum that we are trying to figure out).
The difficult part is finding the total length on the segment that is perpendicular to our segment. However, since the square has a right angle, we can first find that the segment should have a length of (by the Pythagorean theorem, with hypotenuse 0.5 and one leg being x).
Now that we have our three distances, all we need to do is find the average value of them. We can best do this with "Integral/Interval", and so we take the integral from to of and then divide it by (the interval). To integrate by hand, we want to pull out the , and then apply u-sub and our integration rules to find the answer.
We get . Simplify this into .
Now we are on our last stage. Proceed to make this equivalent to what the question is asking, as we have found the probability that the second point is within a distance of , whereas the question asks for at least a distance of (so more than). We can do this simply by doing (as is the total amount of length). This equates to and then we divide by as that is the total amount of length (remember this is probability).
Thus, we get for our probability, and so the answer is .
Some notes: I tried to explain everything but it's quite difficult to explain - there is a way of non-calculus (like there always is) that I think was mentioned above, something with circles (since the thing under the square root is just , so finding the average value of that isn't difficult).
IronicNinja~ Edited by AngelaLZ~
Solution 5 (Area)
Choose a certain side for one of the points to be on. Let the distance from the point to the vertex on its left be
We split this into two cases:
Case 1: :
The total length of the segments for which the other point can be on such that the straight-line distance between the points is less than is We can graph this in the Cartesian plane and find the area of the region below the curve and above the line .
Case 2: :
This is basically Case 1 but flipped over the line .
So our total probability is 1 minus the area of the graph over the total area (4, perimeter of square). Notice that the desired area of the region below the curve we found earlier is the sum of a quarter circle with radius and centered at and a trapezoid with height and bases of length and . Adding this all up then multiplying by 2, we have and then the probability of the desired result would be and our answer is . ~caroline2023
Video Solution by Richard Rusczyk
https://artofproblemsolving.com/videos/amc/2015amc12a/399
~ dolphin7
See Also
2015 AMC 12A (Problems • Answer Key • Resources) | |
Preceded by Problem 22 |
Followed by Problem 24 |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 | |
All AMC 12 Problems and Solutions |
2015 AMC 10A (Problems • Answer Key • Resources) | ||
Preceded by Problem 24 |
Followed by Last Problem | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 | ||
All AMC 10 Problems and Solutions |