# How do mathematicians work with non-linear equations?

I'm asking this as an absolute beginner (second year undergrad student). Suppose I write an equation out of the blue such as $$\log(\tan(\sin x + 23e^{2x+83} +\tan x))= 1000$$, which is non-linear, how would a mathematician attempt to solve it? I am encountering subjects which get more and more abstract(linear algebra, group theory) and I wonder if they are applicable to such problems.

• I doubt any mathematician knows how to solve this equation.
– Mark
Commented May 24, 2023 at 9:42
• We can technically make it $\sin(x) + 23e^{2x+83} +\tan(x)=\arctan(10^{1000})$, but that sounds kind of absurd ðŸ™‚ Commented May 24, 2023 at 9:43
• You can use methods such as Newton's method to compute an approximate solution. Commented May 24, 2023 at 9:44
• In general, a random equation you write up might not have a "pretty" solution, however, it is possible to get an approximate solution with arbitrary precision. Namely you can use Newton's method: Let $f(x)$ be the left side of the equation. Then you can solve $f(x)=0$ by taking an initial value $x_0$, and iterating $x_{k+1} \leftarrow x_k-\frac{f(x_k)}{f'(x_k)}$, where $f'$ is the derivative of the function. The more iterations, the better the precision. To get other solutions, you can try starting from different initial $x_0$ values. Commented May 24, 2023 at 9:55
• An alternative to Newton's method (if let's say, $f$ is non-differentiable), is the slower, Binary search method. Let's say $f(a)>0$ and $f(b)<0$. Then if $f$ is continuous, then there must be a value between $a$ and $b$ (call it $c$), where $f(c)=0$. You can keep halving the interval $[a,b]$ and choose the interval where the function value on the left side is $>0$, and the function value of the right side is $<0$, to find an approximation for $c$. Commented May 24, 2023 at 9:58

The computer will give you some numbers $$x$$ that you can put into the formula you want to solve, and you will see that the numbers solves the equation, such that the left hand side equals 1000.000000 within numerical precision.