Equations with the Unknown in the Denominators
Equations with the Unknown in the Denominators
Valid real solutions of a/(x − r) + b/(x − s) = c, with the excluded values x = r and x = s rejected.
- 265 bytes
- COMP mode
Worked examples
Example 1
Consider the equation 3/(x − 1) − 2/(x + 1) = 1.
(a) Write down the values that x cannot take.
(b) Find all the real solutions of the equation, and check each candidate against the original equation.
Answer
Standard solution (without a calculator)
- Restrictions first: the denominators are x − 1 and x + 1, so x − 1 ≠ 0 and x + 1 ≠ 0, i.e. x ≠ 1, −1. These restrictions stay after clearing the denominators.
- Clear denominators in the domain: multiplying both sides by (x − 1)(x + 1) gives 3(x + 1) − 2(x − 1) = (x − 1)(x + 1). The left side is 3x + 3 − 2x + 2 = x + 5 and the right side x² − 1, so x + 5 = x² − 1.
- Factorise for the candidates: x² − x − 6 = 0, i.e. (x − 3)(x + 2) = 0, so the candidates are x = 3 and x = −2.
- Check each one: neither 3 nor −2 is an excluded value. x = 3 gives 3/2 − 2/4 = 1 and x = −2 gives 3/(−3) − 2/(−1) = −1 + 2 = 1. Both are valid: x = −2 or x = 3.
- Match the five inputs: writing the second term as (−2)/(x − (−1)) gives a = 3, r = 1, b = −2, s = −1, c = 1. The program shows the count 2, then −2 and 3 in the order of its calculation.
Example 2
A boat travels at v km/h in still water. The river flows at 2 km/h, and v > 2. The time the boat takes to travel 10 km upstream equals the time it takes to travel 15 km downstream. Assume that the boat’s speed in still water and the speed of the current are the same on both trips.
(a) Express the time of each trip in terms of v, and write down an equation for v.
(b) Find the speed of the boat in still water, and check the times of the two trips.
Answer
Standard solution (without a calculator)
- Speeds and times by direction: upstream the speed is v − 2 km/h and downstream v + 2 km/h. Time = distance ÷ speed, so the times are 10/(v − 2) and 15/(v + 2) hours. As v > 2, both denominators are positive.
- Equal times: 10/(v − 2) = 15/(v + 2), i.e. 10/(v − 2) − 15/(v + 2) = 0. As an equation, v ≠ 2, −2; the real situation needs the stronger condition v > 2.
- Clear denominators and solve: multiplying by (v − 2)(v + 2) gives 10(v + 2) = 15(v − 2), so 10v + 20 = 15v − 30, 5v = 50 and v = 10.
- Check the root and the times: v = 10 is neither 2 nor −2 and satisfies v > 2. Upstream 10/(10 − 2) = 5/4 hours; downstream 15/(10 + 2) = 5/4 hours. The times agree, so the speed is 10 km/h and each trip takes 1 hour 15 minutes.
- Match the program and the conditions: enter 10, 2, −15, −2, 0 for a, r, b, s, c. With c = 0 the cleared equation is linear; the program shows 1, 10. The condition v > 2 and the trip times are checked on paper; the program does not show them.
Example 3
Let k = 0. Which of the following gives all the real solutions of the equation k/(x − 3) + 2/(x − 1) = 1?
A. x = 1
B. x = 3
C. x = 1 or x = 3
D. There is no real solution.
Answer
Standard solution (without a calculator)
- A zero numerator keeps the restriction: the denominators are x − 3 and x − 1, so x ≠ 3, 1. Even with k = 0, 0/(x − 3) equals 0 only for x ≠ 3; at x = 3 it is 0/0 and the equation is undefined.
- Put k = 0 and clear denominators: for x ≠ 3, 1, multiplying by (x − 3)(x − 1) gives 0(x − 1) + 2(x − 3) = (x − 3)(x − 1), i.e. 2x − 6 = x² − 4x + 3, so x² − 6x + 9 = 0 and (x − 3)² = 0.
- Candidates and valid roots: the only candidate is x = 3, a double root of the quadratic but an excluded value of the equation. Rejecting it leaves no valid root, so there is no real solution: the answer is D. Options A, B and C each contain a value at which the equation is undefined.
- Another check: in the domain, k = 0 simplifies the equation to 2/(x − 1) = 1, giving the candidate x = 3 — but x ≠ 3 still holds, so it cannot be kept. Do not replace the equation by one with a larger domain.
- Match the program: enter 0, 3, 2, 1, 1 for a, r, b, s, c. The zero-numerator branch finds that the candidate is an excluded value and shows only the count 0, without showing 3 first. This 0 is a count, not the solution x = 0.
When to use it
DSE questions on equations with the unknown in a denominator are solved by clearing the denominators, but any candidate that makes a denominator 0 must be rejected. 042 solves a/(x − r) + b/(x − s) = c: it keeps x ≠ r and x ≠ s, tells two roots, a double root, a linear equation, no solution and an identity apart, and shows only the valid real solutions. Rejected candidates get no screen of their own.
What it is for
- Equations of the form a/(x − r) + b/(x − s) = c
- Quadratic, linear and degenerate cases, including a zero numerator
- Rejecting candidates that make a denominator 0
What you enter
- A = a, X = r, B = b, Y = s, C = c, in this order
- r and s make the denominators 0: x + 1 = x − (−1), so enter −1
- A negative numerator with its sign: −2/(x + 1) has b = −2
What it shows
- First the number of valid real solutions: 0, 1 or 2 (−1 = every allowed x)
- After 1, press EXE for the solution; after 2, press EXE twice for both
- After 0 or −1 the program has already ended
Check before use
- The example uses an empty P1; the set-up keys MODE 6 → 3 → 1 clear P1. If P1 holds a program you need, use another empty area: MODE 6 → 1 (EDIT) → area number → 1 (COMP), and AC after entering.
- First write the equation as a/(x − r) + b/(x − s) = c: move a fraction from the right-hand side to the left with its sign changed, and enter 0 for c if nothing else remains. Enter all five values in the order a, r, b, s, c (prompts A?, X?, B?, Y?, C?) every time; do not keep values with a blank EXE, because the program reuses some variables for its working.
- r and s are the values that make the denominators 0: for x + 1 = x − (−1) enter −1. A negative numerator is entered with its sign: −2/(x + 1) has b = −2.
- The equation needs x ≠ r and x ≠ s. A zero numerator still does not allow a zero denominator; when r = s there is only one excluded value. Roots found after clearing the denominators keep these restrictions.
- The first result is the number of valid real solutions: 0 none, 1 one distinct solution, 2 two different solutions; a double root is shown once. −1 is a special code: every real number allowed by the denominators is a solution. A result 1 followed by 0 means one solution, x = 0; only a first result of 0 means no real solution.
- With 1, press EXE once for the solution; with 2, press EXE for the first and again for the second. With 0 or −1 the program has ended. The two solutions are not sorted. EXE after the end runs the program again; AC leaves.
- Only real roots and the excluded values are checked. An application question still needs its own conditions, e.g. a speed greater than the current or a positive time.
- Results are numbers, not surds or factorisations. With very large or very small numbers, two nearly equal roots, or a root very close to an excluded value, simplify first and check with the original equation at higher precision; two different numbers may look the same on the screen.
- The program sets Norm 1, scales internally and restores Norm 1; there is no trigonometry, so the angle unit does not matter. Run in COMP
Checking access…