JEE 2023 — Mathematics PYQ
JEE | Mathematics | 2023If and , then the value of is equal to:

If f(x)=x2+g′(1)x+g′′(2) and g(x)=f(1)x2+xf(x)+f′(x), then the value of f(4)−g(4) is equal to:
−80
−102
−120
−124
(Correct Answer)−124
Step 1: Define the constants
Let g′(1)=A and g′′(2)=B.
Then the function f(x) becomes:
From this, we can find the derivatives of f(x):
f′(x)=2x+A
f(1)=1+A+B
Step 2: Substitute into g(x)
Now substitute these into the given expression for g(x):
Step 3: Find the derivatives of g(x)
To find the values of A and B, we differentiate g(x):
g′(x)=3x2+2(1+2A+B)x+(B+2)
g′′(x)=6x+2(1+2A+B)
Step 4: Solve for A and B
Using the definitions g′(1)=A and g′′(2)=B:
From g′(1)=A:
From g′′(2)=B:
Substitute (Eq. 2) into (Eq. 1):
Step 5: Calculate f(4)−g(4)
Instead of calculating f(4) and g(4) separately with fractions, let's find the expression for f(x)−g(x):
At x=4:
Substitute A=−935 and B=914:
Step 1: Define the constants
Let g′(1)=A and g′′(2)=B.
Then the function f(x) becomes:
From this, we can find the derivatives of f(x):
f′(x)=2x+A
f(1)=1+A+B
Step 2: Substitute into g(x)
Now substitute these into the given expression for g(x):
Step 3: Find the derivatives of g(x)
To find the values of A and B, we differentiate g(x):
g′(x)=3x2+2(1+2A+B)x+(B+2)
g′′(x)=6x+2(1+2A+B)
Step 4: Solve for A and B
Using the definitions g′(1)=A and g′′(2)=B:
From g′(1)=A:
From g′′(2)=B:
Substitute (Eq. 2) into (Eq. 1):
Step 5: Calculate f(4)−g(4)
Instead of calculating f(4) and g(4) separately with fractions, let's find the expression for f(x)−g(x):
At x=4:
Substitute A=−935 and B=914:
