GATE CS 2024 Set 1 — Question 5

MCQ+1 / -0.33MediumRatios, Percentages, Powers, Exponents & LogarithmsQuantitative AptitudeGeneral Aptitude

General Aptitude → Quantitative Aptitude → Ratios, Percentages, Powers, Exponents & Logarithms

Last updated

Question

For positive non-zero real variables pp and qq, iflog(p2+q2)=logp+logq+2log3,\log (p^2 + q^2) = \log p + \log q + 2 \log 3 ,then, the value of p4+q4p2q2\frac{p^4 + q^4}{p^2 q^2} is
A.
79
B.
81
C.
9
D.
83

Correct answer

(A) 79

Solution

Given the equation:log(p2+q2)=logp+logq+2log3\log (p^2 + q^2) = \log p + \log q + 2 \log 3Using the properties of logarithms loga+logb=log(ab)\log a + \log b = \log(ab) and nloga=log(an)n \log a = \log(a^n):log(p2+q2)=log(pq)+log(32)\log (p^2 + q^2) = \log(pq) + \log(3^2)log(p2+q2)=log(pq)+log(9)\log (p^2 + q^2) = \log(pq) + \log(9)log(p2+q2)=log(9pq)\log (p^2 + q^2) = \log(9pq)Removing the logarithm from both sides:p2+q2=9pqp^2 + q^2 = 9pqWe need to find the value of p4+q4p2q2\frac{p^4 + q^4}{p^2 q^2}.
Let's rewrite the expression:p4+q4p2q2=p4p2q2+q4p2q2=p2q2+q2p2\frac{p^4 + q^4}{p^2 q^2} = \frac{p^4}{p^2 q^2} + \frac{q^4}{p^2 q^2} = \frac{p^2}{q^2} + \frac{q^2}{p^2}Divide the equation p2+q2=9pqp^2 + q^2 = 9pq by pqpq:p2pq+q2pq=9\frac{p^2}{pq} + \frac{q^2}{pq} = 9pq+qp=9\frac{p}{q} + \frac{q}{p} = 9Squaring both sides:(pq+qp)2=92\left(\frac{p}{q} + \frac{q}{p}\right)^2 = 9^2p2q2+q2p2+2(pq)(qp)=81\frac{p^2}{q^2} + \frac{q^2}{p^2} + 2\left(\frac{p}{q}\right)\left(\frac{q}{p}\right) = 81p2q2+q2p2+2=81\frac{p^2}{q^2} + \frac{q^2}{p^2} + 2 = 81p2q2+q2p2=812\frac{p^2}{q^2} + \frac{q^2}{p^2} = 81 - 2p2q2+q2p2=79\frac{p^2}{q^2} + \frac{q^2}{p^2} = 79Thus, p4+q4p2q2=79\frac{p^4 + q^4}{p^2 q^2} = 79.

More questions on Quantitative Aptitude

Practice GATE CS PYQs with adaptive difficulty

Timed practice, skill tracking, and AI explanations — free to start.

Start practicing free