Question
Question: In a class test, the sum of the marks obtained by \[P\] in Mathematics and Science is 28. Had he got...
In a class test, the sum of the marks obtained by P in Mathematics and Science is 28. Had he got 3 marks more in Mathematics and 4 marks less in Science, the product of his marks would have been 180. Find his marks in two subjects.
Solution
Hint: Take the marks obtained in one of the subjects as a variable. Then find the product of his marks according to the given conditions so that you will obtain an equation. Solve the equation for finding the marks obtained by P.
Complete step-by-step answer:
Let the marks obtained in mathematics be x.
Since the sum of the marks obtained by P in Mathematics and Science is 28, then the marks obtained in Science is 28−x.
P had got 3 marks more in mathematics, the marks would be x+3.
P had got 4 marks less in science, the marks would be 28−x−4.
Given the product of his marks would have been 180. So,
Solving for x, we have
⇒x2−21x+108=0 ⇒x2−12x−9x+108=0 ⇒x(x−12)−9(x−12)=0 ⇒(x−12)(x−9)=0 ∴x=9,12So, the marks scored in mathematics can be 9 or 12.
If P had scored 9 marks in mathematics then, marks scored in science is 28−x=28−9=19
If P had scored 12 marks in mathematics then, marks scored in science is 28−x=28−12=16
Thus, marks obtained byP in mathematics and science are 9 and 19 respectively.
And marks obtained by P in mathematics and science are 12 and 16 respectively.
Note: In the solution the obtained equation is a quadratic equation. So, we have got two solutions for finding the marks obtained in mathematics (i.e., x). Similarly, the marks obtained in science.