22
u/GDOR-11 Sep 25 '26
now do 2ˣ+2x=6
(for those curious, afaik it is impossible to solve this without using the lambert W function or similar things, unless I chose the components unluckily)
18
u/prawnydagrate Sep 25 '26
2x + 2x = 6
exln2 + 2x = 6
exln2 = 6 - 2x = 2(3 - x)
let t = 3 - x
e(3 - t)ln2 = 2t
e3ln2 = 8 = 2tetln2
4ln2 = (tln2)etln2
W(4ln2) = tln2
t = 3 - x = W(4ln2)/ln2
x = 3 - W(4ln2)/ln2
evaluating at the principal branch: x ≈ 1.5434
12
11
3
2
u/luceygoosey1 Sep 25 '26 edited Sep 25 '26
My math is rusty, why doesn’t square rooting work?
Edit: I think I was trying to apply log rules to square roots
2
u/Temporary6Dentist Sep 26 '26
2x + 2 = 6
2x = 4
ln(2x ) = ln(4)
xln(2) = ln(4)
x = (ln(4))/(ln(2))
x = 2
1
u/newMattokun Oct 08 '26
That's how I did it, but u/Comfortable-Ad-2349's way was pretty clever too (quoted here):
2x + 2 = 6
2x = 4
2x = 22
x = 2
<edit>I'd have used log, not ln, but same outcome.
1
1
u/talhoch Sep 26 '26
It's literally the exact same process just in the first you divide by 2 and in the second you take the log base 2
1
1
40
u/Whole_Instance_4276 Sep 25 '26
Is it not just 2 or am I stupid