Question
Quantitative Ability and Data Interpretation Question on Algebra
Ramesh is trying to simplify the expression (p+q)3−(p−q)3−6q(p2−q2) and if q=1. You helped him and the solution arrived was:
A
4
B
6
C
8
D
10
Answer
8
Explanation
Solution
The given expression is (p+q)3−(p−q)3−6q(p2−q2).
First, expand the cubes:
(p+q)3=p3+3p2q+3pq2+q3
(p−q)3=p3−3p2q+3pq2−q3
Subtracting the second expression from the first:
(p3+3p2q+3pq2+q3)−(p3−3p2q+3pq2−q3)=6p2q+2q3
Next, simplify −6q(p2−q2):
−6q(p2−q2)=−6qp2+6q3
Combine all terms:
6p2q+2q3−6qp2+6q3=8q3
Given q=1:
8(1)3=8
Thus, the answer is 8.