inverse of x/(x-4)
1) For a function ax + bcx + d, two inputs u and v with the same output satisfy (ad -b·c)·(u -v) = 0 after multiplying by the denominators. Here, -4 = -4 ≠ 0, so u = v. The function therefore has an inverse on its range
Express input x in terms of output y: y = xx -4
⇥1.1) Let's solve in ℝ: xx -4 = y
⇥1.2) Let's add fractions: xx -4 -y = 0
⇥ⓘ To add fractions, put them over the same denominator, then add the numerators: xx -4 -y = x -y·(x -4)x -4
⇥ x -y·(x -4)x -4 = 0
⇥A quotient is zero if and only if its numerator is zero and its denominator is not: we solve the numerator equal to 0
⇥⇥1.2.1) Let's solve in ℝ: x -y·(x -4) = 0
⇥⇥ⓘ Expand by multiplying each term inside the parentheses: -y·(x -4) = -(yx + y·(-4))
⇥⇥ x -(yx + y·(-4)) = 0
⇥⇥ⓘ A minus sign before a parenthesis changes the sign of each of its terms: -(yx + y·(-4)) = -y·x -y·(-4)
⇥⇥ x -y·x -y·(-4) = 0
⇥⇥ⓘ Two minus signs cancel out: -y·(-4) = 4y
⇥⇥ x -yx + 4y = 0
⇥⇥ x -yx = -4y
⇥⇥ (1 -y)·x = -4y
⇥⇥ⓘ Both sides are divided by (1 -y), which must be nonzero: y ≠ 1
⇥⇥ x = -4y1 -y
⇥⇥ x = -4y1 -y
⇥⇥ⓘ The minus sign of the fraction goes into the numerator or the denominator, changing the sign of each of its terms: -4y1 -y = 4y-1 + y
⇥⇥ x = 4y-1 + y
⇥⇥Solution found: x = 4yy -1
⇥⇥1.2.2) To prevent the denominator from being zero, let's solve: x -4 ≠ 0
⇥⇥Domain condition: x ≠ 4
Renaming the output as x, the inverse is 4xx -1, with domain x ≠ 1, the condition found when isolating the input
▶Inverse function:   4xx -1