JEE Main 2023MathematicsQuadratic EquationHardNumerical

JEE Main 2023Quadratic Equation Question with Solution

JEE Main 2023 (08 Apr Shift 2)

Question

Let m and n be the numbers of real roots of the quadratic equations x2-12x+[x]+31=0 and x2-5|x+2|-4=0 respectively, where [x] denotes the greatest integer x. Then m2+mn+n2 is equal to

Enter your answer

Show full solutionCorrect answer: 9
Correct answer
9

Step-by-step explanation

Given,

x2-12x+x+31=0

x2-12x+31-5=-x

Now from above equation we say that, it could have its solution in [5,6) but it does not exist as at x=5 as LHS=1,

So no solution, hence m=0

Now solving,

x2-5x+2-4=0

Taking Case 1 when x-2 we get,

x2-5x+2-4=0

x2-5x-14=0x=7,-2

Now taking Case 2 when x<-2 we get,

x2+5x+10-4=0

x=-2,-3

So, total 3 solution i.e., x=-3, -2, 7

Hence, n=3

So, the value of m2+mn+n2=0+0+32=9

Practice this on the real CBT interface

Solve this JEE Main question (and the rest of the Quadratic Equation chapter) on PrepSharp's TCS iON-style CBT player — with timer, bookmarks and session analytics.

Solve interactively →

About this question

This is a previous-year question from JEE Main 2023, covering the Quadratic Equation chapter of Mathematics. PrepSharp catalogues every PYQ from JEE Main with a verified answer key and step-by-step solution prepared by IIT alumni — so you can search by chapter, topic or year and revise efficiently.