https://artofproblemsolving.com/wiki/api.php?action=feedcontributions&user=Penguin+spellcaster&feedformat=atomAoPS Wiki - User contributions [en]2024-03-28T12:58:20ZUser contributionsMediaWiki 1.31.1https://artofproblemsolving.com/wiki/index.php?title=2018_AMC_8_Problems/Problem_23&diff=1371212018 AMC 8 Problems/Problem 232020-11-09T08:44:50Z<p>Penguin spellcaster: /* Solutions */</p>
<hr />
<div>==Problem==<br />
From a regular octagon, a triangle is formed by connecting three randomly chosen vertices of the octagon. What is the probability that at least one of the sides of the triangle is also a side of the octagon?<br />
<br />
<asy><br />
size(3cm);<br />
pair A[];<br />
for (int i=0; i<9; ++i) {<br />
A[i] = rotate(22.5+45*i)*(1,0);<br />
}<br />
filldraw(A[0]--A[1]--A[2]--A[3]--A[4]--A[5]--A[6]--A[7]--cycle,gray,black);<br />
for (int i=0; i<8; ++i) { dot(A[i]); }<br />
</asy><br />
<br />
<br />
<math>\textbf{(A) } \frac{2}{7} \qquad \textbf{(B) } \frac{5}{42} \qquad \textbf{(C) } \frac{11}{14} \qquad \textbf{(D) } \frac{5}{7} \qquad \textbf{(E) } \frac{6}{7}</math><br />
<br />
==Solutions==<br />
===Solution 1===<br />
We will use constructive counting to solve this. There are <math>2</math> cases: Either all <math>3</math> points are adjacent, or exactly <math>2</math> points are adjacent.<br />
<br />
If all <math>3</math> points are adjacent, then we have <math>8</math> choices. If we have exactly <math>2</math> adjacent points, then we will have <math>8</math> places to put the adjacent points and also <math>4</math> places to put the remaining point, so we have <math>8\cdot4</math> choices. The total amount of choices is <math>{8 \choose 3} = 8\cdot7</math>.<br />
Thus our answer is <math>\frac{8+8\cdot4}{8\cdot7}= \frac{1+4}{7}=\boxed{\textbf{(D) } \frac 57}</math><br />
<br />
===Solution 2 ===<br />
We can decide <math>2</math> adjacent points with <math>8</math> choices. The remaining point will have <math>6</math> choices. However, we have counted the case with <math>3</math> adjacent points twice, so we need to subtract this case once. The case with the <math>3</math> adjacent points has <math>8</math> arrangements, so our answer is <math>\frac{8\cdot6-8}{{8 \choose 3 }}</math><math>=\frac{8\cdot6-8}{8 \cdot 7 \cdot 6 \div 6}\Longrightarrow\boxed{\textbf{(D) } \frac 57}</math><br />
<br />
===Solution 3 (Stars and Bars)===<br />
Let <math>1</math> point of the triangle be fixed at the top. Then, there are <math>{7 \choose 2} = 21</math> ways to chose the other 2 points. There must be <math>3</math> spaces in the points and <math>3</math> points themselves. This leaves 2 extra points to be placed anywhere. By stars and bars, there are 3 triangle points (n) and <math>2</math> extra points (k-1) distributed so by the stars and bars formula, <math>{n+k-1 \choose k-1}</math>, there are <math>{4 \choose 2} = 6</math> ways to arrange the bars and stars. Thus, the probability is <math>\frac{(21 - 6)}{21} = \boxed{\frac{5}{7}}</math>.<br />
The stars and bars formula might be inaccurate<br />
<br />
==Video Solution==<br />
https://www.youtube.com/watch?v=VNflxl7VpL0 - Happytwin<br />
<br />
==See Also==<br />
{{AMC8 box|year=2018|num-b=22|num-a=24}}<br />
{{MAA Notice}}</div>Penguin spellcasterhttps://artofproblemsolving.com/wiki/index.php?title=2018_AMC_8_Problems/Problem_23&diff=1371202018 AMC 8 Problems/Problem 232020-11-09T08:44:35Z<p>Penguin spellcaster: /* Solution */</p>
<hr />
<div>==Problem==<br />
From a regular octagon, a triangle is formed by connecting three randomly chosen vertices of the octagon. What is the probability that at least one of the sides of the triangle is also a side of the octagon?<br />
<br />
<asy><br />
size(3cm);<br />
pair A[];<br />
for (int i=0; i<9; ++i) {<br />
A[i] = rotate(22.5+45*i)*(1,0);<br />
}<br />
filldraw(A[0]--A[1]--A[2]--A[3]--A[4]--A[5]--A[6]--A[7]--cycle,gray,black);<br />
for (int i=0; i<8; ++i) { dot(A[i]); }<br />
</asy><br />
<br />
<br />
<math>\textbf{(A) } \frac{2}{7} \qquad \textbf{(B) } \frac{5}{42} \qquad \textbf{(C) } \frac{11}{14} \qquad \textbf{(D) } \frac{5}{7} \qquad \textbf{(E) } \frac{6}{7}</math><br />
<br />
==Solutions==<br />
<br />
==Video Solution==<br />
https://www.youtube.com/watch?v=VNflxl7VpL0 - Happytwin<br />
<br />
==See Also==<br />
{{AMC8 box|year=2018|num-b=22|num-a=24}}<br />
{{MAA Notice}}</div>Penguin spellcasterhttps://artofproblemsolving.com/wiki/index.php?title=2018_AMC_8_Problems/Problem_23&diff=1371192018 AMC 8 Problems/Problem 232020-11-09T08:43:36Z<p>Penguin spellcaster: I did not edit but I want to ask: Are you sure that is the stars and bars formula? I don't think that is the stars and bars formula</p>
<hr />
<div>==Problem==<br />
From a regular octagon, a triangle is formed by connecting three randomly chosen vertices of the octagon. What is the probability that at least one of the sides of the triangle is also a side of the octagon?<br />
<br />
<asy><br />
size(3cm);<br />
pair A[];<br />
for (int i=0; i<9; ++i) {<br />
A[i] = rotate(22.5+45*i)*(1,0);<br />
}<br />
filldraw(A[0]--A[1]--A[2]--A[3]--A[4]--A[5]--A[6]--A[7]--cycle,gray,black);<br />
for (int i=0; i<8; ++i) { dot(A[i]); }<br />
</asy><br />
<br />
<br />
<math>\textbf{(A) } \frac{2}{7} \qquad \textbf{(B) } \frac{5}{42} \qquad \textbf{(C) } \frac{11}{14} \qquad \textbf{(D) } \frac{5}{7} \qquad \textbf{(E) } \frac{6}{7}</math><br />
<br />
==Solution==<br />
===Solution 1===<br />
We will use constructive counting to solve this. There are <math>2</math> cases: Either all <math>3</math> points are adjacent, or exactly <math>2</math> points are adjacent.<br />
<br />
If all <math>3</math> points are adjacent, then we have <math>8</math> choices. If we have exactly <math>2</math> adjacent points, then we will have <math>8</math> places to put the adjacent points and also <math>4</math> places to put the remaining point, so we have <math>8\cdot4</math> choices. The total amount of choices is <math>{8 \choose 3} = 8\cdot7</math>.<br />
Thus our answer is <math>\frac{8+8\cdot4}{8\cdot7}= \frac{1+4}{7}=\boxed{\textbf{(D) } \frac 57}</math><br />
<br />
===Solution 2 ===<br />
We can decide <math>2</math> adjacent points with <math>8</math> choices. The remaining point will have <math>6</math> choices. However, we have counted the case with <math>3</math> adjacent points twice, so we need to subtract this case once. The case with the <math>3</math> adjacent points has <math>8</math> arrangements, so our answer is <math>\frac{8\cdot6-8}{{8 \choose 3 }}</math><math>=\frac{8\cdot6-8}{8 \cdot 7 \cdot 6 \div 6}\Longrightarrow\boxed{\textbf{(D) } \frac 57}</math><br />
<br />
===Solution 3 (Stars and Bars)===<br />
Let <math>1</math> point of the triangle be fixed at the top. Then, there are <math>{7 \choose 2} = 21</math> ways to chose the other 2 points. There must be <math>3</math> spaces in the points and <math>3</math> points themselves. This leaves 2 extra points to be placed anywhere. By stars and bars, there are 3 triangle points (n) and <math>2</math> extra points (k-1) distributed so by the stars and bars formula, <math>{n+k-1 \choose k-1}</math>, there are <math>{4 \choose 2} = 6</math> ways to arrange the bars and stars. Thus, the probability is <math>\frac{(21 - 6)}{21} = \boxed{\frac{5}{7}}</math>.<br />
The stars and bars formula might be inaccurate<br />
<br />
==Video Solution==<br />
https://www.youtube.com/watch?v=VNflxl7VpL0 - Happytwin<br />
<br />
==See Also==<br />
{{AMC8 box|year=2018|num-b=22|num-a=24}}<br />
{{MAA Notice}}</div>Penguin spellcasterhttps://artofproblemsolving.com/wiki/index.php?title=2003_AMC_12A_Problems/Problem_4&diff=1368932003 AMC 12A Problems/Problem 42020-11-07T08:55:52Z<p>Penguin spellcaster: Formatting edit</p>
<hr />
<div>{{duplicate|[[2003 AMC 12A Problems|2003 AMC 12A #4]] and [[2003 AMC 10A Problems|2003 AMC 10A #4]]}}<br />
== Problem ==<br />
It takes Anna <math>30</math> minutes to walk uphill <math>1</math> km from her home to school, but it takes her only <math>10</math> minutes to walk from school to her home along the same route. What is her average speed, in km/hr, for the round trip? <br />
<br />
<math> \mathrm{(A) \ } 3\qquad \mathrm{(B) \ } 3.125\qquad \mathrm{(C) \ } 3.5\qquad \mathrm{(D) \ } 4\qquad \mathrm{(E) \ } 4.5 </math><br />
<br />
==Solution 1==<br />
Since she walked <math>1</math> km to school and <math>1</math> km back home, her total distance is <math>1+1=2</math> km. <br />
<br />
Since she spent <math>30</math> minutes walking to school and <math>10</math> minutes walking back home, her total time is <math>30+10=40</math> minutes = <math>\frac{40}{60}=\frac{2}{3}</math> hours. <br />
<br />
Therefore her average speed in km/hr is <math>\frac{2}{\frac{2}{3}}=\boxed{\mathrm{(A)}\ 3}</math>.<br />
<br />
==Solution 2==<br />
The average speed of two speeds that travel the same distance is the [[harmonic mean]] of the speeds, or <math>\dfrac{2}{\dfrac{1}{x}+\dfrac{1}{y}}=\dfrac{2xy}{x+y}</math> (for speeds <math>x</math> and <math>y</math>). Mary's speed going to school is <math>2\,\text{km/hr}</math>, and her speed coming back is <math>6\,\text{km/hr}</math>. Plugging the numbers in, we get that the average speed is <math>\dfrac{2\times 6\times 2}{6+2}=\dfrac{24}{8}=\boxed{\mathrm{(A)}\ 3}</math>.<br />
<br />
== See Also ==<br />
{{AMC10 box|year=2003|ab=A|num-b=3|num-a=5}}<br />
{{AMC12 box|year=2003|ab=A|num-b=3|num-a=5}}<br />
<br />
[[Category:Introductory Algebra Problems]]<br />
{{MAA Notice}}</div>Penguin spellcasterhttps://artofproblemsolving.com/wiki/index.php?title=2003_AMC_12A_Problems/Problem_1&diff=1368922003 AMC 12A Problems/Problem 12020-11-07T08:53:16Z<p>Penguin spellcaster: I added a faster solution as solution 5</p>
<hr />
<div>{{duplicate|[[2003 AMC 12A Problems|2003 AMC 12A #1]] and [[2003 AMC 10A Problems|2003 AMC 10A #1]]}}<br />
== Problem ==<br />
What is the difference between the sum of the first <math>2003</math> even counting numbers and the sum of the first <math>2003</math> odd counting numbers? <br />
<br />
<math> \mathrm{(A) \ } 0\qquad \mathrm{(B) \ } 1\qquad \mathrm{(C) \ } 2\qquad \mathrm{(D) \ } 2003\qquad \mathrm{(E) \ } 4006 </math><br />
<br />
== Solution ==<br />
===Solution 1===<br />
<br />
The first <math>2003</math> even counting numbers are <math>2,4,6,...,4006</math>. <br />
<br />
The first <math>2003</math> odd counting numbers are <math>1,3,5,...,4005</math>. <br />
<br />
Thus, the problem is asking for the value of <math>(2+4+6+...+4006)-(1+3+5+...+4005)</math>. <br />
<br />
<math>(2+4+6+...+4006)-(1+3+5+...+4005) = (2-1)+(4-3)+(6-5)+...+(4006-4005) </math> <br />
<br />
<math>= 1+1+1+...+1 = \boxed{\mathrm{(D)}\ 2003}</math><br />
<br />
===Solution 2===<br />
Using the sum of an [[arithmetic progression]] formula, we can write this as <math>\frac{2003}{2}(2 + 4006) - \frac{2003}{2}(1 + 4005) = \frac{2003}{2} \cdot 2 = \boxed{\mathrm{(D)}\ 2003}</math>.<br />
<br />
<br />
<br />
===Solution 3===<br />
The formula for the sum of the first <math>n</math> even numbers, is <math>S_E=n^{2}+n</math>, (E standing for even).<br />
<br />
Sum of first <math>n</math> odd numbers, is <math>S_O=n^{2}</math>, (O standing for odd).<br />
<br />
Knowing this, plug <math>2003</math> for <math>n</math>, <br />
<br />
<math>S_E-S_O= (2003^{2}+2003)-(2003^{2})=2003 \Rightarrow</math> <math>\boxed{\mathrm{(D)}\ 2003}</math>.<br />
<br />
===Solution 4===<br />
In the case that we don't know if <math>0</math> is considered an even number, we note that it doesn't matter! The sum of odd numbers is <math>O=1+3+5+...+4005</math>. And the sum of even numbers is either <math>E_1=0+2+4...+4004</math> or <math>E_2=2+4+6+...+4006</math>. When compared to the sum of odd numbers, we see that each of the <math>n</math>th term in the series of even numbers differ by <math>1</math>. For example, take series <math>O</math> and <math>E_1</math>. The first terms are <math>1</math> and <math>0</math>. Their difference is <math>|1-0|=1</math>. Similarly, take take series <math>O</math> and <math>E_2</math>. The first terms are <math>1</math> and <math>2</math>. Their difference is <math>|1-2|=1</math>. Since there are <math>2003</math> terms in each set, the answer <math>\boxed{\mathrm{(D)}\ 2003}</math>.<br />
<br />
Solution by franzliszt<br />
<br />
==Solution 5 (Fastest method)==<br />
We can see that the difference of the first even number and the first odd number is one, the difference between the second even number and the second odd number is one and so on. Then, we get <math>1 * 2003</math> which is <math>\boxed{\mathrm{(D)}\ 2003}</math>. <br />
<br />
Solution by Penguin Spellcaster<br />
<br />
== See also ==<br />
{{AMC10 box|year=2003|ab=A|before=First Question|num-a=2}}<br />
{{AMC12 box|year=2003|ab=A|before=First Question|num-a=2}}<br />
<br />
[[Category:Introductory Algebra Problems]]<br />
{{MAA Notice}}</div>Penguin spellcasterhttps://artofproblemsolving.com/wiki/index.php?title=2002_AMC_10A_Problems/Problem_25&diff=1367052002 AMC 10A Problems/Problem 252020-11-06T10:51:11Z<p>Penguin spellcaster: /* See also */</p>
<hr />
<div>== Problem ==<br />
In [[trapezoid]] <math>ABCD</math> with bases <math>AB</math> and <math>CD</math>, we have <math>AB = 52</math>, <math>BC = 12</math>, <math>CD = 39</math>, and <math>DA = 5</math>. The area of <math>ABCD</math> is<br />
<br />
<math>\text{(A)}\ 182 \qquad \text{(B)}\ 195 \qquad \text{(C)}\ 210 \qquad \text{(D)}\ 234 \qquad \text{(E)}\ 260</math><br />
<br />
== Solution ==<br />
<br />
=== Solution 1 ===<br />
<br />
It shouldn't be hard to use [[trigonometry]] to bash this and find the height, but there is a much easier way. Extend <math>\overline{AD}</math> and <math>\overline{BC}</math> to meet at point <math>E</math>:<br />
<br />
<center><asy><br />
size(250);<br />
defaultpen(0.8);<br />
pair A=(0,0), B = (52,0), C=(52-144/13,60/13), D=(25/13,60/13), F=(100/13,240/13);<br />
draw(A--B--C--D--cycle);<br />
draw(D--F--C,dashed);<br />
label("\(A\)",A,S);<br />
label("\(B\)",B,S);<br />
label("\(C\)",C,NE);<br />
label("\(D\)",D,W);<br />
label("\(E\)",F,N);<br />
label("39",(C+D)/2,N);<br />
label("52",(A+B)/2,S);<br />
label("5",(A+D)/2,E);<br />
label("12",(B+C)/2,WSW);<br />
</asy></center><br />
<br />
Since <math>\overline{AB} || \overline{CD}</math> we have <math>\triangle AEB \sim \triangle DEC</math>, with the ratio of [[proportion]]ality being <math>\frac {39}{52} = \frac {3}{4}</math>. Thus<br />
<cmath><br />
\begin{align*} \frac {CE}{CE + 12} = \frac {3}{4} & \Longrightarrow CE = 36 \\<br />
\frac {DE}{DE + 5} = \frac {3}{4} & \Longrightarrow DE = 15 \end{align*}<br />
</cmath><br />
So the sides of <math>\triangle CDE</math> are <math>15,36,39</math>, which we recognize to be a <math>5 - 12 - 13</math> [[right triangle]]. Therefore (we could simplify some of the calculation using that the ratio of areas is equal to the ratio of the sides squared),<br />
<cmath><br />
[ABCD] = [ABE] - [CDE] = \frac {1}{2}\cdot 20 \cdot 48 - \frac {1}{2} \cdot 15 \cdot 36 = \boxed{\mathrm{(C)}\ 210}</cmath><br />
<br />
=== Solution 2 ===<br />
<br />
Draw altitudes from points <math>C</math> and <math>D</math>:<br />
<br />
<center><asy><br />
unitsize(0.2cm);<br />
defaultpen(0.8);<br />
pair A=(0,0), B = (52,0), C=(52-144/13,60/13), D=(25/13,60/13), E=(52-144/13,0), F=(25/13,0);<br />
draw(A--B--C--D--cycle);<br />
draw(C--E,dashed);<br />
draw(D--F,dashed);<br />
label("\(A\)",A,SW);<br />
label("\(B\)",B,S);<br />
label("\(C\)",C,NE);<br />
label("\(D\)",D,N);<br />
label("\(D'\)",F,SSE);<br />
label("\(C'\)",E,S);<br />
label("39",(C+D)/2,N);<br />
label("52",(A+B)/2,S);<br />
label("5",(A+D)/2,W);<br />
label("12",(B+C)/2,ENE);<br />
</asy></center><br />
<br />
Translate the triangle <math>ADD'</math> so that <math>DD'</math> coincides with <math>CC'</math>. We get the following triangle:<br />
<br />
<center><asy><br />
unitsize(0.2cm);<br />
defaultpen(0.8);<br />
pair A=(0,0), B = (13,0), C=(25/13,60/13), F=(25/13,0);<br />
draw(A--B--C--cycle);<br />
draw(C--F,dashed);<br />
label("\(A'\)",A,SW);<br />
label("\(B\)",B,S);<br />
label("\(C\)",C,N);<br />
label("\(C'\)",F,SE);<br />
label("5",(A+C)/2,W);<br />
label("12",(B+C)/2,ENE);<br />
</asy></center><br />
<br />
The length of <math>A'B</math> in this triangle is equal to the length of the original <math>AB</math>, minus the length of <math>CD</math>.<br />
Thus <math>A'B = 52 - 39 = 13</math>.<br />
<br />
Therefore <math>A'BC</math> is a well-known <math>(5,12,13)</math> right triangle. Its area is <math>[A'BC]=\frac{A'C\cdot BC}2 = \frac{5\cdot 12}2 = 30</math>, and therefore its altitude <math>CC'</math> is <math>\frac{[A'BC]}{A'B} = \frac{60}{13}</math>.<br />
<br />
Now the area of the original trapezoid is <math>\frac{(AB+CD)\cdot CC'}2 = \frac{91 \cdot 60}{13 \cdot 2} = 7\cdot 30 = \boxed{\mathrm{(C)}\ 210}</math><br />
<br />
=== Solution 3 ===<br />
<br />
Draw altitudes from points <math>C</math> and <math>D</math>:<br />
<br />
<center><asy><br />
unitsize(0.2cm);<br />
defaultpen(0.8);<br />
pair A=(0,0), B = (52,0), C=(52-144/13,60/13), D=(25/13,60/13), E=(52-144/13,0), F=(25/13,0);<br />
draw(A--B--C--D--cycle);<br />
draw(C--E,dashed);<br />
draw(D--F,dashed);<br />
label("\(A\)",A,SW);<br />
label("\(B\)",B,S);<br />
label("\(C\)",C,NE);<br />
label("\(D\)",D,N);<br />
label("\(D'\)",F,SSE);<br />
label("\(C'\)",E,S);<br />
label("39",(C+D)/2,N);<br />
label("52",(A+B)/2,S);<br />
label("5",(A+D)/2,W);<br />
label("12",(B+C)/2,ENE);<br />
</asy></center><br />
<br />
Call the length of <math>AD'</math> to be <math>y</math>, the length of <math>BC'</math> to be <math>z</math>, and the height of the trapezoid to be <math>x</math>.<br />
By the Pythagorean Theorem, we have:<br />
<cmath>z^2 + x^2 = 144</cmath><br />
<cmath>y^2 + x^2 = 25</cmath><br />
<br />
Subtracting these two equation yields:<br />
<cmath>z^2-y^2=119 \implies (z+y)(z-y)=119</cmath><br />
<br />
We also have: <math>z+y=52-39=13</math>.<br />
<br />
We can substitute the value of <math>z+y</math> into the equation we just obtained, so we now have:<br />
<br />
<cmath>(13) (z-y)=119 \implies z-y=\frac{119}{13}</cmath>.<br />
<br />
We can add the <math>z+y</math> and the <math>z-y</math> equation to find the value of <math>z</math>, which simplifies down to be <math>\frac{144}{13}</math>. Finally, we can plug in <math>z</math> and use the Pythagorean theorem to find the height of the trapezoid.<br />
<br />
<cmath>\frac{12^4}{13^2} + x^2 = 12^2 \implies x^2 = \frac{(12^2)(13^2)}{13^2} -\frac{12^4}{13^2} \implies x^2 = \frac{(12 \cdot 13)^2 - (144)^2}{13^2} \implies x^2 = \frac{(156+144)(156-144)}{13^2} \implies x = \sqrt{\frac{3600}{169}} = \frac{60}{13}</cmath><br />
<br />
Now that we have the height of the trapezoid, we can multiply this by the median to find our answer.<br />
<br />
The median of the trapezoid is <math>\frac{39+52}{2} = \frac{91}{2}</math>, and multiplying this and the height of the trapezoid gets us:<br />
<br />
<cmath>\frac{60 \cdot 91}{13 \cdot 2} = \boxed{\mathrm{(C)}\ 210}</cmath><br />
<br />
=== Solution 4 ===<br />
<br />
We construct a line segment parallel to <math>\overline{AD}</math> from point <math>C</math> to line <math>\overline{AB},</math> and label the intersection of this segment with line <math>\overline{AB}</math> as point <math>E.</math> Then quadrilateral <math>AECD</math> is a parallelogram, so <math>CE=5, AE=39,</math> and <math>EB=13.</math> Triangle <math>EBC</math> is therefore a right triangle, with area <math>\frac12 \cdot 5 \cdot 12 = 30.</math><br />
<br />
By continuing to split <math>\overline{AB}</math> and <math>\overline{CD}</math> into segments of length <math>13,</math> we can connect these vertices in a "zig-zag," creating seven congruent right triangles, each with sides <math>5,12,</math> and <math>13,</math> and each with area <math>30.</math> The total area is therefore <math>7 \cdot 30 = \boxed{\textbf{(C)} 210}.</math><br />
<br />
=== Solution 2 but quicker ===<br />
From Solution <math>2</math> we know that the the altitude of the trapezoid is <math>\frac{60}{13}</math> and the triangle's area is <math>30</math>.<br />
Note that once we remove the triangle we get a rectangle with length <math>39</math> and height <math>\frac{60}{13}</math>.<br />
The numbers multiply nicely to get <math>180+30=\boxed{(C) 210}</math><br />
-harsha12345<br />
<br />
=== Quick Time Trouble Solution 5 ===<br />
<br />
First note how the answer choices are all integers.<br />
The area of the trapezoid is <math>\frac{39+52}{2} * h = \frac{91}{2} h</math>. So h divides 2. Let <math>x</math> be <math>2h</math>. The area is now <math>91x</math>. <br />
Trying x=1 and x=2 can easily be seen to not work. Those make the only integers possible so now you know x is a fraction. <br />
Since the area is an integer the denominator of x must divide either 13 or 7 since <math>91 = 13*7</math>.<br />
Seeing how <math>39 = 3*13</math> and <math>52 = 4*13</math> assume that the denominator divides 13. Letting <math>y = \frac{x}{13}</math> the area is now <math>7y</math>.<br />
Note that (A) and (C) are the only multiples of 7. We know that A doesn't work because that would mean h is 4 which we ruled out. <br />
So the answer is <math>\boxed{\textbf{(C)} 210}</math>. - megateleportingrobots<br />
<br />
== See also ==<br />
{{AMC10 box|year=2002|num-b=24|after=-(Last question)|ab=A}}<br />
<br />
[[Category:Introductory Geometry Problems]]<br />
[[Category:Area Problems]]<br />
{{MAA Notice}}</div>Penguin spellcasterhttps://artofproblemsolving.com/wiki/index.php?title=2019_AMC_8_Problems/Problem_25&diff=1363162019 AMC 8 Problems/Problem 252020-11-01T07:25:20Z<p>Penguin spellcaster: /* Formatting edit */</p>
<hr />
<div>==Problem 25==<br />
Alice has <math>24</math> apples. In how many ways can she share them with Becky and Chris so that each of the three people has at least two apples?<br />
<math>\textbf{(A) }105\qquad\textbf{(B) }114\qquad\textbf{(C) }190\qquad\textbf{(D) }210\qquad\textbf{(E) }380</math><br />
<br />
==Solution 1==<br />
We use [[stars and bars]]. Let Alice get <math>k</math> apples, let Becky get <math>r</math> apples, let Chris get <math>y</math> apples.<br />
<cmath>\implies k + r + y = 24</cmath>We can manipulate this into an equation which can be solved using stars and bars.<br />
<br />
All of them get at least <math>2</math> apples, so we can subtract <math>2</math> from <math>k</math>, <math>2</math> from <math>r</math>, and <math>2</math> from <math>y</math>.<br />
<cmath>\implies (k - 2) + (r - 2) + (y - 2) = 18</cmath>Let <math>k' = k - 2</math>, let <math>r' = r - 2</math>, let <math>y' = y - 2</math>.<br />
<cmath>\implies k' + r' + y' = 18</cmath>We can allow either of them to equal to <math>0</math>, hence this can be solved by stars and bars.<br />
<br />
<br />
By Stars and Bars, our answer is just <math>\binom{18 + 3 - 1}{3 - 1} = \binom{20}{2} = \boxed{\textbf{(C)}\ 190}</math>.<br />
<br />
==Solution 2==<br />
[[Without loss of generality]], let's assume that Alice has <math>2</math> apples. There are <math>19</math> ways to split the rest of the apples with Becky and Chris. If Alice has <math>3</math> apples, there are <math>18</math> ways to split the rest of the apples with Becky and Chris. If Alice has <math>4</math> apples, there are <math>17</math> ways to split the rest. So the total number of ways to split <math>24</math> apples between the three friends is equal to <math>19 + 18 + 17...…… + 1 = 20\times \frac{19}{2}=\boxed{\textbf{(C)}\ 190}</math><br />
<br />
==Solution 3==<br />
Let's assume that the three of them have <math>x, y, z</math> apples. Since each of them has to have at least <math>2</math> apples, we say that <math>a+2=x, b+2=y</math> and <math>c+2=z</math>. Thus, <math>a+b+c+6=24 \implies a+b+c=18</math>, and so by stars and bars, the number of solutions for this is <math>{n+k-1 \choose k} \implies {18+3-1 \choose 3-1} \implies {20 \choose 2} = \boxed{\textbf{(C)}\ 190}</math> - aops5234 <br />
<br />
==Solution 4==<br />
<br />
Since we have to give each of the <math>3</math> friends at least <math>2</math> apples, we need to spend a total of <math>2+2+2=6</math> apples to solve the restriction. Now we have <math>24-6=18</math> apples left to be divided among Alice, Becky, and Chris, without any constraints. We use the [[Ball-and-urn]] technique, or sometimes known as ([Sticks and Stones]/[Stars and Bars]), to divide the apples. We now have <math>18</math> stones and <math>2</math> sticks, which have a total of <math>\binom{18+2}{2}=\binom{20}{2}=\frac{20\times19}{2} = \boxed{190}</math> ways to arrange. <br />
<br />
~by sakshamsethi<br />
<br />
==Videos explaining solution==<br />
<br />
https://www.youtube.com/watch?v=2dBUklyUaNI<br />
<br />
https://www.youtube.com/watch?v=EJzSOPXULBc<br />
<br />
https://youtu.be/ZsCRGK4VgBE ~DSA_Catachu<br />
<br />
https://www.youtube.com/watch?v=3qp0wTq-LI0&list=PLLCzevlMcsWNBsdpItBT4r7Pa8cZb6Viu&index=7 ~ MathEx<br />
<br />
https://www.youtube.com/watch?v=aStuVhoD8wc- Also includes other problems from 21-25<br />
<br />
==See Also==<br />
{{AMC8 box|year=2019|num-b=24|after=Last Problem}}<br />
<br />
{{MAA Notice}}</div>Penguin spellcasterhttps://artofproblemsolving.com/wiki/index.php?title=User:Penguin_Spellcaster&diff=136315User:Penguin Spellcaster2020-11-01T07:22:41Z<p>Penguin spellcaster: /*My Profile thingy*/</p>
<hr />
<div>A person who writes his solutions in AoPS</div>Penguin spellcasterhttps://artofproblemsolving.com/wiki/index.php?title=2019_AMC_8_Problems/Problem_23&diff=1363142019 AMC 8 Problems/Problem 232020-11-01T07:20:59Z<p>Penguin spellcaster: /* Solution 3 */</p>
<hr />
<div>==Problem 23==<br />
After Euclid High School's last basketball game, it was determined that <math>\frac{1}{4}</math> of the team's points were scored by Alexa and <math>\frac{2}{7}</math> were scored by Brittany. Chelsea scored <math>15</math> points. None of the other <math>7</math> team members scored more than <math>2</math> points. What was the total number of points scored by the other <math>7</math> team members?<br />
<br />
<math>\textbf{(A) }10\qquad\textbf{(B) }11\qquad\textbf{(C) }12\qquad\textbf{(D) }13\qquad\textbf{(E) }14</math><br />
<br />
==Solution 1==<br />
Since <math>\frac{\text{total points}}{4}</math> and <math>\frac{2(\text{total points})}{7}</math> are integers, we have <math>28 | \text{total points}</math>. We see that the number of points scored by the other team members is less than or equal to <math>14</math> and greater than or equal to <math>0</math>. We let the total number of points be <math>t</math> and the total number of points scored by the other team members be <math>x</math>, which means that <math>\frac{t}{4} + \frac{2t}{7} + 15 + x = t \quad \implies \quad 0 \le \frac{13t}{28} - 15 = x \le 14</math>, which means <math>15 \le \frac{13t}{28} \le 29</math>. The only value of <math>t</math> that satisfies all conditions listed is <math>56</math>, so <math>x=\boxed{\textbf{(B)} 11}</math>. - juliankuang (lol im smart)<br />
<br />
==Solution 2==<br />
Starting from the above equation <math>\frac{t}{4}+\frac{2t}{7} + 15 + x = t</math> where <math>t</math> is the total number of points scored and <math>x\le 14</math> is the number of points scored by the remaining 7 team members, we can simplify to obtain the Diophantine equation <math>x+15 = \frac{13}{28}t</math>, or <math>28x+28\cdot 15=13t</math>. Since <math>t</math> is necessarily divisible by 28, let <math>t=28u</math> where <math>u \ge 0</math> and divide by 28 to obtain <math>x + 15 = 13u</math>. Then it is easy to see <math>u=2</math> (<math>t=56</math>) is the only candidate, giving <math>x=\boxed{\textbf{(B)} 11}</math>. -scrabbler94<br />
<br />
==Solution 3==<br />
We first start by setting the total number of points as <math>28</math>, since <math>\text{LCM}(4,7) = 28</math>. However, we see that this does not work since we surpass the number of points just with the information given (<math>28\cdot\frac{1}{4}+28\cdot\frac{2}{7} + 15 = 30</math> <math>(> 28)</math> ). Next, we can see that the total number of points scored is <math>56</math> as, if it is more than or equal to <math>84</math>, at least one of the others will score more than 2 points. With this, we have that Alexa, Brittany, and Chelsea score: <math>56\cdot\frac{1}{4}+56\cdot\frac{2}{7} + 15 = 45</math>, and thus, the other seven players would have scored a total of <math>56-45 = \boxed{\textbf{(B)} 11}</math> (We see that this works since we could have <math>4</math> of them score <math>2</math> points, and the other <math>3</math> of them score <math>1</math> point) -aops5234 -Edited by [[User: Penguin_Spellcaster|Penguin_Spellcaster]]<br />
<br />
==Video explaining solution== <br />
<br />
https://youtu.be/wsYCn2FqZJE<br />
<br />
https://www.youtube.com/watch?v=fKjmw_zzCUU<br />
<br />
https://www.youtube.com/watch?v=o2mcnLOVFBA&list=PLLCzevlMcsWNBsdpItBT4r7Pa8cZb6Viu&index=5 ~ MathEx<br />
<br />
https://www.youtube.com/watch?v=aStuVhoD8wc- Also includes other problems from 21-25<br />
<br />
==See Also==<br />
{{AMC8 box|year=2019|num-b=22|num-a=24}}<br />
<br />
{{MAA Notice}}</div>Penguin spellcasterhttps://artofproblemsolving.com/wiki/index.php?title=2019_AMC_8_Problems/Problem_23&diff=1363132019 AMC 8 Problems/Problem 232020-11-01T07:18:06Z<p>Penguin spellcaster: /* Replaces partially guessing part with logical reasoning. */</p>
<hr />
<div>==Problem 23==<br />
After Euclid High School's last basketball game, it was determined that <math>\frac{1}{4}</math> of the team's points were scored by Alexa and <math>\frac{2}{7}</math> were scored by Brittany. Chelsea scored <math>15</math> points. None of the other <math>7</math> team members scored more than <math>2</math> points. What was the total number of points scored by the other <math>7</math> team members?<br />
<br />
<math>\textbf{(A) }10\qquad\textbf{(B) }11\qquad\textbf{(C) }12\qquad\textbf{(D) }13\qquad\textbf{(E) }14</math><br />
<br />
==Solution 1==<br />
Since <math>\frac{\text{total points}}{4}</math> and <math>\frac{2(\text{total points})}{7}</math> are integers, we have <math>28 | \text{total points}</math>. We see that the number of points scored by the other team members is less than or equal to <math>14</math> and greater than or equal to <math>0</math>. We let the total number of points be <math>t</math> and the total number of points scored by the other team members be <math>x</math>, which means that <math>\frac{t}{4} + \frac{2t}{7} + 15 + x = t \quad \implies \quad 0 \le \frac{13t}{28} - 15 = x \le 14</math>, which means <math>15 \le \frac{13t}{28} \le 29</math>. The only value of <math>t</math> that satisfies all conditions listed is <math>56</math>, so <math>x=\boxed{\textbf{(B)} 11}</math>. - juliankuang (lol im smart)<br />
<br />
==Solution 2==<br />
Starting from the above equation <math>\frac{t}{4}+\frac{2t}{7} + 15 + x = t</math> where <math>t</math> is the total number of points scored and <math>x\le 14</math> is the number of points scored by the remaining 7 team members, we can simplify to obtain the Diophantine equation <math>x+15 = \frac{13}{28}t</math>, or <math>28x+28\cdot 15=13t</math>. Since <math>t</math> is necessarily divisible by 28, let <math>t=28u</math> where <math>u \ge 0</math> and divide by 28 to obtain <math>x + 15 = 13u</math>. Then it is easy to see <math>u=2</math> (<math>t=56</math>) is the only candidate, giving <math>x=\boxed{\textbf{(B)} 11}</math>. -scrabbler94<br />
<br />
==Solution 3==<br />
We first start by setting the total number of points as <math>28</math>, since <math>\text{LCM}(4,7) = 28</math>. However, we see that this does not work since we surpass the number of points just with the information given (<math>28\cdot\frac{1}{4}+28\cdot\frac{2}{7} + 15 = 30</math> <math>(> 28)</math> ). Next, we can see that the total number of points scored is <math>56</math> as, if it is more than or equal to <math>84</math>, at least one of the others will score more than 2 points. With this, we have that Alexa, Brittany, and Chelsea score: <math>56\cdot\frac{1}{4}+56\cdot\frac{2}{7} + 15 = 45</math>, and thus, the other seven players would have scored a total of <math>56-45 = \boxed{\textbf{(B)} 11}</math> (We see that this works since we could have <math>4</math> of them score <math>2</math> points, and the other <math>3</math> of them score <math>1</math> point) -aops5234 -Edited by Penguin_Spellcaster<br />
<br />
==Video explaining solution== <br />
<br />
https://youtu.be/wsYCn2FqZJE<br />
<br />
https://www.youtube.com/watch?v=fKjmw_zzCUU<br />
<br />
https://www.youtube.com/watch?v=o2mcnLOVFBA&list=PLLCzevlMcsWNBsdpItBT4r7Pa8cZb6Viu&index=5 ~ MathEx<br />
<br />
https://www.youtube.com/watch?v=aStuVhoD8wc- Also includes other problems from 21-25<br />
<br />
==See Also==<br />
{{AMC8 box|year=2019|num-b=22|num-a=24}}<br />
<br />
{{MAA Notice}}</div>Penguin spellcasterhttps://artofproblemsolving.com/wiki/index.php?title=2009_AMC_8_Problems/Problem_25&diff=1362352009 AMC 8 Problems/Problem 252020-10-31T07:43:18Z<p>Penguin spellcaster: /* Solution 2 */</p>
<hr />
<div>==Problem==<br />
<br />
A one-cubic-foot cube is cut into four pieces by three cuts parallel to the top face of the cube. The first cut is <math>\frac{1}{2}</math> foot from the top face. The second cut is <math>\frac{1}{3}</math> foot below the first cut, and the third cut is <math>\frac{1}{17}</math> foot below the second cut. From the top to the bottom the pieces are labeled A, B, C, and D. The pieces are then glued together end to end as shown in the second diagram. What is the total surface area of this solid in square feet?<br />
<asy><br />
import three;<br />
real d=11/102;<br />
defaultpen(fontsize(8));<br />
defaultpen(linewidth(0.8));<br />
currentprojection=orthographic(1,8/15,7/15);<br />
draw(unitcube, white, thick(), nolight);<br />
void f(real x) {<br />
draw((0,1,x)--(1,1,x)--(1,0,x));<br />
}<br />
f(d);<br />
f(1/6);<br />
f(1/2);<br />
label("A", (1,0,3/4), W);<br />
label("B", (1,0,1/3), W);<br />
label("C", (1,0,1/6-d/4), W);<br />
label("D", (1,0,d/2), W);<br />
label("1/2", (1,1,3/4), E);<br />
label("1/3", (1,1,1/3), E);<br />
label("1/17", (0,1,1/6-d/4), E);</asy><br />
<br />
<asy><br />
import three;<br />
real d=11/102;<br />
defaultpen(fontsize(8));<br />
defaultpen(linewidth(0.8));<br />
currentprojection=orthographic(2,8/15,7/15);<br />
int t=0;<br />
void f(real x) {<br />
path3 r=(t,1,x)--(t+1,1,x)--(t+1,1,0)--(t,1,0)--cycle;<br />
path3 f=(t+1,1,x)--(t+1,1,0)--(t+1,0,0)--(t+1,0,x)--cycle;<br />
path3 u=(t,1,x)--(t+1,1,x)--(t+1,0,x)--(t,0,x)--cycle;<br />
draw(surface(r), white, nolight);<br />
draw(surface(f), white, nolight);<br />
draw(surface(u), white, nolight);<br />
draw((t,1,x)--(t+1,1,x)--(t+1,1,0)--(t,1,0)--(t,1,x)--(t,0,x)--(t+1,0,x)--(t+1,1,x)--(t+1,1,0)--(t+1,0,0)--(t+1,0,x));<br />
t=t+1;<br />
}<br />
f(d);<br />
f(1/2);<br />
f(1/3);<br />
f(1/17);<br />
label("D", (1/2, 1, 0), SE);<br />
label("A", (1+1/2, 1, 0), SE);<br />
label("B", (2+1/2, 1, 0), SE);<br />
label("C", (3+1/2, 1, 0), SE);</asy><br />
<br />
<math> \textbf{(A)}\:6\qquad\textbf{(B)}\:7\qquad\textbf{(C)}\:\frac{419}{51}\qquad\textbf{(D)}\:\frac{158}{17}\qquad\textbf{(E)}\:11 </math><br />
<br />
==Solution 1==<br />
<br />
The areas of the tops of <math>A</math>, <math>B</math>, <math>C</math>, and <math>D</math> in the figure formed has sum <math> 1+1+1+1 = 4 </math> as do the bottoms. Thus, the total so far is <math>8</math>. Now, one of the sides has an area of one, since it combines all of the heights of <math>A</math>, <math>B</math>, <math>C</math>, and <math>D</math>, which is <math>1</math>. The other side is also the same. Thus the total area now is <math>10</math>. From the front, the surface area is half, because if you looked at it straight from the front it would look exactly like a side of <math>A</math>, with a surface area of half. From the back, it is the same thing. Thus, the total surface area is <math> 10+\frac{1}{2}+\frac{1}{2}= 11 </math>, or <math> \boxed{\textbf{(E)}\:11 } </math>.<br />
<br />
==Solution 2 (Faster method that relies on the MCQ choices)==<br />
<br />
<br />
The top parts and the bottom parts sum to 8. The sides add on another 2. Therefore, the only logical answer would be <math>\boxed{\textbf{(E)}\:11 }</math> since it is the only answer greater than 10.<br />
<br />
==See Also==<br />
{{AMC8 box|year=2009|num-b=24|after=Last Problem}}<br />
{{MAA Notice}}</div>Penguin spellcasterhttps://artofproblemsolving.com/wiki/index.php?title=2009_AMC_8_Problems/Problem_25&diff=1362342009 AMC 8 Problems/Problem 252020-10-31T07:42:17Z<p>Penguin spellcaster: /* Solution 1 */</p>
<hr />
<div>==Problem==<br />
<br />
A one-cubic-foot cube is cut into four pieces by three cuts parallel to the top face of the cube. The first cut is <math>\frac{1}{2}</math> foot from the top face. The second cut is <math>\frac{1}{3}</math> foot below the first cut, and the third cut is <math>\frac{1}{17}</math> foot below the second cut. From the top to the bottom the pieces are labeled A, B, C, and D. The pieces are then glued together end to end as shown in the second diagram. What is the total surface area of this solid in square feet?<br />
<asy><br />
import three;<br />
real d=11/102;<br />
defaultpen(fontsize(8));<br />
defaultpen(linewidth(0.8));<br />
currentprojection=orthographic(1,8/15,7/15);<br />
draw(unitcube, white, thick(), nolight);<br />
void f(real x) {<br />
draw((0,1,x)--(1,1,x)--(1,0,x));<br />
}<br />
f(d);<br />
f(1/6);<br />
f(1/2);<br />
label("A", (1,0,3/4), W);<br />
label("B", (1,0,1/3), W);<br />
label("C", (1,0,1/6-d/4), W);<br />
label("D", (1,0,d/2), W);<br />
label("1/2", (1,1,3/4), E);<br />
label("1/3", (1,1,1/3), E);<br />
label("1/17", (0,1,1/6-d/4), E);</asy><br />
<br />
<asy><br />
import three;<br />
real d=11/102;<br />
defaultpen(fontsize(8));<br />
defaultpen(linewidth(0.8));<br />
currentprojection=orthographic(2,8/15,7/15);<br />
int t=0;<br />
void f(real x) {<br />
path3 r=(t,1,x)--(t+1,1,x)--(t+1,1,0)--(t,1,0)--cycle;<br />
path3 f=(t+1,1,x)--(t+1,1,0)--(t+1,0,0)--(t+1,0,x)--cycle;<br />
path3 u=(t,1,x)--(t+1,1,x)--(t+1,0,x)--(t,0,x)--cycle;<br />
draw(surface(r), white, nolight);<br />
draw(surface(f), white, nolight);<br />
draw(surface(u), white, nolight);<br />
draw((t,1,x)--(t+1,1,x)--(t+1,1,0)--(t,1,0)--(t,1,x)--(t,0,x)--(t+1,0,x)--(t+1,1,x)--(t+1,1,0)--(t+1,0,0)--(t+1,0,x));<br />
t=t+1;<br />
}<br />
f(d);<br />
f(1/2);<br />
f(1/3);<br />
f(1/17);<br />
label("D", (1/2, 1, 0), SE);<br />
label("A", (1+1/2, 1, 0), SE);<br />
label("B", (2+1/2, 1, 0), SE);<br />
label("C", (3+1/2, 1, 0), SE);</asy><br />
<br />
<math> \textbf{(A)}\:6\qquad\textbf{(B)}\:7\qquad\textbf{(C)}\:\frac{419}{51}\qquad\textbf{(D)}\:\frac{158}{17}\qquad\textbf{(E)}\:11 </math><br />
<br />
==Solution 1==<br />
<br />
The areas of the tops of <math>A</math>, <math>B</math>, <math>C</math>, and <math>D</math> in the figure formed has sum <math> 1+1+1+1 = 4 </math> as do the bottoms. Thus, the total so far is <math>8</math>. Now, one of the sides has an area of one, since it combines all of the heights of <math>A</math>, <math>B</math>, <math>C</math>, and <math>D</math>, which is <math>1</math>. The other side is also the same. Thus the total area now is <math>10</math>. From the front, the surface area is half, because if you looked at it straight from the front it would look exactly like a side of <math>A</math>, with a surface area of half. From the back, it is the same thing. Thus, the total surface area is <math> 10+\frac{1}{2}+\frac{1}{2}= 11 </math>, or <math> \boxed{\textbf{(E)}\:11 } </math>.<br />
<br />
==Solution 2==<br />
<br />
<br />
The top parts and the bottom parts sum to 8. The sides add on another 2. Therefore, the only logical answer would be <math>\boxed{\textbf{(E)}\:11 }</math> since it is the only answer greater than 10.<br />
<br />
==See Also==<br />
{{AMC8 box|year=2009|num-b=24|after=Last Problem}}<br />
{{MAA Notice}}</div>Penguin spellcasterhttps://artofproblemsolving.com/wiki/index.php?title=2009_AMC_8_Problems/Problem_24&diff=1362332009 AMC 8 Problems/Problem 242020-10-31T07:30:49Z<p>Penguin spellcaster: /* Solution */</p>
<hr />
<div>==Problem==<br />
<br />
The letters <math>A</math>, <math>B</math>, <math>C</math> and <math>D</math> represent digits. If <math> \begin{tabular}{ccc}&A&B\\ +&C&A\\ \hline &D&A\end{tabular} </math>and <math> \begin{tabular}{ccc}&A&B\\ -&C&A\\ \hline &&A\end{tabular} </math>,what digit does <math>D</math> represent?<br />
<br />
<math> \textbf{(A)}\ 5\qquad\textbf{(B)}\ 6\qquad\textbf{(C)}\ 7\qquad\textbf{(D)}\ 8\qquad\textbf{(E)}\ 9 </math><br />
<br />
==Solution==<br />
<br />
Because <math> B+A=A </math>, <math>B</math> must be <math>0</math>.<br />
Next, because <math> B-A=A\implies0-A=A,</math> we get <math>A=5</math> as the "0" mentioned above is actually 10 in this case. <br />
<br />
Now we can rewrite <math> \begin{tabular}{ccc}&A&B\\ +&C&A\\ \hline &D&A\end{tabular} </math> as <math> \begin{tabular}{ccc}&5&0\\ +&C&5\\ \hline &D&5\end{tabular} </math>. Therefore, <math>D=5+C</math><br />
<br />
Finally, <math> A-1-C=0\implies{A=C+1}\implies{C=4} </math>, So we have <math> D=5+C\implies{D=5+4}=\boxed{\textbf{(E)}\ 9 } </math>.<br />
<br />
==See Also==<br />
{{AMC8 box|year=2009|num-b=23|num-a=25}}<br />
{{MAA Notice}}</div>Penguin spellcasterhttps://artofproblemsolving.com/wiki/index.php?title=2009_AMC_8_Problems/Problem_23&diff=1362322009 AMC 8 Problems/Problem 232020-10-31T07:18:59Z<p>Penguin spellcaster: Solution (Does not need quadratic equation)</p>
<hr />
<div>==Problem==<br />
<br />
On the last day of school, Mrs. Awesome gave jelly beans to her class. She gave each boy as many jelly beans as there were boys in the class. She gave each girl as many jelly beans as there were girls in the class. She brought <math>400</math> jelly beans, and when she finished, she had six jelly beans left. There were two more boys than girls in her class. How many students were in her class? <br />
<br />
<math> \textbf{(A)}\ 26\qquad\textbf{(B)}\ 28\qquad\textbf{(C)}\ 30\qquad\textbf{(D)}\ 32\qquad\textbf{(E)}\ 34 </math><br />
<br />
==Solution==<br />
If there are <math>x</math> girls, then there are <math>x+2</math> boys. She gave each girl <math>x</math> jellybeans and each boy <math>x+2</math> jellybeans, for a total of <math>x^2 + (x+2)^2</math> jellybeans. She gave away <math>400-6=394</math> jellybeans.<br />
<br />
<cmath>\begin{align*}<br />
x^2+(x+2)^2 &= 394\\<br />
x^2+x^2+4x+4 &= 394\\<br />
2x^2 + 4x &= 390\\<br />
x^2 + 2x &= 195\\<br />
\end{align*}</cmath><br />
<br />
From here, we can see that <math>x = 13</math> as <math>13^2 + 26 = 195</math>, so there are <math>13</math> girls, <math>13+2=15</math> boys, and <math>13+15=\boxed{\textbf{(B)}\ 28}</math> students.<br />
<br />
==See Also==<br />
{{AMC8 box|year=2009|num-b=22|num-a=24}}<br />
{{MAA Notice}}</div>Penguin spellcaster