Doug C. answered 12/23/25
Math Tutor with Reputation to make difficult concepts understandable
f(x) = ex/5 - x2; the domain of this function is all real numbers. To determine relative max and min set the 1st derivative equal to zero.
f'(x) = ex/5 - 2x
ex/5 - 2x = 0; this equation cannot be solved algebraically. The post suggests to use Newton's Method with a starting value x0 = 0.
Let's define f'(x) as g(x) = ex/5 - 2x
g'(x) = ex/5 - 2
N(x) = x - [g(x)/g'(x)] is the function for Newton's Method.
x1 = N(x0) = N(0) = 0 - [g(0)/g'(0)] = - [(1/5)/((1/5) - 2)] = 1/9.
Of course you could continue:
x2 = N(x1) = N(1/9) ≈ 0.1118325
Turns out this is the only x-value where a relative max occurs.
g(x) also equals zero at approximately: 3.577152. A relative min occurs at that x-value.
This Desmos graph shows the original function along with a graph of f'(x). It also shows a few more iterations of Newton's Method:
desmos.com/calculator/y0az95jmyf