How to Solve $8n^2=64n\log_2(n)$
At a glance
- 1. Check the domain
Because the logarithm requires n to be positive, restrict attention to n greater than zero.
- 2. Simplify the equation
Divide both sides by 8n to get n equals 8 times log base 2 of n.
- 3. Find the number of roots
Compare the two sides using a function; its single minimum is below zero, so there are two positive real roots.
- 4. Approximate the roots
Use a numerical method to obtain roots near 1.1000 and 43.5593.
The logarithm is defined only when , so is not a possible solution. For positive , divide the equation by and solve the simpler equation that remains. It does not have a simple integer solution, but it has two positive real solutions that can be found numerically.
Reduce the equation
Start with
Since , division by is valid:
This is a transcendental equation: the variable appears both outside and inside a logarithm. In general, you cannot solve it using only the usual algebraic operations and logarithm rules. First determine how many solutions exist, then approximate them.
Show that there are two positive solutions
Define a function whose zeros are the solutions:
The equation is equivalent to . Using , differentiate:
The derivative is zero at
For smaller positive , ; for larger , . Thus decreases to one minimum and then increases. Also, tends to positive infinity as approaches zero from above, and it tends to positive infinity as grows without bound. The minimum is negative, so the graph crosses zero twice.
For example, , while . This confirms a crossing on the left side of the minimum. On the right, and , confirming another crossing. Because there is only one minimum, these are the only two roots.
Approximate the solutions
A calculator or numerical solver can find roots of . Newton’s method is one option. Starting with an estimate , update it using
Use an initial estimate near for the smaller root and one near for the larger root. The results are
Rounded to four decimal places, the solutions are and . Substituting either value into gives equality up to rounding error. The two solutions are easy to miss if you only test values near one of the roots.
Exact form using the Lambert W function
There is an exact expression using the Lambert W function, defined by . Rewrite the equation as
Rearranging gives multiplied by its exponential equal to . Therefore,
The argument lies between and , where the Lambert W function has two real branches. The branch gives the smaller root, and gives the larger one. This notation is useful for an exact formula, but numerical approximations are usually more practical in an algebra or precalculus setting.
Common mistakes
- Keeping as a candidate: The original logarithm is undefined at zero.
- Dividing by without checking the domain: Here division by is safe only because the logarithm already requires .
- Assuming there is only one answer: The function decreases and then increases, producing two positive roots.
- Treating a numerical approximation as an exact value: Values such as and are rounded; they are not exact roots.
- Assuming an integer is required: Over the positive reals there are two solutions. If the problem requires integer , neither root is an integer, so there are no integer solutions.
References
Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.