HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Earth and Environmental Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Problems
  2. /The equation eˣ + x = 4 has one root, between 1 and 1.5…
HardMathematicsHigh School (11–12)Numerical MethodsNumericalOlympiad
+1 more exams
A-Level
OlympiadA-Level

The equation eˣ + x = 4 has one root, between 1 and 1.5…

StemPy LabContributed by StemPy Lab

Try it on paper first. A hint, the key idea and the worked solution are here when you need them.

The equation ex+x=4e^x + x = 4ex+x=4 has one root, between 111 and 1.51.51.5. A student wants it to within 10−610^{-6}10−6 and compares two methods.

First, use Newton's method from x0=1x_0 = 1x0​=1. Find x1x_1x1​ to four decimal places, and the root to four decimal places. Count the steps until the error is below 10−610^{-6}10−6. Then work out how many bisection steps on [1,1.5][1, 1.5][1,1.5] would make the width of the interval less than 10−610^{-6}10−6. Comment on the two counts.

Check your answer

Work it out on paper, then type your number. The answer itself stays hidden.

Need a reminder? The key ideaShowHide

Newton's method:

xn+1=xn−f(xn)f′(xn).\displaystyle x_{n+1} = x_n - \dfrac{f(x_n)}{f'(x_n)}.xn+1​=xn​−f′(xn​)f(xn​)​.

Near a simple root the error is squared at each step, roughly. It fails at a flat tangent, can cycle or run away, and slows to linear speed at a repeated root.

The worked solution

Check an answer or open a hint to unlock the worked solution.

Have you tried it?

Work it out on paper first. It is fine to get stuck or make a mistake: that is how we learn. When you are ready, go through the solution one step at a time, and check each step against your own.

Step 1. The first Newton step. f(1)=e−3≈−0.2817f(1) = e - 3 \approx -0.2817f(1)=e−3≈−0.2817 and f′(1)=e+1≈3.7183f'(1) = e + 1 \approx 3.7183f′(1)=e+1≈3.7183. So x1≈1+0.0758=1.0758x_1 \approx 1 + 0.0758 = 1.0758x1​≈1+0.0758=1.0758.

Step 2. More steps. The root is ≈1.0737\approx 1.0737≈1.0737. The errors are about 2.0×10−32.0 \times 10^{-3}2.0×10−3 after one step, 1.5×10−61.5 \times 10^{-6}1.5×10−6 after two and 9×10−139 \times 10^{-13}9×10−13 after three. So 333 steps are needed.

Step 3. Bisection. We need 2n>0.510−6=5×1052^n > \dfrac{0.5}{10^{-6}} = 5 \times 10^52n>10−60.5​=5×105. Since 218=262 1442^{18} = 262\,144218=262144 and 219=524 2882^{19} = 524\,288219=524288, the answer is 191919 steps.

Step 4. Comment. Newton needs about a sixth as many steps, but each one needs f′f'f′. Bisection needs only signs, and it cannot fail once it starts.

Answer: x1≈1.0758x_1 \approx 1.0758x1​≈1.0758; root ≈1.0737\approx 1.0737≈1.0737; 333 Newton steps against 191919 bisection steps.

Log in to save this for later
← All Problems
← The cubic f(x) = (x - 1)²(x + 2) = x³ - 3x + 2 has a double root at x = 1…A test driver starts from rest and records the speed of a car every 10 s for one minute: Use the… →
More onNumerical Methods

Discussion (0)

Log in to join the discussion.

Loading…

Learn it in

  1. The Newton-Raphson methodNumerical Solution of Equations

More on this topic

  1. The integral ∫₀¹ 4/(1 + x²) dx is exactly π, because d/dx tan⁻¹ x = 1/(1 + x²)…Advanced
  2. Prove that Simpson's rule with 2 strips is exact for every cubic f(x) = A + Bx + Cx² + Dx³ on [-h…Advanced
  3. A hydrologist measures the depth of a river at points 2 m apart across a channel 12 m wide: Use…Hard
An engineer must find ∫₁³ ln x dx with an error of less than 0.0005, and wants to know how much…Hard
  • Let f'' > 0 on [a, b]. Prove that on one strip, M₁ < ∫aᵇ f dx < T₁…Advanced
  • All problems on this topic →