Difference between revisions of "2016 AMC 12A Problems/Problem 23"

(Solution 9(Fastest solution if you have no time): Stick Solution)
 
(43 intermediate revisions by 18 users not shown)
Line 6: Line 6:
  
 
==Solution==
 
==Solution==
 +
[[File:AMC12 2006 A 23.png|500px|center]]
  
===Solution 1: Super WLOG===
+
==Solution 1: Super WLOG==
  
WLOG assume <math>a</math> is the largest. Scale the triangle to <math>1,{b}/{a},{c}/{a}</math> or <math>1,x,y</math> Then the solution is <math>\boxed{\textbf{(C)}\;1/2}</math> (Insert graph with square of side length 1 and the line <math>x+y=1</math> that cuts it in half)
+
Because we can let the the sides of the triangle be any variable we want, to make it easier for us when solving, let’s let the side lengths be <math>x,y,</math> and <math>a</math>. WLOG assume <math>a</math> is the largest. Then, <math>x+y>a</math>, meaning the solution is <math>\boxed{\textbf{(C)}\;1/2}</math>, as shown in the graph below.
 +
<asy>
 +
pair A = (0,0);
 +
pair B = (1,0);
 +
pair C = (1,1);
 +
pair D = (0,1);
 +
pair E = (0,0);
  
===Solution 2: Conditional Probability===
+
draw(A--B--C--D--cycle);
 +
draw(B--D,dashed);
 +
fill(B--D--C--cycle,gray);
 +
 
 +
label("$0$",A,SW);
 +
label("$a$",B,S);
 +
label("$a$",D,W);
 +
label("$y$",(0,.5),W);
 +
label("$x$",(.5,0),S);
 +
label("$x+y>a$",(5/7,5/7));
 +
</asy>
 +
 
 +
==Solution 2: Conditional Probability==
  
 
WLOG, let the largest of the three numbers drawn be <math>a>0</math>.  Then the other two numbers are drawn uniformly and independently from the interval <math>[0,a]</math>.  The probability that their sum is greater than <math>a</math> is <math>\boxed{\textbf{(C)}\;1/2.}</math>
 
WLOG, let the largest of the three numbers drawn be <math>a>0</math>.  Then the other two numbers are drawn uniformly and independently from the interval <math>[0,a]</math>.  The probability that their sum is greater than <math>a</math> is <math>\boxed{\textbf{(C)}\;1/2.}</math>
  
===Solution 3: Calculus===
+
==Solution 3: Calculus==
  
 
When <math>a>b</math>, consider two cases:
 
When <math>a>b</math>, consider two cases:
Line 27: Line 46:
 
<math>a<b</math> is the same. Thus the answer is <math>\frac{1}{2}</math>.
 
<math>a<b</math> is the same. Thus the answer is <math>\frac{1}{2}</math>.
  
===Solution 4: Geometry===
+
==Solution 4: Geometry==
  
 
The probability of this occurring is the volume of the corresponding region within a <math>1 \times 1 \times 1</math> cube, where each point <math>(x,y,z)</math> corresponds to a choice of values for each of <math>x, y,</math> and <math>z</math>. The region where, WLOG, side <math>z</math> is too long, <math>z\geq x+y</math>, is a pyramid with a base of area <math>\frac{1}{2}</math> and height <math>1</math>, so its volume is <math>\frac{\frac{1}{2}\cdot 1}{3}=\frac{1}{6}</math>. Accounting for the corresponding cases in <math>x</math> and <math>y</math> multiplies our answer by <math>3</math>, so we have excluded a total volume of <math>\frac{1}{2}</math> from the space of possible probabilities. Subtracting this from <math>1</math> leaves us with a final answer of <math>\frac{1}{2}</math>.
 
The probability of this occurring is the volume of the corresponding region within a <math>1 \times 1 \times 1</math> cube, where each point <math>(x,y,z)</math> corresponds to a choice of values for each of <math>x, y,</math> and <math>z</math>. The region where, WLOG, side <math>z</math> is too long, <math>z\geq x+y</math>, is a pyramid with a base of area <math>\frac{1}{2}</math> and height <math>1</math>, so its volume is <math>\frac{\frac{1}{2}\cdot 1}{3}=\frac{1}{6}</math>. Accounting for the corresponding cases in <math>x</math> and <math>y</math> multiplies our answer by <math>3</math>, so we have excluded a total volume of <math>\frac{1}{2}</math> from the space of possible probabilities. Subtracting this from <math>1</math> leaves us with a final answer of <math>\frac{1}{2}</math>.
  
=== Solution 5: More Calculus ===
+
== Solution 5: More Calculus ==
  
 
The probability of this occurring is the volume of the corresponding region within a <math>1 \times 1 \times 1</math> cube, where each point <math>(x,y,z)</math> corresponds to a choice of values for each of <math>x, y,</math> and <math>z</math>.  We take a horizontal cross section of the cube, essentially picking a value for z.  The area where the triangle inequality will not hold is when <math>x + y < z</math>, which has area <math>\frac{z^2}{2}</math> or when <math>x+z<y</math> or <math>y+z<x</math>, which have an area of <math>\frac{(1-z)^2}{2}+\frac{(1-z)^2}{2} = (1-z)^2.</math> Integrating this expression from 0 to 1 in the form
 
The probability of this occurring is the volume of the corresponding region within a <math>1 \times 1 \times 1</math> cube, where each point <math>(x,y,z)</math> corresponds to a choice of values for each of <math>x, y,</math> and <math>z</math>.  We take a horizontal cross section of the cube, essentially picking a value for z.  The area where the triangle inequality will not hold is when <math>x + y < z</math>, which has area <math>\frac{z^2}{2}</math> or when <math>x+z<y</math> or <math>y+z<x</math>, which have an area of <math>\frac{(1-z)^2}{2}+\frac{(1-z)^2}{2} = (1-z)^2.</math> Integrating this expression from 0 to 1 in the form
  
<math>\int_0^1 \frac{z^2}{2} + (1-z)^2 dz = \frac{z^3}{2} - z^2 + z \biggr |_0^1 = \frac{1}{2} -1 + 1 = \frac{1}{2}</math>
+
<math>\int_0^1 \left(\frac{z^2}{2} + (1-z)^2\right) dz = \bigg[\frac{z^3}{2} - z^2 + z \biggr |_0^1 = \frac{1}{2} -1 + 1 = \frac{1}{2}</math>
 +
 
 +
===Solution 5.1 (better explanation)===
 +
This problem is going to require some geometric probability, so let's dive right in.
 +
Take three integers <math>x</math>, <math>y</math>, and <math>z</math>. Then for the triangle inequality to hold, the following <math>3</math> inequalities must be true
 +
 
 +
<cmath>x + y > z</cmath>
 +
<cmath>y + z > x</cmath>
 +
<cmath>x + z > y</cmath>
 +
 
 +
Now, it would be really easy if these equations only had two variables instead of <math>3</math>, because then we could graph it in a <math>2</math>-dimensional plane instead of a <math>3</math>-dimensional cube. So, we assume <math>z</math> is a constant. We will deal with it later.
 +
 
 +
Now, since we are graphing, we should probably write these equations in terms of <math>y</math> so they are in slope-intercept form and are easier to graph.
 +
 
 +
<cmath>y > -x + z</cmath>
 +
<cmath>y > x - z</cmath>
 +
<cmath>y < x + z</cmath>
 +
 
 +
Now, note that all solutions <math>(x,y)</math> are in a <math>1</math> <math>x</math> <math>1</math> square in the <math>xy</math>-plane because <math>x</math>, <math>y \in [0, 1]</math>.
 +
 
 +
I recommend drawing the following figure to get an idea of what is going on.
 +
The first line is a line with a negative slope that cuts off a <math>45-45-90</math> triangle with side length <math>z</math> of the bottom left corner of the square. The second line is a line with a positive slope that cuts off a <math>45-45-90</math> triangle with side length <math>1-z</math> off the top left corner of the square. The third line also has a positive slope and cuts a <math>45-45-90</math> triangle with side length <math>1 - z</math> off the bottom right corner of the square.
 +
 
 +
Note: All triangles are <math>45-45-90</math> because the lines have slopes of <math>1</math> or <math>-1</math>.
 +
 
 +
Using the <math>></math> and <math><</math> signs in the lines, we see that the area that satisfies all three inequalities is the area not enclosed in the three triangles. So, our plan of attack will be to
 +
 
 +
Find the area of the triangles -> Subtract that from the area of the square -> Use probability to get the answer.
 +
 
 +
Except, now, we have one problem. <math>z</math> is still a variable. But, we want <math>z</math> to be a constant. Well, what if we just took the area over every possible value of <math>z</math>? Well, that would be a bit hard, if not impossible to do by hand, but there is a handy math tool that will let us do that: the integral!
 +
 
 +
To find the area of the triangles, our plan of attack will be
 +
 
 +
Find the area in terms of <math>z</math> -> take the integral from <math>0</math> to <math>1</math> of the expression for the area (this will cover every possible value of <math>z</math>
 +
 
 +
The area of the triangles is
 +
 
 +
<cmath>\frac{z^2}{2} + (1-z)^2 = \frac{1}{2}\left(-3x^2 + 4x\right)</cmath>.
 +
 
 +
The integral from <math>0</math> to <math>1</math> is
  
=== Solution 6: Geometry in 2-D ===
+
<cmath>\frac{1}{2}\int_0^1\left(-3x^2 + 4x\right)dx = \frac{1}{2}</cmath>
 +
 
 +
The total area of all the possible unit squares is quite obviously
 +
 
 +
<cmath>\int_0^11dx = 1</cmath>
 +
 
 +
Thus, the area not enclosed by the triangles is <math>1 - \dfrac{1}{2} = \dfrac{1}{2}</math>, and the total area of the square is <math>1</math>. Thus, the desired probability is
 +
 
 +
<cmath>\frac{\frac{1}{2}}{1} = \boxed{\textbf{(C) }\frac12}</cmath>
 +
 
 +
~Extremelysupercooldude
 +
 
 +
== Solution 6: Geometry in 2-D ==
 
WLOG assume that <math>z</math> is the largest number and hence the largest side. Then <math>x,y \leq z</math>. We can set up a square that is <math>z</math> by <math>z</math> in the <math>xy</math> plane. We are wanting all the points within this square that satisfy <math>x+y > z</math>. This happens to be a line dividing the square into 2 equal regions. Thus the answer is <math>\frac{1}{2}</math>.
 
WLOG assume that <math>z</math> is the largest number and hence the largest side. Then <math>x,y \leq z</math>. We can set up a square that is <math>z</math> by <math>z</math> in the <math>xy</math> plane. We are wanting all the points within this square that satisfy <math>x+y > z</math>. This happens to be a line dividing the square into 2 equal regions. Thus the answer is <math>\frac{1}{2}</math>.
  
  
 
[][] diagram for this problem goes here (z by z square)
 
[][] diagram for this problem goes here (z by z square)
 +
 +
== Solution 7: More WLOG, Complementary Probability ==
 +
The triangle inequality simplifies to considering only one case: <math>\text{the smallest side+ the second smallest side} > \text{the largest side}</math>. Consider the complement (the same statement, except with a less than or equal to).  Assume (WLOG) <math>a</math> is the largest, so on average <math>a=1/2</math> (now equal to becomes a degenerate case with probability <math>0</math>, so we no longer need to consider it). We now want <math>b+c<1/2</math>, so imagine choosing <math>b+c</math> at once rather than independently. But we know that <math>b+c</math> is between <math>0</math> and <math>2</math>. The complement is thus: <math>(1/2-0)/2=1/4</math>. But keep in mind that we choose each <math>b</math> and <math>c</math> randomly and independently, so if there are <math>k</math> ways to choose <math>b+c</math> together, there are <math>2k</math> ways to choose them separately, and therefore the complement actually doubles to match each case (a good example of this is to restrict b and c to integers such that if <math>b+c=3</math>, then we only count this once, but in reality: we have two cases <math>1+2</math>, and <math>2+1</math>; similar reasoning also generalizes to non-integral values). The complement is then actually <math>2(1/4)=1/2</math>. Therefore, our desired probability is given by <math>1-\text{complement}=1/2, C</math>
 +
 +
== Solution 8: 3D geometry ==
 +
 +
We can draw a 3D space where each coordinate is in the range [0,1]. Drawing the lines <math>x+y>z, x+z>y,</math> and <math>y+z>x,</math> We have a 3D space that consists of two tetrahedrons. One is a regular tetrahedron with side length <math>\sqrt2</math> and the other has 3 sides of length <math>\sqrt2</math> and 3 sides of length <math>1.</math> The volume of this region is <math>\frac 1 2</math>. Hence our solution is <math>C.</math>
 +
 +
== Solution 9(Fastest solution if you have no time): Stick Solution ==
 +
 +
Consider a stick of length <math>1</math>. Cutting the stick at two random points gives a triangle from the three new segments. These two random points must be on opposite sides of the halfway mark. Thus, after the first cut is made, there is <math>\boxed{\textbf{(C) }\frac12}</math> probability that the second cut is on the opposite side.
 +
 +
-this isn't necessarily true: what if the cuts are very very close to the edges? -happypi31415
 +
 +
-alanisawesome2018
 +
 +
== Video Solution by Punxsutawney Phil ==
 +
https://youtu.be/DDRRP9VLYO8
 +
 +
== Video Solution by The Art of Problem Solving ==
 +
https://www.youtube.com/watch?v=FqRsTNB89ps&list=PLyhPcpM8aMvI7N78mYZyatqveRU30iNcf&index=3
 +
 +
- AMBRIGGS
  
 
==See Also==
 
==See Also==
 
{{AMC12 box|year=2016|ab=A|num-b=22|num-a=24}}
 
{{AMC12 box|year=2016|ab=A|num-b=22|num-a=24}}
 
{{MAA Notice}}
 
{{MAA Notice}}

Latest revision as of 15:49, 16 May 2024

Problem

Three numbers in the interval $\left[0,1\right]$ are chosen independently and at random. What is the probability that the chosen numbers are the side lengths of a triangle with positive area?

$\textbf{(A) }\frac16\qquad\textbf{(B) }\frac13\qquad\textbf{(C) }\frac12\qquad\textbf{(D) }\frac23\qquad\textbf{(E) }\frac56$

Solution

AMC12 2006 A 23.png

Solution 1: Super WLOG

Because we can let the the sides of the triangle be any variable we want, to make it easier for us when solving, let’s let the side lengths be $x,y,$ and $a$. WLOG assume $a$ is the largest. Then, $x+y>a$, meaning the solution is $\boxed{\textbf{(C)}\;1/2}$, as shown in the graph below. [asy] pair A = (0,0); pair B = (1,0); pair C = (1,1); pair D = (0,1); pair E = (0,0);  draw(A--B--C--D--cycle); draw(B--D,dashed); fill(B--D--C--cycle,gray);  label("$0$",A,SW); label("$a$",B,S); label("$a$",D,W); label("$y$",(0,.5),W); label("$x$",(.5,0),S); label("$x+y>a$",(5/7,5/7)); [/asy]

Solution 2: Conditional Probability

WLOG, let the largest of the three numbers drawn be $a>0$. Then the other two numbers are drawn uniformly and independently from the interval $[0,a]$. The probability that their sum is greater than $a$ is $\boxed{\textbf{(C)}\;1/2.}$

Solution 3: Calculus

When $a>b$, consider two cases:

1) $0<a<\frac{1}{2}$, then $\int_{0}^{\frac{1}{2}} \int_{0}^{a}2b \,\text{d}b\,\text{d}a=\frac{1}{24}$

2)$\frac{1}{2}<a<1$, then $\int_{\frac{1}{2}}^{1} \left(\int_{0}^{1-a}2b \,\text{d}b + \int_{1-a}^{a}1+b-a \,db\right)\text{d}a=\frac{5}{24}$

$a<b$ is the same. Thus the answer is $\frac{1}{2}$.

Solution 4: Geometry

The probability of this occurring is the volume of the corresponding region within a $1 \times 1 \times 1$ cube, where each point $(x,y,z)$ corresponds to a choice of values for each of $x, y,$ and $z$. The region where, WLOG, side $z$ is too long, $z\geq x+y$, is a pyramid with a base of area $\frac{1}{2}$ and height $1$, so its volume is $\frac{\frac{1}{2}\cdot 1}{3}=\frac{1}{6}$. Accounting for the corresponding cases in $x$ and $y$ multiplies our answer by $3$, so we have excluded a total volume of $\frac{1}{2}$ from the space of possible probabilities. Subtracting this from $1$ leaves us with a final answer of $\frac{1}{2}$.

Solution 5: More Calculus

The probability of this occurring is the volume of the corresponding region within a $1 \times 1 \times 1$ cube, where each point $(x,y,z)$ corresponds to a choice of values for each of $x, y,$ and $z$. We take a horizontal cross section of the cube, essentially picking a value for z. The area where the triangle inequality will not hold is when $x + y < z$, which has area $\frac{z^2}{2}$ or when $x+z<y$ or $y+z<x$, which have an area of $\frac{(1-z)^2}{2}+\frac{(1-z)^2}{2} = (1-z)^2.$ Integrating this expression from 0 to 1 in the form

$\int_0^1 \left(\frac{z^2}{2} + (1-z)^2\right) dz = \bigg[\frac{z^3}{2} - z^2 + z \biggr |_0^1 = \frac{1}{2} -1 + 1 = \frac{1}{2}$

Solution 5.1 (better explanation)

This problem is going to require some geometric probability, so let's dive right in. Take three integers $x$, $y$, and $z$. Then for the triangle inequality to hold, the following $3$ inequalities must be true

\[x + y > z\] \[y + z > x\] \[x + z > y\]

Now, it would be really easy if these equations only had two variables instead of $3$, because then we could graph it in a $2$-dimensional plane instead of a $3$-dimensional cube. So, we assume $z$ is a constant. We will deal with it later.

Now, since we are graphing, we should probably write these equations in terms of $y$ so they are in slope-intercept form and are easier to graph.

\[y > -x + z\] \[y > x - z\] \[y < x + z\]

Now, note that all solutions $(x,y)$ are in a $1$ $x$ $1$ square in the $xy$-plane because $x$, $y \in [0, 1]$.

I recommend drawing the following figure to get an idea of what is going on. The first line is a line with a negative slope that cuts off a $45-45-90$ triangle with side length $z$ of the bottom left corner of the square. The second line is a line with a positive slope that cuts off a $45-45-90$ triangle with side length $1-z$ off the top left corner of the square. The third line also has a positive slope and cuts a $45-45-90$ triangle with side length $1 - z$ off the bottom right corner of the square.

Note: All triangles are $45-45-90$ because the lines have slopes of $1$ or $-1$.

Using the $>$ and $<$ signs in the lines, we see that the area that satisfies all three inequalities is the area not enclosed in the three triangles. So, our plan of attack will be to

Find the area of the triangles -> Subtract that from the area of the square -> Use probability to get the answer.

Except, now, we have one problem. $z$ is still a variable. But, we want $z$ to be a constant. Well, what if we just took the area over every possible value of $z$? Well, that would be a bit hard, if not impossible to do by hand, but there is a handy math tool that will let us do that: the integral!

To find the area of the triangles, our plan of attack will be

Find the area in terms of $z$ -> take the integral from $0$ to $1$ of the expression for the area (this will cover every possible value of $z$

The area of the triangles is

\[\frac{z^2}{2} + (1-z)^2 = \frac{1}{2}\left(-3x^2 + 4x\right)\].

The integral from $0$ to $1$ is

\[\frac{1}{2}\int_0^1\left(-3x^2 + 4x\right)dx = \frac{1}{2}\]

The total area of all the possible unit squares is quite obviously

\[\int_0^11dx = 1\]

Thus, the area not enclosed by the triangles is $1 - \dfrac{1}{2} = \dfrac{1}{2}$, and the total area of the square is $1$. Thus, the desired probability is

\[\frac{\frac{1}{2}}{1} = \boxed{\textbf{(C) }\frac12}\]

~Extremelysupercooldude

Solution 6: Geometry in 2-D

WLOG assume that $z$ is the largest number and hence the largest side. Then $x,y \leq z$. We can set up a square that is $z$ by $z$ in the $xy$ plane. We are wanting all the points within this square that satisfy $x+y > z$. This happens to be a line dividing the square into 2 equal regions. Thus the answer is $\frac{1}{2}$.


[][] diagram for this problem goes here (z by z square)

Solution 7: More WLOG, Complementary Probability

The triangle inequality simplifies to considering only one case: $\text{the smallest side+ the second smallest side} > \text{the largest side}$. Consider the complement (the same statement, except with a less than or equal to). Assume (WLOG) $a$ is the largest, so on average $a=1/2$ (now equal to becomes a degenerate case with probability $0$, so we no longer need to consider it). We now want $b+c<1/2$, so imagine choosing $b+c$ at once rather than independently. But we know that $b+c$ is between $0$ and $2$. The complement is thus: $(1/2-0)/2=1/4$. But keep in mind that we choose each $b$ and $c$ randomly and independently, so if there are $k$ ways to choose $b+c$ together, there are $2k$ ways to choose them separately, and therefore the complement actually doubles to match each case (a good example of this is to restrict b and c to integers such that if $b+c=3$, then we only count this once, but in reality: we have two cases $1+2$, and $2+1$; similar reasoning also generalizes to non-integral values). The complement is then actually $2(1/4)=1/2$. Therefore, our desired probability is given by $1-\text{complement}=1/2, C$

Solution 8: 3D geometry

We can draw a 3D space where each coordinate is in the range [0,1]. Drawing the lines $x+y>z, x+z>y,$ and $y+z>x,$ We have a 3D space that consists of two tetrahedrons. One is a regular tetrahedron with side length $\sqrt2$ and the other has 3 sides of length $\sqrt2$ and 3 sides of length $1.$ The volume of this region is $\frac 1 2$. Hence our solution is $C.$

Solution 9(Fastest solution if you have no time): Stick Solution

Consider a stick of length $1$. Cutting the stick at two random points gives a triangle from the three new segments. These two random points must be on opposite sides of the halfway mark. Thus, after the first cut is made, there is $\boxed{\textbf{(C) }\frac12}$ probability that the second cut is on the opposite side.

-this isn't necessarily true: what if the cuts are very very close to the edges? -happypi31415

-alanisawesome2018

Video Solution by Punxsutawney Phil

https://youtu.be/DDRRP9VLYO8

Video Solution by The Art of Problem Solving

https://www.youtube.com/watch?v=FqRsTNB89ps&list=PLyhPcpM8aMvI7N78mYZyatqveRU30iNcf&index=3

- AMBRIGGS

See Also

2016 AMC 12A (ProblemsAnswer KeyResources)
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

The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions. AMC logo.png