In a school, there are 4 more students in Class A than in Class B, and 4 more students in Class B than in Class C. As a reward for good behavior, a teacher decides to give out some sweets. Every student in class C got 5 more sweets than every student in Class B, and every student in Class B got 3 more sweets than every student in Class A. As it turns out, Class A got 1 0 more sweets than Class B, and Class B got 1 4 more sweets than Class C. How many sweets were given out in all?
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.
Jose P. notes that "The challenge here is to find a suitable (algebraic) representation for the given information. After that step, the rest is simply computational." Several students had equations in 6 variables, which would be confusing.
Define variables N A , N B , N C as the number of students in class A, B, C, respectively. Define variables S A , S B , S C as the number of sweets given to EACH student in class A, B, C respectively.
Then the total number of sweets given out is equal to N A S A + N B S B + N C S C , and is what we are looking for.
The information in the problem yields the following 6 equations:
N A = N B + 4 ;
N B = N C + 4 ;
S C = S B + 5 ;
S B = S A + 3 ;
N A S A = N B S B + 1 0 (E1);
N B S B = N C S C + 1 4 (E2).
There are 6 unknowns, and 6 (independent) linear equations, so we can solve for all of the unknowns. One procedure for solving is as follows:
Convert all of the variables in the equations marked (E1) and (E2) into the variables for class B. Then (E1) becomes:
( N B + 4 ) ( S B − 3 ) = 1 0 + N B S B
N B S B − 3 N B + 4 S B − 1 2 = 1 0 + N B S B
− 3 N B + 4 S B = 2 2 (E3)
And (E2) becomes:
N B S B = ( N B − 4 ) ( S B + 5 ) + 1 4
N B S B = N B S B + 5 N B − 4 S B − 2 0 + 1 4
5 N B − 4 S B = 6 (E4)
Now add equations (E3) and (E4):
2 N B = 2 8
N B = 1 4
Plugging this back into either (E3) or (E4) yields S B = 1 6 .
Then we can use the first 4 equations above to find the remaining variables:
N A = N B + 4 = 1 8 ;
N C = N B − 4 = 1 0 ;
S C = S B + 5 = 2 1 ;
S A = S B − 3 = 1 3 ;
So our final answer (the total number of sweets) is
N A S A + N B S B + N C S C = ( 1 8 ) ( 1 3 ) + ( 1 4 ) ( 1 6 ) + ( 1 0 ) ( 2 1 ) = 6 6 8 .
p.s. Does the Align environment not work in your LaTeX interpreter?
let 'a' be the number of students in class A. let 'b' be the number of students in class B. let 'c' be the number of students in class C.
let 'x' be the number of sweets each student got in class A. let 'y' be the number of sweets each student got in class B. let 'z' be the number of sweets each student got in class C.
then total sweets distributed in class A will be a x. total sweets distributed in class B will be b y. total sweets distributed in class C will be c*z.
Now as per the question , a=c+8; b=c+4; c=c;
x=x; y=x+3; z=x+8;
b y + 10 = a x --------(1). c z + 14 = b y --------(2).
by solving this equation separatly we get (1) x=(3 c + 22)/4; c=(4 x - 22)/3;
(2) x=(5 c + 2)/4; c=(4 x - 2)/5;
On solving those to results we get, x=13; c=10; then substitute for the above equation. then the total of a x + b y + c*z = 668.
x = base # of students y = base # of treats Class A = (x+8)(y+1) Class B = (x+4)(y+4) Class C = (x)(y+9) Class A = Class B + 10 Class B = Class C + 14 Class A = Class C + 24 Thus (x+8)(y+1) = (x+4)(y+4) + 10 (x+4)(y+4) = (x)(y+9) + 14 (x+8)(y+1) = (x)(y+9) + 24 Solve for y and y = x+2 y = .75x+4.5 y = 1.25x-.5 Set two equations equal to each other x+2 = .75x+4.5 .25x+2 = 4.5 .25x = 2.5 x = 10 Then solve for y y = (10)+2 y = 12 Then plug back into original equations Class A = (10+8)(12+1) Class B = (10+4)(12+4) Class C = (10)(12+9) Class A + Class B + Class C = (18)(13) + (14)(16) + (10)(21) Or 234 + 224 + 210 = 668
let students in C= x so in B= x+4, in A= x+8 Now let each students of A get no. of sweets= y, in B = y+3, in C= y+8 (x+8)y-(x+4)(y+3)=10 (x+4)(y+3)-x(y+8)=14 Now, solve the two equations and get x=10, y=13 now total no. of sweets=(x+8)y+(x+4)(y+3)+(y+8)x putting the value of x and y, we get the result=668.
Let x+4 be the number of students in A, x in B, and x-4 in C. Let y-3 be the number of candies each student received in A, y in B, y+5 in C.
Multiplying the given to get the total number of candies, two equations are derived:
xy-3x+4x-12 = xy xy = xy+5x-4y-6
Solving the system, x = 14 y= 16
Substituting the answers to the given: There are 234 candies in A, 224 in B, and 210 in C. Therefore, a total of 668candies were distributed
I set that A (students of class A) =B+4 and B=C+4, therefore A=C+8; Then i set that As( sweets given to each class member of class A)=B-3 and Bs=Bs-5, therefore As=Cs-8. As As A, Bs B and Cs C are the numbers of sweets given rispectively to the whole class A, B and C, I know that As A=Bs B+10 and Bs B=Cs C+14 and I put Both equation in a system. Now I can substitute the values of A and B in funtion of C and the values of As and Bs in function of Cs optaining (C+8) (Cs-8)=(C+4) (Cs-5)+10 and (C+4) (Cs-5)=C Cs+14. Now i do a little bit of algebra and solve the equation of the sistem (as i'm not able to write them with the right sistem simbols i'm going to solve the first one first, than the second sobstituting C in function of Cs and at the end finding the value of C (after having found the value of Cs in the second equation). (C+8) (Cs-8)=(C+4) (Cs-5)+10 =(C+4+4) (Cs-8)-(C+4) (Cs-5)=10 =(C+4) (Cs-8-Cs+5)+4 (Cs-8)=10= (C+4) (-3)+(4) (Cs-8)=10= -3C-12+4Cs-32=10=-3C=54-4Cs=C=4/3Cs-18. Now the second equatinon: (C+4) (Cs-5)=C Cs+14= (4/3Cs-18+4) (Cs-5)=(4/3Cs-18) Cs+14=(4/3Cs-18) (Cs-5-Cs)+4(Cs-5)=14= -20/3Cs+90+4Cs-20=14=-8/3Cs=-56=Cs=21.If Cs=21, C=10, Bs=16 and As=13. If C=10, B=14 and A=18. The total number of sweets given is equal to As A+Bs B+Cs C, therefore 13 18+16 14+21 10=210+224+234=668.
The challenge here is to find a suitable (algebraic) representation for the given information. After that step, the rest is simply computational.
Let A , B , and C denote the number of students in classes A, B, and C, respectively, and let a , b , and c denote the number of candies each student in classes A, B, and C got, respectively.
We know the following according to the problem: E 1 : A = B + 4 E 2 : B = C + 4 E 3 : c = b + 5 E 4 : b = a + 3 E 5 : A a = B b + 1 0 and E 6 : B b = C c + 1 4
Our ultimate goal is to solve for A a + B b + C c . Using E 5 and E 6 , A a + B b + C c = ( B b + 1 0 ) + ( C c + 1 4 ) + C c = [ ( C c + 1 4 ) + 1 0 ] + ( C c + 1 4 ) + C c = 3 C c + 3 8 .
So if we can solve for C and c , then we are done.
Now, we write the equations in terms of C and c . E 1 : A = C + 8 E 2 : B = C + 4 E 3 : b = c − 5 E 4 : a = c − 8 E 5 : A a = C c + 2 4 and E 6 : B b = C c + 1 4
Using E 1 to E 4 , we can plug-in the values of A , B , a , and b to E 5 and E 6 to get: E 5 : ( C + 8 ) ( c − 8 ) = C c + 2 4 and E 6 : ( C + 4 ) ( c − 5 ) = C c + 1 4
Simplifying, we get E 5 : C c − 8 C + 8 c − 6 4 = C c + 2 4 − 8 C + 8 c = 8 8 − C + c = 1 1 E 6 : C c − 5 C + 4 c − 2 0 = C c + 1 4 − 5 C + 4 c = 3 4
We get this system of equations: \{ \begin{array}{2 1} - C + c =11 \\ -5C + 4c = 34 \\ \end{array}
Solving the system, we get C = 1 0 and c = 2 1 . Finally, A a + B b + C c . = 3 C c + 4 2 = 3 ∗ 1 0 ∗ 2 1 + 3 8 = 6 6 8
A B C
no.of students x+4 x x-4
choc to individual y-3 y y+5
total chocs(A) =(x+4)(y-3)
total chocs(B)=xy
total chocs(C)= (x-4)(y+5)
(x+4)(y-3)=xy+10;
xy= (x-4)(y+5)+14;
solving both equations x=14,y=16
total chocs= total chocs(a)+total chocs(b)+total chocs(c);
total chocs=668
Let Class B have p students and let each student have q sweets. Thus Class A has p + 4 students and each student has q − 3 sweets and Class C has p − 4 students and each student has q + 5 sweets each.
The last two statements in the question are equivalent to
(
p
+
4
)
(
q
−
3
)
−
p
q
=
1
0
⇒
4
q
−
3
p
=
2
2
and
p
q
−
(
p
−
4
)
(
q
+
5
)
=
1
4
⇒
4
q
−
5
p
=
−
6
.
Subtracting the two equations we have
2
p
=
2
8
⇒
p
=
1
4
.
Substituting
p
=
1
4
into the first equation gives
q
=
4
2
2
+
3
(
1
4
)
=
1
6
, so Class B got
p
q
=
1
4
(
1
6
)
=
2
2
4
sweets.
Hence the total number of sweets given out is ( p q + 1 0 ) + p q + ( p q − 1 4 ) = ( 2 2 4 + 1 0 ) + 2 2 4 + ( 2 2 4 − 1 4 ) = 6 6 8 .
Problem Loading...
Note Loading...
Set Loading...
Let a be number of students in class A and x be the number of sweets given per student in class A. Then, a x = ( x + 3 ) ( a − 4 ) + 1 0 = ( a − 8 ) ( x + 8 ) + 2 4 . Expanding and subtracting a x from each equation, we get 0 = 3 a − 4 x − 2 = 8 a − 8 x − 4 0 . Solving this, we obtain a = 1 8 , x = 1 3 . Required answer is 1 3 × 1 8 + 1 6 × 1 4 + 2 1 × 1 0 = 6 6 8 .
[Latex edits - Calvin]