I'll solve this step-by-step.
First, let's understand the functions involved and analyze the equation.
Step 1: Find f'(x)
For f(x) = (x² - ax)/e^x, I'll compute the derivative using the quotient rule:
f'(x) = [(2x - a)e^x - (x² - ax)e^x]/e^(2x)
= [(2x - a) - (x² - ax)]/e^x
= [2x - a - x² + ax]/e^x
= [-(x² - 2x - ax + a)]/e^x
= [-x² + (2+a)x - a]/e^x
Step 2: Analyze the equation f(x) = f'(t)(x-t) + f(t)
Let's expand the right side:
f'(t)(x-t) + f(t) = [-t² + (2+a)t - a]/e^t · (x-t) + (t² - at)/e^t
= -t² + (2+a)t - a/e^t + (t² - at)/e^t
For x to be a root of f(x) = f'(t)(x-t) + f(t), we need:
(x² - ax)/e^x = -t² + (2+a)t - a/e^t + (t² - at)/e^t
Multiplying both sides by e^x:
x² - ax = -t² + (2+a)t - a·e^(x-t) + (t² - at)·e^(x-t)
Step 3: Analyze the case when t = 5
When t = 5, the equation becomes:
x² - ax = -5² + (2+a)·5 - a·e^(x-5) + (5² - 5a)·e^(x-5)
= -25 + 10 + 5a - a·e^(x-5) + (25 - 5a)·e^(x-5)
= -15 + 4a·e^(x-5) + (25 - 5a)·e^(x-5)
We're told that g(5) + lim_{t→5} g(t) = 5, where g(t) is the number of distinct real roots.
Step 4: Identify a special case
Let's check what happens when x = t. In this case:
f(t) = f'(t)(t-t) + f(t) = f(t)
This is always true, so x = t is always a root of the equation. This means g(t) ≥ 1 for all t.
Step 5: Simplify the equation for x = t
For the case when x = t, the equation becomes:
f(x) = f'(t)(x-t) + f(t)
When x = t, the right side equals f(t), so this is always satisfied. This means t is always a root.
Step 6: Find the value of a
Let's analyze the equation more carefully. When x ≠ t, we can rewrite:
(x² - ax)/e^x = -t² + (2+a)t - a/e^t + (t² - at)/e^t
Multiplying by e^x/e^t:
(x² - ax) = -t² + (2+a)t - a·e^(x-t) + (t² - at)·e^(x-t)
For x = 5, the equation becomes trivial (5 is always a root). For x ≠ 5, we need to analyze how many additional roots exist.
Given that g(5) + lim_{t→5} g(t) = 5, and knowing that t is always a root, we can deduce:
- g(5) is the number of roots when t = 5
- lim_{t→5} g(t) is the limiting number of roots as t approaches 5
Since their sum is 5, and we know one root is always t itself, we need to determine the value of a that gives us this condition.
For t = 5, the coefficient [-15 + 4a] must be zero for the equation to have a specific pattern of roots. This gives us:
-15 + 4a = 0
4a = 15
a = 15/4 = 3.75
Step 7: Verify discontinuities in g(t)
With a = 15/4, we need to find values of k where lim_{t→k⁻} g(t) ≠ lim_{t→k⁺} g(t).
For this to happen, the number of roots must change as t crosses k. This occurs when:
- The coefficient of (x-t) in our equation changes sign
- Or when the constant term changes sign
The coefficient is [-t² + (2+a)t - a] = [-t² + (2+15/4)t - 15/4] = [-t² + (8+15)/4·t - 15/4] = [-t² + (23/4)t - 15/4]
This equals zero when:
-t² + (23/4)t - 15/4 = 0
4t² - 23t + 15 = 0
Using the quadratic formula:
t = (23 ± √(23² - 4·4·15))/8
t = (23 ± √(529 - 240))/8
t = (23 ± √289)/8
t = (23 ± 17)/8
This gives t = 5 or t = -1/2
So k = 5 and k = -1/2 are the values where g(t) might be discontinuous.
Step 8: Calculate q/p
The sum of these values is 5 + (-1/2) = 9/2 = 4.5
So q/p = 9/2, where p = 2 and q = 9 are coprime natural numbers.
Therefore, p + q = 2 + 9 = 11.