Please explain this calculus solution

In summary: I am going to search for a link to the Theorem of Calculus for future reference. Thanks for the input. In summary, the conversation discussed a problem where f'(x) = cos(x^3) and f(1) = 2 and the goal is to find f(0). One solution method involves using the formula f(0) = f(1) + f(0) - f(1) and solving the indefinite integral using a numerical method. This method is used because the indefinite integral of cos(x^3) cannot be found in closed form. Another solution involves using the Theorem of Calculus. The conversation also touched on the topic of numerical methods for integration.
  • #1
barryj
854
51
Homework Statement
I have this problem and solution. I do not understand the solution, in particular how the integral fits into the solution. Is this a form of the 2nd theorem of calculus perhaps? I am confused.
if f'(x) = cos (x^3) and f(1) = 2 find f(0)
Relevant Equations
I have attached the problem statement and he solution.
img034.jpg
If f'(x) were a simpler function like f'(x) = cos(x) I would say

f(x) = sin(x) + C and then evaluate C by knowing that 2 = sin(1) + C and then C would equal 2-sin(1)
the f(x) = sin(x) + 2 - sin(1),
f(0) = sin(0) + 2 - sin(1) = 0 + 2 -.841 = 1.58
However the more complicated problem has f'(x) - cos(x^3) and it is solved using an integral expression that is evaluated with a calculator.
I do not understand this integral method. Please help or point me to a link where I can find out what is going on.
 
Last edited by a moderator:
Physics news on Phys.org
  • #2
They don't really figure out the integral, so they leave the integral there. This is more about how to use the fact that f(1)=2. They start their integral at x=1 so that the integral value is 0 there and the total of the integral and constant is 2. Then, to get the integral value at 0, they integrate the (unsolved) integral down to x=0. That is their final answer. It is correct and accurate, but the numerical value is unknown because they never really solve the integral.

EDIT: Sorry, they do get a numerical value in the last step by some unexplained technique.
 
  • #3
Might be easier, if you look at it like$$\begin{align*}

df &= f'(\psi) d\psi \\ \\

\int_{f(1)}^{f(0)} df &= \int_1^0 f'(\psi) d\psi \\ \\

f(0) - f(1) &= \int_1^0 f'(\psi) d\psi = \int_1^0 \cos{(\psi^3)} d\psi
\end{align*}$$
 
  • Like
Likes hutchphd
  • #4
From post #1:
$$f(0) = 2 + \int_1^0 \cos(x^3)~ds \approx 2 + (-0.931704) = 1.068296$$
The integral approximation is from wolframalpha - integrate cos(x^3) dx from x=1 to 0 - Wolfram|Alpha

I'm fairly sure that the intent in this problem is that the integral be approximated numerically.

One other thing: why are the integration limits not in the usual order, with the smaller number at the bottom and the larger one at the top?
 
  • #5
Mark44 said:
One other thing: why are the integration limits not in the usual order, with the smaller number at the bottom and the larger one at the top?

You can always change it to ##2- \int_0^1 f'(\psi) d\psi## if you want
 
  • #6
I have attached a file solving a simpler problem two different ways. I learned to solve the problem the first way and this problem uses the second method. I need to get my head around how the second method works. Factchecker, yes the integral was solved using a TI84 calculator. I did not mention this but Mark 44 did.
 

Attachments

  • img036.jpg
    img036.jpg
    67.2 KB · Views: 192
  • #7
etotheipi said:
You can always change it to ##2- \int_0^1 f'(\psi) d\psi## if you want
Yes, I'm well aware of that. My question was why the OP wrote it as shown in post 1.
 
  • #8
barryj said:
Homework Statement:: I have this problem and solution. I do not understand the solution, in particular how the integral fits into the solution. Is this a form of the 2nd theorem of calculus perhaps? I am confused.
if f'(x) = cos (x^3) and f(1) = 2 find f(0)
Relevant Equations:: I have attached the problem statement and he solution.

View attachment 273699If f'(x) were a simpler function like f'(x) = cos(x) I would say

f(x) = sin(x) + C and then evaluate C by knowing that 2 = sin(1) + C and then C would equal 2-sin(1)
the f(x) = sin(x) + 2 - sin(1),
f(0) = sin(0) + 2 - sin(1) = 0 + 2 -.841 = 1.58
However the more complicated problem has f'(x) - cos(x^3) and it is solved using an integral expression that is evaluated with a calculator.
I do not understand this integral method. Please help or point me to a link where I can find out what is going on.

They chose the limits of the integral so that both ##f(0)## (goal) and ##f(1)## (known value) pop out as a solution.
In fact, the integral from 1 to 0 gives ##f(0)-f(1)## as a result, so that the solution expression is actually ##f(0)=f(1)+f(0)-f(1)## , which is pretty obvious when written like that.
P.S. You need to solve like that as the indefinite integral ##cos(x^3)## doens't have a closed-form antiderivative (you can't find ##f(x)+C## ). Therefore, a numerical method is applied to solve the definite integral between two limits.
 
Last edited:
  • Like
Likes Delta2
  • #9
My problem with this solution is that I don't understand the "formula" that Mark44 (above) showed. I see what he presented but I don't have a feel for what is going on. I understand the closed form solution but not this numerical solution. What would I ask if I Googled the topic? Numerical solution to an anti derivititive. My calculus books are so old I guess that I have not seen this mentioned. Anyway, I am continuing to try and compare simpler problems to better my understanding.
 
  • #10
Are you asking about the general concept of an exact integral, with the integral end-points known, or about the technique of numerically determining the exact integral? There are several different numerical techniques for integration. That is an entire subject on its own. It is studied within numerical analysis.
 
  • #11
Actually, I have come to realize that this problems is solved using the Theorem of Calculus. It is really straight forward but I did not see it.
 
  • Like
Likes FactChecker

1. What is calculus?

Calculus is a branch of mathematics that deals with the study of change. It involves the use of mathematical models and techniques to analyze and solve problems involving rates of change and accumulation.

2. Why is calculus important?

Calculus is important because it provides a powerful set of tools for understanding and modeling real-world phenomena. It is used in a wide range of fields, including physics, engineering, economics, and statistics.

3. What is the difference between differential and integral calculus?

Differential calculus is concerned with the study of rates of change and slopes of curves, while integral calculus is concerned with the accumulation of quantities and the calculation of areas under curves.

4. How do you solve a calculus problem?

To solve a calculus problem, you need to first identify the type of problem (differential or integral), then apply the appropriate rules and techniques to find a solution. This may involve finding derivatives, integrals, or using other methods such as optimization or related rates.

5. What are some common applications of calculus?

Calculus has many applications in various fields, such as physics (e.g. motion and forces), economics (e.g. optimization of resources), engineering (e.g. designing structures), and biology (e.g. modeling population growth). It is also used in everyday life, such as calculating rates of change in finances or predicting the trajectory of a ball thrown in the air.

Similar threads

  • Calculus and Beyond Homework Help
Replies
6
Views
550
  • Calculus and Beyond Homework Help
Replies
18
Views
1K
  • Calculus and Beyond Homework Help
Replies
23
Views
954
  • Calculus and Beyond Homework Help
Replies
15
Views
789
  • Calculus and Beyond Homework Help
Replies
21
Views
845
  • Calculus and Beyond Homework Help
Replies
5
Views
689
  • Calculus and Beyond Homework Help
Replies
1
Views
494
  • Calculus and Beyond Homework Help
Replies
1
Views
767
  • Calculus and Beyond Homework Help
Replies
1
Views
290
  • Calculus and Beyond Homework Help
Replies
3
Views
348
Back
Top