MHB Problems leading to quadratic equation

AI Thread Summary
A man spent $78 on cigarettes, and if the price per box had been 50 cents less, he could have purchased one additional box. The original price per box is represented as y, leading to the equations BP = 7800 and (B+1)(P-0.5) = 7800. The correct approach involves using the number of boxes as a variable, simplifying to B^2 + B - 156 = 0, which factors to (B+13)(B-12) = 0. The solution indicates he bought 12 boxes, and a key mistake was using 780 instead of 7800 when calculating in cents. This correction clarifies the problem and confirms the number of boxes purchased.
NotaMathPerson
Messages
82
Reaction score
0
a man spent 78 dollars for cigarettes. has the price per box been .50 cents less, he could have had one more box. How many boxes did he buy?

Heres what I tried

let $y=$ original price per box
$y-50=$ new price per box

Now,

$\frac{780}{y}=$ original number of boxes bought
$\frac{780}{y-50}=$ new number of boxes bought$\frac{780}{y-50}=\frac{780}{y}+1=$

$y^2-50y-39000=0$

Solving for y I get decimal number.

Can you tell me where my mistake is?

Thanks!

All variables are y. I edited it.
 
Last edited:
Mathematics news on Phys.org
I would let $B$ be the number of boxes he bought...and $P$ be the price (in dollars) per box, such that we may state:

$$BP=78$$

$$(B+1)\left(P-\frac{1}{2}\right)=78$$

I am assuming you meant "had the price per box been 50 cents less."

Solving the first equation for $P$ and substituting into the second, we obtain:

$$(B+1)\left(\frac{78}{B}-\frac{1}{2}\right)=78$$

Multiply through by $2B\ne0$:

$$(B+1)(156-B)=156B$$

Expand and write in standard form:

$$B^2+B-156=0$$

Factor:

$$(B+13)(B-12)=0$$

Discard the negative root, and we have:

$$B=12$$
 
Hello MarkFl!

Can you tell what I did wrong in my attempt above?
 
NotaMathPerson said:
Hello MarkFl!

Can you tell what I did wrong in my attempt above?

Well, you are being asked for the number of boxes, so you want to get an equation using a variable that represents the number of boxes. That's more direct than solving for the price...but you can answer the question this way.

In your equations you should be using 7800 instead of 780, since you are using cents instead of dollars. See if that fixes things...:D
 
MarkFL said:
Well, you are being asked for the number of boxes, so you want to get an equation using a variable that represents the number of boxes. That's more direct than solving for the price...but you can answer the question this way.

In your equations you should be using 7800 instead of 780, since you are using cents instead of dollars. See if that fixes things...:D

Oh yes! That careless mistake. Thank you very much!
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...
Thread 'Imaginary Pythagoras'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...

Similar threads

Replies
6
Views
2K
Replies
5
Views
2K
Replies
1
Views
3K
Replies
1
Views
2K
Replies
8
Views
3K
Replies
3
Views
3K
Back
Top