arrow
arrow
arrow
If x2+xy+x=18x^2+xy+x=18x2+xy+x=18​ and y2+xy+y=24y^2+xy+y=24y2+xy+y=24​, then the value of x + y is:
Question

If x2+xy+x=18x^2+xy+x=18​ and y2+xy+y=24y^2+xy+y=24​, then the value of x + y is:

A.

-5 or 6

B.

5 or -6

C.

6 or -7

D.

-6 or 7

Correct option is C

Given:

x2+xy+x=18x^2 + xy + x = 18​​

y2+xy+y=24y^2 + xy + y = 24​​

Formula Used:

x2+2xy+y2=(x+y)2x^2 + 2xy + y^2 = (x + y)^2

Solution:

Adding the two given equations:

​​​(x2+xy+x)+(y2+xy+y)=18+24x2+xy+x+y2+xy+y=42(x^2 + xy + x) + (y^2 + xy + y) = 18 + 24 \\x^2 + xy + x + y^2 + xy + y = 42
(x+y)(x+y+1)=42(x + y)(x + y + 1) = 42 

factor of  42 could be  =  67or676 \cdot 7 \quad \text{or} \quad -6 \cdot -7 

for fist case; 

(x+y)(x+y+1)=6×7(x + y)(x + y + 1) = 6 \times 7  

comparing this we get: 

x + y = 6 

for second case;

(x+y)(x+y+1)=7×6(x + y)(x + y + 1) = -7 \times -6 

comparing this we get;

x + y = - 7 

Thus, the value of x + y could be 6 or -7.

Free Tests

Free
Must Attempt

CBT-1 Full Mock Test 1

languageIcon English
  • pdpQsnIcon100 Questions
  • pdpsheetsIcon100 Marks
  • timerIcon90 Mins
languageIcon English
Free
Must Attempt

RRB NTPC Graduate Level PYP (Held on 5 Jun 2025 S1)

languageIcon English
  • pdpQsnIcon100 Questions
  • pdpsheetsIcon100 Marks
  • timerIcon90 Mins
languageIcon English
Free
Must Attempt

CBT-1 General Awareness Section Test 1

languageIcon English
  • pdpQsnIcon40 Questions
  • pdpsheetsIcon30 Marks
  • timerIcon25 Mins
languageIcon English
test-prime-package

Access ‘RRB Group D’ Mock Tests with

  • 60000+ Mocks and Previous Year Papers
  • Unlimited Re-Attempts
  • Personalised Report Card
  • 500% Refund on Final Selection
  • Largest Community
students-icon
354k+ students have already unlocked exclusive benefits with Test Prime!
Our Plans
Monthsup-arrow