Resources

A student added two rational expressions, P(x)x−5+4x+2\frac{P(x)}{x - 5} + \frac{4}{x + 2}, where P(x)P(x) is a linear polynomial of the form ax+bax + b. The resulting sum simplified to 2x2+3x−26(x−5)(x+2)\frac{2x^2 + 3x - 26}{(x - 5)(x + 2)}. Determine the original polynomial P(x)P(x) in the numerator of the first expression.

Answer and steps

Final answer

P(x)=2x−3P(x) = 2x - 3.

Steps

01

Combine the expressions with a common denominator

To find the linear polynomial P(x)P(x), we combine the two rational expressions over their common denominator and determine the unknown coefficients.

The least common denominator of P(x)x−5\frac{P(x)}{x - 5} and 4x+2\frac{4}{x + 2} is (x−5)(x+2)(x - 5)(x + 2).

Rewrite each fraction with this common denominator: P(x)x−5+4x+2=P(x)(x+2)(x−5)(x+2)+4(x−5)(x−5)(x+2)\frac{P(x)}{x - 5} + \frac{4}{x + 2} = \frac{P(x)(x + 2)}{(x - 5)(x + 2)} + \frac{4(x - 5)}{(x - 5)(x + 2)}

Combine the numerators over the common denominator: P(x)(x+2)+4(x−5)(x−5)(x+2)\frac{P(x)(x + 2) + 4(x - 5)}{(x - 5)(x + 2)}

02

Set up the polynomial form for P(x)P(x)

We are given that P(x)P(x) is a linear polynomial of the form ax+bax + b. Substitute P(x)=ax+bP(x) = ax + b into the combined numerator: Numerator=(ax+b)(x+2)+4(x−5)\text{Numerator} = (ax + b)(x + 2) + 4(x - 5)

Expand both parts: (ax+b)(x+2)=ax2+2ax+bx+2b(ax + b)(x + 2) = ax^2 + 2ax + bx + 2b 4(x−5)=4x−204(x - 5) = 4x - 20

Group the terms by powers of xx: Numerator=ax2+(2a+b+4)x+(2b−20)\text{Numerator} = ax^2 + (2a + b + 4)x + (2b - 20)

03

Equate corresponding coefficients

The problem states that the combined expression equals 2x2+3x−26(x−5)(x+2)\frac{2x^2 + 3x - 26}{(x - 5)(x + 2)}.

Equate the terms of the combined numerator to the numerator 2x2+3x−262x^2 + 3x - 26:

  1. x2x^2-coefficient: a=2a = 2
  2. Constant term: 2b−20=−262b - 20 = -26 2b=−62b = -6 b=−3b = -3
04

Write the final polynomial

Substitute a=2a = 2 and b=−3b = -3 back into P(x)=ax+bP(x) = ax + b: P(x)=2x−3P(x) = 2x - 3

Typical errors

OverviewACEpath Teacher's Diagnosis

01 The student adds the numerators directly without finding a common denominator, assuming P(x) + 4 equals the combined numerator.

Sample Student Work

Reviewed by ACEpath Teacher
Step-by-Step Review
Walk Through It with Your Teacher
Incorrect
  1. Step 1

    P(x)+4=2x2+3x−26P(x) + 4 = 2x^2 + 3x - 26

    Correct

    P(x)(x+2)+4(x−5)=2x2+3x−26P(x)(x + 2) + 4(x - 5) = 2x^2 + 3x - 26

    You added the numerators P(x)P(x) and 44 directly. Because the fractions have different denominators, x−5x - 5 and x+2x + 2, each numerator must be multiplied by the other denominator when combining over the least common denominator (x−5)(x+2)(x - 5)(x + 2).

  2. Step 2

    P(x)=2x2+3x−30P(x) = 2x^2 + 3x - 30

    Correct

    P(x)=2x−3P(x) = 2x - 3

    Subtracting 44 from both sides followed logically from your previous step, but it led to a quadratic result instead of the linear polynomial ax+bax + b specified in the problem.

WHAT YOU DID WELL
Compliments from Your Teacher

You correctly transcribed the initial equation from the problem statement.

You clearly isolated P(x)P(x) using standard algebraic subtraction from your equation.

THE ERROR
Where Your ACEpath Teacher Spotted the Mistake
Adding Numerators Without Common Denominator

no

WHY IT HAPPENED
ACEpath Teacher's Diagnosis

You treated rational addition like simple fraction addition with identical denominators, setting Numerator1+Numerator2=Combined Numerator\text{Numerator}_1 + \text{Numerator}_2 = \text{Combined Numerator} instead of scaling each numerator by its missing denominator factor.

REASONING PATH
Your ACEpath teacher’s suggested approach
Scaling Numerators for Common Denominators
  • For distinct denominators, AD1+BD2=A⋅D2+B⋅D1D1D2\frac{A}{D_1} + \frac{B}{D_2} = \frac{A \cdot D_2 + B \cdot D_1}{D_1 D_2}.

  • Always multiply each numerator by the factor that turns its individual denominator into the common denominator before combining.

Checking Form Constraints
  • The problem states that P(x)P(x) must be a linear polynomial of the form ax+bax + b.

  • Verify that your resulting expression has degree 11; an unexpected degree (such as degree 22) signals an uncancelled or uncombined term.

CORRECTED PATH
ACEpath Teacher's Demonstration
  1. Write the sum with the common denominator: P(x)(x+2)+4(x−5)(x−5)(x+2)=2x2+3x−26(x−5)(x+2)\frac{P(x)(x + 2) + 4(x - 5)}{(x - 5)(x + 2)} = \frac{2x^2 + 3x - 26}{(x - 5)(x + 2)}.

  2. Equate the combined numerators: P(x)(x+2)+4(x−5)=2x2+3x−26P(x)(x + 2) + 4(x - 5) = 2x^2 + 3x - 26.

  3. Substitute P(x)=ax+bP(x) = ax + b: (ax+b)(x+2)+(4x−20)=ax2+(2a+b+4)x+(2b−20)(ax + b)(x + 2) + (4x - 20) = ax^2 + (2a + b + 4)x + (2b - 20).

  4. Match coefficients with 2x2+3x−262x^2 + 3x - 26: a=2a = 2, and 2b−20=−26  ⟹  2b=−6  ⟹  b=−32b - 20 = -26 \implies 2b = -6 \implies b = -3.

Final answer

P(x)=2x−3P(x) = 2x - 3

NEXT STEPS
Final Takeaways from Your Teacher
  • Practice rewriting rational additions by multiplying each fraction by missing factormissing factor\frac{\text{missing factor}}{\text{missing factor}} before writing a single numerator.

  • Compare degrees of given polynomial descriptions with your final answer to catch mismatched powers early.

OverviewACEpath Teacher's Diagnosis

02 The student cross-multiplies numerators with the wrong denominators, multiplying P(x) by (x - 5) and 4 by (x + 2).

Sample Student Work

Reviewed by ACEpath Teacher
Step-by-Step Review
Walk Through It with Your Teacher
Incorrect
  1. Step 1

    P(x)(x−5)+4(x+2)(x−5)(x+2)=2x2+3x−26(x−5)(x+2)\frac{P(x)(x - 5) + 4(x + 2)}{(x - 5)(x + 2)} = \frac{2x^2 + 3x - 26}{(x - 5)(x + 2)}

    Correct

    P(x)(x+2)+4(x−5)(x−5)(x+2)=2x2+3x−26(x−5)(x+2)\frac{P(x)(x + 2) + 4(x - 5)}{(x - 5)(x + 2)} = \frac{2x^2 + 3x - 26}{(x - 5)(x + 2)}

    When combining fractions over the common denominator (x−5)(x+2)(x - 5)(x + 2), each fraction must be multiplied by the factor missing from its own denominator. You multiplied P(x)P(x) by (x−5)(x - 5) instead of (x+2)(x + 2), and multiplied 44 by (x+2)(x + 2) instead of (x−5)(x - 5).

  2. Step 2

    P(x)(x−5)+4x+8=2x2+3x−26  ⟹  P(x)(x−5)=2x2−x−34P(x)(x - 5) + 4x + 8 = 2x^2 + 3x - 26 \implies P(x)(x - 5) = 2x^2 - x - 34

    Correct

    P(x)(x+2)+4(x−5)=2x2+3x−26  ⟹  P(x)(x+2)=2x2−x−6P(x)(x + 2) + 4(x - 5) = 2x^2 + 3x - 26 \implies P(x)(x + 2) = 2x^2 - x - 6

    Your algebra here correctly expanded 4(x+2)4(x + 2) to 4x+84x + 8 and isolated P(x)(x−5)P(x)(x - 5), but the expression is carrying forward the incorrect factors from Step 1.

  3. Step 3

    (ax+b)(x−5)=2x2−x−34  ⟹  ax2+(b−5a)x−5b=2x2−x−34  ⟹  a=2,−5b=−34  ⟹  b=345(ax + b)(x - 5) = 2x^2 - x - 34 \implies ax^2 + (b - 5a)x - 5b = 2x^2 - x - 34 \implies a = 2, -5b = -34 \implies b = \frac{34}{5}

    Correct

    (ax+b)(x+2)+4(x−5)=2x2+3x−26  ⟹  ax2+(2a+b+4)x+(2b−20)=2x2+3x−26  ⟹  a=2,b=−3(ax + b)(x + 2) + 4(x - 5) = 2x^2 + 3x - 26 \implies ax^2 + (2a + b + 4)x + (2b - 20) = 2x^2 + 3x - 26 \implies a = 2, b = -3

    You correctly substituted P(x)=ax+bP(x) = ax + b and matched polynomial coefficients, but because of the initial factor swap, the resulting polynomial system was altered.

  4. Step 4

    P(x)=2x+345P(x) = 2x + \frac{34}{5}

    Correct

    P(x)=2x−3P(x) = 2x - 3

    Your final polynomial is incorrect because it depends on the mismatched values of aa and bb from the earlier steps.

WHAT YOU DID WELL
Compliments from Your Teacher

You correctly identified that the least common denominator is (x−5)(x+2)(x - 5)(x + 2).

You successfully set up P(x)=ax+bP(x) = ax + b and knew to equate coefficients of corresponding powers of xx.

You handled polynomial multiplication and linear equation solving accurately.

THE ERROR
Where Your ACEpath Teacher Spotted the Mistake
Wrong Common Denominator Factor

You multiplied each numerator by the factor already present in its denominator instead of the missing factor.

WHY IT HAPPENED
ACEpath Teacher's Diagnosis

Confusing the missing factor with the existing denominator when building equivalent rational fractions. To rewrite AD1\frac{A}{D_1} over D1D2D_1 D_2, multiply top and bottom by D2D_2, not D1D_1.

REASONING PATH
Your ACEpath teacher’s suggested approach
Identify the Missing Factor
  • For AB+CD\frac{A}{B} + \frac{C}{D} with common denominator BDBD, the combined numerator is A⋅D+C⋅BA \cdot D + C \cdot B.

  • Ask yourself: 'What factor does this denominator lack to become the common denominator?' and multiply only by that missing factor.

Verify with a Test Value
  • An identity between rational expressions must hold for any valid input xx.

  • Plug in a simple value like x=0x = 0 or x=1x = 1 to verify that your combined numerator equals the target numerator.

CORRECTED PATH
ACEpath Teacher's Demonstration
  1. Rewrite each term over the common denominator (x−5)(x+2)(x - 5)(x + 2): P(x)(x+2)(x−5)(x+2)+4(x−5)(x−5)(x+2)=2x2+3x−26(x−5)(x+2)\frac{P(x)(x + 2)}{(x - 5)(x + 2)} + \frac{4(x - 5)}{(x - 5)(x + 2)} = \frac{2x^2 + 3x - 26}{(x - 5)(x + 2)}.

  2. Equate the numerators: P(x)(x+2)+4(x−5)=2x2+3x−26P(x)(x + 2) + 4(x - 5) = 2x^2 + 3x - 26.

  3. Substitute P(x)=ax+bP(x) = ax + b: (ax+b)(x+2)+4x−20=2x2+3x−26(ax + b)(x + 2) + 4x - 20 = 2x^2 + 3x - 26.

  4. Expand and group like terms: ax2+(2a+b+4)x+(2b−20)=2x2+3x−26ax^2 + (2a + b + 4)x + (2b - 20) = 2x^2 + 3x - 26.

  5. Equate the coefficients: a=2a = 2, and 2b−20=−26  ⟹  2b=−6  ⟹  b=−32b - 20 = -26 \implies 2b = -6 \implies b = -3.

Final answer

P(x)=2x−3P(x) = 2x - 3

NEXT STEPS
Final Takeaways from Your Teacher
  • When adding rational expressions, explicitly write out missing factormissing factor\frac{\text{missing factor}}{\text{missing factor}} next to each fraction before combining.

  • Check all coefficients (quadratic, linear, and constant) when equating polynomials to catch inconsistent systems early.

OverviewACEpath Teacher's Diagnosis

03 The student fails to distribute the factor 4 to -5 when multiplying 4(x - 5), writing 4x - 5 instead of 4x - 20.

Sample Student Work

Reviewed by ACEpath Teacher
Step-by-Step Review
Walk Through It with Your Teacher
Incorrect
  1. Step 1

    P(x)(x+2)+4(x−5)=2x2+3x−26P(x)(x+2) + 4(x-5) = 2x^2 + 3x - 26

  2. Step 2

    P(x)(x+2)+4x−5=2x2+3x−26  ⟹  P(x)(x+2)=2x2−x−21P(x)(x+2) + 4x - 5 = 2x^2 + 3x - 26 \implies P(x)(x+2) = 2x^2 - x - 21

    Correct

    P(x)(x+2)+4x−20=2x2+3x−26  ⟹  P(x)(x+2)=2x2−x−6P(x)(x+2) + 4x - 20 = 2x^2 + 3x - 26 \implies P(x)(x+2) = 2x^2 - x - 6

    When expanding 4(x−5)4(x - 5), you multiplied 44 by xx but forgot to multiply 44 by −5-5, writing 4x−54x - 5 instead of 4x−204x - 20.

  3. Step 3

    (ax+b)(x+2)=2x2−x−21  ⟹  ax2+(2a+b)x+2b=2x2−x−21  ⟹  a=2,  2b=−21  ⟹  b=−212(ax+b)(x+2) = 2x^2 - x - 21 \implies ax^2 + (2a+b)x + 2b = 2x^2 - x - 21 \implies a = 2,\; 2b = -21 \implies b = -\frac{21}{2}

    Correct

    (ax+b)(x+2)=2x2−x−6  ⟹  ax2+(2a+b)x+2b=2x2−x−6  ⟹  a=2,  2b=−6  ⟹  b=−3(ax+b)(x+2) = 2x^2 - x - 6 \implies ax^2 + (2a+b)x + 2b = 2x^2 - x - 6 \implies a = 2,\; 2b = -6 \implies b = -3

    Your coefficient matching method was logical, but your values were affected by the previous distribution error.

  4. Step 4

    P(x)=2x−212P(x) = 2x - \frac{21}{2}

    Correct

    P(x)=2x−3P(x) = 2x - 3

    Because bb was calculated from the incorrect constant term, the resulting polynomial is incorrect.

WHAT YOU DID WELL
Compliments from Your Teacher

You correctly combined the rational expressions over the common denominator (x−5)(x+2)(x - 5)(x + 2).

You correctly represented P(x)P(x) in linear form as ax+bax + b.

You used an effective strategy of equating coefficients to solve for the polynomial parameters.

THE ERROR
Where Your ACEpath Teacher Spotted the Mistake
Distributive Property Error

You wrote 4(x−5)=4x−54(x - 5) = 4x - 5 by forgetting to multiply the factor 44 by the second term −5-5.

WHY IT HAPPENED
ACEpath Teacher's Diagnosis

Incomplete distribution across parentheses: when expanding c(x−d)c(x - d), multiplying only the leading variable term and leaving the constant unmultiplied.

REASONING PATH
Your ACEpath teacher’s suggested approach
Full Distribution
  • For any constants c,dc, d, the distributive property requires c(x−d)=c⋅x−c⋅dc(x - d) = c \cdot x - c \cdot d.

  • Draw distribution arrows or write each product explicitly: 4⋅x−4⋅5=4x−204 \cdot x - 4 \cdot 5 = 4x - 20.

Consistency Check
  • When equating coefficients of a polynomial, all powers of xx (including the linear term) must be consistent.

  • Check that your values a=2a = 2 and b=−3b = -3 satisfy the middle coefficient: 2a+b=2(2)+(−3)=12a + b = 2(2) + (-3) = 1, which matches 2x2−x−62x^2 - x - 6 (where −(2a+b)x-(2a+b)x gives −x-x).

CORRECTED PATH
ACEpath Teacher's Demonstration
  1. Distribute 44 completely: 4(x−5)=4x−204(x - 5) = 4x - 20.

  2. Subtract 4x−204x - 20 from the right-hand side: P(x)(x+2)=(2x2+3x−26)−(4x−20)=2x2−x−6P(x)(x + 2) = (2x^2 + 3x - 26) - (4x - 20) = 2x^2 - x - 6.

  3. Factor the quadratic or divide by (x+2)(x + 2): 2x2−x−6=(2x−3)(x+2)2x^2 - x - 6 = (2x - 3)(x + 2).

Final answer

P(x)=2x−3P(x) = 2x - 3

NEXT STEPS
Final Takeaways from Your Teacher
  • Double-check every distributive expansion before combining like terms.

  • Factor the resulting quadratic to verify that (x+2)(x + 2) divides evenly without leaving a remainder.

Lock it in

Similar question

01

A student wrote P(x)x−3+2x+1=3x2+5x−4(x−3)(x+1)\frac{P(x)}{x - 3} + \frac{2}{x + 1} = \frac{3x^2 + 5x - 4}{(x - 3)(x + 1)}, where P(x)P(x) is a linear polynomial ax+bax + b. Find P(x)P(x).

Answer

Equating numerators gives P(x)(x+1)+2(x−3)=3x2+5x−4P(x)(x + 1) + 2(x - 3) = 3x^2 + 5x - 4. Expanding (ax+b)(x+1)+2x−6=ax2+(a+b+2)x+(b−6)(ax + b)(x + 1) + 2x - 6 = ax^2 + (a + b + 2)x + (b - 6). Equating coefficients with 3x2+5x−43x^2 + 5x - 4 yields a=3a = 3 and b−6=−4  ⟹  b=2b - 6 = -4 \implies b = 2. Thus, P(x)=3x+2P(x) = 3x + 2.

02

Determine the constant kk and linear polynomial P(x)=ax+bP(x) = ax + b such that P(x)x+4−3x−2=2x2−5x−20(x+4)(x−2)\frac{P(x)}{x + 4} - \frac{3}{x - 2} = \frac{2x^2 - 5x - 20}{(x + 4)(x - 2)}.

Answer

Combine numerators over (x+4)(x−2)(x + 4)(x - 2): P(x)(x−2)−3(x+4)=2x2−5x−20P(x)(x - 2) - 3(x + 4) = 2x^2 - 5x - 20. Substitute P(x)=ax+bP(x) = ax + b: (ax+b)(x−2)−3x−12=ax2+(−2a+b−3)x+(−2b−12)(ax + b)(x - 2) - 3x - 12 = ax^2 + (-2a + b - 3)x + (-2b - 12). Equating coefficients with 2x2−5x−202x^2 - 5x - 20 gives a=2a = 2, and constant term −2b−12=−20  ⟹  −2b=−8  ⟹  b=4-2b - 12 = -20 \implies -2b = -8 \implies b = 4. Thus, P(x)=2x+4P(x) = 2x + 4.

03

Express 5x−7(x−1)(x+2)\frac{5x - 7}{(x - 1)(x + 2)} as a sum of partial fractions Ax−1+Bx+2\frac{A}{x - 1} + \frac{B}{x + 2}, and verify the combined numerator identity.

Answer

Set up A(x+2)+B(x−1)(x−1)(x+2)=5x−7(x−1)(x+2)\frac{A(x + 2) + B(x - 1)}{(x - 1)(x + 2)} = \frac{5x - 7}{(x - 1)(x + 2)}. Equating numerators: A(x+2)+B(x−1)=5x−7A(x + 2) + B(x - 1) = 5x - 7. Letting x=1x = 1 gives 3A=−2  ⟹  A=−233A = -2 \implies A = -\frac{2}{3}. Letting x=−2x = -2 gives −3B=−17  ⟹  B=173-3B = -17 \implies B = \frac{17}{3}. The partial fraction decomposition is −2/3x−1+17/3x+2\frac{-2/3}{x - 1} + \frac{17/3}{x + 2}.

Loading workspace…