# Beginning Numerical Analysis question. Still calculus

• jaqueh
In summary, you tried using Rolle's theorem, the mean value theorem, and numerically, but you didn't get a solution.

## Homework Statement

Show f(x)=(x−2)sinxln(x+2) has f'(x)=0 somewhere on [-1,3]

## The Attempt at a Solution

I tried using Rolle's theorem, but f(-1)≠f(3). Then I tried the mean value theorem, but didn't get 0 either.

Check some obvious values in between -1 and 3. Maybe x=0 and x=2? You are giving up too easily.

jaqueh said:

## Homework Statement

Show f(x)=(x−2)sinxln(x+2) has f'(x)=0 somewhere on [-1,3]

## The Attempt at a Solution

I tried using Rolle's theorem, but f(-1)≠f(3). Then I tried the mean value theorem, but didn't get 0 either.

You can find f'(x) analytically, so maybe you should do that and then apply the intermediate value theorem.

1 person
jaqueh said:

## Homework Statement

Show f(x)=(x−2)sinxln(x+2) has f'(x)=0 somewhere on [-1,3]

## The Attempt at a Solution

I tried using Rolle's theorem, but f(-1)≠f(3). Then I tried the mean value theorem, but didn't get 0 either.

Well if it's numerical analysis, why are you using those theorems? Suppose it was some function that you didn't even know what the form was, how could you show the derivative is zero somewhere in that interval? If it was mine, I'd generate "numerically" since this is numerical analysis, a set of equally spaced points in that interval and then compute the value of the function and then I'd inspect the list for the "monotonicity" change, that is, when the numbers are increasing then decreasing or vice-a-versa. However if there is an inflection point, the derivative could still be zero without this change in monotonicity. But we could at least rule out the former case this way. Anyway, lots of tough problems won't give you the luxury of using nice theorems and you'll have to muscle-through the data in this way or another.

I got an idea, why don't you write a short Mathematica program to generate these numbers then pick out the monotonicity change?

I got it, make [0,1] a subset of [-1,3] then i can use Rolle's theorem and then determine that there must be a c in [0,1] so there's got to be a c in [-1,3]

jaqueh said:
I got it, make [0,1] a subset of [-1,3] then i can use Rolle's theorem and then determine that there must be a c in [0,1] so there's got to be a c in [-1,3]

What does the interval [0,1] do for you?

LCKurtz said:
What does the interval [0,1] do for you?

sorry i meant for the interval to be [0,2]
then i get f(0)=f(2)=0 => rolle's

Last edited:
jaqueh said:
sorry i meant for the interval to be [0,2]
then i get f(0)=f(2)=0 => rolle's

That's better.

1 person

## What is numerical analysis?

Numerical analysis is the study of algorithms and procedures used to solve mathematical problems with the help of computers or calculators. It involves the use of numerical methods to approximate the solutions of problems that cannot be solved analytically.

## Why is numerical analysis important in calculus?

Numerical analysis is important in calculus because it allows us to find approximate solutions to problems that cannot be solved exactly. This is especially useful in cases where the functions involved are too complex to be integrated or differentiated analytically.

## What are some common numerical methods used in calculus?

Some common numerical methods used in calculus include the Newton-Raphson method for finding roots of equations, the Trapezoidal Rule and Simpson's Rule for approximating integrals, and the Euler method for solving differential equations.

## How accurate are the results obtained from numerical analysis?

The accuracy of results obtained from numerical analysis depends on several factors such as the chosen method, the precision of the computer or calculator used, and the complexity of the problem. In general, the more iterations and refinements used, the more accurate the results will be.

## What are the limitations of numerical analysis in calculus?

Numerical analysis is limited by the fact that it can only provide approximate solutions, which may not always be accurate. It also relies on the use of computers and calculators, which can introduce rounding errors and other sources of error. Additionally, some problems may require a large number of iterations, making the process time-consuming.