hamburger menu
All Coursesall course arrow
adda247
reward-icon
adda247
    arrow
    arrow
    arrow
    Find the values of p and q when px3+x2−2x−qpx^3+ x^2-2x-q px3+x2−2x−q is exactly divisible by (x-1) and (x+1).
    Question

    Find the values of p and q when px3+x22xqpx^3+ x^2-2x-q is exactly divisible by (x-1) and (x+1).

    A.

    p =2 and q =1

    B.

    p =1 and q = 0

    C.

    p =1 and q = 2

    D.

    p = 0 and q = 1

    Correct option is A

    Given:
    px3+x22xq is divisible by (x1) and (x+1).px^3 + x^2 - 2x - q \ is \ divisible \ by \ (x-1) \ and \ (x+1).

    Concept:
    If f(x) is divisible by (x -a), then f(a) = 0

    Solution:

    Substitute x = 1 in px3+x22xq=0:px^3 + x^2 - 2x - q = 0:

    p(1)3+(1)2−2(1)−q=0p+1−2−q=0⟹p−q−1=0(Equation 1)p(1)^3 + (1)^2 - 2(1) - q = 0 \\p + 1 - 2 - q = 0 \implies p - q - 1 = 0 \quad \text{(Equation 1)}p(1)3+(1)22(1)q=0p+12q=0pq1=0(Equation 1)


    Substitute x = -1 in px3+x22xq=0:px^3 + x^2 - 2x - q = 0:

    p(−1)3+(−1)2−2(−1)−q=0−p+1+2−q=0⟹−p−q+3=0(Equation 2)p(-1)^3 + (-1)^2 - 2(-1) - q = 0 \\ -p + 1 + 2 - q = 0 \implies -p - q + 3 = 0 \quad \text{(Equation 2)}p(1)3+(1)22(1)q=0p+1+2q=0pq+3=0(Equation 2)​​

    Solve the two equations:

    From Equation 1:  p−q=1p - q = 1pq=1

    From Equation 2: pq=3-p - q = -3​​

    Add the equations: (pq)+(pq)=1+(3) 2q=2 q=1(p - q) + (-p - q) = 1 + (-3) \implies -2q = -2 \implies q = 1​​
     Substitute q = 1 into p - q = 1:

    p1=1 p=2p - 1 = 1 \implies p = 2​​


    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 UG Level PYP (Held on 7 Aug 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 NTPC’ Mock Tests with

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