I was wondering if there was a general way to solve an equation like this: $$2^x-3^x+4=0.$$ Can this be done using logarithms? If not, then is there a way to solve it that doesn't involve "guessing" and approximations? The Desmos graphing calculator gives me an answer that is about $1.8453$, but I'm sure the calculator is using Newton's method or something similar to find the zero. I would like to know if logs can be used here.
2026-05-17 06:17:47.1778998667
Bumbble Comm
On
How do I solve an exponential equation like $2^x-3^x+4=0$?
395 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
There are 2 best solutions below
0
Bumbble Comm
On
We can rewrite our equation in the following form. $$\left(\frac{2}{3}\right)^x+\frac{4}{3^x}=1$$ and since $f(x)=\left(\frac{2}{3}\right)^x+\frac{4}{3^x}$ decreases, we see that our equation has maximum one root.
But $f(0)>1$, $f(2)<1$ and $f$ is a continuous function,
which says that our equation has an unique root on $(0,2)$.
Related Questions in CALCULUS
- Equality of Mixed Partial Derivatives - Simple proof is Confusing
- How can I prove that $\int_0^{\frac{\pi}{2}}\frac{\ln(1+\cos(\alpha)\cos(x))}{\cos(x)}dx=\frac{1}{2}\left(\frac{\pi^2}{4}-\alpha^2\right)$?
- Proving the differentiability of the following function of two variables
- If $f ◦f$ is differentiable, then $f ◦f ◦f$ is differentiable
- Calculating the radius of convergence for $\sum _{n=1}^{\infty}\frac{\left(\sqrt{ n^2+n}-\sqrt{n^2+1}\right)^n}{n^2}z^n$
- Number of roots of the e
- What are the functions satisfying $f\left(2\sum_{i=0}^{\infty}\frac{a_i}{3^i}\right)=\sum_{i=0}^{\infty}\frac{a_i}{2^i}$
- Why the derivative of $T(\gamma(s))$ is $T$ if this composition is not a linear transformation?
- How to prove $\frac 10 \notin \mathbb R $
- Proving that: $||x|^{s/2}-|y|^{s/2}|\le 2|x-y|^{s/2}$
Related Questions in ALGEBRA-PRECALCULUS
- How to show that $k < m_1+2$?
- What are the functions satisfying $f\left(2\sum_{i=0}^{\infty}\frac{a_i}{3^i}\right)=\sum_{i=0}^{\infty}\frac{a_i}{2^i}$
- Finding the value of cot 142.5°
- Why is the following $\frac{3^n}{3^{n+1}}$ equal to $\frac{1}{3}$?
- Extracting the S from formula
- Using trigonometric identities to simply the following expression $\tan\frac{\pi}{5} + 2\tan\frac{2\pi}{5}+ 4\cot\frac{4\pi}{5}=\cot\frac{\pi}{5}$
- Solving an equation involving binomial coefficients
- Is division inherently the last operation when using fraction notation or is the order of operation always PEMDAS?
- How is $\frac{\left(2\left(n+1\right)\right)!}{\left(n+1\right)!}\cdot \frac{n!}{\left(2n\right)!}$ simplified like that?
- How to solve algebraic equation
Related Questions in FUNCTIONS
- Functions - confusion regarding properties, as per example in wiki
- Composition of functions - properties
- Finding Range from Domain
- Why is surjectivity defined using $\exists$ rather than $\exists !$
- What are the functions satisfying $f\left(2\sum_{i=0}^{\infty}\frac{a_i}{3^i}\right)=\sum_{i=0}^{\infty}\frac{a_i}{2^i}$
- Lower bound of bounded functions.
- Does there exist any relationship between non-constant $N$-Exhaustible function and differentiability?
- Given a function, prove that it's injective
- Surjective function proof
- How to find image of a function
Related Questions in LOGARITHMS
- Confirmation of Proof: $\forall n \in \mathbb{N}, \ \pi (n) \geqslant \frac{\log n}{2\log 2}$
- Extracting the S from formula
- How to prove the following inequality (log)
- Rewriting $(\log_{11}5)/(\log_{11} 15)$
- How to solve this equation with $x$ to a logarithmic power?
- Show that $\frac{1}{k}-\ln\left(\frac{k+1}{k}\right)$ is bounded by $\frac{1}{k^2}$
- Why do we add 1 to logarithms to get number of digits?
- Is my method correct for to prove $a^{\log_b c} = c^{\log_b a}$?
- How to prove the inequality $\frac{1}{n}+\frac{1}{n+1}+\cdots+\frac{1}{2n-1}\geq \log (2)$?
- Unusual Logarithm Problem
Related Questions in EXPONENTIAL-FUNCTION
- How to solve the exponential equation $e^{a+bx}+e^{c+dx}=1$?
- derive the expectation of exponential function $e^{-\left\Vert \mathbf{x} - V\mathbf{x}+\mathbf{a}\right\Vert^2}$ or its upper bound
- How do you calculate the horizontal asymptote for a declining exponential?
- Intersection points of $2^x$ and $x^2$
- Integrate exponential over shifted square root
- Unusual Logarithm Problem
- $f'(x)=af(x) \Rightarrow f(x)=e^{ax} f(0)$
- How long will it take the average person to finish a test with $X$ questions.
- The equation $e^{x^3-x} - 2 = 0$ has solutions...
- Solve for the value of k for $(1+\frac{e^k}{e^k+1})^n$
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
geometry
circles
algebraic-number-theory
functions
real-analysis
elementary-set-theory
proof-verification
proof-writing
number-theory
elementary-number-theory
puzzle
game-theory
calculus
multivariable-calculus
partial-derivative
complex-analysis
logic
set-theory
second-order-logic
homotopy-theory
winding-number
ordinary-differential-equations
numerical-methods
derivatives
integration
definite-integrals
probability
limits
sequences-and-series
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
Only numerical method will do the job.
The simplest way would be to write $$f(x)=\log(3^x)-\log(4+2^x)=0$$ that is to say $$f(x)=x\log(3)-\log(4+2^x)=0$$ for which Newton method would converge very fast even (being lazy) starting using $x_0=0$) $$\left( \begin{array}{cc} n & x_n \\ 0 & 0 \\ 1 & 1.6765277714583058979 \\ 2 & 1.8431477981442746026 \\ 3 & 1.8452917833976451640 \\ 4 & 1.8452921405902699713 \\ 5 & 1.8452921405902798862 \end{array} \right)$$
Edit
Just for the fun of it, let us consider the case of $$a^x-(a+1)^x+(a+2)=0$$ what, as before, we can write as $$f(x)=x \log(a+1)-\log(a+2+a^x)=0$$
From a numerical point of view, it is amazing to notice that, for all $a \geq 2$, the solution is $1.797 \leq x \leq 2.000$. So, let us use, for any $a$, $x_0=\frac 95$. This gives as first iterate of Newton method $$x_1=\frac{9}{5}-\frac{\frac{9}{5} \log (a+1)-\log \left(a^{9/5}+a+2\right)}{\log (a+1)-\frac{a^{9/5} \log (a)}{a^{9/5}+a+2}} $$
The following table gives, for a few values of $a$, the first iterate of Newton method as well as the exact solution (which is reached using a couple of Newton iterations). $$\left( \begin{array}{ccc} a & x_1 & \text{solution} \\ 2 & 1.84513 & 1.84529 \\ 3 & 1.81103 & 1.81105 \\ 4 & 1.80050 & 1.80050 \\ 5 & 1.79759 & 1.79759 \\ 6 & 1.79768 & 1.79768 \\ 7 & 1.79908 & 1.79908 \\ 8 & 1.80105 & 1.80105 \\ 9 & 1.80325 & 1.80326 \\ 10 & 1.80551 & 1.80553 \end{array} \right)$$ which does not seem to be too bad !